@font-face {
  font-family: "Bradford";
  src:
    url("../assets/fonts/bradford/BradfordLLWeb-Light.woff2") format("woff2"),
    url("../assets/fonts/bradford/BradfordLLWeb-Light.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bradford";
  src:
    url("../assets/fonts/bradford/BradfordLLWeb-LightItalic.woff2") format("woff2"),
    url("../assets/fonts/bradford/BradfordLLWeb-LightItalic.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-Light-BF642635db10e43.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-LightItalic-BF642635db0ee4d.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-Book-BF642635dadf0e1.woff") format("woff");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-BookItalic-BF642635db06cd1.woff") format("woff");
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-Regular-BF642635daec3c4.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-RegularItalic-BF642635db08316.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-Medium-BF642635db1a64b.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-MediumItalic-BF642635dab39d0.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-Semi-Bold-BF642635db07fbc.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-Semi-BoldItalic-BF642635db1b9de.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-Bold-BF642635da9bc39.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anthro Trial";
  src: url("../assets/fonts/anthro/AnthroTrial-BoldItalic-BF642635daca850.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gerstner Programm FS";
  src: url("../assets/fonts/gerstner/GerstnerProgrammFSLWeb-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gerstner Programm FS";
  src: url("../assets/fonts/gerstner/GerstnerProgrammFSLWeb-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend/Lexend-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend/Lexend-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend/Lexend-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend/Lexend-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend/Lexend-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-lora: "Bradford", ui-serif, Georgia, serif;
  --font-sans: "Anthro Trial", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-gerstner: "Gerstner Programm FS", ui-sans-serif, system-ui, sans-serif;
  --font-lexend: "Lexend", ui-sans-serif, system-ui, sans-serif;
  --color-accent: #006e89;
  --color-sage: #80c343;
  --color-muted: #858585;
  --color-axis: #6e6e6e;
  --color-label: #959595;
  --color-placeholder: #969696;
}

html {
  scroll-behavior: auto;
  /* clip avoids horizontal scroll without breaking position:sticky */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: #ffffff;
  color: #000000;
  margin: 0;
}

.site-header {
  --header-max: 980px;
  --header-pad-y: 1.05rem;
  --header-pad-x: 1.4rem;
  --header-brand-size: 28px;
  --header-link-size: 13.5px;
  --header-nav-gap: 1.35rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  pointer-events: none;
}

.site-header__progress-fill {
  display: block;
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.45s ease;
}

.site-header__inner {
  margin: 0 auto;
  display: flex;
  width: 100%;
  max-width: min(var(--header-max), 100%);
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: var(--header-pad-y) var(--header-pad-x);
}

.site-header__brand {
  font-size: var(--header-brand-size);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.site-header__brand .brand-dot {
  color: var(--color-accent);
}

.site-header__nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  column-gap: var(--header-nav-gap);
  row-gap: 0.35rem;
  /* Room for the rolling underline just under the labels */
  padding-bottom: 0.4rem;
}

.font-lora {
  font-family: var(--font-lora);
}

.hero-stat__unit {
  margin-left: 0.35em;
}

.article-meta {
  margin-top: 2.75rem;
}

.article-meta__author,
.article-meta__date {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-meta__author {
  font-size: 13px;
  line-height: 1.3;
  color: #5c5c5c;
}

.article-meta__date {
  margin-top: 0.2rem;
  font-size: 12px;
  line-height: 1.3;
  color: #9a9a9a;
}

.article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.article-actions__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #6e6e6e;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background-color 0.15s ease;
}

.action-pill:hover {
  border-color: #bdbdbd;
  color: #444;
}

.action-pill[aria-pressed="true"] {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.action-pill__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}

.action-pill--share {
  padding-inline: 1rem;
}

.action-pill.is-copied {
  border-color: var(--color-sage);
  color: var(--color-sage);
}

.record-check__agents {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.35rem;
  row-gap: 0.55rem;
  padding-bottom: 0.45rem;
}

.record-agent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.15rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6e6e6e;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}

.record-agent:hover,
.record-agent:focus-visible {
  color: #111;
  outline: none;
}

.record-agent.is-selected,
.record-agent[aria-pressed="true"] {
  color: #111;
}

.record-check__indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 22px;
  border-radius: 1px;
  background: var(--color-sage);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transform-origin: left center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, width;
}

.record-check__indicator.is-instant {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .record-check__indicator {
    transition: none;
  }
}

.record-check__form {
  margin-top: 1rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
}

.record-check__label {
  display: block;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #8a8a8a;
}

.record-check__input {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.35rem 0 0.55rem;
  border: 0;
  border-bottom: 1px solid #d0d0d0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-family: var(--font-lora);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  outline: none;
}

.record-check__input::placeholder {
  color: #a3a3a3;
  font-weight: 400;
}

.record-check__input:focus {
  border-bottom-color: var(--color-sage);
}

.record-check__submit {
  display: inline-flex;
  align-items: center;
  margin-top: 1.1rem;
  min-height: 2.35rem;
  padding: 0.5rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-sage);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.record-check__submit:hover {
  opacity: 0.92;
}

.record-check__submit:disabled {
  opacity: 0.65;
  cursor: default;
}

.finding__title {
  letter-spacing: -0.01em;
}

.finding__agent {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #9a9a9a;
}

.finding__split {
  display: grid;
  gap: 1.5rem;
  margin-top: 0;
}

.finding__media {
  width: 100%;
  max-width: 280px;
}

.finding__calendar {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  overflow: visible;
}

.calendar-scrolly__day {
  transition: fill 0.2s ease;
}

.finding__note {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.finding__note.is-swapping {
  animation: cal-note-swap 0.35s ease;
}

@keyframes cal-note-swap {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.finding__note-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-accent);
}

.finding__note-kicker {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-accent);
}

.finding__stat-em {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-accent);
}

.finding__body,
.finding__stat {
  font-size: 18px;
  line-height: 28px;
}

