/* The home page's mission section (2026-10-16, reworked 2026-10-17), loaded by index.html only. */

.mission {
  padding: 64px 0 72px;
  background: var(--paper);
  border-bottom: 2px solid var(--line-strong);
}

.mission .constrain > * + * {
  margin-top: 72px;
}

.mission__eyebrow {
  color: var(--highlight-text, var(--highlight));
}

/* A statement in two parts: the setup, quieter, then the point. */
.mission__title {
  display: grid;
  gap: 6px;
  max-width: 34ch;
  margin: 10px 0 0;
  text-wrap: balance;
}

.mission__title-lead {
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-muted);
}

.mission__title-main {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.mission__mark {
  padding: 0 0.14em;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.mission__subtitle {
  margin: 6px 0 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.mission__intro {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

/* ---- 1. Attract · Develop · Support · Celebrate --------------------------- */

.mission .constrain > .verbs {
  margin-top: 28px;
}

.verbs__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.verbs__chip {
  min-height: 52px;
  padding: 10px 22px;
  border: 3px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line-strong);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.verbs__chip:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--line-strong);
}

.verbs__chip[aria-selected='true'] {
  background: var(--accent);
  color: var(--on-accent);
}

.verbs__panel {
  display: grid;
  max-width: 70ch;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
}

/* Stacked in one cell; only the chosen one is visible. */
.verbs__text {
  grid-area: 1 / 1;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  visibility: hidden;
}

.verbs__text[data-shown] {
  visibility: visible;
}

.verbs__text strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

/* ---- 2. The career track ---------------------------------------------------- */

.serve__head .t-body {
  margin: 0;
}

.track {
  position: relative;
  margin-top: 28px;
  padding-top: 40px;
}

.track__band {
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 100%;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 2px dashed var(--accent-deep);
}

.track__band span {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink);
}

.track__stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0 0 14px;
  list-style: none;
}

/* The road the stops sit on. */
.track__stops::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  background: var(--line-strong);
}

.track__stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 44px;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.track__dot {
  width: 38px;
  height: 38px;
  border: 4px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  transition: transform 160ms ease, background 160ms ease;
}

.track__stop.is-max .track__dot {
  background: var(--accent);
}

.track__stop[aria-pressed='true'] .track__dot {
  transform: scale(1.18);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 9px var(--highlight);
}

.track__name {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(15px, 1.8vw, 20px);
  text-transform: uppercase;
}

.track__hint {
  font-size: 13px;
  color: var(--ink-muted);
}

.stage {
  margin-top: 22px;
  padding: 24px;
  border: 3px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--line-strong);
}

.stage__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.stage__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
}

.stage__tag {
  position: relative;
  padding: 3px 10px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--line-strong);
}

/* A finger-sized target around the small chip. */
.stage__tag::before {
  content: '';
  position: absolute;
  inset: -10px -4px;
}

.stage__tag::after {
  content: ' →';
}

.stage__tag:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--line-strong);
}

.stage__tag--max {
  background: var(--accent);
  color: var(--on-accent);
}

.stage__text {
  max-width: 70ch;
  margin: 10px 0 0;
  line-height: 1.55;
}

.stage__label {
  margin: 16px 0 8px;
}

.stage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage__chip {
  position: relative;
  min-height: 36px;
  padding: 6px 12px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* A sign that it opens, and a finger-sized target around the chip. */
.stage__chip::after {
  content: '+';
  margin-left: 6px;
  font-weight: 800;
  color: var(--highlight);
}

.stage__chip::before {
  content: '';
  position: absolute;
  inset: -5px -2px;
}

.stage__chip:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--line-strong);
}

.program-sheet .program-sheet__what {
  margin-top: 10px;
}

/* ---- 3. What MAX does (the home page's "An incubator, for art", merged) --- */

.mi-gives__intro {
  max-width: 64ch;
  margin: 0;
}

.mi-gives__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.mi-give {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  color: var(--ink);
  text-decoration: none;
  border: 3px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.mi-give:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--accent-deep);
}

