/* ==========================================================================
   GenderLens — page modules
   Home, study rail, concept entries, scenarios, laws, inclusion, quiz,
   action, about, and the shared interactive patterns.
   ========================================================================== */

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: calc(100svh - 68px);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem)
    clamp(2rem, 4vw, 3.5rem) max(var(--gutter), calc((100vw - 84rem) / 2 + var(--gutter)));
}
.hero h1 {
  font-size: clamp(2.7rem, 0.9rem + 4.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 15ch;
}
.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--indigo);
  font-weight: 300;
}
.hero__lede {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 38ch;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: auto;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  color: var(--muted);
  font-size: 0.8125rem;
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__meta svg {
  width: 14px;
  height: 14px;
}
.hero__figure {
  position: relative;
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  background: var(--paper-3);
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.92) contrast(1.02);
}
.hero__lens {
  position: absolute;
  inset: auto 8% 7% auto;
  width: clamp(120px, 18vw, 230px);
  height: clamp(120px, 18vw, 230px);
  color: rgba(255, 255, 255, 0.78);
  pointer-events: none;
}
.hero__caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero__ticker {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.hero__ticker-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  padding-block: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.hero__ticker a {
  color: var(--ink);
  text-decoration: none;
}
.hero__ticker a:hover {
  color: var(--indigo);
}

/* The statement moment */
.statement {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.statement .wrap {
  position: relative;
  z-index: 1;
}
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.statement h2 {
  font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.statement h2 em {
  font-style: italic;
  color: #cfc8ff;
}
.statement .prose {
  color: rgba(247, 242, 233, 0.82);
  font-size: var(--step-1);
  max-width: 44ch;
}
.statement .prose strong {
  color: var(--paper);
}
[data-theme="dark"] .statement {
  background: var(--paper-2);
  color: var(--ink);
}
[data-theme="dark"] .statement h2 em {
  color: var(--indigo);
}
[data-theme="dark"] .statement .prose {
  color: var(--ink-2);
}
[data-theme="dark"] .statement .prose strong {
  color: var(--ink);
}
.statement__figure {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.statement__figure img {
  filter: saturate(0.85);
}
.statement__ring {
  position: absolute;
  inset: -12% -12% auto auto;
  width: 62%;
  color: rgba(207, 200, 255, 0.35);
  pointer-events: none;
}

/* Curriculum path list */
.path {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.path li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.path__link {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.25fr) auto 24px;
  align-items: baseline;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding: clamp(1.1rem, 2.2vw, 1.7rem) 0.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 200ms var(--ease), padding 200ms var(--ease);
}
.path__link:hover {
  background: var(--paper-2);
  padding-inline: 1rem 0.85rem;
}
.path__link svg {
  width: 20px;
  height: 20px;
  align-self: center;
  transition: transform 220ms var(--ease);
}
.path__link:hover svg {
  transform: translateX(4px);
}
.path__num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.path__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.path__desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.path__tag {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.path__tag .done {
  color: var(--ok);
  font-weight: 600;
}

/* Featured ideas */
.features {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.feature + .feature {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.feature h3 {
  font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.25rem);
  margin-bottom: 0.75rem;
  max-width: 26ch;
}
.feature p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
}
.feature .text-link {
  margin-top: 1rem;
}

/* Equality / equity diagram */
.diagram-eq {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(1rem, 2vw, 1.5rem);
}
.diagram-eq__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.diagram-eq__head .label {
  margin: 0;
}
.eq-key {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: var(--muted);
}
.eq-key i {
  width: 12px;
  height: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  display: inline-block;
}
.diagram-eq__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.eq-panel {
  margin: 0;
}
.eq-panel__stage {
  position: relative;
  height: 138px;
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 14%;
  padding: 0 9%;
  background: var(--paper-2);
}
.eq-panel__bar {
  position: relative;
  width: 30%;
  height: var(--h, 60%);
  background: var(--indigo);
  border-radius: 2px 2px 0 0;
}
.eq-panel__bar::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--indigo);
}
.eq-panel__bar--b {
  background: var(--ink-2);
}
.eq-panel__bar--b::after {
  background: var(--ink-2);
}
.eq-panel--equity .eq-panel__bar--b {
  bottom: var(--lift, 17%);
}
.eq-panel__support {
  position: absolute;
  bottom: 0;
  width: 30%;
  height: var(--lift, 17%);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-bottom: 0;
}
.eq-panel__stage .eq-panel__support {
  left: 61%;
}
.eq-panel__barrier {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 72%;
  border-top: 1.5px dashed var(--gold);
}
.eq-panel__barrier::after {
  content: "barrier";
  position: absolute;
  right: 3px;
  top: 2px;
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.eq-panel--liberation .eq-panel__barrier {
  display: none;
}
.eq-panel figcaption {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 0.55rem;
}
.eq-panel figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Scenario taster */
.taster {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.taster__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.taster__copy h2 {
  font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.6rem);
  max-width: 17ch;
}
.taster__copy p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 1rem;
  max-width: 40ch;
}
.taster__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.chat {
  padding: 0.75rem 0.75rem 0;
}
.chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}
.chat__head strong {
  color: var(--ink);
  font-weight: 600;
}
.chat__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.9rem 0.5rem;
}
.bubble {
  max-width: 85%;
  padding: 0.6rem 0.8rem;
  border-radius: 12px 12px 12px 3px;
  background: var(--paper-2);
  font-size: 0.875rem;
  line-height: 1.45;
}
.bubble--you {
  align-self: flex-end;
  border-radius: 12px 12px 3px 12px;
  background: var(--indigo);
  color: var(--indigo-ink);
}
.bubble__who {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.bubble--you .bubble__who {
  color: rgba(251, 247, 240, 0.7);
}
.taster__choices {
  padding: 0 0.75rem 0.9rem;
}
.taster__choices p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.choice-list {
  display: grid;
  gap: 0.4rem;
}
.choice {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.45;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.choice:hover {
  background: var(--paper-2);
  border-color: var(--line-strong);
}
.choice__key {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 600;
}
.taster__feedback {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.55;
  background: var(--paper-2);
}
.taster__feedback strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* Progress strip */
.progress-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: var(--surface);
}
.progress-panel h2 {
  font-size: var(--step-2);
  margin-bottom: 0.35rem;
}
.progress-panel p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.meter {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 0.9rem;
  max-width: 24rem;
}
.meter span {
  height: 5px;
  flex: 1;
  background: var(--paper-3);
  border-radius: 1px;
}
.meter span.is-done {
  background: var(--indigo);
}

/* ==========================================================================
   Understanding gender
   ========================================================================== */
.study {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: var(--space-5) var(--space-6);
  align-items: start;
}
.study__rail {
  position: sticky;
  top: 96px;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}
.study__rail .label {
  margin-bottom: 0.75rem;
}
.study__rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: idea;
}
.study__rail li {
  margin: 0;
  counter-increment: idea;
}
.study__rail a {
  display: flex;
  gap: 0.55rem;
  padding: 0.32rem 0;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.study__rail a::before {
  content: counter(idea, decimal-leading-zero);
  font-size: 0.6875rem;
  color: var(--muted);
  padding-top: 0.16em;
  font-variant-numeric: tabular-nums;
}
.study__rail a:hover,
.study__rail a.is-active {
  color: var(--indigo);
  border-bottom-color: var(--line);
}
.study__rail a.is-done::after {
  content: "✓";
  margin-left: auto;
  color: var(--ok);
  font-size: 0.75rem;
}
.rail-progress {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}
.rail-progress strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.concept {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.concept:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.concept__head {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 1.1rem;
}
.concept__num {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.concept h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  max-width: 24ch;
}
.concept__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
  padding-left: 3.25rem;
}
.concept__block dt {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.concept__block dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.concept__block--wide {
  grid-column: 1 / -1;
}
.concept__block--wide dd {
  font-size: 1.15rem;
  color: var(--ink);
}
.concept__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.4rem;
  padding-left: 3.25rem;
}
.reflect {
  flex: 1 1 20rem;
  border-left: 1px solid var(--indigo);
  padding-left: 1rem;
}
.reflect .label {
  color: var(--indigo);
  margin-bottom: 0.3rem;
}
.reflect p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--ink-2);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.mark svg {
  width: 15px;
  height: 15px;
}
.mark:hover {
  background: var(--paper-2);
  border-color: var(--ink);
}
.mark[aria-pressed="true"] {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}
.mark[aria-pressed="true"] .mark__off {
  display: none;
}
.mark[aria-pressed="false"] .mark__on {
  display: none;
}
.more {
  margin-top: 1rem;
  margin-left: 3.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.more summary {
  cursor: pointer;
  padding: 0.7rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--muted);
}
.more[open] summary::after {
  content: "−";
}
.more p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
  padding-bottom: 0.9rem;
  max-width: 60ch;
}

