/* Uncapture: shared styles for every regional page. See DESIGN.md. */

@font-face {
  font-family: "Besley";
  src: url("fonts/besley-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("fonts/besley-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/libre-franklin-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cedarville Cursive";
  src: url("fonts/cedarville-cursive-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bus: #ffc629;
  --bus-deep: #e8aa00; /* the same yellow, one step deeper, for chart marks */
  --ink: #16233f;
  --ink-soft: #414e6b;
  --pen: #2139c4;
  --safety: #e4eef5;
  --safety-line: #b9cddc;
  --paper: #ffffff;
  --error: #b42318;
  --loss: #f94f4f; /* money that leaves, as a chart mark on white or safety paper */
  --loss-on-ink: #ff7a68; /* the same loss, as text on the ink ticker */

  --display: "Besley", Rockwell, "Roboto Slab", Georgia, serif;
  --text: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Cedarville Cursive", "Bradley Hand", "Segoe Script", cursive;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --wrap: 70rem;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-bottom: 5.5rem; /* the locked contact bar */
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.05rem, 1.35rem + 3.5vw, 3.4rem);
  line-height: 1.04;
}
h1 > span {
  display: block;
  text-wrap: balance;
}
@media (max-width: 22rem) {
  h1 {
    font-size: 1.8rem;
  }
}
h2 {
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.7rem);
  line-height: 1.08;
}
.h-small {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.22;
  letter-spacing: -0.005em;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
p {
  text-wrap: pretty;
}

a {
  color: var(--pen);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.07em;
}
a:hover {
  text-decoration-thickness: 0.13em;
}

:focus-visible {
  outline: 3px solid var(--pen);
  outline-offset: 3px;
  border-radius: 4px;
}
.band--ink :focus-visible {
  outline-color: var(--bus);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip:focus {
  top: 0.75rem;
}

[hidden] {
  display: none !important;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- layout ---------- */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.band {
  padding-block: clamp(3.25rem, 2.4rem + 4.6vw, 6.25rem);
}
.band--bus {
  background: var(--bus);
}
.band--safety {
  background: var(--safety);
}
.band--ink {
  background: var(--ink);
  color: #fff;
}
.measure {
  max-width: 40rem;
}
/* Section intros and stand-alone lines. See "wide screens" at the end. */
.head,
.statement,
.flow__why {
  max-width: 40rem;
}
.stack > * + * {
  margin-top: var(--gap, 1.1rem);
}
.lede {
  font-size: clamp(1.1rem, 1.02rem + 0.45vw, 1.3rem);
  line-height: 1.48;
}
.fine {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.band--bus .fine {
  color: var(--ink);
  opacity: 0.86;
}
.src {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.src a {
  color: inherit;
}

mark {
  color: inherit;
  background: linear-gradient(180deg, transparent 0 10%, var(--bus) 10% 90%, transparent 90%);
  padding-inline: 0.22em;
  margin-inline: -0.22em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.num {
  font-family: var(--display);
}

.mt-xs {
  margin-top: 0.6rem;
}
.mt-s {
  margin-top: 1rem;
}
.mt-m {
  margin-top: 1.75rem;
}
.mt-m2 {
  margin-top: 2rem;
}
.mt-l {
  margin-top: 2.5rem;
}
.mt-xl {
  margin-top: 3rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.85rem 1.6rem;
  font: 650 1.0625rem/1.2 var(--text);
  letter-spacing: 0.005em;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.12s ease, transform 0.12s ease;
}
.btn:hover {
  background: #0c1730;
}
.btn:active {
  transform: translateY(1px);
}
.btn--block {
  display: flex;
  width: 100%;
}
.btn--small {
  min-height: 2.75rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.95rem;
}
.btn--quiet {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--quiet:hover {
  background: var(--safety);
}

.linkbtn {
  padding: 0;
  font: inherit;
  color: var(--pen);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.07em;
  cursor: pointer;
}
.band--bus .linkbtn,
.band--bus a:not(.btn) {
  color: var(--ink);
}

/* ---------- ticker ---------- */

.ticker {
  display: flex;
  align-items: stretch;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: #fff;
  background: var(--ink);
}
.ticker__view {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 56s linear infinite;
}
.ticker__set {
  display: flex;
  flex: 0 0 auto;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
.ticker:hover .ticker__track,
.ticker.is-paused .ticker__track {
  animation-play-state: paused;
}
.ticker__item {
  position: relative;
  flex: 0 0 auto;
  padding: 0.7rem 1.15rem;
  font: inherit;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
}
/* A light rule on the seam between one item and the next. Both sides carry
   the same padding, so it sits exactly halfway between them. */
.ticker__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.36);
  transform: translateY(-50%);
}
.ticker__item b {
  margin-left: 0.4em;
  font-weight: 700;
  color: #fff;
}
.ticker__item b.tight {
  margin-left: 0;
}
/* Money that leaves is coral: red enough to read as a loss, warm and light
   enough to sit well on the navy. */
.ticker__item .loss {
  color: var(--loss-on-ink);
}
.ticker__pause {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.5rem;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}
.ticker__pause svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
}
.ticker__pause .i-play,
.ticker.is-paused .ticker__pause .i-pause {
  display: none;
}
.ticker.is-paused .ticker__pause .i-play {
  display: block;
}
.ticker :focus-visible {
  outline-color: var(--bus);
  outline-offset: -4px;
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
  .ticker__view {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ticker__view::-webkit-scrollbar {
    display: none;
  }
  .ticker__set + .ticker__set,
  .ticker__pause,
  .ticker__item:first-child::before {
    display: none;
  }
}

/* ---------- hero ---------- */

.hero {
  padding-block: 0;
  background: var(--bus);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
}
.brand__tile {
  fill: var(--ink);
}
.brand__arrow {
  fill: none;
  stroke: var(--bus);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.brand__place {
  padding-left: 0.6rem;
  margin-left: 0.1rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.15;
  border-left: 2px solid currentColor;
}
.band--ink .brand {
  color: #fff;
}
.band--ink .brand__tile {
  fill: var(--bus);
}
.band--ink .brand__arrow {
  stroke: var(--ink);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.95rem;
  font: 650 0.9375rem/1 var(--text);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pill:hover {
  background: rgba(22, 35, 63, 0.09);
}
.pill svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 22.5rem) {
  .brand__word {
    font-size: 1.15rem;
  }
  .pill {
    padding-inline: 0.7rem;
  }
  .pill span {
    display: none;
  }
}
.hero__grid {
  display: grid;
  gap: 2rem;
  padding-top: clamp(1rem, 4vw, 3rem);
}
.hero__copy > * + * {
  margin-top: 1.1rem;
}
.lede__call {
  display: block;
  margin-top: 0.55em;
}
.cta-row {
  margin-top: 1.5rem;
}
.cta-row .fine {
  margin-top: 0.65rem;
}
.cta-row .btn {
  width: 100%;
}

/* On phones the check straddles the yellow and white bands. */
.hero {
  background: linear-gradient(to bottom, var(--bus) 0, var(--bus) calc(100% - 12rem), var(--paper) calc(100% - 12rem));
}
.hero .check {
  padding-bottom: 0.5rem;
}

@media (min-width: 30rem) {
  .cta-row .btn {
    width: auto;
  }
}

@media (min-width: 56rem) {
  .hero {
    background: var(--bus);
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  }
  .topbar {
    padding-block: 1.1rem;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    padding-top: clamp(0.75rem, 2vw, 1.75rem);
  }
  .hero h1 {
    font-size: clamp(2.5rem, 1.1rem + 2.6vw, 3.1rem);
  }
  .hero .check__paper {
    transform: rotate(-2deg);
  }
  .hero .check figcaption {
    padding-left: 0.75rem;
  }
}

/* ---------- the check ---------- */

.check {
  container-type: inline-size;
}
.check__paper {
  --guilloche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14' viewBox='0 0 56 14'%3E%3Cpath d='M0 7c7-9 21-9 28 0s21 9 28 0' fill='none' stroke='%2316233F' stroke-opacity='.085'/%3E%3C/svg%3E");
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.05em;
  padding: 1.5em 1.5em 1.35em;
  font-size: clamp(0.62rem, 3.15cqi, 0.98rem);
  line-height: 1.25;
  color: var(--ink);
  background-color: var(--safety);
  background-image: var(--guilloche), var(--guilloche);
  background-size: 56px 14px, 84px 21px;
  background-position: 0 0, 14px 7px;
  border: 1px solid rgba(22, 35, 63, 0.3);
  border-radius: 0.55em;
  outline: 1px solid rgba(22, 35, 63, 0.22);
  outline-offset: -0.55em;
  box-shadow: 0 1px 0 rgba(22, 35, 63, 0.28), 0 1.5em 1.9em -1.35em rgba(22, 35, 63, 0.7);
}
.check__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1em;
}
.check__row--top {
  align-items: flex-start;
}
/* On a very narrow check the amount box drops under the payee line. */
.check__row--pay {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.55em;
}
.check__row--pay .check__field {
  flex: 1 1 auto;
}
.check__payer strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.32em;
  letter-spacing: -0.01em;
}
.check__meta {
  text-align: right;
  white-space: nowrap;
}
.check__no {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15em;
}
.check__label {
  display: block;
  font-size: 0.98em;
  font-weight: 500;
  color: var(--ink-soft);
}
.check__field {
  flex: 1 1 auto;
  min-width: 0;
}
.hand {
  display: block;
  padding: 0 0.12em 0.02em;
  font-family: var(--hand);
  font-size: 1.8em;
  line-height: 1.15;
  color: var(--pen);
  border-bottom: 1px solid rgba(22, 35, 63, 0.55);
}
.hand--small {
  font-size: 1.5em;
  line-height: 1.22;
}
.check__field > .hand,
.check__print {
  white-space: nowrap;
}
/* Printed on the check in its own typeface, like the payer's name: the
   payee and the memo. Only the date, the amount in words and the signature
   are written by hand. */
.check__print {
  display: block;
  padding: 0 0.12em 0.14em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(22, 35, 63, 0.55);
}
.check__print--small {
  padding-bottom: 0.22em;
  font-weight: 600;
  font-size: 1.15em;
}
.hand--inline {
  display: inline;
  padding: 0;
  border: 0;
  font-size: 1.55em;
}
.check__amount {
  flex: 0 0 auto;
  padding: 0.14em 0.4em 0.1em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8em;
  line-height: 1.15;
  letter-spacing: -0.015em;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 35, 63, 0.5);
  border-radius: 0.14em;
}
.check__words {
  display: flex;
  align-items: flex-end;
  gap: 0.6em;
}
.check__words .check__label {
  padding-bottom: 0.25em;
}
.check__memo {
  flex: 1 1 40%;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.5em;
}
.check__memo .check__label {
  padding-bottom: 0.25em;
}
.check__memo .hand,
.check__memo .check__print {
  flex: 1 1 auto;
}
.check__sign {
  flex: 1 1 50%;
  min-width: 0;
  text-align: center;
}
.check__sign .check__label {
  padding-top: 0.2em;
}
.check__sign .hand:empty::before {
  content: "\00a0";
}
.check figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* One orchestrated moment: the hero check writes itself in when it scrolls
   into view. A small inline script on the page adds these classes; without
   it the handwriting is simply there. */
@keyframes write {
  from {
    clip-path: inset(-25% 100% -25% -4%);
  }
  to {
    clip-path: inset(-25% -4% -25% -4%);
  }
}
.check.is-blank .hand {
  clip-path: inset(-25% 100% -25% -4%);
}
.check.is-inked .hand:not(.hand--lines),
.check.is-inked .hand__line {
  animation: write var(--dur, 0.6s) cubic-bezier(0.45, 0.05, 0.3, 1) var(--delay, 0s) both;
}
.hand__line {
  display: block;
  white-space: nowrap;
}

/* ---------- calculator ---------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.split--flow {
  align-items: center;
}

/* ---------- what the check would pay for ---------- */

.worth {
  display: grid;
  gap: 2.75rem;
}
.worth__num {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.worth__figure .worth__num {
  display: block;
  font-size: clamp(5.25rem, 2.4rem + 14vw, 9.5rem);
}
.worth__unit {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.9vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.worth__list {
  display: grid;
  gap: 2.25rem;
}
.worth__list .worth__num {
  font-size: clamp(3.4rem, 2.2rem + 5.4vw, 5rem);
}
.worth__list h3 {
  margin-top: 0.5rem;
}
.worth__list h3 + p {
  margin-top: 0.35rem;
}
/* The either/or: the same money as a tax cut. A dotted outline sets it
   apart, and the "or" rides in the outline's top edge. */
.worth__alt {
  position: relative;
  margin-top: 0.6rem;
  padding: 1.35rem 1.2rem 1.25rem;
  background: var(--paper);
  border: 2px dotted var(--ink);
  border-radius: 14px;
}
/* Centered on the top edge. Its background hides the dots behind it: the
   band's tint above the line, the card's white below. */
.worth__or {
  position: absolute;
  top: -1px;
  left: 50%;
  padding: 0 0.7rem;
  font: italic 600 1.15rem/1.2 var(--display);
  background: linear-gradient(to bottom, var(--safety) 50%, var(--paper) 50%);
  transform: translate(-50%, -50%);
}
/* Wide: the big number sits beside its chart, and the three comparisons
   run across underneath, so neither column is left with a hole. */
@media (min-width: 56rem) {
  .worth {
    gap: 2.5rem;
  }
  .worth__lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
  .worth__lead > * {
    grid-column: 1;
  }
  .worth__lead > .bars {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }
  .worth__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
  /* three across: keep "$7,700" inside its column on narrow laptops */
  .worth__list .worth__num {
    font-size: clamp(3.4rem, 7.6vw, 5rem);
  }
  .worth__list .worth__alt .worth__num {
    font-size: clamp(3rem, 6.4vw, 4.4rem);
  }
  .worth__list {
    align-items: start;
  }
}

/* Chart colors. Yellow is what is in Austin's schools, red is money that
   goes to the state. They mean the same two things in every chart. */
.bars__bar,
.seg--stay,
.sw--stay {
  background: var(--bus-deep);
}
.bars__bar--out,
.seg--out,
.sw--out {
  background: var(--loss);
}

/* Two small bar charts, each on its own scale: teachers today and without
   recapture, then one year of teacher salaries beside the check. The row
   names and the figures at the bar tips carry the comparison. */
.bars {
  margin-top: 1.75rem;
}
.bars figcaption {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.bars__group {
  margin-top: 0.9rem;
}
.bars__group + .bars__group {
  margin-top: 1.25rem;
}
.bars__title {
  font-weight: 700;
  line-height: 1.3;
}
.bars__title small {
  margin-left: 0.15em;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.bars__row {
  display: grid;
  grid-template-columns: 8.4rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.6rem;
  margin-top: 0.45rem;
}
.bars__name {
  font-size: 0.9rem;
  line-height: 1.2;
}
.bars__track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
/* The longest bar stops short of the edge so its figure always fits. */
.bars__bar {
  flex: 0 0 auto;
  width: calc((100% - 4.2rem) * var(--w) / 100);
  height: 22px;
  border-radius: 0 4px 4px 0;
}
.bars__value {
  font-weight: 650;
  font-size: 0.95rem;
  white-space: nowrap;
}
.bars__row--then .bars__name,
.bars__row--then .bars__value {
  font-weight: 700;
}
@media (max-width: 22.5rem) {
  .bars__row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.2rem;
  }
}
.bars__bar:hover,
.bars__bar:focus-visible,
.seg:hover,
.seg:focus-visible {
  filter: brightness(1.1);
}

.tip {
  position: absolute;
  z-index: 30;
  max-width: 16rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  pointer-events: none;
}
.tip strong {
  display: block;
  font-size: 1rem;
}

/* ---------- where the check goes ---------- */

.lede--big {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.45rem, 1.15rem + 1.5vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.flow {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}
.flow svg {
  display: block;
  width: 100%;
  height: auto;
}
.flow text {
  font-family: var(--text);
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink);
}
.flow .t-title {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 700;
}
.flow .t-big {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.flow .t-sub {
  font-size: 14px;
  font-weight: 700;
}
.flow__node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.flow__node--stay {
  fill: var(--bus-deep);
}
.flow__node--state {
  fill: var(--loss);
}
.flow__node--none {
  stroke: var(--ink-soft);
  stroke-dasharray: 5 4;
}
/* the money: outlined arrows from the tax bill, red to the state and
   yellow to Austin ISD */
.flow__arrow {
  fill: var(--loss);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.flow__arrow--stay {
  fill: var(--bus-deep);
}
/* "so": the consequence, not money, drawn in ink */
.flow__stem {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
}
.flow__head {
  fill: var(--ink);
}
.flow__no {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 2;
  stroke-dasharray: 5 5;
}
.flow__x circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.flow__x path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.flow__hl {
  fill: var(--bus);
}

.steps {
  display: grid;
  gap: 2.5rem;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--paper);
  border-radius: 14px;
}
.step__n,
.ask__n {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}
.step h3 {
  margin-top: 0.85rem;
}
.step p {
  margin-top: 0.4rem;
}
/* The figure each step produces, set on the card's bottom edge so the three
   line up: collected, kept, captured. */
.step .step__fig {
  margin-top: auto;
  padding-top: 1.1rem;
}
.step__label {
  display: block;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ink-soft);
}
.step__fig b {
  display: inline-block;
  margin-top: 0.2rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
/* What the state captures sits inside four red corner marks, the frame a
   camera draws around whatever it has captured. The marks are one rounded
   border with everything but its corners masked off. The frame is placed
   over the card's padding, so the label and figure stay on the same lines
   as the other two cards'. Without mask support it is a plain red outline. */
.step__cap {
  position: relative;
  display: inline-block;
}
.step__cap::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  right: -0.75rem;
  bottom: -0.55rem;
  left: -0.75rem;
  border: 3px solid var(--loss);
  border-radius: 11px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-size: 1.4rem 1.4rem;
  -webkit-mask-position: top left, top right, bottom left, bottom right;
  -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-size: 1.4rem 1.4rem;
  mask-position: top left, top right, bottom left, bottom right;
  mask-repeat: no-repeat;
}
/* the arrow from one step to the next */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.95rem;
  width: 1.3rem;
  height: 1.4rem;
  margin-left: -0.65rem;
  background: var(--ink);
  clip-path: polygon(36% 0, 64% 0, 64% 52%, 100% 52%, 50% 100%, 0 52%, 36% 52%);
}
@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
  .step:not(:last-child)::after {
    left: auto;
    right: -2.2rem;
    top: 50%;
    bottom: auto;
    margin: -0.7rem 0 0;
    transform: rotate(-90deg);
  }
}

.dollar {
  container-type: inline-size;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: 14px;
}
.dollar__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.segbar {
  display: flex;
  gap: 2px;
  height: 28px;
  margin-top: 0.95rem;
}
.seg {
  flex-basis: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 0.45em;
  padding-inline: 0.25rem;
  font: 700 0.9375rem/1 var(--text);
  white-space: nowrap;
  color: var(--ink);
  border-radius: 4px;
}
/* On a narrow bar the two names sit in a legend under it. Once the bar is
   wide enough to hold them they are printed inside it, and the legend goes. */
.seg__name {
  display: none;
  font-weight: 500;
}
@container (min-width: 30rem) {
  .seg__name {
    display: inline;
  }
  .dollar .legend {
    display: none;
  }
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 0.7rem;
  font-size: 0.875rem;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sw {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 2px;
}
.dollar .fine {
  margin-top: 0.85rem;
  max-width: 44rem;
}
.dollar .src {
  margin-top: 0.5rem;
}

/* ---------- ledger ---------- */

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.ledger caption {
  padding-bottom: 0.7rem;
  text-align: left;
  font-weight: 650;
}
.ledger th,
.ledger td {
  padding: 0.72rem 0.85rem;
  text-align: left;
  vertical-align: baseline;
}
.ledger thead th {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--ink);
}
.ledger th[scope="row"] {
  font-weight: 500;
}
.ledger td:last-child,
.ledger thead th:last-child {
  text-align: right;
}
.ledger td {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
}
.ledger tbody tr:nth-child(odd) {
  background: var(--safety);
}
.ledger tfoot th,
.ledger tfoot td {
  border-top: 2px solid var(--ink);
  font-weight: 800;
}
.ledger tfoot td {
  font-size: calc(1.35rem + 2px);
}
.ledger small {
  display: block;
  font-family: var(--text);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.facts {
  display: grid;
  gap: 1.5rem;
}
.facts h3 + p {
  margin-top: 0.35rem;
}

/* ---------- arguments ---------- */

/* Each claim is a row that opens to show its answer. It is a <details>
   element, so it works from the keyboard and without JavaScript. */
.args {
  border-bottom: 1px solid var(--safety-line);
}
.arg {
  border-top: 1px solid var(--safety-line);
}
.arg summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.arg summary::-webkit-details-marker {
  display: none;
}
.arg__claim {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.08rem + 0.6vw, 1.45rem);
  line-height: 1.24;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}
/* the [+] that becomes [−] */
.arg__icon {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}
.arg__icon::before,
.arg__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.8rem;
  height: 2px;
  margin: -1px 0 0 -0.4rem;
  background: var(--ink);
}
.arg__icon::after {
  transform: rotate(90deg);
}
.arg summary:hover .arg__icon {
  background: var(--safety);
}
.arg[open] .arg__icon,
.arg[open] summary:hover .arg__icon {
  background: var(--ink);
}
.arg[open] .arg__icon::before {
  background: #fff;
}
.arg[open] .arg__icon::after {
  display: none;
}
.arg__reply {
  max-width: 46rem;
  padding-bottom: 1.35rem;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .arg[open] .arg__reply {
    animation: reveal 0.18s ease-out;
  }
}

/* ---------- the fix ---------- */

/* Three numbered cards: the number and the name on one line, the detail
   under them. */
.asks {
  display: grid;
  gap: 0.9rem;
}
.ask {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  gap: 0.65rem 0.75rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
}
.ask p {
  grid-column: 1 / -1;
}
@media (min-width: 48rem) {
  .asks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.75rem;
}
.countdown b {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 2.4rem + 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.countdown span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.7rem);
  line-height: 1.15;
}
.timeline {
  display: grid;
  margin-top: 1.75rem;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 7.3rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0 0 1.3rem 1.6rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0.3125rem;
  top: 0.5rem;
  bottom: -0.5rem;
  width: 2px;
  background: var(--safety-line);
}
.timeline li:last-child::before {
  display: none;
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.timeline .is-past {
  color: var(--ink-soft);
}
.timeline .is-past::after {
  background: var(--ink);
}
.timeline .is-now::after {
  background: var(--bus);
  box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(255, 198, 41, 0.5);
}
.tl__date {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}
.tl__what {
  font-weight: 600;
  line-height: 1.35;
}
.tl__what small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
}
@media (min-width: 56rem) {
  .timeline {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
  .timeline li {
    display: block;
    padding: 1.7rem 1rem 0 0;
  }
  .timeline li::before {
    left: 0.375rem;
    right: 0;
    top: 0.32rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .timeline li::after {
    top: 0;
  }
  .tl__date,
  .tl__what {
    display: block;
  }
  .tl__what {
    margin-top: 0.15rem;
  }
}

/* ---------- closing call to action ---------- */

.closer h2 > span {
  display: block;
}
.closer .cta-row {
  margin-top: 1.75rem;
}

/* ---------- sources and footer ---------- */

.sources summary {
  cursor: pointer;
  font-weight: 650;
}
.sources ol {
  margin-top: 1rem;
  padding-left: 1.4rem;
  list-style: decimal;
  font-size: 0.95rem;
}
.sources li + li {
  margin-top: 0.55rem;
}
.sources li {
  overflow-wrap: anywhere;
}

.foot {
  padding-block: 2.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
}
.foot a {
  color: #fff;
}
.foot p + p {
  margin-top: 0.7rem;
}

/* ---------- the locked contact bar ----------
   Slides up once the hero's own button has scrolled out of view and stays
   to the bottom of the page, on every screen size. Phones get the button
   alone, full width. From tablet width up the call line sits beside it. */

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid rgba(22, 35, 63, 0.16);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0s linear 0.22s;
}
.sticky.is-on {
  transform: none;
  visibility: visible;
  transition: transform 0.22s ease, visibility 0s;
}
.sticky .btn {
  min-height: 3.25rem;
}
.sticky__line {
  display: none;
  margin: 0;
  font: 700 1.15rem/1.25 var(--display);
  letter-spacing: -0.008em;
}
@media (min-width: 46rem) {
  .sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }
  .sticky__line {
    display: block;
    min-width: 0;
  }
  .sticky .btn {
    flex: 0 0 auto;
    width: auto;
    min-height: 2.875rem;
    padding-block: 0.55rem;
  }
}
/* a phone held sideways has little height to spare */
@media (max-height: 30rem) {
  .sticky {
    padding-top: 0.4rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
  }
  .sticky .btn {
    min-height: 2.75rem;
    padding-block: 0.45rem;
  }
}
/* room for the bar under the last line of the footer */
.foot {
  padding-bottom: 6.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .sticky,
  .btn {
    transition: none;
  }
}

/* ---------- the form (dialog) ---------- */

html.is-locked {
  overflow: hidden;
}
.sheet {
  width: 100%;
  max-width: 36rem;
  max-height: min(100dvh - 2rem, 48rem);
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}
.sheet[open] {
  display: flex;
  flex-direction: column;
}
.sheet::backdrop {
  background: rgba(22, 35, 63, 0.62);
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.sheet[open] {
  animation: sheet-in 0.2s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .sheet[open] {
    animation: none;
  }
}
@media (max-width: 40rem) {
  .sheet {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }
}
.sheet__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  background: var(--bus);
}
.sheet__head h2 {
  font-size: 1.35rem;
  line-height: 1.15;
}
.sheet__head h2:focus {
  outline: none;
}
.sheet__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font: 400 1.9rem/1 var(--text);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.sheet__close:hover {
  background: rgba(22, 35, 63, 0.1);
}
.sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
}
.sheet__body > section > * + * {
  margin-top: 1rem;
}
.sheet__body[hidden],
.sheet__body section[hidden] {
  display: none;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.field .hint {
  font-weight: 400;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: 400 1.0625rem/1.45 var(--text);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #76839d;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  min-height: 9.5rem;
  max-height: 24rem;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--pen);
  outline-offset: 1px;
  border-color: var(--pen);
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.field__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.45rem;
  font-size: 0.9rem;
}
.err {
  margin-top: 0.45rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--error);
}
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0.85rem;
}
.to {
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  line-height: 1.5;
  background: var(--safety);
  border-radius: 10px;
}
.to strong {
  font-weight: 650;
}