.mi-give__icon {
  width: 44px;
  height: 44px;
  color: var(--highlight);
}

.mi-give .t-heading {
  margin: 10px 0 6px;
}

.mi-give .t-small {
  margin: 0 0 14px;
}

.mi-give__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- 4. The ripple ---------------------------------------------------------- */

.ripple {
  display: grid;
  gap: 32px;
}

.ripple__text .t-body {
  max-width: 64ch;
}

.ripple__diagram {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

/* The drawing scales as one piece, labels and all, so nothing can collide. */
.ripple__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ripple__ring {
  cursor: pointer;
  transform-box: view-box;
  transform-origin: 200px 200px;
}

.ripple__ring circle {
  stroke: var(--line-strong);
  stroke-width: 3;
  transition: stroke 160ms ease, fill 160ms ease;
}

.ripple__ring--4 circle { fill: var(--surface-sunken); }
.ripple__ring--3 circle { fill: var(--surface); }
.ripple__ring--2 circle { fill: var(--accent-soft); }
.ripple__ring--1 circle { fill: var(--accent); }

.ripple__ring text {
  fill: var(--ink);
  font-family: Poppins, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-anchor: middle;
}

.ripple__ring--1 text {
  fill: var(--on-accent);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
}

.ripple__ring:hover circle,
.ripple__ring.is-on circle {
  stroke: var(--highlight);
}

.ripple__ring.is-on circle {
  stroke-width: 5;
}

.ripple__ring--4.is-on circle,
.ripple__ring--3.is-on circle {
  fill: var(--accent-soft);
}

/* Outward, one ring after another, the first time it is seen. */
.is-waiting .ripple__ring {
  opacity: 0;
  transform: scale(0.82);
}

.is-seen .ripple__ring {
  animation: ripple-out 520ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.is-seen .ripple__ring--2 { animation-delay: 140ms; }
.is-seen .ripple__ring--3 { animation-delay: 280ms; }
.is-seen .ripple__ring--4 { animation-delay: 420ms; }

@keyframes ripple-out {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* The list: one step outward at a time, joined by a line through the dots. */
.ripple__list {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ripple__list::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 29px;
  width: 3px;
  background: var(--line-strong);
}

.ripple__item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 3px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.ripple__item:hover {
  background: var(--surface-sunken);
}

.ripple__item[aria-pressed='true'] {
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--line-strong);
}

.ripple__dot {
  width: 24px;
  height: 24px;
  border: 3px solid var(--line-strong);
  border-radius: 50%;
}

.ripple__dot--1 { background: var(--accent); }
.ripple__dot--2 { background: var(--accent-soft); }
.ripple__dot--3 { background: var(--surface); }
.ripple__dot--4 { background: var(--surface-sunken); }

.ripple__item[aria-pressed='true'] .ripple__dot {
  border-color: var(--highlight);
}

.ripple__words {
  font-size: 16px;
  line-height: 1.45;
}

.ripple__name {
  font-weight: 700;
}

.ripple__what {
  color: var(--ink-muted);
}

/* The year in numbers, on the light page (the tiles are drawn for a dark band elsewhere). */
.ripple__text .t-body + .t-body {
  margin-top: 14px;
}

.ripple__year .stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 10px;
}

.mission .stat {
  border: 3px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--line-strong);
}

.mission .stat:hover {
  border-color: var(--highlight);
}

.ripple__year .more-link {
  display: inline-block;
  margin-top: 14px;
}

/* A program, explained, in the pop-up a stage's tag opens. */
.modal--program {
  width: min(680px, calc(100% - 24px));
}

.program-sheet {
  padding: 36px clamp(20px, 5vw, 44px) 40px;
}

.program-sheet__title {
  margin: 6px 0 0;
}

