/* The home page's mission section (2026-10-16), 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);
}

.mission__title {
  margin: 8px 0 0;
  max-width: 24ch;
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.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__chips li {
  padding: 6px 12px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* ---- 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;
}

.mission__close {
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* ---- 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;
}

/* ---- Phones ---------------------------------------------------------------- */

@media (max-width: 760px) {
  .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) {
  .mi-gives__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verbs__chip,
  .mi-give,
  .track__dot {
    transition: none;
  }

  .is-seen .ripple__ring {
    animation: none;
  }

  .is-waiting .ripple__ring {
    opacity: 1;
    transform: none;
  }
}
