/* Page-specific styling for the encoder-free drifting project.
 * Shared chrome comes from ../project-base.css.
 */

.project-shell {
  /* one hue per lane, reused by the flow map, the canvases and the legends */
  --efd-primary: #2d718f;
  --efd-corr: #c2643a;
  --efd-avg: #3d7d6b;
}

/* --------------------------------------------------------------- rhythm */

.project-section {
  /* the shared chrome sets 8rem top and bottom, which stacks into a quarter
   * screen of nothing between every pair of sections; the numbered rail
   * already marks the break, so half of it does the same job */
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* ---------------------------------------------------------- typography */

.project-section-body h2 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.project-section-body h3 {
  margin: clamp(2.25rem, 4.5vw, 3.25rem) 0 0.85rem;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.project-section-body > p {
  max-width: 62ch;
  margin: 1.15rem 0 0;
  font-size: 0.97rem;
  line-height: 1.72;
}

.project-section-body .lede {
  max-width: 58ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.68;
}

.project-section-body .project-section-intro {
  max-width: 62ch;
  color: var(--muted);
}

/* ------------------------------------------------------ table of contents */

.project-toc {
  width: min(100%, calc(var(--content-width) + (2 * var(--gutter))));
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.35rem;
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}

.project-toc-label {
  margin-right: 0.4rem;
  color: var(--faint);
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-toc a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 130ms ease, border-color 130ms ease;
}

.project-toc a:hover {
  color: var(--efd-primary);
  border-bottom-color: var(--efd-primary);
}

/* ---------------------------------------------------------------- hero */

.hero-samples {
  display: block;
  width: 100%;
  height: auto;
  margin-block: 0.65rem;
  border: 1px solid rgba(246, 244, 237, 0.14);
  image-rendering: pixelated;
}

.hero-metric {
  color: #f6f4ed;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- equations */

.eq {
  margin: 1.2rem 0 0;
  padding: 0.95rem 1.1rem;
  border-left: 2px solid var(--efd-primary);
  background: var(--paper-deep);
  overflow-x: auto;
}

.eq img {
  /* the SVGs carry their own point size from one render pass, so leaving them
   * intrinsic keeps every equation at the same glyph size */
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.eq-inline {
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
}

.eq-inline img {
  zoom: 0.86;
}

.project-section-body > .eq-note {
  max-width: 62ch;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------- callout */

.callout {
  max-width: 62ch;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.15rem, 2.6vw, 1.6rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--efd-corr);
  background: #fbfaf6;
}

.callout-quiet {
  border-left-color: var(--efd-primary);
}

.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.callout strong {
  color: var(--ink);
}

/* ----------------------------------------------------- training triangle */

.triangle-panel {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.triangle-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border-bottom: 1px solid var(--line);
}

.triangle-figure {
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.triangle-figure canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.triangle-figure figcaption {
  margin-top: 0.75rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ------------------------------------------------------- field simulation */

.field-panel {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.field-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border-bottom: 1px solid var(--line);
}

.field-slider-group input[type="range"] {
  width: 100%;
  margin-top: 0.35rem;
  accent-color: var(--accent);
}

.legend-value {
  margin-left: 0.35rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.control-hint {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.field-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.field-button {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.field-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.field-button-primary {
  border-color: #26383b;
  background: #18282b;
  color: #f6f4ed;
  min-width: 5.4rem;
}

.field-button-primary:hover {
  border-color: #18282b;
  background: #21353a;
  color: #f6f4ed;
}

.field-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.field-toggle input {
  accent-color: var(--accent);
}

.field-figure {
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.field-figure canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.field-figure figcaption {
  margin-top: 0.75rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.field-readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.field-readout > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  background: var(--paper);
}

.field-readout span {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.field-readout strong {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.field-readout small {
  color: var(--faint);
  font-size: 0.7rem;
}

/* ------------------------------------------------------------- flow map */

.flow-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1px;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.flow-map {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  background: var(--paper);
}

.flow-lane-label,
.flow-branch-label {
  margin: 0;
  color: var(--faint);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.flow-branch-label,
.flow-lane-after {
  margin-top: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.flow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.flow-row-corrections {
  align-items: stretch;
}

.flow-stack {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1 1 12rem;
  min-width: 0;
}

.flow-node {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--faint);
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  transition: color 130ms ease, background 130ms ease, border-color 130ms ease;
}

.flow-node:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.flow-node em {
  margin-left: auto;
  padding-left: 0.5rem;
  color: var(--faint);
  font-style: normal;
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
}

.flow-node-step {
  min-width: 1rem;
  color: var(--faint);
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.flow-ink {
  border-left-color: var(--efd-primary);
}

.flow-corr {
  border-left-color: var(--efd-corr);
}

.flow-join {
  border-left-color: var(--efd-primary);
  box-shadow: inset 3px 0 0 -1px var(--efd-corr);
}

.flow-avg {
  border-left-color: var(--efd-avg);
}

.flow-node[aria-pressed="true"] {
  color: #f6f4ed;
  background: #18282b;
  border-color: #18282b;
}

.flow-node[aria-pressed="true"] .flow-node-step,
.flow-node[aria-pressed="true"] em {
  color: rgba(246, 244, 237, 0.6);
}

.flow-ink[aria-pressed="true"] {
  border-left-color: var(--efd-primary);
}

.flow-corr[aria-pressed="true"] {
  border-left-color: var(--efd-corr);
}

.flow-avg[aria-pressed="true"] {
  border-left-color: var(--efd-avg);
}

.flow-arrow {
  position: relative;
  flex: 0 0 auto;
  width: 0.85rem;
  height: 1px;
  background: var(--line);
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2.5px;
  border-left: 4px solid var(--line);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.flow-detail {
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  background: #fbfaf6;
}

.flow-detail-tag {
  margin: 0;
  color: var(--efd-primary);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.flow-detail h3 {
  margin: 0.6rem 0 0.7rem;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.flow-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

.flow-detail .eq {
  margin-bottom: 0.5rem;
}

.flow-detail .flow-detail-note {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--faint);
  font-size: 0.79rem;
}

/* --------------------------------------------------------------- diagram */

.diagram-details {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}

.diagram-details summary {
  padding: 0.9rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.diagram-details summary:hover {
  color: var(--efd-primary);
}

.diagram-figure {
  margin: 0 0 1.5rem;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  background: var(--paper-deep);
  text-align: center;
}

.diagram-figure img {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
}

.diagram-figure figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: left;
}

/* ---------------------------------------------------------- the repairs */

.repair-list {
  counter-reset: repair;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.repair-list > li {
  counter-increment: repair;
  padding: clamp(1.2rem, 2.8vw, 1.7rem);
  background: var(--paper);
}

.repair-list > li::before {
  content: counter(repair, decimal-leading-zero);
  display: block;
  color: var(--efd-primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.repair-list h3 {
  margin: 0.55rem 0 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.repair-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.68;
}

.project-section-body > .repair-outcome {
  max-width: 62ch;
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--efd-primary);
  color: var(--muted);
  font-size: 0.92rem;
}

.repair-outcome strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------ progression */

.progression-panel {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.progression-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stage-button {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  border: 0;
  border-top: 2px solid transparent;
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 130ms ease, background 130ms ease, border-color 130ms ease;
}

.stage-button:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.stage-button[aria-pressed="true"] {
  border-top-color: var(--accent);
  background: var(--paper);
  color: var(--ink);
}

.stage-button-label {
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-button-value {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.stage-button[aria-pressed="true"] .stage-button-value {
  color: var(--accent);
}

.progression-bar {
  position: relative;
  margin: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.5rem) 0;
  height: 3px;
  background: var(--paper-deep);
}

.progression-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transition: width 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.progression-bar-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  color: var(--faint);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.progression-figure {
  margin: 0;
  padding: clamp(0.9rem, 2.2vw, 1.4rem);
}

.progression-figure figcaption {
  margin-top: 0.8rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.progression-readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.progression-readout > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  background: var(--paper);
}

.progression-readout span {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.progression-readout strong {
  font-size: 1.02rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------- clickable tile grid */

.sample-grid-wrap {
  position: relative;
  line-height: 0;
}

.sample-grid-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  image-rendering: pixelated;
}

.sample-grid-hit {
  position: absolute;
  inset: 1px;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(8, 1fr);
}

.sample-cell {
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: zoom-in;
  transition: border-color 90ms ease, box-shadow 90ms ease;
}

.sample-cell:hover,
.sample-cell:focus-visible {
  border-color: #f6f4ed;
  box-shadow: 0 0 0 1px #18282b;
  outline: none;
}

.tile-compare {
  margin-top: -1px;
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
  border: 1px solid var(--line);
  background: #fbfaf6;
}

.tile-compare[hidden] {
  display: none;
}

.tile-compare-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.tile-compare-head .project-eyebrow {
  margin: 0;
  color: var(--efd-primary);
}

.tile-compare-head h3 {
  margin: 0.4rem 0 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.tile-compare-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: 1.2rem;
}

.tile-card {
  margin: 0;
}

.tile-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background-repeat: no-repeat;
  image-rendering: pixelated;
}

.tile-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.tile-card figcaption strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tile-compare-note {
  margin: 1.1rem 0 0;
  color: var(--faint);
  font-size: 0.76rem;
}

.project-section-body > .after-table {
  max-width: 62ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ recap */

.recap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.recap-grid > article {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--paper);
}

.recap-grid h3 {
  margin: 1.6rem 0 0.7rem;
  color: var(--efd-primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.recap-grid h3:first-child {
  margin-top: 0;
}

.recap-grid p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.7;
}

.recap-grid p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------- findings grid */

.finding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.finding-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 3vw, 1.9rem);
  border-top: 3px solid transparent;
  background: #fbfaf6;
}

.finding-card-positive {
  border-top-color: var(--efd-avg);
}

.finding-card h3 {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.finding-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.project-aside {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.2rem, 2.8vw, 1.75rem);
  border-left: 2px solid var(--efd-corr);
  background: var(--paper-deep);
}

.project-aside .project-eyebrow {
  margin: 0;
}

.project-aside p + p {
  max-width: 62ch;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.7;
}

/* -------------------------------------------------------- call to action */

.project-cta {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
}

.project-cta h2 {
  /* .project-cta > * sets margin-inline: auto, which centres any child
   * narrower than the content width; the heading belongs on the left rail */
  margin-inline: 0 auto;
  max-width: 26ch;
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.project-cta-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ------------------------------------------------------------ references */

.refs {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.refs h3 {
  margin: 1.75rem 0 0.7rem;
  color: var(--faint);
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.refs h3:first-child {
  margin-top: 0;
}

.refs p {
  max-width: 62ch;
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.refs a {
  color: var(--efd-primary);
}

.refs-note {
  color: var(--faint);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .flow-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-cta-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .finding-grid,
  .project-cta-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-controls,
  .triangle-controls {
    grid-template-columns: 1fr;
  }

  .project-toc {
    gap: 0.3rem 1rem;
  }

  .eq {
    padding: 0.8rem 0.85rem;
  }

  .eq img {
    zoom: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progression-bar-fill {
    transition: none;
  }
}

@media print {
  .project-toc,
  .triangle-panel,
  .field-panel,
  .flow-wrap,
  .tile-compare {
    display: none;
  }
}