.concept-diagram {
  margin: 1.25rem 0 0 3.25rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  background: var(--surface);
}
.concept-diagram__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.split-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.split-compare > div {
  padding: 1rem;
  background: var(--paper-2);
}
.split-compare .split-compare__title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.split-compare p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.sogiesc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.sogiesc div {
  border-top: 2px solid var(--indigo);
  padding-top: 0.6rem;
}
.sogiesc strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--indigo);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.sogiesc span {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

.reflection-panel {
  margin-top: var(--space-5);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.reflection-panel h2 {
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
}
.reflection-panel p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 60ch;
}
.reflection-panel textarea {
  width: 100%;
  min-height: 9rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.6;
  resize: vertical;
}
.reflection-panel textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.reflection-panel__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.save-note {
  font-size: 0.8125rem;
  color: var(--ok);
  min-height: 1.2em;
}

/* ==========================================================================
   Scenarios
   ========================================================================== */
.case-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}
.case-index li {
  margin: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-index button {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink);
  transition: background-color 180ms var(--ease);
}
.case-index button:hover {
  background: var(--paper-2);
}
.case-index button[aria-pressed="true"] {
  background: var(--indigo);
  color: var(--indigo-ink);
}
.case-index .ci-num {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.case-index button[aria-pressed="true"] .ci-num {
  color: rgba(251, 247, 240, 0.75);
}
.case-index .ci-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}
.case-index .ci-done {
  color: var(--ok);
  font-weight: 600;
}
.case-index button[aria-pressed="true"] .ci-done {
  color: #b9e6c8;
}