.notice {
  padding: 0.85rem 1rem;
  background: var(--safety);
  border-radius: 10px;
}
.notice summary {
  margin-top: 0.4rem;
  font-size: 0.925rem;
  color: var(--pen);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}
.notice details > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.calls li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-block: 0.7rem;
  border-top: 1px solid var(--safety-line);
}
.calls li:last-child {
  border-bottom: 1px solid var(--safety-line);
}
.calls strong {
  display: block;
  font-weight: 650;
  line-height: 1.3;
}
.calls span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.calls__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
.tel {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
  color: var(--ink);
  background: var(--bus);
  border-radius: 10px;
  text-decoration: none;
}
.tel:hover {
  background: #f5b800;
}
.calls__actions a:not(.tel) {
  font-size: 0.875rem;
}
.script {
  padding: 0.85rem 1rem;
  font-size: 0.975rem;
  border-left: 3px solid var(--ink);
  background: var(--safety);
}
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.share .btn {
  flex: 1 1 auto;
}
.sheet h3 {
  font-size: 1.15rem;
}
.sheet__body section > h3 {
  margin-top: 1.75rem;
}
.status {
  min-height: 1.3em;
  font-size: 0.9rem;
  font-weight: 600;
}

.sheet--small {
  max-width: 24rem;
}
.share--stack {
  display: grid;
}
@media (max-width: 40rem) {
  .sheet--small {
    inset: auto 0 0;
    max-width: none;
    height: auto;
    border-radius: 18px 18px 0 0;
  }
}