.finding__stat {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.finding__stat.is-visible {
  opacity: 1;
}

.calendar-scrolly {
  position: relative;
  margin-top: 2.5rem;
}

.calendar-scrolly__sticky {
  position: sticky;
  top: 5.5rem;
  z-index: 1;
  padding: 0.5rem 0 1rem;
}

.calendar-scrolly__runway {
  /* JS sizes from weighted step bands; fallback keeps a longer runway */
  height: 320vh;
  pointer-events: none;
}

@media (min-width: 768px) {
  .calendar-scrolly {
    margin-top: 2.75rem;
  }

  .finding__split {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 3rem;
    align-items: stretch;
  }

  .finding__notes {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding-top: 0.15rem;
    padding-left: 0.75rem;
  }

  .finding__stat {
    margin-top: 0;
    min-height: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calendar-scrolly__runway {
    height: 0;
  }

  .calendar-scrolly__sticky {
    top: 0 !important;
  }

  .calendar-scrolly__day,
  .finding__note {
    transition: none;
  }

  .finding__note.is-swapping {
    animation: none;
  }
}

.finding-reveal__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.55rem;
  color: var(--color-accent);
  font-family: var(--font-sans);
  line-height: 1;
}

.finding-reveal__zero {
  font-size: clamp(48px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.finding-reveal__stat-label {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.finding-reveal__when {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #000;
}

.finding-reveal__body {
  max-width: none;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  color: #000;
}

@media (min-width: 768px) {
  .finding-reveal__body {
    font-size: 16px;
    line-height: 28px;
  }
}

.finding__accent-phrase {
  font-weight: 600;
  color: var(--color-accent);
}

.metrics-scrolly {
  position: relative;
}

.metrics-scrolly__sticky {
  position: sticky;
  top: 5.5rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(42vh, 22rem);
  padding: 1.5rem 0;
}

.metrics-scrolly__runway {
  height: 110vh;
  pointer-events: none;
}

.finding-metrics {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.finding-metric {
  text-align: center;
  flex: 0 0 auto;
}

.finding-metric--first {
  transition: transform 0.55s ease;
}

.finding-metric--second {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    max-height 0.55s ease,
    opacity 0.45s ease,
    transform 0.55s ease,
    margin 0.55s ease;
  margin: 0;
}

.finding-metric--second.is-visible {
  max-height: 12rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.metrics-scrolly.is-instant .finding-metric--first,
.metrics-scrolly.is-instant .finding-metric--second {
  transition: none;
}

.finding-metric__value {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem 0.3rem;
  color: var(--color-accent);
  font-family: var(--font-sans);
  line-height: 1;
  text-align: center;
}

.finding-metric__num {
  font-size: clamp(40px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.finding-metric__den {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  opacity: 0.85;
}

.finding-metric__unit {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.finding-metric__desc {
  max-width: 16rem;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #000;
  text-align: center;
}

@media (min-width: 768px) {
  .finding-metrics {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    transition: gap 0.55s ease;
  }

  .metrics-scrolly.is-complete .finding-metrics {
    gap: 3rem;
  }

  .finding-metric--first {
    width: min(100%, 16.5rem);
  }

  .finding-metric--second {
    width: 0;
    max-width: 0;
    max-height: none;
    margin: 0;
    overflow: hidden;
    transform: translateX(16px);
    transition:
      width 0.55s ease,
      max-width 0.55s ease,
      opacity 0.45s ease 0.05s,
      transform 0.55s ease;
  }

  .finding-metric--second.is-visible {
    width: min(100%, 16.5rem);
    max-width: min(100%, 16.5rem);
    max-height: none;
    transform: translateX(0);
  }

  .finding-metric__desc {
    font-size: 16px;
    line-height: 26px;
  }

  .metrics-scrolly.is-instant .finding-metrics {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metrics-scrolly__runway {
    height: 0;
  }

  .metrics-scrolly__sticky {
    top: 0 !important;
  }

  .finding-metrics {
    flex-direction: row;
    gap: 3rem;
    transition: none;
  }

  .finding-metric--first {
    transition: none;
  }

  .finding-metric--second {
    width: min(100%, 16.5rem);
    max-width: min(100%, 16.5rem);
    max-height: none;
    opacity: 1;
    overflow: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
}

.bulletin-scrolly {
  position: relative;
}

.bulletin-scrolly__sticky {
  position: sticky;
  top: 5.5rem;
  z-index: 1;
  padding: 1rem 0 1.5rem;
}

.bulletin-scrolly__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.bulletin-scrolly__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 22rem;
}

.bulletin-scrolly__intro {
  max-width: 22rem;
}

.bulletin-scrolly__more {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.bulletin-scrolly__more.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.bulletin-scrolly__more-btn {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-accent);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.bulletin-scrolly__more-btn:hover,
.bulletin-scrolly__more-btn:focus-visible {
  color: #7a3d08;
}

.bulletin-scrolly.is-browsing .bulletin-scrolly__more {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.bulletin-scrolly__runway {
  height: 192vh;
  pointer-events: none;
}

.bulletin-card-wrap {
  width: min(100%, 300px);
  margin-inline: auto;
}

.bulletin-card {
  position: relative;
  width: 100%;
  padding-top: 22px;
}

.bulletin-card__tape {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 108px;
  height: 44px;
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
  user-select: none;
}

.bulletin-card__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 240px;
  min-height: 240px;
  max-width: 100%;
  padding: 1.6rem 1.2rem 1.35rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.bulletin-card__headline {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000;
}

.bulletin-card__time {
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #9a9a9a;
}

.bulletin-card__excerpt {
  margin-top: auto;
  padding-top: 0.85rem;
  min-height: 4.2em;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #000;
}

.bulletin-card__excerpt[hidden] {
  visibility: hidden;
  display: block;
}

.bulletin-card.is-swapping .bulletin-card__sheet {
  animation: bulletin-swap 0.28s ease;
}

@keyframes bulletin-swap {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.bulletin-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.bulletin-pager[hidden] {
  display: none;
}

.bulletin-pager__btn {
  appearance: none;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.bulletin-pager__btn:hover:not(:disabled),
.bulletin-pager__btn:focus-visible:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.bulletin-pager__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.bulletin-pager__counter {
  min-width: 4.5rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: #666;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .bulletin-scrolly__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 2.5rem 3rem;
    align-items: center;
  }

  .bulletin-card-wrap {
    margin-inline: 0 0;
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bulletin-scrolly__runway {
    height: 0;
  }

  .bulletin-scrolly__sticky {
    top: 0 !important;
  }

  .bulletin-scrolly__more {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .bulletin-card.is-swapping .bulletin-card__sheet {
    animation: none;
  }
}

.tweet-scrolly {
  position: relative;
}

.tweet-scrolly__sticky {
  position: sticky;
  top: 5.5rem;
  z-index: 1;
  padding: 1rem 0 1.5rem;
}

.tweet-scrolly__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.tweet-scrolly__note {
  max-width: 22rem;
}

.tweet-scrolly__time {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.tweet-scrolly__body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #111;
}

.tweet-scrolly[data-urgency="urgent"] .tweet-scrolly__time,
.tweet-scrolly[data-urgency="shout"] .tweet-scrolly__time {
  font-weight: 700;
}

.tweet-scrolly[data-urgency="shout"] .tweet-scrolly__body {
  font-weight: 500;
}

.tweet-scrolly__note.is-swapping,
.tweet-frame.is-swapping {
  animation: tweet-note-swap 0.28s ease;
}

@keyframes tweet-note-swap {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.tweet-frame {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 731 / 167;
}

.tweet-frame__bg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.tweet-frame__header {
  position: absolute;
  left: 17.6%;
  top: 14.5%;
  right: 8%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2em 0.35em;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.2;
  pointer-events: none;
}

.tweet-frame__name {
  font-size: clamp(11px, 2.05vw, 15px);
  font-weight: 700;
  color: #000;
}

.tweet-frame__verified {
  width: clamp(12px, 2.3vw, 17px);
  height: clamp(12px, 2.3vw, 17px);
  display: block;
  flex-shrink: 0;
}

.tweet-frame__meta {
  font-size: clamp(10px, 1.85vw, 14px);
  font-weight: 400;
  color: #7c7c7c;
  white-space: nowrap;
}

.tweet-frame__text {
  position: absolute;
  left: 17.6%;
  top: 36%;
  right: 5.5%;
  bottom: 28%;
  margin: 0;
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(11px, 1.95vw, 14.5px);
  font-weight: 400;
  line-height: 1.35;
  color: #000;
  pointer-events: none;
}

.tweet-scrolly__runway {
  height: 288vh;
  pointer-events: none;
}

@media (min-width: 768px) {
  .tweet-scrolly__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 2.5rem 4rem;
    align-items: center;
  }

  .tweet-frame {
    margin-inline: 0 0;
    justify-self: end;
  }

  .tweet-scrolly__body {
    font-size: 16px;
    line-height: 1.6;
  }

  .tweet-frame__name {
    font-size: 15px;
  }

  .tweet-frame__meta {
    font-size: 14px;
  }

  .tweet-frame__text {
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tweet-scrolly__runway {
    height: 0;
  }

  .tweet-scrolly__sticky {
    top: 0 !important;
  }

  .tweet-scrolly__note.is-swapping,
  .tweet-frame.is-swapping {
    animation: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chart-sticky {
  position: sticky;
  top: 4.5rem;
}

.attempts-scrolly {
  position: relative;
}

.attempts-scrolly__sticky {
  position: sticky;
  /* JS sets an exact centered top; fallback keeps it below the nav */
  top: 5.5rem;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}

.attempts-scrolly__intro {
  width: 100%;
}

.attempts-scrolly__caption {
  position: relative;
  width: 100%;
  min-height: 5.5rem;
}

.attempts-scrolly__caption-default,
.attempts-scrolly__caption-live {
  transition: opacity 0.25s ease;
}

.attempts-scrolly__caption-live {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
}

.attempts-scrolly__runway {
  /* JS sets exact height from key-date step count; fallback keeps a short runway */
  height: 280vh;
  pointer-events: none;
}

.attempts-chart--hoverable {
  cursor: crosshair;
}

@media (prefers-reduced-motion: reduce) {
  .attempts-scrolly__runway {
    height: 0;
  }

  .attempts-scrolly__sticky {
    top: 0 !important;
  }
}

.attempts-chart path.line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.attempts-chart .axis-line {
  stroke: #d0d0d0;
  stroke-width: 1;
}

.attempts-chart {
  position: relative;
  overflow: visible;
}

.attempts-chart svg {
  overflow: visible;
  display: block;
  width: 100%;
}

.attempts-callout {
  position: absolute;
  z-index: 4;
  width: min(200px, 34%);
  padding: 0.5rem 0.6rem 0.55rem;
  border: 1px solid var(--color-sage);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.attempts-callout__meta,
.attempts-callout__stat,
.attempts-callout__insight {
  margin: 0;
  font-family: var(--font-sans);
  color: #000;
}

.attempts-callout__meta {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #6e6e6e;
}

.attempts-callout__stat {
  margin-top: 0.15rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-accent);
}

.attempts-callout__insight {
  display: none;
  margin-top: 0.35rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #222;
}

.attempts-callout--key .attempts-callout__insight {
  display: block;
}

.attempts-tooltip {
  position: absolute;
  z-index: 5;
  width: min(240px, calc(100% - 1.5rem));
  padding: 0.55rem 0.65rem 0.6rem;
  border: 1px solid var(--color-sage);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.attempts-tooltip__meta,
.attempts-tooltip__stat,
.attempts-tooltip__insight {
  margin: 0;
  font-family: var(--font-sans);
  color: #000;
}

.attempts-tooltip__meta {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #6e6e6e;
}

.attempts-tooltip__stat {
  margin-top: 0.15rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-accent);
}

.attempts-tooltip__insight {
  display: none;
  margin-top: 0.4rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #222;
}

.attempts-tooltip--key .attempts-tooltip__insight {
  display: block;
}

#radar-chart .radar-grid {
  fill: none;
  stroke: #d0d0d0;
  stroke-width: 1;
}

#radar-chart .radar-area {
  fill: rgba(0, 110, 137, 0.08);
  stroke: #006e89;
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.radar-scrolly {
  position: relative;
  height: 180vh;
}

.radar-scrolly__sticky {
  position: sticky;
  top: 5rem;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.25rem;
  padding-top: 0.25rem;
  padding-bottom: 1rem;
}

.radar-scrolly__intro {
  width: 100%;
}

.radar-scrolly__stage {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.radar-scrolly__chart {
  width: min(380px, 100%);
  flex-shrink: 0;
}

.radar-scrolly__aside {
  width: min(300px, 100%);
  max-width: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  will-change: opacity, transform, max-width, max-height, margin;
}

@media (min-width: 768px) {
  .radar-scrolly__stage {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .radar-scrolly__aside {
    max-height: none;
    transform: translateX(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .radar-scrolly {
    height: auto;
  }

  .radar-scrolly__aside {
    max-width: 300px;
    max-height: none;
    margin-top: 1.5rem;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  @media (min-width: 768px) {
    .radar-scrolly__aside {
      margin-top: 0;
      margin-left: 2rem;
    }
  }
}

.nav-link {
  position: relative;
  color: #6e6e6e;
  font-family: var(--font-gerstner);
  font-size: var(--header-link-size, 12px);
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link.is-active {
  color: #111;
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 22px;
  border-radius: 1px;
  background: var(--color-accent);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transform-origin: left center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, width;
}

.nav-indicator.is-instant {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-indicator {
    transition: none;
  }
}

.browser-screen {
  display: block;
  pointer-events: none;
}

/* Slightly wider than main column; margin-centered (no transform; safe with .reveal) */
.section-wider {
  width: min(960px, calc(100vw - 2.5rem));
  max-width: none;
  margin-left: calc((100% - min(960px, calc(100vw - 2.5rem))) / 2);
}

.screens-scrolly {
  position: relative;
  /* Four beats: 1→23→52→69→1 */
  height: 520vh;
}

.screens-scrolly__sticky {
  position: sticky;
  top: 5rem;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: calc(100vh - 6rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0 1rem;
}

@media (min-width: 768px) {
  .screens-scrolly__sticky {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.screens-scrolly__copy-stack {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 360px;
  min-height: 11rem;
}

.screens-scrolly__copy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: opacity, transform;
}

.screens-scrolly__copy--a {
  opacity: 1;
}

.screens-scrolly__copy--b,
.screens-scrolly__copy--c,
.screens-scrolly__copy--d {
  opacity: 0;
  pointer-events: none;
}

.screens-scrolly__stage {
  position: relative;
  width: min(540px, 100%);
  max-width: 100%;
  aspect-ratio: 689 / 409;
  flex-shrink: 0;
  overflow: visible;
}

.screens-scrolly__stage--loop {
  overflow: hidden !important;
  max-width: 100%;
  contain: paint;
}

.screens-scrolly__hero {
  display: block;
  width: 100%;
  height: auto;
}

.screens-scrolly__item {
  position: absolute !important;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  transform-origin: top left;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .screens-scrolly {
    height: 320vh;
  }
}

.site-footer {
  margin-top: 6rem;
  background: var(--color-accent);
}

.site-footer__inner {
  margin: 0 auto;
  display: flex;
  width: 100%;
  max-width: 840px;
  flex-direction: column;
  gap: 2.75rem;
  padding: 2.25rem 1.25rem 4.5rem;
}

.site-footer__main {
  width: 100%;
  max-width: 400px;
}

.site-footer__headline {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}

.subscribe-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 24rem;
  margin-top: 0.85rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.subscribe-form__input {
  height: 2.6rem;
  border: 0;
  border-radius: 6px 6px 0 0;
  padding: 0 0.85rem;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  outline: none;
}

.subscribe-form__input::placeholder {
  color: var(--color-placeholder);
}

.subscribe-form__button {
  height: 2.6rem;
  border: 0;
  border-radius: 0 0 6px 6px;
  padding: 0 0.85rem;
  background: color-mix(in srgb, #fff 22%, var(--color-accent));
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.subscribe-form__button:hover {
  background: color-mix(in srgb, #fff 30%, var(--color-accent));
}

.subscribe-form__button:disabled {
  cursor: default;
  opacity: 0.9;
}

.subscribe-form__button:disabled:hover {
  background: color-mix(in srgb, #fff 22%, var(--color-accent));
}

.subscribe-card__legal {
  margin: 0.75rem 0 0;
  padding: 0 0.15rem;
  text-align: center;
  font-family: var(--font-lexend);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-placeholder);
}

.subscribe-card__legal a {
  color: inherit;
  text-decoration: underline;
}

.subscribe-card__brand {
  position: absolute;
  right: 1rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.subscribe-card__brand img {
  display: block;
  width: 96px;
  height: auto;
}

.site-footer__aside {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.site-footer__nav {
  font-family: var(--font-lexend);
  font-size: 18px;
  font-weight: 400;
  line-height: 2.2;
  padding-top: 1.6rem;
}

.site-footer__nav a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.site-footer__nav a:hover {
  opacity: 0.85;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__social-link {
  display: inline-flex;
  color: #fff;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.site-footer__social-link:hover {
  opacity: 0.8;
}

.site-footer__social-icon {
  width: 22px;
  height: 22px;
  display: block;
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 8rem;
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 3rem;
    padding: 2.5rem 1.25rem 7rem;
  }

  .site-footer__aside {
    justify-content: space-between;
    min-height: 100%;
    padding-top: 0.35rem;
  }

  .site-footer__nav {
    font-size: 18px;
    line-height: 2.35;
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* —— Article pages on Lexend (sans + section titles; brand stays Bradford) —— */
.wiki-third,
.wiki-third .font-lora:not(.site-header__brand),
.wiki-third .wk-beat h2,
.wiki-third .wk-quote p,
.wiki-third .wk-mock-title,
.wiki-third .wk-wiki,
.wiki-third .wk-wiki__title,
.wiki-third .wk-wiki__article h3,
.wiki-third .wk-wiki__tool--a,
.wiki-third .wk-wiki__boxcard .wk-infobox-title,
.wiki-third .wk-prompt,
.wiki-third .wk-rank .wk-tip {
  font-family: var(--font-lexend);
}

.wiki-third .wk-page-title {
  color: #8a6a3a;
}
.lexend-page {
  --font-sans: var(--font-lexend);
  --font-gerstner: var(--font-lexend);
}

.lexend-page main .font-lora {
  font-family: var(--font-lexend);
}

.lexend-page main .font-sans.font-normal {
  font-weight: 300;
}

.lexend-page .eval-scrolly__aside,
.lexend-page .face-timeline__text,
.lexend-page .claude-case__blurb,
.lexend-page .claude-case__note {
  font-weight: 300;
}

.lexend-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 1.65rem;
  margin: 1.85rem 0 0;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: #111;
}

.lexend-page .article-meta__by {
  margin: 0;
}

.lexend-page .article-meta__name {
  font-weight: 500;
}

.lexend-page .article-meta__date {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: inherit;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: #757575;
}

/* —— Homepage hero —— */
.home-page {
  --font-gerstner: var(--font-lexend);
  min-height: 100vh;
  background: #ffffff;
}

/* —— Homepage featured story —— */
.home-featured {
  padding: 7rem 0 6rem;
  background: #fff;
}

.home-featured__inner {
  width: 100%;
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 1.4rem;
  box-sizing: border-box;
}

.home-featured__label {
  margin: 0 0 1.35rem;
  display: inline-block;
  font-family: var(--font-lexend);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #8a8a8a;
  border-bottom: 1.5px solid #00c4d6;
  padding-bottom: 0.22rem;
}

.home-featured__body {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.home-featured__copy {
  max-width: 28rem;
}

.home-featured__title {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #111;
}

.home-featured__title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(#006e89, #006e89);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-featured__title a:hover {
  color: inherit;
  background-size: 100% 2px;
}

.home-featured__lede {
  margin: 0.7rem 0 0;
  font-family: var(--font-lexend);
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  font-weight: 300;
  line-height: 1.45;
  color: #8a8a8a;
}

.home-featured__by {
  margin: 1.35rem 0 0;
  font-family: var(--font-lexend);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.home-featured__media {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 1;
  background: #006e89;
  border-radius: 0.25rem;
  text-decoration: none;
  justify-self: start;
  overflow: hidden;
}

.home-featured__simmel {
  width: 100%;
  height: 100%;
  display: block;
}

.home-featured__simmel .heider-simmel__stage {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  max-height: none;
}

.home-featured__simmel .heider-simmel__playback {
  display: none;
}

@media (min-width: 860px) {
  .home-featured__body {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
    gap: 4rem;
  }

  .home-featured__media {
    justify-self: end;
    max-width: none;
    width: 100%;
  }
}

/* —— Homepage stories grid —— */
.home-stories {
  padding: 2rem 0 7rem;
  background: #fff;
}

.home-stories__inner {
  width: 100%;
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 1.4rem;
  box-sizing: border-box;
}

.home-stories__label {
  margin: 0 0 1.35rem;
  display: inline-block;
  font-family: var(--font-lexend);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #8a8a8a;
  border-bottom: 1.5px solid #00c4d6;
  padding-bottom: 0.22rem;
}

.home-stories__grid {
  display: grid;
  gap: 2.5rem 1.75rem;
}

.home-stories__card {
  min-width: 0;
  --story-line: #006e89;
}

.home-stories__card:has(.home-stories__media--wiki) {
  --story-line: #8a6a3a;
}

.home-stories__card:has(.home-stories__media--404) {
  --story-line: #0f7100;
}

.home-stories__card:has(.home-stories__media--tweet) {
  --story-line: #80c343;
}

.home-stories__card:has(.home-stories__media--testimonials) {
  --story-line: #006e89;
}

.home-stories__media {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  background: #006e89;
  border-radius: 0.25rem;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.home-stories__media--404 {
  background: #0f7100;
}

.home-stories__media--tweet {
  background: #80c343;
}

.home-stories__media--testimonials {
  background: #e8e8e8;
}

.home-stories__media--wiki {
  background: #8a6a3a;
}

.home-stories__media--wiki .home-wiki-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}

.home-stories__media--wiki .home-wiki-field {
  z-index: 1;
  opacity: 0.88;
}

.home-wiki-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-wiki-fit {
  position: absolute;
  inset: 0.7rem;
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.16));
}

.home-wiki-fit .wk-wiki {
  position: absolute;
  top: 0;
  left: 0;
  width: 68rem;
  height: min(36rem, calc(100dvh - 7.5rem));
  max-height: calc(100dvh - 7.5rem);
  overflow: hidden;
  pointer-events: none;
  transform-origin: top left;
  font-size: 24px;
}

.home-wiki-fit .wk-wiki__logo {
  flex: none;
}

.home-wiki-fit .wk-wiki__logo img {
  width: auto;
  max-width: none;
  height: 2.05rem;
  object-fit: contain;
}

.home-wiki-fit .wk-wiki__shell {
  grid-template-rows: auto auto;
  height: auto;
}

.home-wiki-fit .wk-wiki__body,
.home-wiki-fit .wk-wiki__main,
.home-wiki-fit .wk-wiki__page {
  display: block;
  overflow: visible;
  height: auto;
  min-height: 0;
  flex: none;
}

.home-wiki-fit .wk-wiki__from,
.home-wiki-fit .wk-wiki__meta,
.home-wiki-fit .wk-wiki__caption,
.home-wiki-fit .wk-infobox-title,
.home-wiki-fit .home-wiki__p,
.home-wiki-fit .home-wiki__h,
.home-wiki-fit .wk-wiki__appearance > span {
  display: block;
}

.home-wiki-fit .wk-wiki__from,
.home-wiki-fit .wk-wiki__meta {
  font-size: 18px;
}

.home-wiki-fit .home-wiki__p {
  margin: 0 0 0.75rem;
  font-size: 24px;
  line-height: 1.45;
}

.home-wiki-fit .home-wiki__h {
  margin: 1.2rem 0 0.5rem;
  padding-bottom: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.3;
  border-bottom: 1px solid #a2a9b1;
}

.home-wiki-fit .wk-wiki__search {
  display: flex;
  align-items: stretch;
}

.home-wiki-fit .wk-wiki__search .home-wiki__searchbox {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 1.65rem;
  border: 1px solid #a2a9b1;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  padding: 0.25rem 0.45rem 0 1.6rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='5' fill='none' stroke='%2372777d' stroke-width='1.6'/%3E%3Cpath d='M12.4 12.4 16.5 16.5' fill='none' stroke='%2372777d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0.45rem 50% / 0.95rem no-repeat;
  color: #72777d;
  font-size: 13px;
  line-height: 1.15;
  place-items: unset;
}

.home-wiki-fit .wk-wiki__search > span:not(.home-wiki__searchbox) {
  display: grid;
  place-items: center;
  flex: none;
  height: 1.65rem;
  margin: 0;
  padding: 0 0.6rem;
  border: 1px solid #a2a9b1;
  border-radius: 0 2px 2px 0;
  background: #f8f9fa;
  font-size: 13px;
  color: #202122;
  white-space: nowrap;
}

.home-wiki-fit .home-wiki__facts {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.45rem;
  font-size: 19px;
}

.home-wiki-fit .home-wiki__facts > span {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.4rem;
}

.home-wiki-fit .home-wiki__facts b {
  font-weight: 400;
  color: #54595d;
}

.home-wiki-fit .wk-wiki__appearance > span:not(.wk-wiki__appearance-head):not(.wk-wiki__appearance-label) {
  margin: 0.2rem 0;
  font-size: 12px;
  font-weight: 400;
}

.home-wiki__name,
.home-wiki__spell {
  background-color: transparent;
  background-image: linear-gradient(#c33, #c33);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
  animation: wiki-mark 8s ease-in-out infinite;
}

.home-wiki__year {
  display: inline-grid;
  background-color: transparent;
  box-shadow: inset 0 -0.14em 0 #c33;
  animation: wiki-year-hl 8s ease-in-out infinite;
}

.home-wiki__letter {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  vertical-align: bottom;
  opacity: 0;
  animation: wiki-letter 8s ease-in-out infinite;
}

.home-wiki__year-bad,
.home-wiki__year-good {
  grid-area: 1 / 1;
}

.home-wiki__year-bad {
  animation: wiki-year-bad 8s ease-in-out infinite;
}

.home-wiki__year-good {
  animation: wiki-year-good 8s ease-in-out infinite;
}

@keyframes wiki-letter {
  0%,
  14% {
    max-width: 0;
    opacity: 0;
  }
  30%,
  80% {
    max-width: 0.65em;
    opacity: 1;
  }
  94%,
  100% {
    max-width: 0;
    opacity: 0;
  }
}

@keyframes wiki-mark {
  0%,
  18% {
    background-color: transparent;
    background-size: 100% 0.16em;
  }
  32%,
  78% {
    background-color: #abeeff;
    background-size: 0% 0.16em;
  }
  94%,
  100% {
    background-color: transparent;
    background-size: 100% 0.16em;
  }
}

@keyframes wiki-year-hl {
  0%,
  44% {
    background-color: transparent;
    box-shadow: inset 0 -0.14em 0 #c33;
  }
  56%,
  80% {
    background-color: #abeeff;
    box-shadow: inset 0 -0.14em 0 transparent;
  }
  94%,
  100% {
    background-color: transparent;
    box-shadow: inset 0 -0.14em 0 #c33;
  }
}

@keyframes wiki-year-bad {
  0%,
  44% {
    opacity: 1;
  }
  56%,
  80% {
    opacity: 0;
  }
  94%,
  100% {
    opacity: 1;
  }
}

@keyframes wiki-year-good {
  0%,
  44% {
    opacity: 0;
  }
  56%,
  80% {
    opacity: 1;
  }
  94%,
  100% {
    opacity: 0;
  }
}

.home-stories__media--bridge {
  --bridge-tone: 1;
  background: color-mix(
    in srgb,
    var(--color-accent) calc(var(--bridge-tone) * 100%),
    var(--color-sage)
  );
}

a.home-stories__card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.home-stories__card-link .home-stories__title {
  width: fit-content;
  background-image: linear-gradient(var(--story-line), var(--story-line));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

a.home-stories__card-link:hover .home-stories__title {
  background-size: 100% 2px;
}

.home-stories__bridge {
  display: block;
  width: 68%;
}

.home-stories__bridge-track {
  position: relative;
  display: block;
  height: 1px;
  background: #fff;
}

.home-stories__bridge-track::before,
.home-stories__bridge-track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.home-stories__bridge-track::before {
  left: 0;
  border-width: 4px 7px 4px 0;
  border-color: transparent #fff transparent transparent;
  transform: translate(-100%, -50%);
}

.home-stories__bridge-track::after {
  right: 0;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  transform: translate(100%, -50%);
}

.home-stories__bridge-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.home-stories__static {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.55;
  image-rendering: auto;
}

.home-stories__screens {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 10%;
  box-sizing: border-box;
  overflow: hidden;
}

.home-stories__screens-stage {
  position: relative !important;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden !important;
  contain: paint;
  clip-path: inset(0);
}

.home-stories__screens-stage .screens-scrolly__hero,
.home-stories__screens-stage .screens-scrolly__item {
  max-width: none;
  will-change: transform;
}

.home-stories__runners {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-stories__runner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

.home-stories__runner.is-visible {
  opacity: 1;
}

.home-stories__runner svg.model-avatar {
  display: block;
  overflow: visible;
  width: 72px;
  height: 72px;
}

.home-stories__runner.is-running .avatar-cell[data-foot="left"],
.home-stories__runner.is-running .avatar-cell[data-region="foot"][data-side="left"] {
  animation: stories-run-l 0.26s ease-in-out infinite;
  transform-origin: center bottom;
}

.home-stories__runner.is-running .avatar-cell[data-foot="right"],
.home-stories__runner.is-running .avatar-cell[data-region="foot"][data-side="right"] {
  animation: stories-run-r 0.26s ease-in-out infinite;
  animation-delay: -0.13s;
  transform-origin: center bottom;
}

.home-stories__runner.is-running .avatar-cell:not([data-foot]):not([data-region="foot"]) {
  animation: stories-run-catch 0.26s ease-in-out infinite;
  animation-delay: var(--lag, 0.12s);
  transform-origin: center center;
}

@keyframes stories-run-l {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  35% {
    transform: translateY(-32%) translateX(10%) rotate(-8deg);
  }
  60% {
    transform: translateY(4%) translateX(-2%) scaleY(0.84);
  }
}

@keyframes stories-run-r {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  35% {
    transform: translateY(-32%) translateX(-10%) rotate(8deg);
  }
  60% {
    transform: translateY(4%) translateX(2%) scaleY(0.84);
  }
}

@keyframes stories-run-catch {
  0%,
  100% {
    transform: translateX(-14%) translateY(6%) skewX(8deg) scale(0.94, 1.06);
  }
  40% {
    transform: translateX(10%) translateY(-8%) skewX(-10deg) scale(1.08, 0.9);
  }
  70% {
    transform: translateX(-6%) translateY(3%) skewX(5deg) scale(0.97, 1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-stories__runner.is-running .avatar-cell {
    animation: none !important;
  }

  .home-stories__media--bridge,
  .home-stories__bridge-knob {
    transition: none;
  }

  .home-wiki__spell,
  .home-wiki__name,
  .home-wiki__letter,
  .home-wiki__year,
  .home-wiki__year-bad,
  .home-wiki__year-good {
    animation: none;
  }

  .home-wiki__letter {
    max-width: 0.65em;
    opacity: 1;
  }

  .home-wiki__spell,
  .home-wiki__name {
    background-color: transparent;
    background-size: 0% 0.16em;
  }

  .home-wiki__year {
    background-color: transparent;
    box-shadow: none;
  }

  .home-wiki__year-bad {
    opacity: 0;
  }

  .home-wiki__year-good {
    opacity: 1;
  }
}

.home-stories__tweet {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 8% 6%;
  box-sizing: border-box;
}

.home-stories__tweet-card {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.75rem 0.75rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #aeaeae;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  container-type: inline-size;
}

.home-stories__tweet-top {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.home-stories__tweet-avatar {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f3f3f3;
  pointer-events: none;
}

.home-stories__tweet-avatar img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.home-stories__tweet-header {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding-top: 0.08rem;
}

.home-stories__tweet-name-row {
  display: flex;
  align-items: center;
  gap: 0.28em;
  min-width: 0;
}

.home-stories__tweet-name {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 4.6cqi;
  font-weight: 700;
  line-height: 1.15;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-stories__tweet-verified {
  width: 3.8cqi;
  height: 3.8cqi;
  flex-shrink: 0;
  display: block;
}

.home-stories__tweet-meta {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 3.7cqi;
  font-weight: 400;
  line-height: 1.2;
  color: #7c7c7c;
}

.home-stories__tweet-text {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 3.9cqi;
  font-weight: 400;
  line-height: 1.35;
  color: #000;
}

.home-stories__tweet-card.is-swapping {
  animation: tweet-note-swap 0.28s ease;
}

.home-stories__simmel {
  width: 100%;
  height: 100%;
  display: block;
}

.home-stories__simmel .heider-simmel__stage {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  max-height: none;
}

.home-stories__simmel .heider-simmel__playback {
  display: none;
}

.home-stories__title {
  margin: 0.95rem 0 0;
  font-family: var(--font-lexend);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #111;
}

.home-stories__title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--story-line), var(--story-line));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-stories__title a:hover {
  color: inherit;
  background-size: 100% 2px;
}

.home-stories__lede {
  margin: 0.45rem 0 0;
  font-family: var(--font-lexend);
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  font-weight: 300;
  line-height: 1.4;
  color: #8a8a8a;
}

@media (min-width: 720px) {
  .home-stories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}

/* Keep hero avatar resizing from shifting page layout below */
.home-page .home-hero__mark,
.home-page .home-hero__mark-link {
  width: 280px;
  height: 300px;
}

.home-page .home-hero__mark {
  place-items: center;
  overflow: hidden;
}

.home-page .home-hero__actor {
  position: absolute;
  left: 50%;
  top: 50%;
  grid-area: unset;
  transform: translate(-50%, -50%);
  max-width: none;
}

.home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 6.5rem 2rem 4rem;
  background: #ffffff;
  overflow: hidden;
}

.home-hero__inner {
  margin: 0 auto;
  display: grid;
  width: fit-content;
  max-width: min(900px, 100%);
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  overflow: visible;
}

.home-hero__mark {
  position: relative;
  /* Stable column so text doesn’t shift; avatar centers inside with the copy */
  width: 280px;
  min-height: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  background: #ffffff;
  overflow: visible;
}

.home-hero__mark-link {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 280px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.home-hero__mark-link.is-tip-visible {
  cursor: none;
}

.home-hero__mark-link.is-tip-visible * {
  cursor: none;
}

.home-hero__mark-link .home-hero__mark {
  width: 100%;
  justify-self: stretch;
}

.home-hero__tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0.4rem;
  border-radius: 50%;
  background: var(--color-accent, #006e89);
  color: #fff;
  font-family: var(--font-lexend);
  font-size: 0.48rem;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.42);
  pointer-events: none;
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 340ms cubic-bezier(0.22, 1.25, 0.36, 1);
  will-change: left, top, opacity, transform;
}

.home-hero__mark-link.is-tip-visible .home-hero__tip,
.home-hero__mark-link:focus-visible .home-hero__tip {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.home-hero__mark-link:focus {
  outline: none;
}

.home-hero__mark-link:focus-visible {
  outline: 2px solid rgba(0, 110, 137, 0.35);
  outline-offset: 8px;
  border-radius: 0.5rem;
}

.home-hero__mark-link:focus-visible:not(.is-tip-visible) .home-hero__tip {
  left: 50%;
  top: 50%;
}

.home-hero__actor {
  grid-area: 1 / 1;
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
}

.home-hero__actor svg.model-avatar {
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
  background: transparent;
  --avatar-stroke: var(--avatar-color);
}

.home-hero__actor .avatar-cells {
  transform-box: fill-box;
  transform-origin: center center;
}

.home-hero__actor .avatar-cell {
  transform-box: fill-box;
  transform-origin: center center;
  will-change: opacity, fill;
  stroke: none;
}

/* Open-source only: hollow square outlines */
.home-hero__actor svg.model-avatar[data-fill-mode="outline"] .avatar-cell {
  fill: none;
  stroke: var(--avatar-color);
}

.home-hero__actor.is-heatmap-out svg.model-avatar[data-fill-mode="outline"] .avatar-cell,
.home-hero__actor.is-heatmap-in svg.model-avatar[data-fill-mode="outline"] .avatar-cell {
  fill: none !important;
}

/* —— Heatmap handoff: soft tints, chaotic per-square clocks —— */
@keyframes hero-heat-out-a {
  0% { opacity: 1; fill: var(--avatar-color); }
  40% { opacity: 0.9; fill: var(--heat-mid, #80c343); }
  100% { opacity: 0; fill: var(--heat-end, #e8f0f2); }
}

@keyframes hero-heat-out-b {
  0% { opacity: 1; fill: var(--avatar-color); }
  25% { opacity: 1; fill: var(--heat-mid, #006e89); }
  60% { opacity: 0.4; fill: var(--heat-end, #f0c85a); }
  100% { opacity: 0; }
}

@keyframes hero-heat-out-c {
  0% { opacity: 1; }
  55% { opacity: 0.75; fill: var(--heat-mid, #80c343); }
  100% { opacity: 0; fill: var(--heat-end, #006e89); }
}

@keyframes hero-heat-in-a {
  0% { opacity: 0; fill: var(--heat-start, #006e89); }
  45% { opacity: 0.7; fill: var(--heat-mid, #80c343); }
  100% { opacity: 1; fill: var(--avatar-color); }
}

@keyframes hero-heat-in-b {
  0% { opacity: 0; }
  30% { opacity: 0; fill: var(--heat-start, #f0c85a); }
  55% { opacity: 0.55; fill: var(--heat-mid, #006e89); }
  100% { opacity: 1; fill: var(--avatar-color); }
}

@keyframes hero-heat-in-c {
  0% { opacity: 0; fill: var(--heat-start, #80c343); }
  20% { opacity: 0.35; }
  70% { opacity: 0.85; fill: var(--heat-mid, #f0c85a); }
  100% { opacity: 1; fill: var(--avatar-color); }
}

/* Hero gags: Claude steps right, then runs off the left. */
.home-page .home-hero__mark {
  overflow: visible;
}

.home-page .home-hero__actor .avatar-cell[data-foot] {
  transform-origin: center bottom;
}

.home-page .home-hero__actor.is-walking .avatar-cell[data-foot="left"] {
  animation: sandbox-step-l 0.5s ease-in-out infinite;
}

.home-page .home-hero__actor.is-walking .avatar-cell[data-foot="right"] {
  animation: sandbox-step-r 0.5s ease-in-out infinite;
  animation-delay: -0.25s;
}

@keyframes sandbox-step-l {
  0%, 100% { transform: translate(-30%, -42%) rotate(-12deg); }
  50% { transform: translate(22%, 6%) rotate(10deg) scaleY(0.9); }
}

@keyframes sandbox-step-r {
  0%, 100% { transform: translate(-30%, -42%) rotate(12deg); }
  50% { transform: translate(22%, 6%) rotate(-10deg) scaleY(0.9); }
}

.home-page .home-hero__actor.is-running .avatar-cell[data-foot="left"] {
  animation: sandbox-run-l 0.26s ease-in-out infinite;
}

.home-page .home-hero__actor.is-running .avatar-cell[data-foot="right"] {
  animation: sandbox-run-r 0.26s ease-in-out infinite;
  animation-delay: -0.13s;
}

.home-page .home-hero__actor.is-running .avatar-cell:not([data-foot]) {
  animation: sandbox-run-catch 0.26s ease-in-out infinite;
  animation-delay: var(--lag, 0.12s);
}

.home-page .home-hero__actor.is-running .avatar-cell[data-region="core"] {
  animation: sandbox-run-core 0.26s ease-in-out infinite;
  transform-origin: center bottom;
}

.home-page .home-hero__actor.is-dashing.is-running .avatar-cells {
  animation: sandbox-run-lean 0.26s ease-in-out infinite;
}

.home-page .home-hero__actor.is-stepping-right {
  animation: sandbox-steps-right 0.78s linear forwards;
}

.home-page .home-hero__actor.is-held {
  transform: translate(calc(-50% + var(--claude-step, 68px)), -50%);
}

.home-page .home-hero__actor.is-running.is-stepping-right .avatar-cell[data-foot="left"] {
  animation-name: sandbox-stride-right-l;
}

.home-page .home-hero__actor.is-running.is-stepping-right .avatar-cell[data-foot="right"] {
  animation-name: sandbox-stride-right-r;
}

.home-page .home-hero__actor.is-stepping-right.is-running .avatar-cells {
  animation: sandbox-step-lean-right 0.26s ease-in-out infinite;
}

@keyframes sandbox-stride-right-l {
  0%, 100% { transform: translate(26%, -34%) rotate(10deg); }
  50% { transform: translate(-18%, 6%) rotate(-8deg) scaleY(0.88); }
}

@keyframes sandbox-stride-right-r {
  0%, 100% { transform: translate(26%, -34%) rotate(-10deg); }
  50% { transform: translate(-18%, 6%) rotate(8deg) scaleY(0.88); }
}

@keyframes sandbox-step-lean-right {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(-8deg); }
}

@keyframes sandbox-steps-right {
  0% { transform: translate(-50%, -50%); }
  100% { transform: translate(calc(-50% + var(--claude-step, 68px)), -50%); }
}

.home-page .home-hero__actor.is-dashing {
  animation: sandbox-dash-left 1.45s linear forwards;
}

@keyframes sandbox-run-l {
  0%, 100% { transform: translate(-26%, -34%) rotate(-10deg); }
  50% { transform: translate(18%, 6%) rotate(8deg) scaleY(0.88); }
}

@keyframes sandbox-run-r {
  0%, 100% { transform: translate(-26%, -34%) rotate(10deg); }
  50% { transform: translate(18%, 6%) rotate(-8deg) scaleY(0.88); }
}

@keyframes sandbox-run-catch {
  0%, 100% { transform: translateX(14%) translateY(6%) skewX(-8deg) scale(0.94, 1.06); }
  40% { transform: translateX(-10%) translateY(-8%) skewX(10deg) scale(1.08, 0.9); }
  70% { transform: translateX(6%) translateY(3%) skewX(-5deg) scale(0.97, 1.03); }
}

@keyframes sandbox-run-core {
  0%, 100% { transform: translate(10%, 22%) scale(1.08, 0.78); }
  50% { transform: translate(-14%, -28%) scale(0.92, 1.16); }
}

@keyframes sandbox-run-lean {
  0%, 100% { transform: rotate(5deg); }
  50% { transform: rotate(11deg); }
}

@keyframes sandbox-dash-left {
  0% { transform: translate(calc(-50% + var(--claude-step, 0px)), -50%); }
  100% { transform: translate(calc(-50% - 110vw), -50%); }
}

.home-page .home-hero__actor.is-pogo {
  animation: sandbox-pogo-left 5.04s linear forwards;
}

.home-page .home-hero__actor.is-pogo .avatar-cell[data-foot] {
  animation: sandbox-pogo-foot 0.36s ease-in-out infinite;
}

.home-page .home-hero__actor.is-pogo .avatar-cell:not([data-foot]) {
  animation: sandbox-pogo-body 0.36s ease-in-out infinite;
  animation-delay: var(--lag, 50ms);
  transform-origin: center bottom;
}

@keyframes sandbox-pogo-foot {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  28% { transform: translateY(22%) scale(1.45, 0.42); }
  58% { transform: translateY(-6%) scale(0.78, 1.45); }
}

@keyframes sandbox-pogo-body {
  0%, 100% { transform: translateY(0) scale(1, 1) rotate(0deg); }
  28% { transform: translateY(18%) scale(1.16, 0.72) rotate(4deg); }
  62% { transform: translateY(-34%) scale(0.84, 1.32) rotate(-8deg); }
}

@keyframes sandbox-pogo-left {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  4.4% { transform: translate(calc(-50% - 5vw), calc(-50% - 56px)) rotate(-8deg); }
  7.1% { transform: translate(calc(-50% - 8vw), calc(-50% + 10px)) rotate(6deg); }
  11.6% { transform: translate(calc(-50% - 13vw), calc(-50% - 64px)) rotate(-9deg); }
  14.3% { transform: translate(calc(-50% - 16vw), calc(-50% + 10px)) rotate(6deg); }
  18.7% { transform: translate(calc(-50% - 21vw), calc(-50% - 56px)) rotate(-8deg); }
  21.4% { transform: translate(calc(-50% - 24vw), calc(-50% + 10px)) rotate(6deg); }
  25.9% { transform: translate(calc(-50% - 29vw), calc(-50% - 64px)) rotate(-9deg); }
  28.6% { transform: translate(calc(-50% - 32vw), calc(-50% + 10px)) rotate(6deg); }
  33% { transform: translate(calc(-50% - 37vw), calc(-50% - 56px)) rotate(-8deg); }
  35.7% { transform: translate(calc(-50% - 40vw), calc(-50% + 10px)) rotate(6deg); }
  40.1% { transform: translate(calc(-50% - 45vw), calc(-50% - 64px)) rotate(-9deg); }
  42.9% { transform: translate(calc(-50% - 48vw), calc(-50% + 10px)) rotate(6deg); }
  47.3% { transform: translate(calc(-50% - 53vw), calc(-50% - 56px)) rotate(-8deg); }
  50% { transform: translate(calc(-50% - 56vw), calc(-50% + 10px)) rotate(6deg); }
  54.4% { transform: translate(calc(-50% - 61vw), calc(-50% - 64px)) rotate(-9deg); }
  57.1% { transform: translate(calc(-50% - 64vw), calc(-50% + 10px)) rotate(6deg); }
  61.6% { transform: translate(calc(-50% - 69vw), calc(-50% - 56px)) rotate(-8deg); }
  64.3% { transform: translate(calc(-50% - 72vw), calc(-50% + 10px)) rotate(6deg); }
  68.7% { transform: translate(calc(-50% - 77vw), calc(-50% - 64px)) rotate(-9deg); }
  71.4% { transform: translate(calc(-50% - 80vw), calc(-50% + 10px)) rotate(6deg); }
  75.9% { transform: translate(calc(-50% - 85vw), calc(-50% - 56px)) rotate(-8deg); }
  78.6% { transform: translate(calc(-50% - 88vw), calc(-50% + 10px)) rotate(6deg); }
  83% { transform: translate(calc(-50% - 93vw), calc(-50% - 64px)) rotate(-9deg); }
  85.7% { transform: translate(calc(-50% - 96vw), calc(-50% + 8px)) rotate(5deg); }
  90.1% { transform: translate(calc(-50% - 101vw), calc(-50% - 52px)) rotate(-7deg); }
  92.9% { transform: translate(calc(-50% - 104vw), calc(-50% + 6px)) rotate(4deg); }
  97.3% { transform: translate(calc(-50% - 109vw), calc(-50% - 40px)) rotate(-5deg); }
  100% { transform: translate(calc(-50% - 112vw), calc(-50% - 12px)) rotate(-3deg); }
}

.home-page .home-hero__actor.is-rocket {
  animation: sandbox-rocket-up 1.25s linear forwards;
}

.home-page .home-hero__actor.is-rocket .avatar-cell[data-foot] {
  animation: sandbox-rocket-flame 0.11s ease-in-out infinite;
  transform-origin: center top;
}

.home-page .home-hero__actor.is-rocket .avatar-cell:not([data-foot]) {
  animation: sandbox-rocket-shake 0.14s ease-in-out infinite;
  animation-delay: var(--lag, 20ms);
  transform-origin: center bottom;
}

@keyframes sandbox-rocket-flame {
  0%, 100% { transform: translateY(8%) scale(1.15, 0.7) rotate(-8deg); }
  50% { transform: translateY(36%) scale(1.55, 0.35) rotate(8deg); }
}

@keyframes sandbox-rocket-shake {
  0%, 100% { transform: translateX(-5%) scale(0.92, 1.18) rotate(-3deg); }
  50% { transform: translateX(5%) scale(0.88, 1.28) rotate(3deg); }
}

@keyframes sandbox-rocket-up {
  0% { transform: translate(-50%, -50%) scale(1, 1) rotate(0deg); }
  16% { transform: translate(-50%, calc(-50% + 18px)) scale(1.24, 0.66) rotate(0deg); }
  30% { transform: translate(-50%, calc(-50% - 8vh)) scale(0.8, 1.5) rotate(-4deg); }
  46% { transform: translate(-50%, calc(-50% - 28vh)) scale(0.72, 1.62) rotate(5deg); }
  100% { transform: translate(-50%, calc(-50% - 140vh)) scale(0.6, 1.75) rotate(-2deg); }
}

.home-page .home-hero__actor.is-crawl,
.home-page .home-hero__actor.is-crawl .avatar-cell {
  animation: none;
}

.home-hero__copy {
  max-width: 30rem;
}

.home-hero__title {
  margin: 0;
  font-family: var(--font-gerstner);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #111;
  white-space: nowrap;
}

.home-hero__title-mark {
  position: relative;
  display: inline;
  padding: 0 0.08em;
  margin: 0 -0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(
    to top,
    transparent 0%,
    transparent 8%,
    rgba(0, 229, 255, 0.4) 8%,
    rgba(0, 229, 255, 0.4) 42%,
    transparent 42%
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 100%;
  animation: hero-title-mark 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes hero-title-mark {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__title-mark {
    animation: none;
    background-size: 100% 100%;
  }
}

.home-hero__lede {
  margin: 0.7rem 0 0;
  max-width: 30rem;
  font-family: var(--font-gerstner);
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  font-weight: 300;
  line-height: 1.4;
  color: #434343;
}

.home-hero__lede-lead {
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  color: #006e89;
}

.home-hero__lede-body {
  font-size: calc(1em - 1pt);
}

@media (min-width: 860px) {
  .home-hero__inner {
    grid-template-columns: auto minmax(0, 34rem);
    gap: 5.5rem;
  }

  .home-hero__mark {
    width: 280px;
    min-height: 0;
    justify-self: center;
  }

  .home-hero__copy {
    max-width: 30rem;
  }

  .home-hero__title {
    font-size: 2.4rem;
  }

  .home-hero__lede {
    font-size: 1rem;
    margin-top: 0.75rem;
  }

  .home-hero__lede-lead {
    font-size: inherit;
  }
}

/* —— Sandbox highlight / stories section —— */
.home-highlight {
  padding: 3.5rem 0 5.5rem;
  background: #fff;
}

.home-highlight__inner {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 1.4rem;
  box-sizing: border-box;
  align-items: center;
}

.home-highlight__copy {
  max-width: 26rem;
}

.home-highlight__label {
  margin: 0 0 0.85rem;
  font-family: var(--font-gerstner);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: #111;
}

.home-highlight__label-mark {
  display: inline;
  padding: 0 0.08em;
  margin: 0 -0.08em;
  background-image: linear-gradient(
    to top,
    transparent 0%,
    transparent 8%,
    rgba(0, 229, 255, 0.4) 8%,
    rgba(0, 229, 255, 0.4) 42%,
    transparent 42%
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 100%;
}

.home-highlight__title {
  margin: 0;
  font-family: var(--font-gerstner);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111;
}

.home-highlight__lede {
  margin: 0.5rem 0 0;
  font-family: var(--font-gerstner);
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  font-weight: 300;
  line-height: 1.4;
  color: #6b6b6b;
}

.home-highlight__by {
  margin: 1.35rem 0 0;
  font-family: var(--font-gerstner);
  font-size: 0.78rem;
  font-weight: 300;
  color: #8a8a8a;
}

.home-highlight__frame {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  max-width: 18rem;
  aspect-ratio: 5 / 4;
  border: 1px solid #d0d0d0;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  justify-self: start;
  padding: 1.25rem;
  box-sizing: border-box;
}

.home-highlight__heider {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
}

@media (min-width: 860px) {
  .home-highlight__inner {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
    gap: 3.5rem;
    align-items: center;
  }

  .home-highlight__frame {
    justify-self: end;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 859px) {
  .home-hero {
    align-items: center;
    padding-top: 7rem;
  }

  .home-hero__inner {
    gap: 2.5rem;
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .home-hero__mark {
    width: 240px;
    min-height: 0;
  }

  .home-hero__mark-link {
    width: 240px;
  }

  .home-hero__copy {
    justify-self: center;
  }
}

.heider-piece {
  --focus: 0;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  min-height: 100svh;
  margin: 10vh 0 0 calc(50% - 50vw);
  overflow: visible;
}

.heider-piece.is-open {
  height: auto;
  min-height: 0;
  padding-bottom: 4.5rem;
  overflow: visible;
}

.heider-piece.is-full {
  min-height: 0;
  padding-bottom: 0;
}

.heider-piece__pin {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  height: auto;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 5.25rem 1.25rem 2.5rem;
  overflow: visible;
  background: rgba(255, 255, 255, var(--focus));
}

.heider-piece.is-open .heider-piece__pin {
  justify-content: flex-start;
}

.heider-piece__pin .heider-simmel {
  align-self: stretch;
  width: calc(100% + 2.5rem);
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  opacity: calc(0.4 + var(--focus) * 0.6);
  transform: translateY(calc((1 - var(--focus)) * 28px));
  transition: none;
}

.heider-piece__pin .witness {
  position: relative;
  left: auto;
  width: min(22rem, calc(100vw - 3rem));
  margin-inline: auto;
  opacity: calc(0.4 + var(--focus) * 0.6);
  transform: translateY(calc((1 - var(--focus)) * 28px));
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.heider-piece__slot {
  position: relative;
  width: min(840px, calc(100vw - 2.5rem));
  height: auto;
  min-height: 7.6rem;
  flex: 0 0 auto;
  margin-inline: auto;
  overflow: visible;
}

.heider-piece__pin .heider-simmel__stage {
  width: 100%;
  max-width: none;
  margin-left: 0;
  height: min(26svh, 200px);
  overflow: hidden;
}

.heider-piece.is-open .heider-piece__slot {
  width: min(840px, calc(100vw - 2.5rem));
  height: auto;
  min-height: 0;
  overflow: visible;
}

.witness {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.heider-piece.is-open .witness {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
}

.witness__label {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: #8a8a8a;
}

.witness__field {
  display: block;
  width: 100%;
  height: auto;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.7rem 1.15rem;
  border: 1px solid #e0e0e0;
  border-radius: 1.6rem;
  background: #fff;
  color: #111;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  outline: none;
  resize: none;
  overflow: hidden;
  overflow-y: hidden;
  overscroll-behavior: none;
  box-sizing: border-box;
  field-sizing: content;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.witness__field::placeholder {
  color: #a3a3a3;
  font-weight: 400;
}

.witness__field:focus {
  border-color: var(--color-accent);
}

.witness__hint {
  margin: 0.45rem 0 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
  color: #b0b0b0;
  transition: color 0.2s ease;
}

.reply-cluster {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 0.85rem 0.7rem;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  height: 0;
}

.heider-piece.is-open .reply-cluster {
  height: auto;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: 0.15rem 0 1.75rem;
  transition: opacity 0.4s ease 0.16s;
}

.reply-fill {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  box-sizing: border-box;
  pointer-events: auto;
  background: #fff;
}

.heider-piece.is-full .heider-piece__pin {
  position: relative;
  background: #fff;
}

.heider-piece.is-full .heider-piece__slot {
  visibility: hidden;
}

.reply-fill .reply-cloud__bubble:not(.is-core) {
  white-space: nowrap;
}

.reply-fill .reply-cloud__bubble {
  position: absolute;
  width: max-content;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0.5rem 0.85rem;
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
  pointer-events: auto;
  transition: opacity 0.9s ease;
}

.reply-cloud__bubble.is-settling {
  animation: none !important;
}

.reply-core {
  display: contents;
}

.reply-sea {
  display: none;
}


.reply-cloud__bubble,
.reply-cloud__flyer {
  position: relative;
  z-index: 2;
  margin: 0;
  width: max-content;
  max-width: 16rem;
  flex: 0 0 auto;
  padding: 0.5rem 0.85rem;
  border: 1px solid #e0e0e0;
  border-radius: 1.4rem;
  background: #fff;
  color: #111;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: pre-wrap;
  overflow: visible;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
}

.reply-cloud__bubble {
  transition: opacity 0.45s ease;
}

.reply-cloud__float {
  display: block;
}

.reply-cloud__bubble.is-in {
  opacity: 1;
  pointer-events: auto;
  filter: none;
  translate: var(--nx, 0px) var(--ny, 0px);
  animation: reply-float var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--phase, 0s);
}

.reply-cloud__bubble.is-outer {
  position: absolute;
}

.reply-cloud__bubble.is-yours,
.reply-cloud__flyer {
  border-color: var(--color-accent);
  background: #f4f8f2;
}

.reply-cloud__bubble.is-yours:not(.is-in) {
  visibility: hidden;
}

.reply-cloud__flyer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: max-content;
  max-width: 16rem;
  opacity: 1;
  pointer-events: none;
  margin: 0;
  box-sizing: border-box;
  filter: none;
  will-change: transform;
}

@keyframes reply-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(var(--dx), var(--dy), 0); }
}

.witness__hint.is-ready {
  color: #5c5c5c;
}

.witness.is-empty .witness__field {
  animation: witness-shake 0.35s ease;
  border-color: #c45c4a;
}

@keyframes witness-shake {
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

.heider-simmel {
  display: flex;
  flex-direction: column;
  max-width: none;
}

.heider-simmel__stage {
  width: 100%;
  max-width: none;
  margin-left: 0;
  height: clamp(168px, 34svh, 320px);
  overflow: hidden;
  background: transparent;
}

.heider-simmel__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.heider-simmel__playback {
  width: 36rem;
  max-width: 100%;
  margin: 0.45rem auto 0;
  flex: 0 0 auto;
}

.heider-simmel__track {
  position: relative;
  height: 2px;
  width: 100%;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.heider-simmel__fill {
  height: 100%;
  width: 0%;
  background: #111;
}

.heider-simmel__times {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #858585;
  font-variant-numeric: tabular-nums;
}


.heider-piece .record-check__form {
  flex: 0 0 auto;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .reply-cloud__float,
  .reply-cloud__bubble.is-in,
  .reply-cloud__flyer,
  .heider-piece.is-open .witness,
  .heider-piece.is-open .heider-piece__slot,
  .heider-piece.is-open .reply-cluster {
    animation: none !important;
    transition: none !important;
  }

  .home-hero__actor .avatar-cell,
  .home-hero__actor .avatar-cells,
  .home-hero__actor[class*="is-"] .avatar-cell,
  .home-hero__actor[class*="is-"] .avatar-cells,
  .home-page .home-hero__actor.is-dashing,
  .home-page .home-hero__actor.is-stepping-right,
  .home-page .home-hero__actor.is-pogo,
  .home-page .home-hero__actor.is-rocket,
  .home-page .home-hero__actor.is-crawl {
    animation: none !important;
  }

  .home-hero__actor .avatar-cell {
    opacity: 1 !important;
    transform: none !important;
  }

  .home-hero__tip {
    transition: none !important;
  }
}

.eval-scrolly {
  position: relative;
  margin-top: 2.5rem;
}

.eval-scrolly__sticky {
  position: sticky;
  top: 6.5rem;
  z-index: 1;
}

.eval-scrolly__stage {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.eval-scrolly__window {
  display: block;
  width: min(540px, 100%);
  flex: 0 1 540px;
  height: auto;
}

.eval-scrolly__slot {
  position: relative;
  display: grid;
  flex: 1 1 280px;
  max-width: 360px;
  min-width: 0;
  align-self: center;
}

.eval-scrolly__note,
.eval-scrolly__ask,
.eval-scrolly__pool {
  grid-area: 1 / 1;
}

.eval-scrolly__note {
  min-width: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.eval-scrolly__note.is-swapping,
.eval-scrolly__quote.is-swapping {
  opacity: 0;
}

.eval-scrolly__kicker {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eval-scrolly__aside {
  margin: 0.65rem 0 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #111;
}

@media (min-width: 768px) {
  .eval-scrolly__stage {
    gap: 2rem;
  }

  .eval-scrolly__aside {
    font-size: 22px;
    line-height: 32px;
  }
}

@media (max-width: 720px) {
  .eval-scrolly__stage {
    flex-direction: column;
    align-items: stretch;
  }

  .eval-scrolly__window {
    width: 100%;
    flex-basis: auto;
  }
}

.eval-scrolly__ask {
  width: 100%;
  margin: 0;
  align-self: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.eval-scrolly.is-asking .eval-scrolly__note {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.eval-scrolly.is-asking .eval-scrolly__ask {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.eval-scrolly__pool {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
  align-self: center;
  gap: 0.7rem 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: visible;
}

.eval-scrolly__pool .reply-cloud__bubble {
  max-width: 11.5rem;
  font-size: 13px;
}

.eval-scrolly.is-answered .eval-scrolly__ask,
.eval-scrolly.is-answered .eval-scrolly__note {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.eval-scrolly.is-answered .eval-scrolly__pool {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.eval-scrolly__runway {
  height: 420vh;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .eval-scrolly__runway {
    height: 0;
  }

  .eval-scrolly__sticky {
    position: relative;
    top: 0;
  }

  .eval-scrolly__quote {
    transition: none;
  }

  .eval-scrolly__slot {
    display: block;
  }

  .eval-scrolly__ask {
    position: relative;
    margin-top: 1.75rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .eval-scrolly__pool {
    position: relative;
    margin-top: 1.75rem;
  }

  .eval-scrolly.is-answered .eval-scrolly__ask {
    display: none;
  }

  .eval-scrolly.is-answered .eval-scrolly__pool {
    opacity: 1;
    visibility: visible;
  }
}

.face-timeline {
  position: relative;
  left: 50%;
  width: min(960px, calc(100vw - 2.5rem));
  max-width: none;
  margin: 3.25rem 0 0;
  transform: translateX(-50%);
}

.face-timeline__spine {
  position: absolute;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.face-timeline__track,
.face-timeline__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: 1px;
}

.face-timeline__track {
  height: 100%;
  background: color-mix(in srgb, var(--color-accent) 22%, #d7e4e8);
}

.face-timeline__fill {
  height: 0%;
  background: var(--color-accent);
  transform-origin: top center;
}

.face-timeline__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.face-timeline__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.75rem minmax(0, 1fr);
  column-gap: 2.5rem;
  align-items: start;
  opacity: 0.28;
  transition: opacity 0.35s ease;
}

.face-timeline__item.is-active,
.face-timeline__item.is-passed {
  opacity: 1;
}

.face-timeline__image {
  display: block;
  justify-self: end;
  width: min(9rem, 100%);
  height: auto;
  border-radius: 0;
  transition: filter 0.35s ease;
}

.face-timeline__item.is-pending .face-timeline__image {
  filter: grayscale(0.35);
}

.face-timeline__node {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 28%, #d7e4e8);
  box-shadow: 0 0 0 5px #fff;
  transition: background-color 0.35s ease;
}

.face-timeline__item.is-active .face-timeline__node,
.face-timeline__item.is-passed .face-timeline__node {
  background: var(--color-accent);
}

.face-timeline__copy {
  min-width: 0;
  max-width: 17.5rem;
  padding-top: 0;
}

.face-timeline__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: color-mix(in srgb, var(--color-accent) 40%, #9bb0b6);
  transition: color 0.35s ease;
}

.face-timeline__item.is-active .face-timeline__title,
.face-timeline__item.is-passed .face-timeline__title {
  color: var(--color-accent);
}

.face-timeline__text {
  margin: 0.4rem 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #111;
}

@media (min-width: 768px) {
  .face-timeline {
    margin-top: 3.75rem;
  }

  .face-timeline__list {
    gap: 7rem;
  }

  .face-timeline__item {
    grid-template-columns: minmax(0, 1fr) 0.75rem minmax(0, 1fr);
    column-gap: 3.25rem;
  }

  .face-timeline__image {
    width: min(10.5rem, 100%);
  }

  .face-timeline__node {
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.35rem;
  }

  .face-timeline__copy {
    max-width: 22rem;
  }

  .face-timeline__title {
    font-size: 17px;
  }

  .face-timeline__text {
    font-size: 15px;
    line-height: 1.38;
  }
}

@media (max-width: 640px) {
  .face-timeline__list {
    gap: 4rem;
  }

  .face-timeline__item {
    grid-template-columns: minmax(0, 0.9fr) 0.65rem minmax(0, 1.1fr);
    column-gap: 1.2rem;
  }

  .face-timeline__image {
    width: min(7.5rem, 100%);
  }

  .face-timeline__copy {
    max-width: none;
  }

  .face-timeline__title {
    font-size: 15px;
  }

  .face-timeline__text {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .face-timeline__item,
  .face-timeline__node,
  .face-timeline__title,
  .face-timeline__image {
    transition: none;
  }

  .face-timeline__item {
    opacity: 1;
  }

  .face-timeline__item.is-pending .face-timeline__image {
    filter: none;
  }

  .face-timeline__fill {
    height: 100% !important;
  }
}

.claude-case {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2rem;
}

.claude-case__mark {
  display: block;
  width: 3.5rem;
  height: auto;
  flex-shrink: 0;
}

.claude-case__copy {
  min-width: 0;
}

.claude-case__name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: hsl(18 62% 30%);
}

.claude-case__blurb {
  margin: 0.4rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #111;
}

.claude-case__note {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #9a9a9a;
}

@media (min-width: 768px) {
  .claude-case {
    gap: 2.25rem;
    margin-top: 2.5rem;
  }

  .claude-case__mark {
    width: 4.25rem;
  }

  .claude-case__name {
    font-size: 20px;
  }

  .claude-case__blurb {
    font-size: 16px;
  }

  .claude-case__note {
    font-size: 13px;
  }
}

.anthro-map {
  --anthro-pop: #00990a;
  --anthro-real: #041dac;
  --anthro-mind: rgba(64, 0, 153, 0.6);
  --anthro-body: rgba(0, 153, 151, 0.6);
  position: relative;
  left: 50%;
  width: min(1140px, calc(100vw - 1.25rem));
  max-width: none;
  margin: 3.5rem 0 0;
  padding: 0;
  transform: translateX(-50%);
}

.anthro-map__sticky {
  position: sticky;
  top: 5.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: calc(100svh - 6.5rem);
  background: #fff;
  overflow: visible;
}

.anthro-map__runway {
  height: 90vh;
  pointer-events: none;
}

.anthro-map__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-accent);
}

.anthro-map__legend {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #797979;
}

.anthro-map__legend li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.anthro-map__swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.anthro-map__swatch.is-pop {
  background: var(--anthro-pop);
}

.anthro-map__swatch.is-real {
  background: var(--anthro-real);
}

.anthro-map__plot {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin-top: 0.5rem;
  overflow: visible;
}

.anthro-map__axes {
  position: absolute;
  inset: 7% 3% 16% 11%;
  pointer-events: none;
}

.anthro-map__axis {
  position: absolute;
  background: #d8d8d8;
}

.anthro-map__axis.is-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.anthro-map__axis.is-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.anthro-map__axis.is-x::before,
.anthro-map__axis.is-x::after,
.anthro-map__axis.is-y::before,
.anthro-map__axis.is-y::after {
  content: "";
  position: absolute;
  border: 5px solid transparent;
}

.anthro-map__axis.is-x::before {
  left: -1px;
  top: 50%;
  border-right-color: #d8d8d8;
  transform: translate(-100%, -50%);
}

.anthro-map__axis.is-x::after {
  right: -1px;
  top: 50%;
  border-left-color: #d8d8d8;
  transform: translate(100%, -50%);
}

.anthro-map__axis.is-y::before {
  top: -1px;
  left: 50%;
  border-bottom-color: #d8d8d8;
  transform: translate(-50%, -100%);
}

.anthro-map__axis.is-y::after {
  bottom: -1px;
  left: 50%;
  border-top-color: #d8d8d8;
  transform: translate(-50%, 100%);
}

.anthro-map__edge,
.anthro-map__axis-label,
.anthro-map__quad {
  position: absolute;
  margin: 0;
  font-family: var(--font-sans);
  pointer-events: none;
}

.anthro-map__edge {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.anthro-map__edge.is-structural {
  left: calc(11% + 0.35rem);
  top: calc(7% + 38.5% - 1.35rem);
  color: var(--anthro-body);
}

.anthro-map__edge.is-gestural {
  right: calc(3% + 0.35rem);
  top: calc(7% + 38.5% - 1.35rem);
  color: var(--anthro-body);
  text-align: right;
}

.anthro-map__edge.is-aware {
  left: calc(11% + 43% - 1.4rem);
  top: calc(7% + 0.2rem);
  color: var(--anthro-mind);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.anthro-map__edge.is-character {
  left: calc(11% + 43% - 1.4rem);
  top: auto;
  bottom: calc(16% + 0.35rem);
  color: var(--anthro-mind);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.anthro-map__axis-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.anthro-map__axis-label.is-body {
  left: calc(11% + 43%);
  bottom: 0.45rem;
  color: var(--anthro-body);
  transform: translateX(-50%);
}

.anthro-map__axis-label.is-mind {
  left: 0.15rem;
  top: calc(7% + 38.5%);
  color: var(--anthro-mind);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.anthro-map__quad {
  font-size: clamp(12px, 1.55vw, 18px);
  font-weight: 700;
  line-height: 1.15;
  color: #b4b4b4;
  max-width: 7.5rem;
}

.anthro-map__quad.is-voices {
  left: 28%;
  top: 36%;
}

.anthro-map__quad.is-full {
  left: 68%;
  top: 6%;
  max-width: 9rem;
}

.anthro-map__quad.is-quiet {
  left: 30%;
  top: 78%;
  bottom: auto;
}

.anthro-map__quad.is-puppets {
  left: 76%;
  top: 78%;
  bottom: auto;
}

.anthro-map__point {
  position: absolute;
  left: calc(11% + (86% * var(--x) / 100));
  top: calc(7% + (77% * var(--y) / 100));
  width: clamp(2.5rem, 4.4vw, 3.5rem);
  margin: 0;
  z-index: 2;
  cursor: pointer;
  outline: none;
  transition: opacity 0.28s ease, width 0.32s cubic-bezier(0.22, 1, 0.36, 1), translate 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.anthro-map__plot:has(.anthro-map__point:hover) .anthro-map__point:not(:hover),
.anthro-map__plot:has(.anthro-map__point:focus-within) .anthro-map__point:not(:focus-within) {
  opacity: 0.34;
}

.anthro-map__point:hover,
.anthro-map__point:focus-within {
  width: clamp(9rem, 18vw, 13rem);
  z-index: 12;
}

.anthro-map__point.is-lift:hover,
.anthro-map__point.is-lift:focus-within {
  translate: 0 -5.5rem;
}

.anthro-map__point img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 2px 2px 0 0;
  object-fit: cover;
  object-position: center;
}

.anthro-map__bar {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 0 0 2px 2px;
}

.anthro-map__point.is-pop .anthro-map__bar,
.anthro-map__point.is-pop .anthro-map__caption {
  background: var(--anthro-pop);
}

.anthro-map__point.is-real .anthro-map__bar,
.anthro-map__point.is-real .anthro-map__caption {
  background: var(--anthro-real);
}

.anthro-map__caption {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-height: 0;
  margin: 0;
  padding: 0 0.65rem;
  overflow: hidden;
  border-radius: 0 0 2px 2px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0;
  font-weight: 500;
  line-height: 1.35;
  transition:
    max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    font-size 0.2s ease;
}

.anthro-map__point:hover .anthro-map__bar,
.anthro-map__point:focus-within .anthro-map__bar {
  border-radius: 0;
}

.anthro-map__point:hover .anthro-map__caption,
.anthro-map__point:focus-within .anthro-map__caption {
  max-height: 7rem;
  padding: 0.55rem 0.7rem 0.65rem;
  font-size: 12px;
}

@media (min-width: 768px) {
  .anthro-map {
    margin-top: 4rem;
  }

  .anthro-map__sticky {
    height: calc(100svh - 7rem);
  }

  .anthro-map__title {
    font-size: 20px;
  }

  .anthro-map__axis-label {
    font-size: 16px;
  }

  .anthro-map__edge {
    font-size: 12px;
  }

  .anthro-map__bar {
    height: 5px;
  }

  .anthro-map__point:hover .anthro-map__caption,
  .anthro-map__point:focus-within .anthro-map__caption {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .anthro-map {
    width: calc(100vw - 1rem);
  }

  .anthro-map__sticky {
    height: calc(100svh - 5.5rem);
  }

  .anthro-map__quad {
    font-size: 11px;
    max-width: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anthro-map__point,
  .anthro-map__caption {
    transition: none;
  }

  .anthro-map__sticky {
    position: relative;
    top: 0;
  }

  .anthro-map__runway {
    height: 0;
  }
}

.scheme-slider {
  margin-top: 0;
}

.scheme-slider-pin {
  position: relative;
  margin-top: 2.5rem;
  min-height: 160svh;
}

.scheme-slider-pin__sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  /* Nav clearance + bottom breathing room so the stage never clips */
  padding: 5.25rem 0 2.25rem;
  background: #fff;
}

.scheme-slider__title {
  margin: 0 auto 0.85rem;
  max-width: 46rem;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  color: #3d3f44;
  transition: opacity 120ms ease, transform 120ms ease;
}

.scheme-slider__title.is-swap {
  opacity: 0;
  transform: translateY(4px);
}

.scheme-slider__stage {
  position: relative;
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  aspect-ratio: 928 / 420;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
  transition:
    max-width 420ms cubic-bezier(0.4, 0, 0.2, 1),
    width 420ms cubic-bezier(0.4, 0, 0.2, 1),
    margin 420ms cubic-bezier(0.4, 0, 0.2, 1),
    aspect-ratio 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

.scheme-slider.is-bleed .scheme-slider__stage {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  aspect-ratio: 1400 / 420;
}

.scheme-slider__frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: opacity;
}

.scheme-slider__frame--svg {
  overflow: hidden;
  object-fit: unset;
}

.scheme-slider.is-portal .scheme-slider__frame.is-portal-source,
.scheme-slider.is-portal .scheme-slider__frame.is-portal-target {
  will-change: opacity, clip-path;
}

.scheme-slider.is-portal .scheme-slider__frame.is-portal-source {
  /* Keep vectors sharp — zoom is via SVG viewBox, not CSS scale */
  z-index: 1;
  transform: none !important;
  filter: none !important;
}

.scheme-slider.is-portal .scheme-slider__frame.is-portal-target {
  z-index: 2;
}

.scheme-slider__frame.is-active {
  z-index: 1;
}

.scheme-slider__control {
  width: min(28rem, 100%);
  margin: 2rem auto 0;
}

.scheme-slider__rail {
  position: relative;
}

.scheme-slider__input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 1.25rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}

.scheme-slider__tick {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: default;
  pointer-events: none;
}

.scheme-slider__tick-mark {
  display: block;
  width: 2px;
  height: 0.7rem;
  background: #d00003;
  pointer-events: auto;
}

.scheme-slider__tick-label {
  position: absolute;
  bottom: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.35rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  color: #d00003;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.scheme-slider__tick:hover .scheme-slider__tick-label,
.scheme-slider__tick:focus-visible .scheme-slider__tick-label,
.scheme-slider__tick-mark:hover + .scheme-slider__tick-label {
  opacity: 1;
}

.scheme-slider__tick:focus {
  outline: none;
}

.scheme-slider__tick:focus-visible .scheme-slider__tick-mark {
  outline: 2px solid rgba(208, 0, 3, 0.3);
  outline-offset: 3px;
}

.scheme-slider__input:focus {
  outline: none;
}

.scheme-slider__input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(0, 110, 137, 0.25);
}

.scheme-slider__input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(0, 110, 137, 0.25);
}

.scheme-slider__input::-webkit-slider-runnable-track {
  height: 1px;
  background: #6b6b6b;
  border: none;
  border-radius: 0;
}

.scheme-slider__input::-moz-range-track {
  height: 1px;
  background: #6b6b6b;
  border: none;
  border-radius: 0;
}

.scheme-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #6b6b6b;
  cursor: grab;
  transition: transform 160ms ease;
}

.scheme-slider__input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #6b6b6b;
  cursor: grab;
  transition: transform 160ms ease;
}

.scheme-slider__input:active::-webkit-slider-thumb,
.scheme-slider__input:active::-moz-range-thumb {
  cursor: grabbing;
  transform: scale(1.15);
}

.scheme-slider__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #6b6b6b;
}

@media (prefers-reduced-motion: reduce) {
  .scheme-slider-pin {
    min-height: 0;
  }

  .scheme-slider-pin__sticky {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 0.75rem 0;
  }
}

@media (min-width: 768px) {
  .scheme-slider-pin {
    margin-top: 3rem;
    min-height: 170svh;
  }

  .scheme-slider-pin__sticky {
    padding: 5.5rem 0 2.5rem;
  }

  .scheme-slider {
    margin-top: 0;
  }

  .scheme-slider__title {
    margin-bottom: 1rem;
    font-size: 15px;
  }

  .scheme-slider__control {
    width: min(32rem, 100%);
    margin-top: 2.5rem;
  }

  .scheme-slider__labels {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scheme-slider__title,
  .scheme-slider__input::-webkit-slider-thumb,
  .scheme-slider__input::-moz-range-thumb {
    transition: none;
  }

  .scheme-slider__title.is-swap {
    opacity: 1;
    transform: none;
  }
}

/* —— Model avatar gallery —— */
.avatar-gallery {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 220px 1.25rem 4rem;
  box-sizing: border-box;
}

.avatar-gallery__intro {
  max-width: none;
  margin-bottom: 4rem;
}

.avatar-gallery__title {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-accent);
}

.avatar-gallery__lede {
  margin: 1.5rem 0 0;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 300;
  line-height: 26px;
  color: #000;
}

.avatar-gallery__catalog {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.avatar-gallery__catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1.25rem;
  margin-bottom: 0.35rem;
}

.avatar-gallery__catalog-title {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
}

.avatar-gallery__meta {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8a8a8a;
}

.avatar-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 1.15rem 0 2rem;
}

.avatar-gallery__filter {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #8a8a8a;
  cursor: pointer;
}

.avatar-gallery__filter:hover {
  color: #111;
}

.avatar-gallery__filter.is-active {
  color: var(--color-accent);
}

.avatar-gallery__filter:focus {
  outline: none;
}

.avatar-gallery__filter:focus-visible {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.avatar-gallery__body {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.avatar-gallery__status {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #8a8a8a;
}

.avatar-gallery__section-head {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.avatar-gallery__company {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
}

.avatar-gallery__count {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #9a9a9a;
}

.avatar-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 1.35rem 0.85rem;
}

.avatar-gallery__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  text-align: center;
  cursor: pointer;
  font: inherit;
}

.avatar-gallery__item img {
  display: block;
  width: 72px;
  height: 72px;
  background: transparent;
}

.avatar-gallery__name {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #5c5c5c;
}

.avatar-gallery__item:hover .avatar-gallery__name {
  color: #111;
}

.avatar-gallery__item:focus-visible {
  outline: 2px solid rgba(0, 110, 137, 0.35);
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .avatar-gallery {
    padding: 220px 1.25rem 5rem;
  }

  .avatar-gallery__title {
    font-size: 44px;
  }

  .avatar-gallery__lede {
    font-size: 16px;
    line-height: 28px;
  }

  .avatar-gallery__catalog-title {
    font-size: 32px;
  }

  .avatar-gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
    gap: 1.6rem 1rem;
  }

  .avatar-gallery__item img {
    width: 80px;
    height: 80px;
  }
}

/* —— Avatar grammar / anatomy —— */
.avatar-grammar {
  max-width: none;
}

.avatar-grammar__heading {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
}

.avatar-grammar__prose {
  margin: 1.5rem 0 0;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 300;
  line-height: 26px;
  color: #000;
}

.avatar-anatomy {
  margin: 2.5rem 0 0;
  padding: 0;
}

.avatar-anatomy__stage {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

.avatar-anatomy__ring {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: center;
}

.avatar-anatomy__specimen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  justify-self: center;
  order: -1;
}

.avatar-anatomy__specimen img {
  display: block;
  width: min(9.5rem, 40vw);
  height: auto;
}

.avatar-anatomy__specimen-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #8a8a8a;
}

.avatar-anatomy__callout {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #3d3f44;
}

.avatar-anatomy__kicker {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.avatar-anatomy__callout.is-symmetry {
  max-width: 22rem;
  margin-inline: auto;
  text-align: center;
  padding-top: 0.35rem;
}

.avatar-tiers {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.avatar-tier__title {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
}

.avatar-tier__text {
  margin: 1.5rem 0 0;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 300;
  line-height: 26px;
  color: #000;
}

.avatar-tier__swatches,
.avatar-tier__ladder,
.avatar-tier__pair {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.avatar-tier__swatches li,
.avatar-tier__ladder li,
.avatar-tier__pair li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.avatar-tier__swatches img,
.avatar-tier__ladder img,
.avatar-tier__pair img {
  display: block;
}

.avatar-tier__swatches span,
.avatar-tier__ladder span,
.avatar-tier__pair span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #5c5c5c;
}

.avatar-tier__swatches em,
.avatar-tier__ladder strong {
  font-style: normal;
  font-weight: 600;
  color: #111;
}

.avatar-tier__reserved {
  display: block;
  width: 56px;
  height: 56px;
  border: 1px dashed #c8c8c8;
  background:
    linear-gradient(135deg, transparent 46%, #e4e4e4 46%, #e4e4e4 54%, transparent 54%);
}

.avatar-tier__ladder li.is-reserved span {
  color: #9a9a9a;
}

@media (min-width: 860px) {
  .avatar-grammar__prose,
  .avatar-tier__text,
  .avatar-invite__text {
    font-size: 16px;
    line-height: 28px;
  }

  .avatar-anatomy__stage {
    gap: 1.75rem;
  }

  .avatar-anatomy__ring {
    grid-template-columns: minmax(0, 1fr) 10.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1.5rem;
    row-gap: 1.5rem;
    align-items: center;
  }

  .avatar-anatomy__specimen {
    grid-column: 2;
    grid-row: 1 / span 2;
    order: 0;
    z-index: 1;
  }

  .avatar-anatomy__callout.is-hue {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
    max-width: 13.5rem;
    padding-right: 1rem;
    position: relative;
  }

  .avatar-anatomy__callout.is-density {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    text-align: left;
    max-width: 13.5rem;
    padding-left: 1rem;
    position: relative;
  }

  .avatar-anatomy__callout.is-fill {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    text-align: right;
    max-width: 13.5rem;
    padding-right: 1rem;
    position: relative;
  }

  .avatar-anatomy__callout.is-line {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    text-align: left;
    max-width: 13.5rem;
    padding-left: 1rem;
    position: relative;
  }

  .avatar-anatomy__callout.is-hue::after,
  .avatar-anatomy__callout.is-fill::after {
    content: "";
    position: absolute;
    top: 0.65rem;
    right: 0;
    width: 0.65rem;
    height: 1px;
    background: #c8c8c8;
  }

  .avatar-anatomy__callout.is-density::before,
  .avatar-anatomy__callout.is-line::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    left: 0;
    width: 0.65rem;
    height: 1px;
    background: #c8c8c8;
  }

  .avatar-anatomy__specimen img {
    width: 10.5rem;
  }

  .avatar-anatomy__callout.is-symmetry {
    margin-top: 0.15rem;
  }
}

@media (min-width: 768px) {
  .avatar-gallery__catalog {
    margin-top: 5rem;
    padding-top: 3rem;
  }

  .avatar-tier__text {
    font-size: 15px;
  }
}

.avatar-invite {
  margin-top: 3rem;
  padding-top: 0;
}

.avatar-invite__title {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
}

@media (min-width: 768px) {
  .avatar-grammar__heading,
  .avatar-invite__title {
    font-size: 32px;
  }
}

.avatar-invite__text {
  margin: 1.5rem 0 0;
  font-family: var(--font-lexend);
  font-size: 15px;
  font-weight: 300;
  line-height: 26px;
  color: #000;
}

.avatar-invite__text + .avatar-invite__text {
  margin-top: 0.85rem;
}

body.is-avatar-note-open {
  overflow: hidden;
}

.avatar-note {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.avatar-note[hidden] {
  display: none;
}

.avatar-note.is-open {
  visibility: visible;
  pointer-events: auto;
}

.avatar-note.is-measuring {
  visibility: visible;
  pointer-events: none;
}

.avatar-note.is-measuring .avatar-note__backdrop,
.avatar-note.is-measuring .avatar-note__hero,
.avatar-note.is-measuring .avatar-note__form {
  transition: none;
  opacity: 0;
}

.avatar-note.is-measuring .avatar-note__panel {
  transition: none;
  opacity: 0;
  transform: translateY(0);
}

.avatar-note__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 320ms ease;
}

.avatar-note.is-open .avatar-note__backdrop {
  opacity: 1;
}

.avatar-note__panel {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(92vh, 44rem);
  overflow: auto;
  margin: 0;
  padding: 1.35rem 1.25rem 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 340ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.avatar-note.is-open .avatar-note__panel {
  opacity: 1;
  transform: translateY(0);
}

.avatar-note__hero,
.avatar-note__form {
  opacity: 0;
  transform: translateY(0.65rem);
  transition:
    opacity 300ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.avatar-note.is-open .avatar-note__hero {
  opacity: 1;
  transform: none;
  transition-delay: 70ms;
}

.avatar-note.is-open .avatar-note__form {
  opacity: 1;
  transform: none;
  transition-delay: 120ms;
}

.avatar-note__hero img.is-flip-target {
  opacity: 0;
}

.avatar-note__fly {
  position: fixed;
  z-index: 90;
  margin: 0;
  pointer-events: none;
  transform-origin: top left;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .avatar-note__backdrop,
  .avatar-note__panel,
  .avatar-note__hero,
  .avatar-note__form {
    transition: none;
  }

  .avatar-note__hero,
  .avatar-note__form {
    opacity: 1;
    transform: none;
  }
}

.avatar-note__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8a8a;
  cursor: pointer;
}

.avatar-note__close:hover {
  color: #111;
}

.avatar-note__hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 3.5rem;
  margin-bottom: 1.5rem;
}

.avatar-note__hero img {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  flex-shrink: 0;
}

.avatar-note__title {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  color: #111;
}

.avatar-note__meta {
  margin: 0.25rem 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #8a8a8a;
}

.avatar-note__form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.avatar-note__field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.avatar-note__label,
.avatar-note__sublabel {
  display: block;
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
  color: #6b6b6b;
}

.avatar-note__choices,
.avatar-note__scale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.avatar-note__choice,
.avatar-note__scale-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.avatar-note__choice input,
.avatar-note__scale-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.avatar-note__choice span,
.avatar-note__scale-option span {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #3d3f44;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.avatar-note__choice input:checked + span,
.avatar-note__scale-option input:checked + span {
  border-color: var(--color-accent);
  background: rgba(0, 110, 137, 0.06);
  color: var(--color-accent);
}

.avatar-note__choice input:focus-visible + span,
.avatar-note__scale-option input:focus-visible + span {
  outline: 2px solid rgba(0, 110, 137, 0.3);
  outline-offset: 2px;
}

.avatar-note__subfield {
  display: block;
  margin-top: 0.85rem;
}

.avatar-note__input,
.avatar-note__textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.85rem;
  background: #fff;
  color: #111;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
}

.avatar-note__input:focus,
.avatar-note__textarea:focus {
  border-color: var(--color-accent);
}

.avatar-note__input::placeholder,
.avatar-note__textarea::placeholder {
  color: #a3a3a3;
  font-weight: 400;
}

.avatar-note__submit {
  align-self: flex-start;
  margin: 0.15rem 0 0;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.avatar-note__submit:hover {
  background: #005a70;
}

.avatar-note__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.avatar-note__thanks {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-accent);
}

@media (min-width: 720px) {
  .avatar-note {
    align-items: center;
    padding: 1.5rem;
  }

  .avatar-note__panel {
    max-height: min(88vh, 42rem);
    padding: 1.75rem 1.75rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
    transform: translateY(1rem) scale(0.96);
  }

  .avatar-note.is-open .avatar-note__panel {
    transform: translateY(0) scale(1);
  }

  .avatar-note.is-measuring .avatar-note__panel {
    transform: translateY(0) scale(1);
  }

  .avatar-note__hero img {
    width: 6.5rem;
    height: 6.5rem;
  }

  .avatar-invite__text {
    font-size: 16px;
    line-height: 1.6;
  }
}


/* —— Ethics vs Safety spectrum deck (The Bridge Is Thin) —— */
.spectrum-deck {
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.spectrum-deck__shell {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  overflow: visible;
}

/* While a prompt is on screen, pin it in the vertical middle, same as the scrolly sections. */
.spectrum-deck.is-playing {
  height: calc(100vh - 5rem);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.spectrum-deck.is-playing .spectrum-deck__shell {
  height: 100%;
}

.spectrum-deck.is-playing .spectrum-deck__chart {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.spectrum-deck.is-playing .spectrum-deck__pin {
  position: sticky;
  top: 5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - 6rem);
  box-sizing: border-box;
}

.spectrum-deck__prompt-label {
  margin: 0 0 0.85rem;
  max-height: 2.5rem;
  overflow: hidden;
  font-family: var(--font-lexend);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: #8a8a8a;
  transition:
    opacity 0.4s ease,
    max-height 0.55s ease,
    margin-bottom 0.55s ease;
}

.spectrum-deck__prompt-label.is-fading {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
}

.spectrum-deck__prompt-label[hidden] {
  display: none;
}

.spectrum-deck__history {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  margin: 0 0 4.5rem;
}

.spectrum-deck__history:empty {
  display: none;
  margin: 0;
}

.spectrum-deck__interact.is-frozen {
  pointer-events: none;
}

.spectrum-deck__interact.is-frozen .spectrum-deck__bar {
  cursor: default;
}

.spectrum-deck__stage,
.spectrum-deck__play,
.spectrum-deck__interact {
  overflow: visible;
}

.spectrum-deck__play {
  display: grid;
  align-items: center;
  justify-items: stretch;
}

.spectrum-deck__interact,
.spectrum-deck__chart {
  grid-area: 1 / 1;
}

.spectrum-deck__interact {
  width: 100%;
  transition:
    opacity 0.4s ease,
    max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.spectrum-deck__interact.is-leaving {
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.spectrum-deck__scenario {
  margin: 0 auto 1.15rem;
  max-width: 32rem;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  text-align: center;
  color: #111;
  min-height: 4.6em;
  transition: opacity 0.35s ease;
}

.spectrum-deck__scenario.is-fading {
  opacity: 0;
}

.spectrum-deck__board {
  position: relative;
  width: min(100%, 28rem);
  margin: 0 auto;
  overflow: visible;
}

.spectrum-deck__tip-lane {
  position: relative;
  height: 0;
  margin-bottom: 0;
  overflow: visible;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.spectrum-deck__board.is-revealed .spectrum-deck__tip-lane {
  height: 6.75rem;
}

.spectrum-deck__tip {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 3;
  width: min(17.5rem, 88vw);
  padding: 0.65rem 0.8rem;
  border: 1px solid #9a9a9a;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(0.45rem) scale(0.98);
  transition:
    opacity 0.35s ease 0.12s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    visibility 0.35s ease 0.12s,
    border-color 0.2s ease;
}

.spectrum-deck__tip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.spectrum-deck__tip.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(0.35rem) scale(0.98);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
}

.spectrum-deck__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-right: 1px solid #9a9a9a;
  border-bottom: 1px solid #9a9a9a;
  background: #fff;
  transform: rotate(45deg);
}

.spectrum-deck__tip-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  color: #9a9a9a;
}

.spectrum-deck__tip.is-ethics {
  border-color: var(--color-sage);
}

.spectrum-deck__tip.is-ethics::after {
  border-right-color: var(--color-sage);
  border-bottom-color: var(--color-sage);
}

.spectrum-deck__tip.is-ethics .spectrum-deck__tip-text {
  color: color-mix(in srgb, var(--color-sage) 80%, #333);
}

.spectrum-deck__tip.is-both {
  border-color: #9a9a9a;
}

.spectrum-deck__tip.is-both::after {
  border-right-color: #9a9a9a;
  border-bottom-color: #9a9a9a;
}

.spectrum-deck__tip.is-both .spectrum-deck__tip-text {
  color: #6e6e6e;
}

.spectrum-deck__tip.is-safety {
  border-color: var(--color-accent);
}

.spectrum-deck__tip.is-safety::after {
  border-right-color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.spectrum-deck__tip.is-safety .spectrum-deck__tip-text {
  color: var(--color-accent);
}

.spectrum-deck__bar {
  position: relative;
  height: 2.1rem;
  display: flex;
  align-items: center;
  touch-action: none;
  cursor: grab;
  user-select: none;
  outline: none;
}

.spectrum-deck__bar:focus-visible {
  outline: 2px solid rgba(0, 110, 137, 0.35);
  outline-offset: 6px;
  border-radius: 0.35rem;
}

.spectrum-deck__bar.is-dragging {
  cursor: grabbing;
}

.spectrum-deck__bar.is-locked {
  cursor: default;
}

.spectrum-deck__track {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: #9a9a9a;
  border-radius: 1px;
}

.spectrum-deck__track::before,
.spectrum-deck__track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.spectrum-deck__track::before {
  left: 0;
  border-width: 3.5px 6px 3.5px 0;
  border-color: transparent #9a9a9a transparent transparent;
  transform: translate(-100%, -50%);
}

.spectrum-deck__track::after {
  right: 0;
  border-width: 3.5px 0 3.5px 6px;
  border-color: transparent transparent transparent #9a9a9a;
  transform: translate(100%, -50%);
}

.spectrum-deck__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 0.9rem;
  margin: 0;
  border-radius: 50%;
  border: 0;
  background: #9a9a9a;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  transition:
    left 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    opacity 0.25s ease;
}

.spectrum-deck__bar.is-dragging .spectrum-deck__knob {
  background: #9a9a9a;
  transition: none;
}

.spectrum-deck__knob.is-locked {
  background: #9a9a9a;
  opacity: 1;
}

.spectrum-deck__filing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 0.9rem;
  margin: 0;
  border-radius: 50%;
  background: #9a9a9a;
  transform: translate(-50%, -50%) scale(0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1.2, 0.36, 1),
    background-color 0.2s ease;
}

.spectrum-deck__filing.is-visible {
  opacity: 1;
}

.spectrum-deck__filing.is-settled {
  transform: translate(-50%, -50%) scale(1);
}

.spectrum-deck__filing.is-ethics {
  background: var(--color-sage);
}

.spectrum-deck__filing.is-both {
  background: #9a9a9a;
}

.spectrum-deck__filing.is-safety {
  background: var(--color-accent);
}

.spectrum-deck__labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2;
}

.spectrum-deck__label.is-ethics {
  text-align: left;
  color: color-mix(in srgb, var(--color-sage) 65%, #666);
}

.spectrum-deck__label.is-both {
  text-align: center;
  color: #9a9a9a;
}

.spectrum-deck__label.is-safety {
  text-align: right;
  color: color-mix(in srgb, var(--color-accent) 65%, #666);
}

.spectrum-deck__chart {
  width: 100%;
  max-width: 28rem;
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.spectrum-deck__chart[hidden] {
  display: none;
}

.spectrum-deck__hist-wrap {
  width: 100%;
}

.spectrum-deck__hist-counts {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
  z-index: 3;
}

.spectrum-deck__hist-count {
  position: absolute;
  transform: translate(-50%, -0.2rem);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease 0.4s;
}

.spectrum-deck__chart.is-open .spectrum-deck__hist-count {
  opacity: 1;
}

.spectrum-deck__hist-count.is-ethics {
  color: color-mix(in srgb, var(--color-sage) 65%, #666);
}

.spectrum-deck__hist-count.is-both {
  color: #9a9a9a;
}

.spectrum-deck__hist-count.is-safety {
  color: color-mix(in srgb, var(--color-accent) 65%, #666);
}

.spectrum-deck__hist-plot {
  position: relative;
  width: 100%;
  overflow: visible;
}

.spectrum-deck__hist-track {
  top: auto;
  bottom: 0;
  transform: none;
  z-index: 1;
}

.spectrum-deck__hist-plot:has(.spectrum-deck__hist.is-muted) .spectrum-deck__hist-track {
  background: #c8c8c8;
}

.spectrum-deck__hist-plot:has(.spectrum-deck__hist.is-muted) .spectrum-deck__hist-track::before {
  border-color: transparent #c8c8c8 transparent transparent;
}

.spectrum-deck__hist-plot:has(.spectrum-deck__hist.is-muted) .spectrum-deck__hist-track::after {
  border-color: transparent transparent transparent #c8c8c8;
}

.spectrum-deck__hist {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.spectrum-deck__hist-labels {
  margin-top: 0.45rem;
}

.spectrum-deck__hist-bar {
  fill: #cfcfcf;
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.65s ease;
}

.spectrum-deck__chart.is-open .spectrum-deck__hist-bar {
  transform: scaleY(1);
}

.spectrum-deck__hist-bar.is-ethics {
  fill: color-mix(in srgb, var(--color-sage) 55%, #d8d8d8);
}

.spectrum-deck__hist-bar.is-mid {
  fill: #d4d4d4;
}

.spectrum-deck__hist-bar.is-safety {
  fill: color-mix(in srgb, var(--color-accent) 50%, #d8d8d8);
}

.spectrum-deck__hist.is-muted .spectrum-deck__hist-bar {
  opacity: 0.34;
}

.spectrum-deck__chart-inner {
  opacity: 0;
  transform: translateY(0.55rem);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.spectrum-deck__chart.is-open .spectrum-deck__chart-inner {
  opacity: 1;
  transform: translateY(0);
}

.spectrum-deck__chart .spectrum-deck__next {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.spectrum-deck__next--card {
  display: block;
  margin: 2.15rem auto 0;
  max-height: 4rem;
  overflow: hidden;
  transition:
    opacity 0.28s ease,
    max-height 0.4s ease,
    margin 0.4s ease,
    padding 0.4s ease,
    min-height 0.4s ease;
}

.spectrum-deck__next--card.is-fading {
  opacity: 0;
  max-height: 0;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.spectrum-deck__hist-caption {
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: var(--color-muted);
}

.spectrum-deck__next {
  margin-top: 1.1rem;
  min-height: 2.5rem;
  min-width: 6.5rem;
  padding: 0.55rem 1.25rem;
  border: 0;
  border-radius: 4px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.spectrum-deck__next:hover,
.spectrum-deck__next:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

.spectrum-deck__next:focus-visible {
  outline: 2px solid rgba(0, 110, 137, 0.35);
  outline-offset: 3px;
}

.spectrum-deck__caption-stack {
  display: grid;
}

.spectrum-deck__caption-stack > p {
  grid-area: 1 / 1;
  transition: opacity 0.45s ease;
}

.spectrum-deck__recap-lead,
.spectrum-deck__recap-close {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    margin 0.55s ease;
}

.spectrum-deck__chart.is-recap .spectrum-deck__recap-lead {
  max-height: 5.5rem;
  opacity: 1;
  margin-bottom: 1.35rem;
}

.spectrum-deck__recap-caption {
  margin: 0.55rem 0 0;
  opacity: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-muted);
}

.spectrum-deck__chart.is-recap .spectrum-deck__hist-caption {
  opacity: 0;
}

.spectrum-deck__chart.is-recap .spectrum-deck__recap-caption {
  opacity: 1;
}

.spectrum-deck__recap-close {
  font-weight: 400;
}

.spectrum-deck__chart.is-recap .spectrum-deck__recap-close {
  max-height: 7rem;
  opacity: 1;
  margin-top: 1.35rem;
}

.spectrum-deck__chart .spectrum-deck__next {
  max-height: 4rem;
  overflow: hidden;
  transition:
    opacity 0.35s ease,
    max-height 0.45s ease,
    margin 0.45s ease,
    padding 0.45s ease,
    min-height 0.45s ease;
}

.spectrum-deck__chart.is-recap .spectrum-deck__next {
  opacity: 0;
  max-height: 0;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.spectrum-deck__recap-drop {
  fill: #9a9a9a;
  stroke: #fff;
  stroke-width: 1.5;
  paint-order: stroke fill;
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}

.spectrum-deck__chart.is-recap .spectrum-deck__recap-drop {
  opacity: 1;
}

@media (min-width: 768px) {
  .spectrum-deck {
    margin-top: 4.5rem;
  }

  .spectrum-deck__scenario {
    font-size: 16px;
    min-height: 4.2em;
    margin-bottom: 1.35rem;
  }

  .spectrum-deck__board.is-revealed .spectrum-deck__tip-lane {
    height: 7rem;
  }

  .spectrum-deck__chart {
    margin-top: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__progress-fill,
  .spectrum-deck__knob,
  .spectrum-deck__filing,
  .spectrum-deck__tip,
  .spectrum-deck__tip-lane,
  .spectrum-deck__scenario,
  .spectrum-deck__interact,
  .spectrum-deck__prompt-label,
  .spectrum-deck__next,
  .spectrum-deck__next--card,
  .spectrum-deck__hist-bar,
  .spectrum-deck__hist-count,
  .spectrum-deck__recap-drop,
  .spectrum-deck__recap-lead,
  .spectrum-deck__recap-close,
  .spectrum-deck__caption-stack > p,
  .spectrum-deck__chart-inner {
    transition: none;
  }
}

/* —— Author ethics/safety heatmap scrolly (The Bridge Is Thin) —— */
.author-heatmap {
  position: relative;
  /* Four beats pinned like the 404 screens scrolly */
  height: 420vh;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

.author-heatmap__sticky {
  position: sticky;
  top: 5rem;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: calc(100vh - 6rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0 1rem;
  background: #fff;
  box-sizing: border-box;
}

.author-heatmap__copy-stack {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 22rem;
  min-height: 11rem;
}

.author-heatmap__chart-col {
  position: relative;
  width: 100%;
  max-width: 28rem;
  flex-shrink: 0;
}

.author-heatmap__chart {
  position: relative;
  width: 100%;
}

.author-heatmap__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  touch-action: manipulation;
}

.author-heatmap__cell {
  fill: var(--color-accent);
  fill-opacity: var(--fill-opacity, 0);
  stroke: none;
  transition: fill-opacity 0.35s ease, opacity 0.35s ease;
  cursor: pointer;
}

.author-heatmap__cell.is-empty {
  fill: transparent;
  fill-opacity: 0;
  pointer-events: none;
}

.author-heatmap__cell.is-dim {
  opacity: 0.14;
}

.author-heatmap__cell.is-focus {
  opacity: 1;
}

.author-heatmap__cell.is-hover {
  fill-opacity: 1;
  filter: brightness(0.88);
}

.author-heatmap__outline {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.75;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.author-heatmap__outline.is-visible {
  opacity: 1;
}

.author-heatmap__tick {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
}

.author-heatmap__axis-title {
  fill: #111;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
}

.author-heatmap__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.55rem auto 0;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-muted);
}

.author-heatmap__legend-ramp {
  display: block;
  width: 5.5rem;
  height: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-accent) 14%, #fff),
    var(--color-accent)
  );
}

.author-heatmap__legend-note {
  margin-left: 0.15rem;
  color: #9a9a9a;
}

.author-heatmap__caption,
.author-heatmap__credit {
  margin: 0.7rem auto 0;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: var(--color-muted);
}

.author-heatmap__credit {
  margin-top: 0.4rem;
}

.author-heatmap__credit a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.author-heatmap__tooltip {
  position: absolute;
  z-index: 4;
  max-width: 16rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
  color: #111;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 0.55rem));
}

.author-heatmap__step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.author-heatmap__step.is-active {
  pointer-events: auto;
}

.author-heatmap__step-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
}

.author-heatmap__step-text {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
}

.author-heatmap__method {
  margin-top: 2.5rem;
}

.author-heatmap__method-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.author-heatmap__method-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-muted);
}

.author-heatmap__method-list li + li {
  margin-top: 0.55rem;
}

.author-heatmap__method-list a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .author-heatmap {
    margin-top: 4.25rem;
  }

  .author-heatmap__sticky {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .author-heatmap__copy-stack {
    order: 0;
    max-width: 22rem;
  }

  .author-heatmap__chart-col {
    order: 1;
    max-width: min(28rem, 52%);
  }

  .author-heatmap__step-title {
    font-size: 20px;
  }

  .author-heatmap__step-text {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 379px) {
  .author-heatmap__step-title {
    font-size: 16px;
  }

  .author-heatmap__step-text {
    font-size: 14px;
  }

  .author-heatmap__tick {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .author-heatmap {
    height: auto;
  }

  .author-heatmap__sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .author-heatmap__cell,
  .author-heatmap__outline,
  .author-heatmap__step {
    transition: none;
    will-change: auto;
  }
}

/* —— Mixed-paper co-author galaxy scrolly (The Bridge Is Thin) —— */
.bridge-network {
  position: relative;
  height: 960vh;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

.bridge-network__sticky {
  position: sticky;
  top: 5rem;
  z-index: 2;
  width: 100%;
  min-height: calc(100vh - 6rem);
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

.bridge-network__svg {
  display: block;
  width: 100%;
  height: calc(100vh - 6rem);
  overflow: hidden;
  touch-action: none;
}

.bridge-network__dust-dot {
  fill: #c8c8c8;
  stroke: none;
  opacity: 0.95;
  transition: opacity 0.45s ease, fill 0.45s ease;
}

.bridge-network__dust-dot.is-hot {
  fill: var(--color-accent);
  opacity: 1;
}

.bridge-network__dust-dot.is-dim {
  opacity: 0.14;
}

.bridge-network__edge {
  stroke: #1a1a1a;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.28;
  transition: opacity 0.35s ease, stroke 0.35s ease, stroke-width 0.35s ease;
}

.bridge-network__edge.is-hot {
  stroke: var(--color-accent);
  stroke-width: 2.25;
  opacity: 1;
}

.bridge-network__edge.is-dim {
  opacity: 0.12;
}

.bridge-network__node {
  cursor: grab;
  touch-action: none;
}

.bridge-network__node.is-dragging {
  cursor: grabbing;
}

.bridge-network__node.is-quiet {
  opacity: 0.14;
}

.bridge-network__node-shape {
  stroke: #fff;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
  transition: fill 0.35s ease, fill-opacity 0.35s ease;
}

.bridge-network__node.is-neutral .bridge-network__node-shape {
  fill: #b0b0b0;
}

.bridge-network__node.is-colored.is-side-both .bridge-network__node-shape {
  fill: var(--color-accent);
}

.bridge-network__node.is-colored.is-side-ethics .bridge-network__node-shape {
  fill: var(--color-sage);
}

.bridge-network__node.is-colored.is-side-safety .bridge-network__node-shape {
  fill: color-mix(in srgb, var(--color-accent) 70%, #1a1a1a);
}

.bridge-network__node.is-colored.is-side-mixed .bridge-network__node-shape {
  fill: #d0d0d0;
}

.bridge-network__node.is-hover .bridge-network__node-shape {
  filter: brightness(0.85);
}

.bridge-network__hub-label {
  fill: #111;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bridge-network__copy-stack {
  position: absolute;
  right: 0.35rem;
  bottom: 0.85rem;
  z-index: 4;
  width: min(22rem, calc(100% - 1.25rem));
  max-width: 22rem;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 3px;
  background: rgba(0, 110, 137, 0.9);
  color: #fff;
  overflow: hidden;
}

.bridge-network__step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem 0.8rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
}

.bridge-network__step.is-active {
  position: relative;
  pointer-events: auto;
}

.bridge-network__step-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.bridge-network__step-text {
  margin: 0.45rem 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
}

.bridge-network__meta {
  position: absolute;
  left: 0.15rem;
  bottom: 0.75rem;
  z-index: 4;
  max-width: min(26rem, 46%);
}

.bridge-network__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-muted);
}

.bridge-network__legend.is-hidden {
  display: none;
}

.bridge-network__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bridge-network__legend-swatch {
  width: 0.55rem;
  height: 0.55rem;
  background: #b0b0b0;
}

.bridge-network__legend-swatch.is-circle {
  border-radius: 50%;
}

.bridge-network__legend.is-colored .bridge-network__legend-item.is-side-both .bridge-network__legend-swatch {
  background: var(--color-accent);
}

.bridge-network__legend.is-colored .bridge-network__legend-item.is-side-ethics .bridge-network__legend-swatch {
  background: var(--color-sage);
}

.bridge-network__legend.is-colored .bridge-network__legend-item.is-side-safety .bridge-network__legend-swatch {
  background: color-mix(in srgb, var(--color-accent) 70%, #1a1a1a);
}

.bridge-network__legend.is-colored .bridge-network__legend-item.is-side-mixed .bridge-network__legend-swatch {
  background: #d0d0d0;
}

.bridge-network__caption,
.bridge-network__credit {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-muted);
}

.bridge-network__credit {
  margin-top: 0.2rem;
}

.bridge-network__credit a {
  color: var(--color-accent);
}

.bridge-network__tooltip {
  position: absolute;
  z-index: 6;
  max-width: 16rem;
  padding: 0.3rem 0.45rem;
  border-radius: 2px;
  background: #111;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
  pointer-events: none;
  transform: translate(12px, 14px);
}

@media (min-width: 768px) {
  .bridge-network {
    margin-top: 4.25rem;
  }

  .bridge-network.section-wider {
    width: min(1200px, calc(100vw - 1.5rem));
    margin-left: calc((100% - min(1200px, calc(100vw - 1.5rem))) / 2);
  }

  .bridge-network__step-title {
    font-size: 18px;
  }

  .bridge-network__step-text {
    font-size: 15px;
    line-height: 1.55;
  }
}

@media (max-width: 420px) {
  .bridge-network__copy-stack {
    right: 0;
    left: 0;
    width: auto;
    max-width: none;
  }

  .bridge-network__meta {
    top: 0.4rem;
    bottom: auto;
    max-width: calc(100% - 0.5rem);
  }

  .bridge-network__step-title {
    font-size: 15px;
  }

  .bridge-network__step-text {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bridge-network {
    height: auto;
  }

  .bridge-network__sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .bridge-network__svg {
    height: 70vh;
  }

  .bridge-network__dust-dot,
  .bridge-network__edge,
  .bridge-network__node-shape,
  .bridge-network__hub-label,
  .bridge-network__step {
    transition: none;
  }
}

/* —— Both-sides authors funnel / top-15 / venues (The Bridge Is Thin) —— */
.both-sides {
  position: relative;
  /* Five beats pinned like the heatmap / bridge network scrolly */
  height: 520vh;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

.both-sides__sticky {
  position: sticky;
  top: 5rem;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: calc(100vh - 6rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0 1rem;
  background: #fff;
  box-sizing: border-box;
}

.both-sides__chart-col {
  position: relative;
  width: 100%;
  max-width: 36rem;
  flex-shrink: 0;
}

.both-sides__copy-stack {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 22rem;
  min-height: 12rem;
}

.both-sides__meta {
  width: 100%;
}

.both-sides__chart {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.both-sides__panel {
  width: 100%;
  transition: opacity 0.35s ease;
}

.both-sides__panel.is-layered {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.both-sides__panel.is-layered > svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.both-sides__panel.is-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.both-sides__funnel-svg,
.both-sides__top-svg,
.both-sides__venue-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.both-sides__row-label {
  fill: #111;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.both-sides__row-label.is-on,
.both-sides__panel.is-top15 .both-sides__row-label,
.both-sides__panel.is-venues .both-sides__row-label {
  opacity: 1;
}

.both-sides__row-label.is-marked {
  font-weight: 500;
}

.both-sides__n-label {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
}

.both-sides__funnel-bar {
  fill: color-mix(in srgb, var(--color-accent) 55%, #d0d0d0);
  opacity: 0;
  transition: opacity 0.35s ease, width 0.35s ease;
}

.both-sides__funnel-bar.is-on {
  opacity: 1;
}

.both-sides__funnel-value {
  fill: #111;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.both-sides__funnel-value.is-on {
  opacity: 1;
}

.both-sides__note {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
}

.both-sides__axis {
  stroke: #9a9a9a;
  stroke-width: 1;
}

.both-sides__tick {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
}

.both-sides__axis-label {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
}

.both-sides__legend-text {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
}

.both-sides__link {
  stroke: #c8c8c8;
  stroke-width: 1.5;
}

.both-sides__mark.is-ethics {
  fill: var(--color-sage);
  stroke: none;
}

.both-sides__mark.is-safety {
  fill: color-mix(in srgb, var(--color-accent) 70%, #1a1a1a);
  stroke: none;
}

.both-sides__hit {
  fill: transparent;
  cursor: pointer;
}

.both-sides__venue-swatch.is-acl,
.both-sides__venue-seg.is-acl {
  fill: var(--color-sage);
}

.both-sides__venue-swatch.is-fact,
.both-sides__venue-seg.is-fact {
  fill: var(--color-accent);
}

.both-sides__venue-swatch.is-ml,
.both-sides__venue-seg.is-ml {
  fill: color-mix(in srgb, var(--color-accent) 35%, #b8b8b8);
}

.both-sides__venue-pct {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  pointer-events: none;
}

.both-sides__footnote {
  margin: 0.55rem 0 0;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  text-align: left;
  color: var(--color-muted);
  transition: opacity 0.3s ease;
}

.both-sides__footnote.is-hidden {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.both-sides__caption,
.both-sides__credit {
  margin: 0.7rem 0 0;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: var(--color-muted);
}

.both-sides__credit {
  margin-top: 0.4rem;
}

.both-sides__credit a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.both-sides__tooltip {
  position: absolute;
  z-index: 4;
  max-width: 16rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
  color: #111;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 0.55rem));
}

.both-sides__step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.both-sides__step.is-active {
  pointer-events: auto;
}

.both-sides__step-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
}

.both-sides__step-text {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
}

@media (min-width: 768px) {
  .both-sides {
    margin-top: 4.25rem;
  }

  .both-sides__sticky {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 22rem);
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-content: space-between;
    column-gap: 2.75rem;
    row-gap: 1.1rem;
  }

  .both-sides__chart-col {
    grid-column: 1;
    grid-row: 1;
    order: unset;
    max-width: none;
    width: 100%;
    align-self: center;
  }

  .both-sides__copy-stack {
    grid-column: 2;
    grid-row: 1;
    order: unset;
    max-width: 22rem;
    align-self: center;
  }

  .both-sides__meta {
    grid-column: 1;
    grid-row: 2;
    max-width: 40rem;
  }

  .both-sides__caption,
  .both-sides__credit {
    text-align: left;
  }

  .both-sides__step-title {
    font-size: 20px;
  }

  .both-sides__step-text {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 379px) {
  .both-sides__step-title {
    font-size: 16px;
  }

  .both-sides__step-text {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .both-sides {
    height: auto;
  }

  .both-sides__sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .both-sides__panel,
  .both-sides__funnel-bar,
  .both-sides__funnel-value,
  .both-sides__row-label,
  .both-sides__footnote,
  .both-sides__step {
    transition: none;
    will-change: auto;
  }
}

/* —— Case-study paper scrolly (The Bridge Is Thin) —— */
.case-studies {
  position: relative;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

.case-studies__intro {
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.case-studies__heading {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
}

.case-studies__lead {
  margin: 1rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
}

.case-studies__runway {
  position: relative;
  /* Four paper beats */
  height: 420vh;
}

.case-studies__sticky {
  position: sticky;
  top: 5rem;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: calc(100vh - 6rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0 1rem;
  background: #fff;
  box-sizing: border-box;
}

.case-studies__chart-col {
  position: relative;
  width: 100%;
  max-width: 26rem;
  flex-shrink: 0;
}

.case-studies__copy-stack {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 24rem;
  min-height: 14rem;
}

.case-studies__chart {
  position: relative;
  width: 100%;
  min-height: 14rem;
}

.case-studies__panel {
  width: 100%;
  transition: opacity 0.35s ease;
}

.case-studies__panel.is-layered {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.case-studies__panel.is-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.case-studies__visual {
  width: 100%;
  box-sizing: border-box;
}

.case-studies__authors {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
  color: #333;
}

.case-studies__meta {
  margin: 0.25rem 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-muted);
}

.case-studies__spectrum {
  margin-top: 1.1rem;
}

.case-studies__bar {
  cursor: default;
  touch-action: auto;
}

.case-studies__labels {
  margin-top: 0.35rem;
}

.case-studies__scores {
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-muted);
}

.case-studies__caveat {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  color: #444;
  background: color-mix(in srgb, var(--color-sage) 8%, #f7f7f7);
  border-left: 2px solid color-mix(in srgb, var(--color-sage) 55%, #999);
}

.case-studies__link {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.case-studies__link:hover,
.case-studies__link:focus-visible {
  color: #111;
}

.case-studies__step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.case-studies__step.is-active {
  pointer-events: auto;
}

.case-studies__step-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
}

.case-studies__step-text {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
}

.case-studies__credit {
  margin: 1.25rem 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: var(--color-muted);
}

.case-studies__credit a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .case-studies {
    margin-top: 4.25rem;
  }

  .case-studies__intro {
    max-width: none;
  }

  .case-studies__heading {
    font-size: 32px;
  }

  .case-studies__lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .case-studies__sticky {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .case-studies__chart-col {
    order: 0;
    max-width: min(28rem, 48%);
  }

  .case-studies__copy-stack {
    order: 1;
    max-width: 24rem;
  }

  .case-studies__step-title {
    font-size: 20px;
  }

  .case-studies__step-text {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 379px) {
  .case-studies__heading {
    font-size: 24px;
  }

  .case-studies__lead,
  .case-studies__step-text {
    font-size: 14px;
  }

  .case-studies__step-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-studies__runway {
    height: auto;
  }

  .case-studies__sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .case-studies__panel,
  .case-studies__step {
    transition: none;
    will-change: auto;
  }
}

/* —— Venue trend stacked bars (The Bridge Is Thin) —— */
.venue-trend {
  position: relative;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.venue-trend.is-pending .venue-trend__seg {
  transform: scaleY(0);
  transform-origin: bottom;
}

.venue-trend.is-inview .venue-trend__seg {
  transform: scaleY(1);
  transition: transform 0.55s ease, opacity 0.35s ease, fill 0.2s ease;
}

.venue-trend__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.venue-trend__sticky {
  position: sticky;
  top: 5.5rem;
  z-index: 2;
  padding: 0.35rem 0 0.75rem;
  background: #fff;
}

.venue-trend__chart {
  position: relative;
  width: min(100%, 28rem);
  margin: 0 auto;
}

.venue-trend__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.venue-trend__axis {
  stroke: #9a9a9a;
  stroke-width: 1;
}

.venue-trend__grid {
  stroke: #ececec;
  stroke-width: 1;
}

.venue-trend__tick {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
}

.venue-trend__tick.is-partial {
  fill: #111;
  font-weight: 400;
}

.venue-trend__axis-title {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
}

.venue-trend__note {
  fill: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
}

.venue-trend__seg {
  cursor: pointer;
}

.venue-trend__seg.is-acl {
  fill: var(--color-sage);
}

.venue-trend__seg.is-fact {
  fill: var(--color-accent);
}

.venue-trend__seg.is-ml {
  fill: color-mix(in srgb, var(--color-accent) 35%, #b8b8b8);
}

.venue-trend__seg.is-partial.is-acl {
  fill: color-mix(in srgb, var(--color-sage) 45%, #fff);
}

.venue-trend__seg.is-partial.is-fact {
  fill: color-mix(in srgb, var(--color-accent) 45%, #fff);
}

.venue-trend__seg.is-partial.is-ml {
  fill: color-mix(in srgb, var(--color-accent) 18%, #e0e0e0);
}

.venue-trend__seg.is-hover {
  filter: brightness(0.92);
}

.venue-trend__partial-outline {
  stroke: #111;
  stroke-width: 1.25;
  stroke-dasharray: 3 2.5;
  pointer-events: none;
}

.venue-trend__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.85rem;
  margin: 0.65rem auto 0;
  width: min(100%, 28rem);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-muted);
}

.venue-trend__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.venue-trend__swatch {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  box-sizing: border-box;
}

.venue-trend__swatch.is-acl {
  background: var(--color-sage);
}

.venue-trend__swatch.is-fact {
  background: var(--color-accent);
}

.venue-trend__swatch.is-ml {
  background: color-mix(in srgb, var(--color-accent) 35%, #b8b8b8);
}

.venue-trend__swatch.is-partial {
  background: color-mix(in srgb, var(--color-accent) 18%, #e0e0e0);
  border: 1px dashed #111;
}

.venue-trend__caption {
  margin: 0.7rem auto 0;
  width: min(100%, 28rem);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: var(--color-muted);
}

.venue-trend__tooltip {
  position: absolute;
  z-index: 4;
  max-width: 16rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
  color: #111;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 0.55rem));
}

.venue-trend__copy {
  padding: 0.25rem 0 1rem;
}

.venue-trend__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
}

.venue-trend__text {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
}

@media (min-width: 768px) {
  .venue-trend {
    margin-top: 4.25rem;
  }

  .venue-trend__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: center;
  }

  .venue-trend__chart,
  .venue-trend__legend,
  .venue-trend__caption {
    width: 100%;
    max-width: none;
  }

  .venue-trend__title {
    font-size: 20px;
  }

  .venue-trend__text {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 379px) {
  .venue-trend__title {
    font-size: 16px;
  }

  .venue-trend__text {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .venue-trend,
  .venue-trend.is-inview .venue-trend__seg {
    transition: none;
  }

  .venue-trend.is-pending .venue-trend__seg {
    transform: none;
  }
}

/* —— Closing so-what (The Bridge Is Thin) —— */
.so-what {
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.so-what__credit {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-muted);
}

.so-what__credit a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.so-what__heading {
  margin: 0;
  font-family: var(--font-lexend);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
}

.so-what__body {
  margin: 1.1rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #111;
}

.so-what__body + .so-what__body {
  margin-top: 0.95rem;
}

.so-what__pull {
  margin: 1.35rem 0;
  padding: 0.85rem 0 0.85rem 0.95rem;
  border-left: 2px solid var(--color-accent);
}

.so-what__pull-num {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-accent);
}

.so-what__pull-text {
  margin: 0.4rem 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #333;
}

.so-what__recs {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: sowhat;
}

.so-what__recs li {
  position: relative;
  margin: 0;
  padding: 0.85rem 0 0.85rem 2rem;
  border-top: 1px solid #ececec;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #111;
  counter-increment: sowhat;
}

.so-what__recs li::before {
  content: counter(sowhat);
  position: absolute;
  left: 0;
  top: 0.9rem;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-accent);
}

.so-what__recs li:last-child {
  border-bottom: 1px solid #ececec;
}

.so-what__close {
  margin: 1.5rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #111;
}

@media (min-width: 768px) {
  .so-what {
    margin-top: 4.25rem;
    max-width: none;
  }

  .so-what__heading {
    font-size: 32px;
  }

  .so-what__body,
  .so-what__recs li,
  .so-what__close {
    font-size: 16px;
    line-height: 1.65;
  }

  .so-what__pull-num {
    font-size: 28px;
  }
}

@media (max-width: 379px) {
  .so-what__heading {
    font-size: 24px;
  }

  .so-what__body,
  .so-what__recs li,
  .so-what__close {
    font-size: 14px;
  }
}

.about-team {
  margin-top: 6.75rem;
}

.about-team__heading {
  margin: 0 0 2.75rem;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #111;
}

.about-team__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-team__person {
  width: 8.5rem;
  text-align: center;
}

.about-team__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.about-team__tip {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  transform: translate(-50%, calc(-100% - 12px));
  padding: 0.4rem 0.7rem;
  border-radius: 14px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-lexend);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
}

.about-team__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  transform: translateX(-50%) rotate(45deg);
}

.about-team__tip[hidden] {
  display: none;
}

.about-team__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  transition: transform 0.35s ease;
}

.about-team__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  transition: transform 0.35s ease;
}

.about-team__link:hover .about-team__photo,
.about-team__link:focus-visible .about-team__photo,
.about-team__link:hover .about-team__frame,
.about-team__link:focus-visible .about-team__frame {
  transform: scale(1.06);
}

.about-team__link:hover .about-team__photo--shruthi,
.about-team__link:focus-visible .about-team__photo--shruthi {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .about-team__photo,
  .about-team__frame {
    transition: none;
  }
}

.about-team__photo--carlos {
  object-position: center top;
}

.about-team__photo--shruthi {
  position: absolute;
  width: 169.888%;
  height: 226.517%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: fill;
  border-radius: 0;
  left: -32.584%;
  top: -67.978%;
}

.about-team__name {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #111;
}

.about-team__role {
  margin: 0.15rem 0 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-muted);
}

/* Fair-coin Galton board on the About page. */
.plinko {
  max-width: 100%;
  margin-top: 2.5rem;
}

.plinko__setup {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  color: #111;
}

.plinko__scroller {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.plinko__stage {
  display: flex;
  justify-content: center;
  width: fit-content;
  min-width: 100%;
  margin: 0 auto;
}

.plinko__svg {
  display: block;
  overflow: visible;
}

.plinko__peg {
  fill: #d8d8d8;
}

.plinko__rail,
.plinko__floor {
  stroke: #d0d0d0;
  stroke-width: 1;
}

.plinko__ball {
  fill: var(--color-accent);
}

.plinko__count,
.plinko__percent {
  font-family: var(--font-sans);
  text-anchor: middle;
}

.plinko__count {
  font-size: 10px;
  font-weight: 400;
  fill: #111;
}

.plinko__percent {
  font-size: 9px;
  font-weight: 300;
  fill: var(--color-muted);
}

.plinko__slider {
  width: min(28rem, 100%);
  margin: 1.15rem auto 0;
}

.plinko__range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 1.25rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}

.plinko__range:focus {
  outline: none;
}

.plinko__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(0, 110, 137, 0.25);
}

.plinko__range:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(0, 110, 137, 0.25);
}

.plinko__range::-webkit-slider-runnable-track {
  height: 1px;
  background: #6b6b6b;
  border: none;
  border-radius: 0;
}

.plinko__range::-moz-range-track {
  height: 1px;
  background: #6b6b6b;
  border: none;
  border-radius: 0;
}

.plinko__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #6b6b6b;
  cursor: grab;
}

.plinko__range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #6b6b6b;
  cursor: grab;
}

.plinko__range:active::-webkit-slider-thumb,
.plinko__range:active::-moz-range-thumb {
  cursor: grabbing;
}

.plinko__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #6b6b6b;
}

.plinko__caption {
  margin: 1.35rem auto 0;
  max-width: 34rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  color: var(--color-muted);
}

.plinko__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.35rem;
  margin-top: 1.15rem;
}

.plinko__drop {
  min-height: 2.5rem;
  padding: 0.55rem 1.25rem;
  border: 0;
  border-radius: 4px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.plinko__drop:hover,
.plinko__drop:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

.plinko__drop:focus-visible {
  outline: 2px solid rgba(0, 110, 137, 0.35);
  outline-offset: 3px;
}

.plinko__drop:disabled {
  opacity: 0.45;
  cursor: default;
}

.plinko__reset {
  border: 0;
  background: transparent;
  padding: 0.4rem 0.15rem;
  color: var(--color-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.plinko__reset:hover,
.plinko__reset:focus-visible {
  color: #111;
  outline: none;
}

.plinko__credit {
  margin: 0.9rem 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
  color: var(--color-muted);
}

.tn-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.tn-prose {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: #111;
}

.tn-note {
  margin: 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-muted);
}

.tn-note a {
  color: var(--color-accent);
}

.tn-widget {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #e8e8e8;
  background: #fff;
}

.tn-button {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.tn-button:disabled {
  color: var(--color-muted);
  border-color: #e8e8e8;
  cursor: default;
}

.tn-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.tn-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #111;
}

.tn-counts strong {
  font-weight: 500;
}

.tn-copy-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.tn-copy-list li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.tn-copy-label {
  width: 3.2rem;
  flex: none;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-muted);
}

.tn-strand {
  font-family: ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.tn-base--a { color: var(--color-sage); }
.tn-base--t { color: var(--color-accent); }
.tn-base--c { color: #111; }
.tn-base--g { color: var(--color-muted); }

.tn-base.is-flash {
  background: #111;
  color: #fff;
}

.tn-legend {
  display: flex;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

.tn-gene-track {
  position: relative;
  height: 2.75rem;
  margin-top: 0.5rem;
  background: #e8e8e8;
}

.tn-gene {
  position: absolute;
  top: 0;
  height: 100%;
  border: 0;
  padding: 0;
  background: var(--color-accent);
  cursor: pointer;
}

.tn-gene.is-alt {
  background: var(--color-sage);
}

.tn-gene.is-selected,
.tn-gene-name.is-selected {
  outline: 2px solid #111;
  outline-offset: 1px;
  z-index: 1;
}

.tn-gene-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.tn-gene-name {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #111;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.tn-detail {
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  color: #111;
}

.tn-pos-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.3rem;
}

.tn-pos {
  font-family: var(--font-sans);
  font-size: 12px;
  min-height: 2rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.tn-pos.is-selected {
  border-color: #111;
}

.tn-copy-list li.is-group-0 .tn-strand { background: color-mix(in srgb, var(--color-accent) 18%, #fff); }
.tn-copy-list li.is-group-1 .tn-strand { background: color-mix(in srgb, var(--color-sage) 28%, #fff); }
.tn-copy-list li.is-group-2 .tn-strand { outline: 1px solid #111; }

.tn-pair-tree {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.tn-pair {
  border-top: 1px solid #111;
  padding-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 14px;
}

.tn-pair span {
  display: inline-block;
  margin-right: 0.75rem;
}

.tn-cards {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .tn-cards { grid-template-columns: 1fr 1fr; }
}

.tn-card {
  border: 1px solid #e8e8e8;
  padding: 0.85rem;
}

.tn-card h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
}

.tn-bar {
  position: relative;
  height: 2.75rem;
  margin-top: 0.65rem;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.tn-bar:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.tn-bar.is-dragging { cursor: grabbing; }

.tn-bar-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #9a9a9a;
}

.tn-tick,
.tn-knob,
.tn-point {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tn-tick {
  width: 1px;
  height: 0.9rem;
  background: #111;
}

.tn-knob {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.tn-readout {
  margin: 0.2rem 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
}

.tn-chips {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-family: var(--font-sans);
  font-size: 13px;
}

.tn-chips li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.tn-chip.is-same { color: var(--color-sage); }
.tn-chip:not(.is-same) { color: var(--color-accent); }

.tn-checks {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tn-checks label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
}

.tn-verdict {
  margin: 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  color: #111;
}

.tn-species {
  position: relative;
  height: 4.5rem;
  margin-bottom: 0.25rem;
}

.tn-point {
  top: 0.2rem;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.2;
  max-width: 4.5rem;
  text-align: center;
  color: #111;
}

.tn-tree-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 840px) {
  .tn-tree-layout { grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr); }
}

.tn-sun {
  width: 100%;
}

.tn-sun svg {
  display: block;
  width: 100%;
  height: auto;
}

.tn-arc {
  stroke: #fff;
  stroke-width: 0.5;
  cursor: pointer;
}

.tn-arc.is-recombinant {
  stroke: #111;
  stroke-width: 1.25;
  stroke-dasharray: 3 2;
}

.tn-arc.is-selected {
  stroke: #111;
  stroke-width: 1.5;
}

.tn-center,
.tn-center-label {
  cursor: pointer;
}

.tn-center { fill: #fff; stroke: #111; }
.tn-center-label {
  font-family: var(--font-sans);
  font-size: 11px;
  fill: #111;
  pointer-events: auto;
}

.tn-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.6rem 0 0;
}

.tn-crumbs button {
  font-family: var(--font-sans);
  font-size: 12px;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  padding: 0;
}

.tn-find {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tn-find input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1px solid #e8e8e8;
  padding: 0.4rem 0.55rem;
}

.tn-panel {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: #111;
}

.tn-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 20px;
  font-weight: 500;
}

.tn-panel a { color: var(--color-accent); }

.tn-sources {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}

.tn-sources a { color: var(--color-accent); }

.tn-spike {
  position: relative;
  width: 100%;
  height: 420px;
  background: #fff;
  touch-action: none;
}

.tn-ss-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #111;
}

.tn-ss {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #111;
}

.tn-ss::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: var(--color-muted);
}

.tn-ss--h::before { background: var(--color-accent); }
.tn-ss--s::before { background: var(--color-sage); }
.tn-ss--c::before { background: var(--color-muted); }

.tn-button.is-selected {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.tn-spike-error {
  margin: 0.75rem 0 0;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
  color: #111;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .tn-base.is-flash { background: transparent; color: inherit; }
  .tn-pair-tree { transition: none; }
  .wk-field { transition: none; }
}

.wk-gate {
  --focus: 0;
  --swap: 0;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 175svh;
  margin: 10vh 0 0 calc(50% - 50vw);
}

.wk-gate__pin {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  box-sizing: border-box;
  height: 100dvh;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, var(--focus));
}

.wk-stage {
  width: min(40rem, calc(100vw - 2.5rem));
  opacity: calc(0.4 + var(--focus) * 0.6);
  transform: translateY(calc((1 - var(--focus)) * 28px));
}

.wk-gate .wk-wiki,
.wk-gate .wk-pace {
  opacity: calc(0.4 + var(--focus) * 0.6);
}

.wk-gate.is-done {
  min-height: 520vh;
}

.wk-gate.is-done .wk-fictional {
  opacity: 1;
  transform: translateY(calc(var(--swap) * -100dvh));
}

.wk-gate.is-done .wk-gate__pin {
  padding: 0 max(2.25rem, 6vw);
  align-items: stretch;
  justify-content: stretch;
  background: #fff;
  overflow: hidden;
}

.wk-gate.is-done .wk-gate__slot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wk-gate.is-done .wk-wiki {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(68rem, 100%);
  min-width: 0;
  opacity: 1;
  transform: translate(-50%, calc(-50% - var(--swap) * 100dvh));
  pointer-events: none;
  z-index: 1;
}

.wk-gate.is-done .wk-pace {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  opacity: 1;
  transform: translateY(calc((1 - var(--swap)) * 100%));
  z-index: 2;
}

.wk-gate.is-done .wk-pace__split {
  display: contents;
}

.wk-gate.is-done .wk-pace__scale {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: 2.5rem 2.25rem 2.5rem 2.5rem;
}

.wk-gate.is-done .wk-pace .witness__hint {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding: 0 2.25rem 1.4rem 2.5rem;
}

.wk-pace__note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 0;
  min-height: 0;
  padding: 3rem max(1.75rem, 4vw);
  background: #8a6a3a;
  color: #fff;
  transition: background-color 0.55s ease;
}

.wk-gate.is-done .wk-pace__note {
  grid-column: 2;
  grid-row: 1 / -1;
  height: 100%;
}

.wk-pace.is-you .wk-pace__note {
  background: #006e89;
}

@media (prefers-reduced-motion: reduce) {
  .wk-pace__note,
  .wk-pace__copy,
  .wk-pace__portrait,
  .wk-pace__scale-row,
  .wk-pace__scale-track {
    transition: none;
  }
}

.wk-gate .witness {
  width: min(22rem, calc(100vw - 3rem));
  margin-inline: auto;
}

.wk-gate .witness__field + .witness__field {
  margin-top: 0.55rem;
}

.wk-gate .witness__field.is-fixed {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.wk-gate__slot {
  display: grid;
  width: min(68rem, calc(100vw - 1.5rem));
}

.wk-gate__slot > * {
  grid-area: 1 / 1;
}

.wk-fictional {
  position: absolute;
  top: calc(50% + min(18rem, (100dvh - 7.5rem) / 2) + 0.55rem);
  right: 1.25rem;
  left: 1.25rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--color-muted);
  pointer-events: none;
}

.wk-wiki {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: min(36rem, calc(100dvh - 7.5rem));
  max-height: calc(100dvh - 7.5rem);
  overflow: visible;
  background: #fff;
  border: 1px solid #a2a9b1;
  color: #202122;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.wk-wiki__bar {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: none;
  padding: 0.75rem 1.75rem 1.05rem;
}

.wk-wiki__menu {
  width: 1.1rem;
  height: 0.75rem;
  border-top: 2px solid #202122;
  border-bottom: 2px solid #202122;
  background: linear-gradient(#202122, #202122) center / 100% 2px no-repeat;
}

.wk-wiki__logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  line-height: 1;
}

.wk-wiki__logo img {
  display: block;
  height: 2.05rem;
  width: auto;
}

.wk-wiki__search {
  display: flex;
  flex: none;
  width: 14.5rem;
  min-width: 0;
  margin-left: 0.15rem;
}

.wk-wiki__search input {
  width: 100%;
  min-width: 0;
  height: 1.65rem;
  border: 1px solid #a2a9b1;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  padding: 0 0.45rem 0 1.6rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='5' fill='none' stroke='%2372777d' stroke-width='1.6'/%3E%3Cpath d='M12.4 12.4 16.5 16.5' fill='none' stroke='%2372777d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0.45rem 50% / 0.95rem no-repeat;
  font: inherit;
  font-size: 13px;
  color: #202122;
}

.wk-wiki__search span {
  display: grid;
  place-items: center;
  padding: 0 0.6rem;
  border: 1px solid #a2a9b1;
  border-radius: 0 2px 2px 0;
  background: #f8f9fa;
  font-size: 13px;
  color: #202122;
  white-space: nowrap;
}

.wk-wiki__account {
  display: flex;
  gap: 1.05rem;
  margin: 0 0.15rem 0 auto;
  font-size: 13px;
  color: #36c;
  white-space: nowrap;
}

.wk-wiki__shell {
  display: grid;
  grid-template-columns: 9.25rem minmax(0, 1fr) 10.75rem;
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 1.35rem;
  flex: 1;
  min-height: 0;
  padding: 0 2.15rem 0 1.85rem;
}

.wk-wiki__toc {
  grid-column: 1;
  grid-row: 2;
  padding: 0.45rem 0.15rem 0 0;
  font-size: 13px;
  line-height: 1.3;
}

.wk-wiki__toc-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0 0.55rem;
  border-bottom: 1px solid #eaecf0;
  font-weight: 700;
}

.wk-wiki__toc-head span,
.wk-wiki__toc li {
  font-weight: 400;
  color: #36c;
}

.wk-wiki__toc ul {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.wk-wiki__toc li {
  margin: 0.42rem 0;
}

.wk-wiki__toc .is-current {
  color: #202122;
  font-weight: 700;
}

.wk-wiki__heading-row {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.2rem 0.9rem 0.35rem 0;
  border-bottom: 1px solid #a2a9b1;
}

.wk-wiki__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  color: #000;
}

.wk-wiki__langs {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 0.1rem;
  font-size: 13px;
  color: #36c;
  white-space: nowrap;
}

.wk-wiki__lang-glyph {
  font-size: 13px;
  line-height: 1;
}

.wk-wiki__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.12rem;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  font-size: 0;
  vertical-align: middle;
}

.wk-wiki__body {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding-right: 0.9rem;
}

.wk-wiki__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex: 1;
}

.wk-wiki__tabs {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0;
  border-bottom: 1px solid #a2a9b1;
}

.wk-wiki__namespaces,
.wk-wiki__views {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.wk-wiki__namespaces span,
.wk-wiki__views span {
  margin: 0;
  padding: 0.45rem 0.15rem 0.4rem;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: #202122;
}

.wk-wiki__views span:not(.wk-wiki__more) {
  color: #36c;
}

.wk-wiki__namespaces .is-on,
.wk-wiki__views span.is-on {
  margin-bottom: -1px;
  color: #202122;
  font-weight: 500;
}

.wk-wiki__namespaces .is-on {
  border-bottom: 2px solid #202122;
}

.wk-wiki__more {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  margin: 0 0.1rem 0.2rem;
  padding: 0.2rem 0.15rem !important;
  color: #202122;
}

.wk-wiki__more svg {
  width: 1rem;
  height: 1rem;
  fill: #202122;
}

.wk-wiki__toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.2rem;
  flex: none;
  min-width: 0;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.1rem 0.32rem;
  border-bottom: 1px solid #eaecf0;
  background: #fff;
  overflow-x: auto;
}

.wk-wiki__tool {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 1.75rem;
  flex: none;
  padding: 0 0.32rem;
  border: 0;
  background: transparent;
  color: #202122;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.wk-wiki__tool svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wk-wiki__tool--a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.wk-wiki__tool--omega {
  font-size: 16px;
}

.wk-wiki__publish {
  margin-left: auto;
  padding: 0.2rem 0.4rem;
  border: 1px solid #c8ccd1;
  border-radius: 2px;
  background: #f8f9fa;
  color: #72777d;
  font-size: 13px;
  white-space: nowrap;
}

.wk-wiki__appearance {
  grid-column: 3;
  grid-row: 2;
  padding: 0.45rem 0 0.6rem 0.15rem;
  border-left: 0;
  font-size: 12px;
  color: #202122;
}

.wk-wiki__appearance-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0;
  padding: 0 0 0.55rem;
  border-bottom: 1px solid #eaecf0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.wk-wiki__appearance-head span {
  font-weight: 400;
  color: #36c;
}

.wk-wiki__appearance-label {
  margin: 0.7rem 0 0;
  padding: 0.65rem 0 0.25rem;
  border-top: 1px solid #eaecf0;
  font-size: 12px;
  font-weight: 700;
}

.wk-wiki__appearance-head + .wk-wiki__appearance-label {
  margin-top: 0;
  padding-top: 0.6rem;
  border-top: 0;
}

.wk-wiki__appearance label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0;
  font-size: 12px;
  font-weight: 400;
}

.wk-wiki__appearance input {
  appearance: none;
  width: 0.8rem;
  height: 0.8rem;
  margin: 0;
  border: 1px solid #72777d;
  border-radius: 50%;
  background: #fff;
}

.wk-wiki__appearance input:checked {
  border: 2px solid #36c;
  background: radial-gradient(circle, #36c 0 2.5px, #fff 3px);
}

.wk-wiki__page {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.15rem 0 0.8rem;
}

.wk-wiki .is-marked {
  text-decoration: underline;
  text-decoration-color: #d73333;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.wk-wiki .is-hinted {
  padding: 0 0.12em;
  border-radius: 2px;
  background: #abeeff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.wk-wiki__from,
.wk-wiki__stay {
  margin: 0;
  font-size: 12px;
  color: #54595d;
}

.wk-wiki__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  font-size: 12px;
  color: #54595d;
}

.wk-wiki__meta-icon {
  width: 0.85rem;
  height: 0.7rem;
  flex: none;
  border: 1px solid #a2a9b1;
  background:
    linear-gradient(#a2a9b1, #a2a9b1) 15% 30% / 70% 1px no-repeat,
    linear-gradient(#a2a9b1, #a2a9b1) 15% 55% / 70% 1px no-repeat,
    linear-gradient(#a2a9b1, #a2a9b1) 15% 78% / 45% 1px no-repeat;
}

.wk-wiki__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13.5rem;
  gap: 1.85rem;
  align-items: start;
  margin-top: 0.45rem;
}

.wk-wiki__article {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.wk-wiki__boxcard {
  grid-column: 2;
  grid-row: 1;
}

.wk-wiki__link {
  color: #36c;
}

.wk-wiki__article sup {
  color: #36c;
  font-size: 0.75em;
}

.wk-wiki__article {
  font-size: 13.5px;
  line-height: 1.5;
}

.wk-wiki__article p {
  margin: 0 0 0.55rem;
}

.wk-wiki__article h3 {
  margin: 1.05rem 0 0.4rem;
  padding-bottom: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  border-bottom: 1px solid #a2a9b1;
}

.wk-wiki__article[contenteditable="true"] {
  outline: none;
  cursor: text;
  caret-color: #202122;
}

.wk-wiki__article[contenteditable="true"]:focus {
  outline: none;
}

.wk-wiki__notes {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

.wk-prompt {
  position: absolute;
  top: 0;
  left: 0;
  width: 9.25rem;
  padding: 0.35rem 0.45rem 0.4rem;
  border-radius: 3px;
  background: rgba(13, 110, 132, 0.9);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.wk-prompt[hidden],
.wk-wiki__notes .wk-prompt[hidden] {
  display: none;
}

.wk-wiki__notes .wk-prompt {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: min(22rem, calc(100% - 1.5rem));
  padding: 0.7rem 0.75rem 0.65rem;
  font-size: 13px;
  line-height: 1.4;
}

.wk-prompt__body {
  margin: 0;
}

.wk-prompt__arrow {
  display: inline-grid;
  place-items: center;
  align-self: flex-end;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.15rem;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}

.wk-prompt__arrow::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-left: -1px;
  border-right: 1.75px solid #fff;
  border-bottom: 1.75px solid #fff;
  transform: rotate(-45deg);
}

.wk-prompt__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.wk-prompt__title {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.wk-wiki .wk-wiki__boxcard {
  float: none;
  width: auto;
  margin: 0;
  border: 1px solid #a2a9b1;
  padding: 0.4rem 0.45rem 0.3rem;
  background: #f8f9fa;
  box-shadow: none;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  color: #202122;
}

.wk-wiki__photo {
  display: block;
  width: 100%;
  height: 12.25rem;
  object-fit: cover;
  object-position: center 42%;
  margin: 0.15rem 0 0.2rem;
}

.wk-wiki__caption {
  margin: 0 0 0.45rem;
  font-size: 12px;
  line-height: 1.3;
  color: #202122;
}

.wk-wiki__boxcard .wk-infobox-title {
  margin: 0.1rem 0 0.35rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.wk-wiki .wk-wiki__boxcard div {
  display: grid;
  grid-template-columns: 5.15rem minmax(0, 1fr);
  justify-content: stretch;
  gap: 0.55rem;
  margin: 0;
  padding: 0.34rem 0.02rem;
  border-top: 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}

.wk-wiki .wk-wiki__boxcard dt {
  font-weight: 700;
  color: #202122;
}

.wk-wiki .wk-wiki__boxcard dd {
  margin: 0;
  color: #202122;
  text-align: left;
}

.wk-wiki__stay {
  margin-top: 0.4rem;
}

@media (max-width: 980px) {
  .wk-wiki__toc {
    display: none;
  }

  .wk-wiki__shell {
    grid-template-columns: minmax(0, 1fr) 8.25rem;
    column-gap: 0.85rem;
    padding-left: 0.85rem;
    padding-right: 1rem;
  }

  .wk-wiki__heading-row,
  .wk-wiki__body {
    grid-column: 1;
  }

  .wk-wiki__appearance {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .wk-wiki__search,
  .wk-wiki__account,
  .wk-wiki__langs,
  .wk-wiki__appearance,
  .wk-wiki__toc {
    display: none;
  }

  .wk-wiki__shell {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .wk-wiki__bar {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .wk-wiki__heading-row,
  .wk-wiki__body {
    grid-column: 1;
  }

  .wk-wiki__layout {
    grid-template-columns: 1fr;
  }

  .wk-wiki__article,
  .wk-wiki__boxcard {
    grid-column: 1;
    width: auto;
    margin: 0 0 0.85rem;
  }

  .wk-wiki__boxcard {
    grid-row: 1;
  }

  .wk-wiki__article {
    grid-row: 2;
    margin: 0;
  }

  .wk-wiki__title {
    font-size: 1.3rem;
  }

  .wk-wiki__photo {
    height: 10rem;
  }

  .wk-wiki__heading-row,
  .wk-wiki__tabs,
  .wk-wiki__page {
    margin-left: 0.65rem;
    margin-right: 0.65rem;
  }

  .wk-wiki__page {
    margin: 0;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .wk-wiki__toolbar {
    margin-left: 0.35rem;
    margin-right: 0.35rem;
  }

}

.home-wiki-fit .wk-wiki__account,
.home-wiki-fit .wk-wiki__langs {
  display: block;
}

.home-wiki-fit .wk-wiki__toc,
.home-wiki-fit .wk-wiki__appearance {
  display: none;
}

.home-wiki-fit .wk-wiki__shell {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0;
  height: auto;
  padding: 0 1.15rem 0 1.25rem;
}

.home-wiki-fit .wk-wiki__heading-row,
.home-wiki-fit .wk-wiki__body {
  grid-column: 1;
  grid-row: auto;
}

.home-wiki-fit .wk-wiki__layout {
  grid-template-columns: minmax(0, 1fr) 24rem;
}

.home-wiki-fit .wk-wiki__article {
  grid-column: 1;
  grid-row: 1;
}

.home-wiki-fit .wk-wiki__boxcard {
  grid-column: 2;
  grid-row: 1;
  font-size: 19px;
}

.home-wiki-fit .wk-wiki__photo {
  height: 21rem;
}

.home-wiki-fit .wk-wiki__caption {
  font-size: 17px;
}

.home-wiki-fit .wk-infobox-title,
.home-wiki-fit .wk-wiki__boxcard .wk-infobox-title {
  font-size: 26px;
}

.home-wiki-fit .wk-wiki__title {
  font-size: 2.7rem;
}

.wk-mock-layout {
  display: grid;
  grid-template-columns: 1fr 11rem;
  gap: 1.25rem;
  align-items: start;
}

.wk-mock-title {
  margin: 0;
  font-family: var(--font-lora);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  color: #111;
}

.wk-mock-body {
  margin: 1rem 0 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: #111;
}

.wk-infobox {
  border: 1px solid #e8e8e8;
  padding: 0.75rem;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.wk-infobox-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.wk-infobox dl {
  margin: 0;
}

.wk-infobox div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.3rem 0 0;
  font-family: var(--font-sans);
  font-size: 13px;
}

.wk-infobox dt {
  color: var(--color-muted);
}

.wk-infobox dd {
  margin: 0;
  color: #111;
}

.wk-pace {
  align-self: center;
  width: 100%;
  max-width: none;
  font-family: var(--font-lexend);
}

.wk-pace[hidden] {
  display: none;
}

.wk-pace__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: 2.5rem;
  align-items: start;
}

.wk-pace__scale {
  display: grid;
  gap: 0;
  min-width: 0;
}

.wk-pace__scale-title {
  margin: 0 0 0.15rem;
  font-family: var(--font-lexend);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.wk-pace__scale-row {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr) 6.5rem;
  gap: 0.55rem;
  align-items: center;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, margin-top 0.5s ease, opacity 0.45s ease;
}

.wk-pace__scale-row.is-shown {
  max-height: 3.4rem;
  margin-top: 0.7rem;
  opacity: 0.45;
}

.wk-pace__scale-row.is-focus {
  opacity: 1;
}

.wk-pace__scale-label,
.wk-pace__scale-meta {
  font-family: var(--font-lexend);
  font-size: 11px;
  font-weight: 500;
  color: #333;
}

.wk-pace__scale-meta {
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #555;
}

.wk-pace__scale-track {
  position: relative;
  height: 1.7rem;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.05);
  transition: height 0.3s ease;
}

.wk-pace__scale-row.is-focus .wk-pace__scale-track {
  height: 2.15rem;
}

.wk-pace__tick {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  border-radius: 1px;
  background: #1f1f1f;
  transform: translateX(-50%);
}

.wk-pace__scale-row[data-scale-row="you"] .wk-pace__burst {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0;
  border-radius: 2px;
  background: var(--color-accent);
}

.wk-pace__scale-row[data-scale-row="before"] .wk-pace__burst--era {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0;
  border-radius: 2px;
  background: #8a6a3a;
}

.wk-pace__scale-row[data-scale-row="after"] .wk-pace__tick {
  background: #8a6a3a;
}

.wk-pace__scale-row[data-scale-row="active"] .wk-pace__tick {
  background: #0d6e84;
}

.wk-pace__scale-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.1rem;
  padding-left: calc(6.6rem + 0.55rem);
  padding-right: calc(6.5rem + 0.55rem);
  font-family: var(--font-lexend);
  font-size: 10px;
  color: var(--color-muted);
}

.wk-pace__portrait {
  margin: 0;
  width: clamp(8.5rem, 38%, 14.5rem);
  flex: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.wk-pace__portrait.is-on {
  opacity: 1;
  transform: none;
}

.wk-pace__portrait[hidden] {
  display: none;
}

.wk-pace__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 2px;
}

.wk-pace__person {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.wk-pace__person[hidden] {
  display: none;
}

.wk-pace__stat {
  margin: 0;
  min-width: 0;
}

.wk-pace__stat-value {
  display: block;
  font-family: var(--font-lexend);
  font-size: clamp(2.15rem, 3vw, 3.1rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.wk-pace__stat-label {
  display: block;
  max-width: 8.5rem;
  margin-top: 0.45rem;
  font-family: var(--font-lexend);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.wk-pace__portrait figcaption {
  margin: 0.45rem 0 0;
  font-family: var(--font-lexend);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
}

.wk-pace__copy {
  min-width: 0;
  max-width: 30rem;
  padding-top: 0.15rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.wk-pace__note.is-out .wk-pace__copy,
.wk-pace__note.is-out .wk-pace__person {
  opacity: 0;
  transform: translateY(12px);
}

.wk-pace__kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-lexend);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.wk-pace__text {
  margin: 0;
  max-width: none;
  font-family: var(--font-lexend);
  font-size: clamp(1.05rem, 1.25vw, 1.4rem);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.wk-pace .witness__hint {
  margin-top: 1.1rem;
  font-family: var(--font-lexend);
}

@media (max-width: 720px) {
  .wk-gate.is-done .wk-pace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 100%;
  }

  .wk-gate.is-done .wk-pace__note {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    min-height: 16rem;
  }

  .wk-gate.is-done .wk-pace .witness__hint {
    grid-row: 3;
  }

  .wk-pace__split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .wk-pace__portrait {
    width: clamp(7rem, 40%, 10rem);
  }

  .wk-pace__text {
    font-size: 1.1rem;
  }

  .wk-pace__scale-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label meta"
      "track track";
    gap: 0.2rem 0.45rem;
  }

  .wk-pace__scale-label {
    grid-area: label;
  }

  .wk-pace__scale-meta {
    grid-area: meta;
  }

  .wk-pace__scale-track {
    grid-area: track;
  }

  .wk-pace__scale-axis {
    padding-left: 0;
    padding-right: 0;
  }
}

.wk-toggle {
  margin-top: 0.35rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #111;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #111;
  cursor: pointer;
}

.wk-runway {
  height: 170vh;
  margin-top: 2.5rem;
}

.wk-sticky {
  position: sticky;
  top: max(5.5rem, calc(29vh - 3.5rem));
}

.wk-caption,
.wk-count,
.wk-list-note,
.wk-detail,
.wk-formula p {
  margin: 0.6rem 0 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: #111;
}

.wk-field {
  display: block;
  width: 100%;
  height: 42vh;
  min-height: 200px;
  max-height: 420px;
  margin-top: 0.8rem;
}

.wk-beat {
  margin-top: 3.5rem;
}

.wk-beat h2 {
  margin: 0;
  font-family: var(--font-lora);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
}

.wk-quote {
  margin: 1.25rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--color-accent);
}

.wk-quote p {
  margin: 0;
  font-family: var(--font-lora);
  font-size: 20px;
  line-height: 1.4;
  color: #111;
}

.wk-quote footer {
  margin-top: 0.45rem;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
}

.wk-rank-run {
  height: 220vh;
  margin-top: 1.25rem;
}

.wk-rank {
  position: sticky;
  top: max(5.5rem, calc(50vh - 16.5rem));
}

.wk-rank__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #111;
}

.wk-rank__key {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.wk-rank__key--bot {
  opacity: var(--bot, 0);
}

.wk-rank__swatch {
  display: block;
  width: 0.85rem;
  height: 0.45rem;
  background: var(--color-accent);
}

.wk-rank__swatch[data-kind="bot"] {
  background: #8a6a3a;
}

.wk-rank__chart {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: min(28rem, calc(100dvh - 18rem));
  overflow: visible;
  border-bottom: 1px solid #e0e0e0;
}

.wk-rank__col {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 10%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 10%;
  max-width: 5.4rem;
  min-width: 0;
  align-self: stretch;
  height: auto;
  margin: 0;
  padding: 0 0.08rem;
  border: 0;
  background: transparent;
  color: #111;
  font-family: var(--font-sans);
  cursor: pointer;
}

.wk-rank__col[data-kind="bot"] {
  flex-basis: calc(10% * var(--bot, 0));
  width: calc(10% * var(--bot, 0));
  max-width: calc(5.4rem * var(--bot, 0));
  padding-left: calc(0.08rem * var(--bot, 0));
  padding-right: calc(0.08rem * var(--bot, 0));
  overflow: hidden;
  pointer-events: none;
}

.wk-rank.is-bots .wk-rank__col[data-kind="bot"] {
  pointer-events: auto;
}

.wk-rank__col:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.wk-rank__plot {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.wk-rank__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 78%;
  height: var(--h);
}

.wk-rank__col[data-kind="bot"] .wk-rank__bar {
  height: calc(var(--h) * var(--bot, 0));
}

.wk-rank__fill {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 2px;
  background: var(--color-accent);
}

.wk-rank__col[data-kind="bot"] .wk-rank__fill {
  background: #8a6a3a;
}

.wk-rank__label {
  display: flex;
  flex: 0 0 3.2rem;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 3.2rem;
  margin-top: 0.28rem;
}

.wk-rank__num {
  flex: 0 0 auto;
  margin-top: 0.05rem;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.wk-rank__name {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}

.wk-rank .wk-tip {
  position: absolute;
  z-index: 4;
  width: min(13.25rem, calc(100% - 1rem));
  max-width: none;
  margin: 0;
  padding: 0.45rem 0.55rem 0.4rem;
  border: 0;
  border-radius: 3px;
  background: rgba(13, 110, 132, 0.9);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: left 0.07s linear, top 0.07s linear;
}

.wk-rank .wk-tip strong,
.wk-rank .wk-tip span {
  display: block;
  color: #fff;
}

.wk-rank .wk-tip strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.wk-rank .wk-tip span + span {
  margin-top: 0.35rem;
  font-weight: 400;
}

.wk-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.wk-lists h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.wk-lists ol,
.wk-lists ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.wk-lists li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.35;
  color: #111;
}

.wk-lists small {
  grid-column: 1 / -1;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
}

.wk-callout {
  margin: 1rem 0 0;
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 1.1;
  color: var(--color-accent);
}

.wk-chart-wrap {
  position: relative;
  margin-top: 1rem;
}

.wk-cat {
  display: grid;
  grid-template-columns: minmax(0, 9.2rem) 1fr minmax(4.6rem, auto);
  gap: 0.45rem;
  align-items: center;
  margin: 0.28rem 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #111;
}

.wk-cat-track {
  display: block;
  height: 10px;
  background: #e8e8e8;
}

.wk-cat-fill {
  display: block;
  height: 100%;
  background: var(--color-accent);
}

.wk-cat-num {
  text-align: right;
}

.wk-cat-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.wk-formula {
  margin-top: 0.9rem;
  padding: 0.75rem;
  background: #f7f7f7;
}

.wk-map-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.wk-map-bar p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #111;
}

.wk-map-wrap {
  position: relative;
  margin-top: 0.75rem;
}

.wk-map {
  display: block;
  width: 100%;
  height: auto;
}

.wk-map circle {
  cursor: pointer;
  stroke: #fff;
  stroke-width: 1.5;
}

.wk-tip {
  position: absolute;
  z-index: 3;
  width: max-content;
  max-width: min(16rem, calc(100% - 16px));
  margin: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid #e0e0e0;
  border-radius: 1.4rem;
  background: #fff;
  color: #111;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.wk-method {
  margin: 1rem 0 0;
  padding: 0 0 0 1.1rem;
}

.wk-method li {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: #111;
}

.wk-method a {
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .wk-rank-run {
    height: auto;
  }

  .wk-rank {
    position: static;
  }

  .wk-rank__key--bot {
    opacity: 1;
  }

  .wk-rank__col[data-kind="bot"] {
    overflow: visible;
    pointer-events: auto;
  }

  .wk-rank__col[data-kind="bot"] .wk-rank__bar {
    height: var(--h);
  }
}

@media (max-width: 680px) {
  .wk-mock-layout,
  .wk-lists {
    grid-template-columns: 1fr;
  }

  .wk-rank__chart {
    height: min(22rem, calc(100dvh - 16rem));
  }

  .wk-rank__num {
    display: none;
  }

  .wk-rank__label {
    flex-basis: 2.5rem;
    height: 2.5rem;
  }

  .wk-rank__name {
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .wk-cat {
    grid-template-columns: minmax(0, 6.6rem) 1fr minmax(3.4rem, auto);
    font-size: 12px;
  }

  .wk-mock-title {
    font-size: 28px;
  }

  .wk-callout {
    font-size: 22px;
  }
}