.case {
  margin-top: clamp(2rem, 4vw, 3rem);
  scroll-margin-top: 5.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
.case__head {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}
.case__meta span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.case h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3.1rem);
  max-width: 24ch;
}
.case__setup {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 62ch;
  margin-top: 1rem;
}
.case__setup p + p {
  margin-top: 0.7em;
}
.case__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}
.case__choices {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-right: 1px solid var(--line);
}
.case__choices legend {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  margin-bottom: 0.9rem;
}
.case__choices fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.option {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.65rem;
  width: 100%;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.option:hover {
  background: var(--paper-2);
  border-color: var(--line-strong);
}
.option__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 600;
}
.option[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--paper-2);
}
.option[aria-pressed="true"] .option__key {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.option[disabled] {
  cursor: default;
}
.option[disabled]:not([aria-pressed="true"]) {
  opacity: 0.72;
}
.case__response {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
}
.case__placeholder {
  margin: auto;
  max-width: 30ch;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
}
.case__placeholder svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.75rem;
  color: var(--line-strong);
}
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.6rem 0.3rem 0.4rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 0.85rem;
}
.verdict svg {
  width: 16px;
  height: 16px;
}
.verdict--strong {
  background: var(--ok-bg);
  color: var(--ok);
}
.verdict--partial {
  background: var(--gold-soft);
  color: var(--gold);
}
.verdict--harm {
  background: var(--bad-bg);
  color: var(--bad);
}
.outcome h3 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  margin-bottom: 0.6rem;
}
.outcome p {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.outcome__effects {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.outcome__effects li {
  margin: 0;
  padding: 0.5rem 0 0.5rem 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  position: relative;
}
.outcome__effects li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--muted);
}
.learn-box {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.learn-box .label {
  color: var(--indigo);
  margin-bottom: 0.35rem;
}
.learn-box p {
  font-size: 0.9rem;
  line-height: 1.6;
}
.law-note {
  margin-top: 0.9rem;
  padding: 0.8rem 0.9rem;
  background: var(--paper-2);
  border-left: 1px solid var(--line-strong);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.law-note strong {
  color: var(--ink);
}
.takeaway {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--indigo);
}
.outcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.case__foot {
  padding: 1rem clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ==========================================================================
   Know your rights
   ========================================================================== */
.law-list {
  border-top: 1px solid var(--ink);
}
.law {
  border-bottom: 1px solid var(--line);
}
.law summary {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto 1.5rem;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 0.2rem;
  cursor: pointer;
  list-style: none;
}
.law summary::-webkit-details-marker {
  display: none;
}
.law summary:hover {
  background: var(--paper-2);
}
.law__no {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.law__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
  line-height: 1.25;
}
.law__year {
  font-size: 0.8125rem;
  color: var(--muted);
}
.law summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--muted);
  justify-self: end;
}
.law[open] summary::after {
  content: "−";
}
.law[open] summary {
  background: var(--paper-2);
}
.law__body {
  padding: 0.5rem 0.2rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.law__main dt,
.law__aside dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.1rem;
}
.law__main dt:first-child,
.law__aside dt:first-child {
  margin-top: 0;
}
.law__main dd,
.law__aside dd {
  margin: 0.35rem 0 0;
}
.law__main dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.law__main ul,
.law__aside ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.law__aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 2vw, 1.5rem);
}
.law__aside dd {
  font-size: 0.9rem;
  line-height: 1.55;
}
.misconception {
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--gold-soft);
  font-size: 0.875rem;
  line-height: 1.55;
}
.misconception strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.law__link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
}
.law__link svg {
  width: 15px;
  height: 15px;
}