.program-sheet__lead {
  margin: 10px 0 14px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.program-sheet .t-body {
  margin: 0;
  line-height: 1.6;
}

.program-sheet__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.program-sheet__facts li {
  padding: 6px 12px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 600;
}

.program-sheet__fits-title {
  margin: 26px 0 8px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.program-sheet .button {
  margin-top: 24px;
}

/* ---- 5. How the model works: one studio, followed ------------------------ */

.model {
  display: grid;
  gap: 20px;
}

.model__head .t-body {
  max-width: 64ch;
  margin: 0;
}

.model__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

/* The line the steps sit on. */
.model__steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(100% / 10);
  right: calc(100% / 10);
  height: 4px;
  background: var(--line-strong);
}

.model__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.model__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  transition: background 160ms ease, transform 160ms ease;
}

.model__step.is-done .model__n {
  background: var(--accent-soft);
}

.model__step[aria-pressed='true'] .model__n {
  background: var(--accent);
  color: var(--on-accent);
  transform: scale(1.1);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--highlight);
}

.model__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.model__stage {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 28px;
  align-items: center;
  min-height: 330px;
  padding: 22px 26px;
  border: 3px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--line-strong);
}

.model__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 210px;
}

.model__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.model__icon svg {
  width: min(120px, 40vw);
  height: auto;
}

.model__icon--show svg {
  color: var(--highlight);
}

.model__crowd {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  max-width: 340px;
}

.model__person {
  display: block;
  aspect-ratio: 1;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--accent-soft);
}

.model__person.is-away {
  background: var(--accent);
}

.model__person.is-collector {
  border-color: var(--highlight);
  background: var(--highlight);
  transform: scale(1.35);
  animation: model-pulse 1.6s ease-in-out infinite;
}

@keyframes model-pulse {
  50% {
    box-shadow: 0 0 0 5px rgba(224, 21, 122, 0.25);
  }
}

.model__legend {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.model__legend .model__person {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px 0 10px;
  vertical-align: -1px;
  transform: none;
  animation: none;
}

.model__legend .model__person:first-child {
  margin-left: 0;
}

.model__pieces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 380px;
}

.model__piece {
  display: grid;
  place-items: center;
  width: 58px;
  height: 66px;
  text-align: center;
  line-height: 1.1;
  border: 3px solid var(--line-strong);
  border-radius: 3px;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
}

.model__piece:first-child {
  background: var(--highlight);
  border-color: var(--highlight);
  color: #fff;
}

.model__shows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 340px;
}

.model__show {
  display: grid;
  justify-items: center;
  padding: 6px 4px;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background: var(--accent-soft);
}

.model__show strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
}

.model__show small {
  font-size: 11px;
}

.model__figure {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.model__caption {
  margin: 6px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-muted);
}

.model__text {
  margin: 0;
  line-height: 1.6;
}

.model__source {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
}

.model__source:empty {
  display: none;
}