.sheet--fallback[open] {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

/* ---------- wide screens ----------
   Tighter vertical rhythm, and nothing that is one column wide is left
   hanging on the left edge: section intros, stand-alone lines, notes and
   source lines sit on the page's center line. Two-column areas keep their
   left edge. */
@media (min-width: 56rem) {
  .band {
    padding-block: clamp(3rem, 1.6rem + 2.2vw, 4.25rem);
  }
  .foot {
    padding-block: 2.25rem 6.25rem;
  }
  .head {
    max-width: 56rem;
    margin-inline: auto;
    text-align: center;
  }
  .head .lede {
    max-width: 52rem;
    margin-inline: auto;
    text-wrap: balance;
  }
  .statement {
    max-width: 52rem;
    margin-inline: auto;
    font-size: 1.15rem;
    text-align: center;
    text-wrap: balance;
  }
  .wide-center {
    max-width: 56rem;
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
  }

  /* where the check goes: heading and explanation beside the diagram */
  .split--flow {
    grid-template-rows: auto auto;
    row-gap: 1.25rem;
    align-items: start;
  }
  .split--flow > .stack {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  .split--flow > .flow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: 26rem;
  }
  .split--flow > .flow__why {
    grid-column: 1;
    grid-row: 2;
  }
  .dollar {
    padding: 1.5rem 1.75rem;
    text-align: center;
  }
  .dollar .legend {
    justify-content: center;
  }
  .dollar .fine {
    max-width: 52rem;
    margin-inline: auto;
    text-wrap: balance;
  }

  .args {
    max-width: 54rem;
    margin-inline: auto;
  }
  /* the answer runs the full row, stopping where the [+] column starts */
  .arg__reply {
    max-width: none;
    padding-right: 3rem;
  }
  .countdown {
    justify-content: center;
  }

  .closer .wrap {
    text-align: center;
  }
  .closer .lede {
    margin-inline: auto;
    text-wrap: balance;
  }
  .sources-col {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
  }
  .sources-col ol {
    text-align: left;
  }
  .foot .measure {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
  }
}

/* ---------- small pages (home, 404) ---------- */

.plain {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  background: var(--bus);
}
.plain .wrap > * + * {
  margin-top: 1.25rem;
}

@media print {
  .sticky,
  .sheet,
  .btn {
    display: none !important;
  }
}