.law-activity {
  margin-top: var(--space-6);
  border-top: 1px solid var(--ink);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.law-activity h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
  max-width: 20ch;
}
.law-activity > p {
  max-width: 58ch;
  margin-top: 0.75rem;
  color: var(--ink-2);
}
.law-q {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.law-q__head {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.law-q__num {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.law-q h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 400;
  max-width: 52ch;
}
.law-q__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.law-q__opts button {
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.law-q__opts button:hover {
  background: var(--paper-2);
  border-color: var(--ink);
}
.law-q__opts button.is-correct {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
  font-weight: 600;
}
.law-q__opts button.is-wrong {
  background: var(--bad-bg);
  border-color: var(--bad);
  color: var(--bad);
}
.law-q__opts button[disabled] {
  cursor: default;
}
.law-q__feedback {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--paper-2);
  border-left: 2px solid var(--line-strong);
  font-size: 0.9rem;
  line-height: 1.6;
}
.law-q__feedback.is-correct {
  border-left-color: var(--ok);
}
.law-q__feedback.is-wrong {
  border-left-color: var(--bad);
}
.law-q__feedback strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   Equality and inclusion
   ========================================================================== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.topic {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}
.topic--wide {
  grid-column: span 7;
}
.topic--narrow {
  grid-column: span 5;
}
.topic--half {
  grid-column: span 6;
}
.topic--full {
  grid-column: span 12;
}
.topic h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  margin-bottom: 0.7rem;
  max-width: 24ch;
}
.topic p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 58ch;
}
.topic p + p {
  margin-top: 0.7em;
}
.topic ul {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.topic__note {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.topic__photo {
  margin-top: 1.25rem;
  aspect-ratio: 16 / 10;
}
.stat-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.ds-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: ds;
}
.ds-list li {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 2px solid var(--indigo);
  counter-increment: ds;
}
.ds-list li::before {
  content: counter(ds) ".";
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.ds-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.ds-list span {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* Myth or fact */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.myth {
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.2vw, 1.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  min-height: 15rem;
}
.myth__count {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.myth__claim {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.myth__claim::before {
  content: "“";
  color: var(--line-strong);
}
.myth__claim::after {
  content: "”";
  color: var(--line-strong);
}
.myth__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}
.myth__actions button {
  flex: 1;
  min-height: 44px;
  padding: 0.45rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}
.myth__actions button:hover {
  background: var(--paper-2);
  border-color: var(--ink);
}
.myth__actions button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.myth__reveal {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.6;
}
.myth__reveal strong {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.myth__reveal strong svg {
  width: 15px;
  height: 15px;
}
.myth__reveal.is-myth strong {
  color: var(--bad);
}
.myth__reveal.is-fact strong {
  color: var(--ok);
}
.myth__source {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ==========================================================================
   Quiz
   ========================================================================== */
.quiz {
  border: 1px solid var(--line);
  background: var(--surface);
  max-width: 52rem;
  margin-inline: auto;
}
.quiz__bar {
  height: 4px;
  background: var(--paper-3);
  overflow: hidden;
}
.quiz__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--indigo);
  transition: width 350ms var(--ease);
}
.quiz__inner {
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
}
.quiz__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}
.quiz__count {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.quiz__cat {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 600;
}
.quiz h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.2rem);
  line-height: 1.25;
  max-width: 44ch;
}
.quiz__hint {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.quiz__options {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.quiz__options li {
  margin: 0;
}
.quiz-option {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr) 1.2rem;
  gap: 0.75rem;
  align-items: start;
  width: 100%;
  padding: 0.85rem 0.95rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  font-size: 0.9875rem;
  line-height: 1.5;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.quiz-option:hover {
  background: var(--paper-2);
  border-color: var(--line-strong);
}
.quiz-option__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 600;
}
.quiz-option__mark {
  width: 1.2rem;
  height: 1.2rem;
  align-self: center;
}
.quiz-option.is-correct {
  background: var(--ok-bg);
  border-color: var(--ok);
}
.quiz-option.is-correct .quiz-option__key {
  background: var(--ok);
  color: var(--ok-bg);
  border-color: var(--ok);
}
.quiz-option.is-wrong {
  background: var(--bad-bg);
  border-color: var(--bad);
}
.quiz-option.is-wrong .quiz-option__key {
  background: var(--bad);
  color: var(--bad-bg);
  border-color: var(--bad);
}
.quiz-option[disabled] {
  cursor: default;
}
.quiz-option[disabled]:not(.is-correct):not(.is-wrong) {
  opacity: 0.65;
}
.quiz__feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--paper-2);
  border-left: 3px solid var(--line-strong);
  font-size: 0.9375rem;
  line-height: 1.62;
}
.quiz__feedback.is-correct {
  border-left-color: var(--ok);
}
.quiz__feedback.is-wrong {
  border-left-color: var(--bad);
}
.quiz__feedback strong {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quiz__feedback strong svg {
  width: 16px;
  height: 16px;
}
.quiz__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.quiz__progress-text {
  font-size: 0.8125rem;
  color: var(--muted);
}
.quiz__score {
  font-variant-numeric: tabular-nums;
}

.quiz-intro {
  max-width: 44rem;
  margin-inline: auto;
}
.quiz-intro h1 {
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem);
  max-width: 15ch;
}
.quiz-intro p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 1rem;
  max-width: 50ch;
}
.quiz-intro ul {
  margin: 1.25rem 0;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.quiz-summary {
  text-align: left;
}
.quiz-summary h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  max-width: 20ch;
}
.score-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.25rem 0 0.35rem;
}
.score-line strong {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2rem + 5vw, 5.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.score-line span {
  font-size: 0.875rem;
  color: var(--muted);
}
.score-note {
  font-size: 0.9375rem;
  color: var(--ink-2);
  max-width: 48ch;
}
.breakdown {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.breakdown li {
  margin: 0;
  display: grid;
  grid-template-columns: 9rem 1fr 3rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.breakdown__bar {
  height: 5px;
  background: var(--paper-3);
  border-radius: 1px;
  overflow: hidden;
}
.breakdown__bar span {
  display: block;
  height: 100%;
  background: var(--indigo);
}
.breakdown__score {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.review {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}
.review summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
}
.review summary::-webkit-details-marker {
  display: none;
}
.review summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.1rem;
}
.review[open] summary::after {
  content: "−";
}
.review ol {
  padding-left: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.55;
}
.review li {
  margin-bottom: 0.8rem;
}
.review .r-a {
  color: var(--ok);
  font-weight: 500;
}

/* ==========================================================================
   Take action
   ========================================================================== */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  counter-reset: step;
}
.step-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 1.5rem) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 0.3rem;
}
.step-list h3 {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  margin-bottom: 0.3rem;
}
.step-list p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