.model__nav {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.model__navbtn {
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.model__navbtn--next {
  background: var(--ink);
  color: var(--paper);
}

.model__navbtn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* The sliders and what they change, side by side under the card. */
.model__dash {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.model__try {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px 18px;
  padding: 12px 16px;
  border: 2px dashed var(--line-strong);
  border-radius: 10px;
}

.model__try .t-eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.model__control {
  display: grid;
  gap: 2px;
  align-content: start;
  font-size: 13px;
  font-weight: 600;
}

/* The price chips take the row under the two sliders. */
.model__control[role='group'] {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.model__control output {
  font-weight: 800;
}

.model__control input[type='range'] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--highlight);
}

.model__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.model__chip {
  min-height: 44px;
  padding: 4px 14px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.model__chip[aria-pressed='true'] {
  background: var(--accent);
  color: var(--on-accent);
}

.model__return {
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--surface-sunken);
}

.model__bars {
  display: grid;
  gap: 8px;
}

.model__bar-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
}

.model__bar-label {
  font-size: 13px;
  font-weight: 700;
}

.model__bar {
  display: flex;
  height: 20px;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
}

.model__seg {
  height: 100%;
  width: 0;
  transition: width 450ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.model__seg--in {
  background: var(--ink-muted);
}

.model__seg--town {
  background: var(--accent);
}

.model__seg--art {
  background: var(--highlight);
}

.model__bar-value {
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.model__ratio {
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1.25;
}

.model__ratio strong {
  padding: 0 0.12em;
  background: var(--accent);
  color: var(--on-accent);
}

.model__key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.model__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border: 2px solid var(--line-strong);
  border-radius: 3px;
  vertical-align: -1px;
}

.model__swatch--town {
  background: var(--accent);
}

.model__swatch--art {
  background: var(--highlight);
}

.model__note {
  max-width: 80ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* The year's tiles sit on their own now, after the model. */
.mission__more > .ripple__year {
  margin-top: 40px;
}

.mission__close {
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  text-wrap: balance;
}

/* The chain under "From art to prosperity", in sentence case. */
.ripple__chain {
  margin: 0 0 14px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}

/* ---- The hero's new link to the mission ---------------------------------- */

.front__mission-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--on-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- One reading size for the whole section ------------------------------ */
/* The opening's size and colour, which read well (Jesse, 2026-10-17), carried
   through: every section's introduction matches it, and everything else that
   is meant to be read is 17px in full ink rather than small grey. */

.mission .serve__head .t-body,
.mission .mi-gives__intro,
.mission .ripple__text .t-body,
.mission .model__head .t-body {
  max-width: 62ch;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink);
}

.mission .stage__text,
.mission .model__text,
.mission .ripple__words,
.mission .verbs__text {
  font-size: 17px;
  line-height: 1.6;
}

.mission .ripple__what {
  color: var(--ink);
}

.mission .mi-give .t-small {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---- Phones ---------------------------------------------------------------- */

@media (max-width: 760px) {
  .model__stage {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .model__visual {
    min-height: 150px;
  }

  /* On a phone the result stays in sight while the sliders move. */
  .model__dash {
    display: contents;
  }

  .model__stage {
    min-height: 0;
  }

  .model__return {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: 10px 14px;
    border: 2px solid var(--line-strong);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
  }

  .model__return .model__key {
    display: none;
  }

  .model__return .model__ratio {
    margin: 8px 0 0;
    font-size: 17px;
  }

  .model__bar-row {
    grid-template-columns: 84px minmax(0, 1fr) 68px;
    gap: 8px;
  }

  .model__bar {
    height: 16px;
  }

  .mission .constrain > * + * {
    margin-top: 56px;
  }

  .track {
    padding-top: 0;
  }

  .track__band {
    display: none;
  }

  .track__stops {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .track__stops::before {
    top: 20px;
    bottom: 34px;
    left: 26px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .track__stop {
    flex-direction: row;
    gap: 14px;
    text-align: left;
  }

  .track__stop.is-max {
    border-radius: 10px;
    background: var(--accent-soft);
  }

  .track__name {
    margin-top: 0;
  }

  .mi-gives__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ripple__diagram {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ripple__year .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ripple__svg {
    width: min(100%, 340px);
    justify-self: center;
  }
}

@media (max-width: 460px) {
  .model__label {
    display: none;
  }

  .model__stage {
    padding: 16px;
  }

  .model__shows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mi-gives__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .model__seg,
  .model__n {
    transition: none;
  }

  .model__person.is-collector {
    animation: none;
  }

  .verbs__chip,
  .mi-give,
  .track__dot {
    transition: none;
  }

  .is-seen .ripple__ring {
    animation: none;
  }

  .is-waiting .ripple__ring {
    opacity: 1;
    transform: none;
  }
}

/* ---- The model, sized to fit one screen ----------------------------------- */
/* Jesse, 2026-10-17: the heading, the steps, the card and the sliders must all
   be on screen at once on a laptop. Card and result on the left, joined;
   sliders in a column on the right; the steps in one row above. */

.model {
  gap: 14px;
}

.model__steps {
  margin: 0;
}

.model__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas:
    'stage try'
    'result try';
  column-gap: 18px;
}

.model__stage {
  grid-area: stage;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: 'words visual';
  gap: 20px;
  min-height: 236px;
  padding: 18px 22px;
  border-bottom-width: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: none;
}

.model__words {
  grid-area: words;
}

.model__visual {
  grid-area: visual;
  min-height: 0;
}

.model__crowd,
.model__shows {
  max-width: 260px;
}

.model__icon svg {
  width: 96px;
}

.model__figure {
  font-size: clamp(32px, 3.4vw, 42px);
}

.model__caption {
  margin: 4px 0 8px;
  font-size: 14px;
}

.mission .model__text {
  font-size: 16px;
  line-height: 1.5;
}

.model__nav {
  margin-top: 10px;
}

/* The result: the bottom of the same card. */
.model__return {
  grid-area: result;
  padding: 12px 22px 14px;
  border: 3px solid var(--line-strong);
  border-top: 2px dashed var(--line-strong);
  border-radius: 0 0 10px 10px;
  background: var(--surface-sunken);
}

.model__bars {
  gap: 6px;
}

.model__bar {
  height: 16px;
}

.model__ratio {
  margin: 8px 0 2px;
  font-size: clamp(17px, 1.6vw, 20px);
}

.model__key {
  display: none;
}

/* The sliders: one column beside the card. */
.model__try {
  grid-area: try;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
  padding: 14px 16px;
}

.model__control[role='group'] {
  grid-template-columns: 1fr;
  gap: 4px;
}

.model__control input[type='range'] {
  min-height: 36px;
}

/* Phones: one column, in reading order, with the result kept in sight. */
@media (max-width: 760px) {
  .model__body {
    display: contents;
  }

  /* The desktop areas mean nothing here; each part takes its own row. */
  .model__stage,
  .model__try,
  .model__return {
    grid-area: auto;
  }

  .model__steps { order: 1; }
  .model__stage { order: 2; }
  .model__try { order: 3; }
  .model__return { order: 4; }
  .model__note { order: 5; }

  .model__stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      'visual'
      'words';
    border-bottom-width: 3px;
    border-radius: 10px;
  }

  .model__visual {
    min-height: 120px;
  }

  .model__return {
    position: sticky;
    bottom: 0;
    z-index: 2;
    border-top: 3px solid var(--line-strong);
    border-radius: 10px;
  }
}

/* Tighter still on wider screens: the number and its caption share a line,
   and the result's sentence sits beside its bars. */
@media (min-width: 761px) {
  .mission .model__head .t-body {
    max-width: 78ch;
    font-size: 17px;
  }

  .model__words {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    align-items: baseline;
  }

  .model__words > :not(.model__figure):not(.model__caption) {
    grid-column: 1 / -1;
  }

  .model__caption {
    margin: 0 0 8px;
  }

  .model__source {
    margin-top: 6px;
  }

  .model__return {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: 18px;
    align-items: center;
  }

  .model__ratio {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
  }
}

/* One height for every step, so nothing below moves as you click through. */
@media (min-width: 761px) {
  .model__stage {
    height: 262px;
    min-height: 0;
    overflow: hidden;
  }

  .model__return {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (min-width: 761px) {
  .model__ratio {
    min-height: 2.6em;
  }
}

/* ---- 6. One patron, one artist -------------------------------------------- */

.patron {
  display: grid;
  gap: 14px;
}

.patron__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.patron__tab {
  min-height: 44px;
  padding: 8px 20px;
  border: 3px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.patron__tab[aria-selected='true'] {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 4px 4px 0 var(--line-strong);
}

.patron__card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: center;
  min-height: 272px;
  padding: 20px 24px;
  border: 3px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--line-strong);
}

.patron__words {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
}

.patron__words > :not(.model__figure):not(.model__caption) {
  grid-column: 1 / -1;
}

.patron__words .model__caption {
  margin: 0 0 8px;
}

.mission .patron__text {
  font-size: 16px;
  line-height: 1.55;
}

.patron__side {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.patron__visual {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
}

.patron__control {
  width: 100%;
  max-width: 300px;
}

.patron__control input[type='range'] {
  width: 100%;
  min-height: 36px;
  accent-color: var(--highlight);
}

.patron__months {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 280px;
}

.patron__month {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
}

.patron__month.is-paid {
  background: var(--highlight);
  border-color: var(--highlight);
  color: #fff;
}

.patron__month.is-part {
  background: linear-gradient(90deg, var(--highlight) 50%, var(--paper) 50%);
}

.patron__weeks {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  max-width: 300px;
}

.patron__week {
  aspect-ratio: 1;
  border: 2px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper);
}

.patron__week.is-paid {
  background: var(--highlight);
  border-color: var(--highlight);
}

.patron .model__crowd {
  max-width: 260px;
}

.patron__go {
  display: flex;
}

@media (max-width: 760px) {
  .patron__card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .patron__tab {
    flex: 1 1 auto;
    padding: 8px 14px;
    font-size: 15px;
  }
}

/* ---- Why it matters, on one screen ---------------------------------------- */
/* Text and the list on the left, the circles beside them (Jesse, 2026-10-17). */
@media (min-width: 761px) {
  .ripple {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    grid-template-areas:
      'text rings'
      'list rings';
    column-gap: 48px;
    row-gap: 18px;
    align-items: start;
  }

  .ripple__text {
    grid-area: text;
  }

  .ripple__diagram {
    display: contents;
  }

  .ripple__svg {
    grid-area: rings;
    align-self: center;
    width: 100%;
  }

  .ripple__list {
    grid-area: list;
    gap: 4px;
  }

  .ripple__item {
    min-height: 48px;
    padding: 8px 14px;
  }

  .ripple__chain {
    margin-bottom: 10px;
  }
}

@media (min-width: 761px) {
  .mission .ripple__words {
    font-size: 16px;
    line-height: 1.5;
  }

  .ripple__item {
    padding: 6px 14px;
  }
}

/* Pop-ups read at the mission section's size. */
.program-sheet .t-body {
  font-size: 17px;
  line-height: 1.55;
}

/* ---- Phones: the controls next to what they change ------------------------ */
@media (max-width: 760px) {
  /* The figure, then the picture and its control, then the explanation, so a
     slider's effect is on screen while a thumb moves it. */
  .patron__words {
    display: contents;
  }

  .patron__card {
    gap: 12px;
  }

  .patron__card .model__figure { order: 1; }
  .patron__card .model__caption { order: 2; margin: 0; }
  .patron__side { order: 3; }
  .patron__text { order: 4; }
  .patron__card .model__source { order: 5; margin: 0; }

  .model__control input[type='range'],
  .patron__control input[type='range'] {
    min-height: 44px;
  }

  .front__mission-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ---- The fold: the rest of the mission behind "See how it works" ---------- */

/* Spacing inside the fold, as the section spaces its own parts. */
.mission__more > * + * {
  margin-top: 72px;
}

.mission__more > .ripple__year {
  margin-top: 40px;
}

/* Only hidden when a script is there to open it. */
.js .mission__more:not(.is-open) {
  display: none;
}

.mission__more.is-open {
  animation: mission-open 360ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes mission-open {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mission .constrain > .mission__open {
  margin-top: 36px;
}

.mission__open {
  display: grid;
  justify-items: start;
  gap: 10px;
}

/* Without a script there is nothing to open. */
html:not(.js) .mission__open {
  display: none;
}

.mission__expand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 28px;
  border: 3px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.mission__expand:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--accent);
}

.mission__expand-arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.mission__expand[aria-expanded='true'] .mission__expand-arrow {
  transform: rotate(180deg);
}

.mission__peek {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  .mission__more > * + * {
    margin-top: 56px;
  }

  .mission__expand {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mission__more.is-open {
    animation: none;
  }
}
