.secondary-page {
  overflow-x: hidden;
}

.secondary-page .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nonprofit-intro h1 {
  margin: 0;
  font-size: clamp(64px, 8.7vw, 126px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.nonprofit-intro h1 span,
.why-close h2 span {
  color: var(--coral-dark);
}

.autopsy-section {
  padding: 120px 20px 150px;
  background: var(--surface);
  border-block: 2px solid var(--ink);
}

.section-heading,
.chain-intro,
.principles-title,
.map-heading,
.selector-heading,
.responsibility-heading,
.field-notes-heading {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.autopsy-hero .section-heading h1 {
  margin: 0;
  font-size: clamp(52px, 5.55vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.section-heading h2,
.chain-intro h2,
.principles-title h2,
.map-heading h2,
.selector-heading h2,
.responsibility-heading h2,
.field-notes-heading h2,
.nonprofit-start h2 {
  margin: 0;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading > p:last-child,
.chain-intro > p:last-child,
.map-heading > p:last-child {
  max-width: 640px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: 18px;
}

.autopsy-desk {
  position: relative;
  width: min(100%, 1050px);
  min-height: 720px;
  margin: 85px auto 0;
}

.generic-letter {
  position: absolute;
  inset: 40px auto auto 50%;
  width: min(560px, 70vw);
  min-height: 620px;
  padding: 60px 65px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 14px 18px 0 rgba(38, 38, 46, 0.17);
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.8;
  transform: translateX(-50%) rotate(-2deg);
}

.letter-tag {
  display: inline-block;
  margin-bottom: 40px;
  padding: 7px 10px;
  background: var(--line);
  border: 1px solid var(--ink);
  font-family: ui-rounded, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.generic-letter mark {
  background: var(--yellow);
}

.autopsy-note {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.autopsy-note b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 7px;
  font-size: 9px;
}

.note-one { top: 90px; left: 0; transform: rotate(-6deg); }
.note-two { top: 250px; right: 0; background: var(--yellow); transform: rotate(5deg); }
.note-three { bottom: 175px; left: 0; background: var(--purple); transform: rotate(4deg); }
.note-four { right: 20px; bottom: 50px; background: var(--teal); transform: rotate(-5deg); }

.evidence-chain-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 150px 0;
}

.chain-intro {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: end;
}

.chain-intro .page-kicker { grid-column: 1 / -1; margin-bottom: -55px; }
.chain-intro > p:last-child { margin: 0; }

.evidence-chain {
  margin: 100px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-chain li {
  position: relative;
  min-height: 160px;
  padding: 34px 0 34px 150px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
}

.evidence-chain li:last-child { border-bottom: 2px solid var(--ink); }

.evidence-chain li > b {
  position: absolute;
  top: 34px;
  left: 0;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 6px 0 var(--ink);
  font-size: 16px;
}

.evidence-chain li:nth-child(2) > b { background: var(--yellow); }
.evidence-chain li:nth-child(3) > b { background: var(--purple); }
.evidence-chain li:nth-child(4) > b { background: var(--teal); }

.evidence-chain li div {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.evidence-chain li span {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evidence-chain h3 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.evidence-chain p {
  margin: 0;
  color: var(--ink-soft);
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
}

.principles-wall {
  padding: 130px 20px;
  color: var(--paper);
  background: var(--ink);
}

.principles-title .page-kicker { color: var(--coral); }

.principle-lines {
  width: min(100%, var(--max));
  margin: 70px auto 0;
}

.principle-lines p {
  margin: 0;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  align-items: center;
  gap: 25px;
  border-top: 1px solid rgba(250, 246, 239, 0.24);
}

.principle-lines p:last-child { border-bottom: 1px solid rgba(250, 246, 239, 0.24); }
.principle-lines span { color: var(--coral); font-size: 12px; font-weight: 900; }
.principle-lines strong { font-size: 28px; }
.principle-lines small { color: #c5bfaf; font-family: "Avenir Next", Avenir, system-ui, sans-serif; font-size: 16px; }

.why-close {
  width: min(calc(100% - 40px), var(--max));
  min-height: 690px;
  margin: 0 auto;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.why-close h2 {
  max-width: 1050px;
  margin: 0 0 50px;
  font-size: clamp(55px, 7.7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.nonprofit-intro {
  position: relative;
  width: min(calc(100% - 40px), var(--max));
  min-height: 760px;
  margin: 0 auto;
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 100px;
}

.nonprofit-title-block > p:not(.page-kicker) {
  max-width: 690px;
  margin: 35px 0;
  color: var(--ink-soft);
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.7;
}

.campaign-brief {
  position: relative;
  padding: 34px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 12px 14px 0 var(--yellow);
  transform: rotate(2deg);
}

.brief-top {
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.brief-top b {
  padding: 4px 7px;
  background: var(--mint);
  border: 1px solid var(--ink);
  border-radius: 6px;
}

.campaign-brief dl { margin: 15px 0 0; }
.campaign-brief dl div { padding: 17px 0; display: grid; grid-template-columns: 115px 1fr; border-bottom: 1px solid var(--line); }
.campaign-brief dt { color: var(--ink-soft); font-size: 11px; font-weight: 800; }
.campaign-brief dd { margin: 0; font-size: 14px; font-weight: 900; }
.brief-tape { position: absolute; top: -15px; left: 36%; width: 115px; height: 30px; background: rgba(245, 184, 46, 0.55); transform: rotate(-3deg); }

.campaign-map-section {
  padding: 130px 20px 150px;
  background: var(--surface);
  border-block: 2px solid var(--ink);
}

.campaign-map {
  position: relative;
  width: min(100%, var(--max));
  margin: 85px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

.campaign-map::before {
  position: absolute;
  top: 42px;
  right: 7%;
  left: 7%;
  height: 5px;
  content: "";
  background: var(--line);
  border: 1px solid var(--ink);
}

.campaign-map li {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  text-align: center;
}

.campaign-map b {
  width: 84px;
  height: 84px;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
}

.campaign-map .is-done b { background: var(--mint); }
.campaign-map .is-current b { background: var(--coral); transform: translateY(-8px) rotate(-4deg); }
.campaign-map span { display: block; font-size: 11px; font-weight: 900; letter-spacing: 0.08em; }
.campaign-map small { display: block; margin-top: 8px; color: var(--ink-soft); font-family: "Avenir Next", Avenir, system-ui, sans-serif; font-size: 11px; }

.ask-selector-section,
.responsibility-section,
.field-notes-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 145px 0;
}

.ask-tabs {
  margin-top: 75px;
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 12px 14px 0 var(--purple);
  overflow: hidden;
}

.ask-tab-list {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border-right: 3px solid var(--ink);
}

.ask-tab-list button {
  min-height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 14px;
  color: var(--ink-soft);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.ask-tab-list button span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 9px;
  box-shadow: 0 3px 0 var(--ink);
}

.ask-tab-list button[aria-selected="true"] { color: var(--ink); background: var(--white); border-color: var(--ink); }
.ask-tab-list button:nth-child(1)[aria-selected="true"] span { background: var(--coral); }
.ask-tab-list button:nth-child(2)[aria-selected="true"] span { background: var(--teal); }
.ask-tab-list button:nth-child(3)[aria-selected="true"] span { background: var(--purple); }

.ask-panel {
  min-height: 450px;
  padding: 65px;
  background: var(--white);
  animation: panel-in 280ms ease both;
}

.ask-panel[hidden] { display: none; }
.panel-number { margin: 0; color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: 0.12em; }
.ask-panel h3 { max-width: 680px; margin: 20px 0 55px; font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -0.055em; }
.panel-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.panel-columns span { font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.panel-columns p { margin: 12px 0 0; color: var(--ink-soft); font-family: "Avenir Next", Avenir, system-ui, sans-serif; line-height: 1.65; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.responsibility-section { border-top: 1px solid var(--line); }
.responsibility-ledger { margin-top: 70px; border-block: 3px solid var(--ink); }
.responsibility-ledger > div { min-height: 84px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.responsibility-ledger > div span { padding: 20px 30px; }
.responsibility-ledger > div span + span { border-left: 2px solid var(--ink); }
.responsibility-ledger .ledger-head { min-height: 58px; color: var(--paper); background: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.responsibility-ledger > div:not(.ledger-head) span:first-child { font-weight: 900; }
.responsibility-ledger > div:not(.ledger-head) span:last-child { color: var(--ink-soft); font-family: "Avenir Next", Avenir, system-ui, sans-serif; }

.field-notes-section { border-top: 1px solid var(--line); }
.faq-list { margin-top: 65px; }
.faq-list details { border-top: 2px solid var(--ink); }
.faq-list details:last-child { border-bottom: 2px solid var(--ink); }
.faq-list summary { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 21px; font-weight: 900; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--ink); border-radius: 10px; transition: transform 200ms ease, background 200ms ease; }
.faq-list details[open] summary span { background: var(--coral); transform: rotate(45deg); }
.faq-list details p { max-width: 760px; margin: 0 0 35px; color: var(--ink-soft); font-family: "Avenir Next", Avenir, system-ui, sans-serif; font-size: 17px; line-height: 1.7; }

.nonprofit-start {
  padding: 120px max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
  color: var(--paper);
  background: var(--ink);
}

.start-copy { max-width: 800px; }
.start-copy .page-kicker { color: var(--coral); }
.start-copy > p:last-child { max-width: 620px; margin: 28px 0 0; color: #c5bfaf; font-family: "Avenir Next", Avenir, system-ui, sans-serif; font-size: 18px; line-height: 1.7; }

.mascot-buddy {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 30;
  width: 84px;
  height: 76px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  filter: drop-shadow(0 7px 3px rgba(38, 38, 46, 0.22));
  transition: transform 180ms ease;
}

.mascot-buddy:hover { transform: translateY(-4px) rotate(-3deg); }
.mascot-buddy.is-talking { animation: buddy-pop 400ms cubic-bezier(0.2, 1.4, 0.4, 1); }
.mascot-buddy img { width: 100%; height: 100%; object-fit: contain; }

.mascot-quip {
  position: absolute;
  right: 70px;
  bottom: 48px;
  width: max-content;
  max-width: min(270px, calc(100vw - 120px));
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 13px 13px 3px 13px;
  box-shadow: 4px 5px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mascot-quip.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes buddy-pop {
  0% { transform: scale(1); }
  45% { transform: scaleX(1.12) scaleY(0.82) translateY(6px); }
  100% { transform: scale(1); }
}

.subpage-footer > a:last-child,
.subpage-footer > nav:last-child { justify-self: end; }
.subpage-footer .footer-legal a { color: var(--ink-soft); font-weight: 900; text-decoration: none; }

@media (max-width: 960px) {
  .autopsy-hero .section-heading h1 { font-size: clamp(48px, 6.8vw, 64px); white-space: normal; text-wrap: balance; }
  .chain-intro { grid-template-columns: 1fr; gap: 25px; }
  .chain-intro .page-kicker { grid-column: auto; margin-bottom: 0; }
  .evidence-chain li div { grid-template-columns: 120px 1fr; }
  .evidence-chain li p { grid-column: 2; }
  .nonprofit-intro { grid-template-columns: 1fr; gap: 65px; }
  .campaign-brief { width: min(100%, 520px); }
  .campaign-map { grid-template-columns: repeat(3, 1fr); gap: 55px 0; }
  .campaign-map::before { display: none; }
  .ask-tabs { grid-template-columns: 1fr; }
  .ask-tab-list { flex-direction: row; border-right: 0; border-bottom: 3px solid var(--ink); }
  .ask-tab-list button { flex: 1; justify-content: center; }
  .nonprofit-start { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .evidence-chain-section,
  .why-close,
  .nonprofit-intro,
  .ask-selector-section,
  .responsibility-section,
  .field-notes-section {
    width: min(calc(100% - 28px), var(--max));
  }

  .nonprofit-intro h1 { font-size: clamp(52px, 16vw, 72px); }
  .autopsy-section { padding: 85px 14px 100px; }
  .autopsy-hero .section-heading h1 { font-size: 45px; }
  .section-heading h2,
  .chain-intro h2,
  .principles-title h2,
  .map-heading h2,
  .selector-heading h2,
  .responsibility-heading h2,
  .field-notes-heading h2,
  .nonprofit-start h2 { font-size: 45px; }
  .autopsy-desk { min-height: 690px; margin-top: 55px; }
  .generic-letter { top: 65px; width: calc(100% - 32px); min-height: 560px; padding: 52px 30px; font-size: 17px; }
  .autopsy-note { padding: 9px 10px; font-size: 10px; }
  .note-one { top: 18px; left: 5px; }
  .note-two { top: 200px; right: -4px; }
  .note-three { bottom: 120px; left: -2px; }
  .note-four { right: 2px; bottom: 20px; }
  .evidence-chain-section { padding: 95px 0; }
  .evidence-chain { margin-top: 60px; }
  .evidence-chain li { padding: 28px 0 28px 82px; }
  .evidence-chain li > b { top: 28px; width: 56px; height: 56px; border-radius: 15px; }
  .evidence-chain li div { display: block; }
  .evidence-chain h3 { margin-top: 4px; font-size: 25px; }
  .evidence-chain p { margin-top: 11px; }
  .principles-wall { padding: 90px 14px; }
  .principle-lines p { grid-template-columns: 45px 1fr; }
  .principle-lines small { grid-column: 2; }
  .principle-lines strong { font-size: 23px; }
  .why-close { min-height: 570px; padding: 90px 0; }
  .why-close h2 { font-size: 53px; }
  .why-close .button { width: 100%; }

  .nonprofit-intro { min-height: auto; padding: 85px 0; }
  .nonprofit-title-block > p:not(.page-kicker) { font-size: 17px; }
  .nonprofit-title-block .button { width: 100%; }
  .campaign-brief { padding: 25px; }
  .campaign-brief dl div { grid-template-columns: 95px 1fr; }
  .campaign-map-section { padding: 90px 14px 105px; }
  .campaign-map { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .campaign-map b { width: 66px; height: 66px; }
  .ask-selector-section,
  .responsibility-section,
  .field-notes-section { padding: 95px 0; }
  .ask-tabs { margin-top: 50px; box-shadow: 7px 8px 0 var(--purple); }
  .ask-tab-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px; overflow: visible; }
  .ask-tab-list button { min-width: 0; min-height: 58px; padding: 0 7px; font-size: 11px; }
  .ask-tab-list button span { display: none; }
  .ask-panel { min-height: 530px; padding: 38px 24px; }
  .ask-panel h3 { margin-bottom: 38px; font-size: 43px; }
  .panel-columns { grid-template-columns: 1fr; gap: 30px; }
  .responsibility-ledger { overflow-x: auto; }
  .responsibility-ledger > div { min-width: 620px; }
  .faq-list summary { min-height: 82px; font-size: 17px; }
  .nonprofit-start { padding: 90px 18px 120px; }
  .nonprofit-start .button { width: 100%; }
  .mascot-buddy { right: 9px; bottom: 8px; width: 54px; height: 50px; }
  .mascot-quip { right: 46px; bottom: 32px; }
  .subpage-footer > a:last-child,
  .subpage-footer > nav:last-child { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ask-panel { animation: none; }
  .mascot-buddy.is-talking { animation: none; }
}