.language-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.language-table th {
  text-align: left;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
}
.language-table td {
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.language-table td:first-child {
  color: var(--bad);
  width: 42%;
}
.language-table td:last-child {
  color: var(--ink-2);
}
.language-table td:first-child::before {
  content: "×";
  margin-right: 0.4rem;
  font-weight: 600;
}
.language-table td:last-child::before {
  content: "→";
  margin-right: 0.4rem;
  color: var(--muted);
}

.support-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.support-steps li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.support-steps li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 600;
}

.resources {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.resources li {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
}
.resources a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-decoration: none;
}
.resources a:hover {
  text-decoration: underline;
}
.resources span {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: right;
}

.pledge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pledge__form {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
}
.pledge__form label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.pledge__form input,
.pledge__form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.pledge__form textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.pledge__form input:focus,
.pledge__form textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.pledge__preview {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pledge__preview .label {
  margin-bottom: 0.75rem;
}
.pledge__card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  box-shadow: var(--shadow);
}
.pledge__card p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink);
  min-height: 6rem;
  white-space: pre-wrap;
}
.pledge__sign {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.pledge__sign span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}
.pledge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* ==========================================================================
   About / paper
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about-grid__side {
  position: sticky;
  top: 96px;
}
.about-block + .about-block {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.about-block h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.objectives {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: obj;
}
.objectives li {
  counter-increment: obj;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.objectives li::before {
  content: counter(obj, decimal-leading-zero);
  font-size: 0.6875rem;
  color: var(--muted);
  padding-top: 0.25em;
  font-variant-numeric: tabular-nums;
}
.method {
  list-style: none;
  margin: 0;
  padding: 0;
}
.method li {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.method strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.method span {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.members {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.members th,
.members td {
  text-align: left;
  padding: 0.6rem 0.5rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.members th {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.placeholder {
  background: var(--gold-soft);
  color: var(--ink-2);
  padding: 0.05em 0.3em;
  border-radius: 2px;
  font-style: normal;
}
.references {
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 1.4rem;
  hanging-indent: 2em;
}
.references li {
  margin-bottom: 0.85rem;
  padding-left: 0.25rem;
}
.references a {
  word-break: break-word;
}
.credits {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}
.credits a {
  color: inherit;
}

.paper-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 1.5rem;
}
.paper-link h3 {
  font-size: 1.3rem;
}
.paper-link p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
}

/* ==========================================================================
   One-page paper (print-ready page)
   ========================================================================== */
.paper-page {
  background: #fff;
  color: #111;
  font-family: var(--font-reading);
}
.paper-page .site-head,
.paper-page .site-foot {
  display: none;
}
.paper-sheet {
  width: min(100% - 2rem, 46rem);
  margin: 2rem auto 4rem;
  background: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 0 0 1px #ddd;
}
.paper-sheet h1, .paper-sheet h2 {
  font-family: var(--font-reading);
}
.paper-sheet h1 {
  font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  color: #111;
}
.paper-sheet .paper-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.paper-sheet p {
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: justify;
  margin-bottom: 0.7rem;
  hyphens: auto;
}
.paper-sheet h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.1rem 0 0.4rem;
  color: #333;
}
.paper-sheet .paper-refs {
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: left;
}
.paper-toolbar {
  width: min(100% - 2rem, 46rem);
  margin: 1.5rem auto 0;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.paper-page .paper-toolbar .btn {
  width: auto;
}

/* ---------- Shared interaction helpers ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 140%);
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  box-shadow: var(--shadow);
  transition: transform 300ms var(--ease);
  max-width: calc(100% - 2rem);
}
.toast.is-on {
  transform: translate(-50%, 0);
}
[data-theme="dark"] .toast {
  background: var(--paper-3);
  color: var(--ink);
  border: 1px solid var(--line);
}
.status-note {
  font-size: 0.8125rem;
  color: var(--muted);
  min-height: 1.3em;
}
.status-note.is-ok {
  color: var(--ok);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .path__link {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto 20px;
  }
  .path__desc {
    display: none;
  }
  .study {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
    gap: 2rem;
  }
  .case__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .case__choices {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .law__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .law__aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 0.5rem;
  }
  .pledge {
    grid-template-columns: minmax(0, 1fr);
  }
  .pledge__form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-grid__side {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hero__copy {
    padding: clamp(2.5rem, 8vw, 4rem) var(--gutter) 2rem;
  }
  .hero h1 {
    max-width: 14ch;
  }
  .hero__lede {
    margin-top: 1.25rem;
  }
  .hero__meta {
    padding-top: 2rem;
  }
  .hero__figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .statement__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .statement__figure {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .features,
  .taster__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .study {
    grid-template-columns: minmax(0, 1fr);
  }
  .study__rail {
    position: static;
    border: 1px solid var(--line);
    padding: 1rem;
  }
  .study__rail ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
  }
  .case-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topic--wide,
  .topic--narrow,
  .topic--half {
    grid-column: span 12;
  }
  .ds-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .myth-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .progress-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .concept__body {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0;
  }
  .concept__head {
    grid-template-columns: 2rem 1fr;
  }
  .concept__footer {
    padding-left: 0;
  }
  .more {
    margin-left: 0;
  }
  .concept-diagram {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .path__link {
    grid-template-columns: 2rem minmax(0, 1fr) 20px;
    gap: 0.75rem;
  }
  .path__tag {
    display: none;
  }
  .case-index {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-index .ci-title {
    font-size: 1.05rem;
  }
  .law summary {
    grid-template-columns: 4.5rem minmax(0, 1fr) 1rem;
    gap: 0.6rem;
  }
  .law__year {
    display: none;
  }
  .law-q__opts {
    gap: 0.35rem;
  }
  .law-q__opts button {
    min-height: 44px;
    border-radius: var(--radius);
  }
  .breakdown li {
    grid-template-columns: 6.5rem 1fr 2.5rem;
    font-size: 0.8125rem;
  }
  .step-list li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
  .resources li {
    grid-template-columns: minmax(0, 1fr);
  }
  .resources span {
    text-align: left;
  }
  .language-table,
  .language-table tbody,
  .language-table tr,
  .language-table td {
    display: block;
    width: 100%;
  }
  .language-table thead {
    display: none;
  }
  .language-table tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }
  .language-table td {
    border: 0;
    padding: 0.2rem 0;
  }
  .language-table td:first-child {
    width: 100%;
  }
  .split-compare,
  .sogiesc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sogiesc div:nth-child(n + 3) {
    margin-top: 0.5rem;
  }
  .eq-panel__stage {
    height: 118px;
  }
  .quiz__options {
    gap: 0.45rem;
  }
  .quiz-option {
    grid-template-columns: 1.4rem minmax(0, 1fr) 1rem;
    padding: 0.8rem;
    font-size: 0.9375rem;
  }
  .pledge__actions .btn {
    width: 100%;
  }
  .outcome__actions .btn {
    width: 100%;
  }
  .toast {
    bottom: 0.75rem;
  }
}

/* Taster feedback tones */
.taster__feedback.is-harm {
  border-top-color: var(--bad);
}
.taster__feedback.is-harm strong {
  color: var(--bad);
}
.taster__feedback.is-strong {
  border-top-color: var(--ok);
}
.taster__feedback.is-strong strong {
  color: var(--ok);
}
.taster__feedback strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.taster__feedback strong svg {
  width: 15px;
  height: 15px;
}

/* Intersectionality stack */
.intersect {
  border-top: 1px solid var(--line);
}
.intersect__row,
.intersect__sum {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.intersect__tag {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
}
.intersect__row p,
.intersect__sum p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.intersect__sum {
  border-bottom: 0;
  padding-top: 0.85rem;
}
.intersect__sum span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
}
.intersect__sum p {
  color: var(--ink);
  font-size: 1.05rem;
}

/* Case index secondary line */
.case-index .ci-place {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
}
.case-index button[aria-pressed="true"] .ci-place {
  color: rgba(251, 247, 240, 0.72);
}

/* Dark editorial band */
.band {
  background: #17131c;
  color: #f7f2e9;
  padding-block: var(--space-6);
}
.band .wrap {
  position: relative;
}
.band h2 {
  color: #f7f2e9;
}
.band .lead {
  color: rgba(247, 242, 233, 0.82);
}
.band .note,
.band .label {
  color: rgba(247, 242, 233, 0.62);
}
.band a {
  color: #f7f2e9;
  text-decoration-color: rgba(247, 242, 233, 0.4);
}
.band a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
.band .ds-list li {
  border-top-color: #8f86ee;
}
.band .ds-list li::before {
  color: rgba(247, 242, 233, 0.55);
}
.band .ds-list strong {
  color: #f7f2e9;
}
.band .ds-list span {
  color: rgba(247, 242, 233, 0.76);
}
.band .rule-head {
  border-bottom-color: rgba(247, 242, 233, 0.35);
}
.band__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.band__head h2 {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem);
  max-width: 16ch;
}
.band__signature {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  font-style: italic;
  color: #cfc8ff;
}
@media (max-width: 900px) {
  .band__head {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Wide photographic band */
.photo-band {
  height: clamp(220px, 34vw, 430px);
  overflow: hidden;
  background: var(--paper-3);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.9) contrast(1.02);
}

/* Myth reveal empty state */
.myth__reveal:empty {
  display: none;
}

/* About page index and review notes */
.about-nav {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.about-nav li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.about-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--ink-2);
  text-decoration: none;
}
.about-nav a:hover {
  color: var(--indigo);
}
.review-notes {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.review-notes li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.55;
}
.review-notes li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--surface);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}

.credits ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.credits li {
  margin-bottom: 0.3rem;
}

.paper-note {
  width: min(100% - 2rem, 46rem);
  margin: 0 auto 3rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #555;
  padding: 0.9rem 1rem;
  border-top: 1px solid #ddd;
}
.paper-note a {
  color: #332e7e;
}

@media print {
  @page {
    size: A4;
    margin: 12mm 16mm;
  }
  html,
  body {
    background: #fff !important;
  }
  .paper-toolbar,
  .paper-note {
    display: none !important;
  }
  .paper-sheet {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  .paper-sheet h1 {
    font-size: 15.6pt;
    line-height: 1.1;
    margin-bottom: 3pt;
  }
  .paper-sheet .paper-sub {
    font-size: 7.1pt;
    line-height: 1.3;
    margin-bottom: 5pt;
  }
  .paper-sheet h2 {
    font-size: 6.9pt;
    margin: 5pt 0 1pt;
    letter-spacing: 0.06em;
  }
  .paper-sheet p {
    font-size: 8.5pt;
    line-height: 1.28;
    margin-bottom: 2.5pt;
  }
  .paper-sheet .paper-refs {
    font-size: 6.5pt;
    line-height: 1.22;
    padding-left: 1.1rem;
  }
  .paper-sheet .paper-refs li {
    margin-bottom: 1.5pt;
  }
}

.about-grid__side {
  min-width: 0;
}
.paper-link__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Long headings and labels wrap instead of forcing the page wider */
.rule-head {
  flex-wrap: wrap;
}
.rule-head h2 {
  min-width: 0;
}

/* Data tables: fixed layout prevents long cells from widening the page */
.members {
  table-layout: fixed;
  width: 100%;
}
.members th,
.members td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* APA references contain long URLs */
.references,
.references li,
.references a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Small screens: stack the three-panel diagram and the five bystander moves */
@media (max-width: 560px) {
  .diagram-eq__panels {
    grid-template-columns: minmax(0, 1fr);
  }
  .eq-panel__stage {
    height: 132px;
  }
  .ds-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .ds-list li {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
}

/* Stack the About tables on phones so the cells stay readable */
@media (max-width: 560px) {
  .members,
  .members tbody,
  .members tr,
  .members td,
  .members th {
    display: block;
    width: 100%;
  }
  .members thead {
    display: none;
  }
  .members tr {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }
  .members td {
    border: 0;
    padding: 0.12rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .members td:first-child {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 0.15rem;
  }
  .members td:nth-child(2)::before,
  .members td:nth-child(3)::before {
    color: var(--muted);
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: 0.35rem;
  }
  .members--courses td:nth-child(2)::before {
    content: "Where:";
  }
  .members--courses td:nth-child(3)::before {
    content: "Learner:";
  }
  .members--team td:nth-child(2)::before {
    content: "Role:";
  }
  .members--team td:nth-child(3)::before {
    content: "Contribution:";
  }
}
