/* Jagadish Pendyala — portfolio
   Register: riso proof sheet. Paper + black + three spot inks.
   One ink, one meaning: blue = systems, pink = strategy, yellow = build.
   Where two meet they overprint (multiply), never blend into a gradient. */

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/cabinet-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("fonts/switzer-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F2F2EE;
  --sheet: #FBFBF9;
  --ink: #17171A;
  --mute: #55555C;
  --rule: #CBCBC4;

  --sys: #0078BF;   /* riso blue */
  --str: #FF48B0;   /* riso fluorescent pink */
  --bld: #FFE800;   /* riso yellow */

  --display: "Cabinet Grotesk", "Arial Narrow", sans-serif;
  --text: "Switzer", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.2, 0, 0, 1);

  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --reg: 6px; /* misregistration offset for ink slabs */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--str); }
:focus-visible { outline: 3px solid var(--sys); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--sheet); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 15px/1 var(--text);
  padding: 12px 18px;
  border: 1.5px solid var(--ink);
  text-decoration: none;
  transition: transform 120ms var(--ease-snap), background-color 120ms linear;
  white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--sheet); }
.btn--ink:hover { background: #000; }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--sheet); }
.btn--big { font-size: clamp(15px, 2.2vw, 19px); padding: 16px 22px; background: var(--ink); color: var(--sheet); word-break: break-all; white-space: normal; }
.btn:active { transform: translate(1px, 1px); }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; gap: 24px;
  padding-block: 22px;
}
.name {
  font: 800 19px/1.1 var(--display);
  text-decoration: none; letter-spacing: -0.01em;
  display: flex; flex-direction: column;
}
.name span { font: 500 13px/1.3 var(--text); color: var(--mute); letter-spacing: 0; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-weight: 500; font-size: 15px; text-decoration: none; padding-block: 6px; }
.nav a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .nav { display: none; }
  .top { gap: 10px; }
  .top .sound { margin-left: auto; }
  .top .sound[hidden] + .btn { margin-left: auto; }
  .top .sound__txt { display: none; }
}

/* ---------- music toggle ---------- */
.sound {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 15px/1 var(--text); color: var(--ink);
  background: transparent; border: 1.5px solid var(--ink);
  padding: 0 14px; min-height: 44px; min-width: 44px; justify-content: center;
  cursor: pointer;
  transition: background-color 120ms linear, transform 120ms var(--ease-snap);
}
.sound:hover { background: var(--sheet); }
.sound:active { transform: translate(1px, 1px); }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.sound__bars i { display: block; width: 4px; height: 6px; }
.sound__bars i:nth-child(1) { background: var(--sys); }
.sound__bars i:nth-child(2) { background: var(--str); height: 10px; }
.sound__bars i:nth-child(3) { background: var(--bld); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); height: 4px; }
.sound[aria-pressed="true"] .sound__bars i { animation: eq 1.1s var(--ease-in-out) infinite alternate; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-duration: 1.4s; animation-delay: -.7s; }
@keyframes eq { from { height: 3px; } to { height: 16px; } }
.sound--float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  background: var(--sheet); padding: 0;
  box-shadow: 4px 4px 0 0 var(--str);
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 40px); }
.where {
  font-weight: 500; font-size: 15px; color: var(--mute);
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--sys); display: inline-block; }
.where { align-items: baseline; }
.where .pulse { flex: none; transform: translateY(-1px); }
.where__name { color: var(--ink); font-weight: 700; }
.hero h1 {
  position: relative; z-index: 0;
  font-weight: 800;
  font-size: clamp(2.5rem, 7.2vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14.5em;
}
.mark { position: relative; white-space: nowrap; }
.mark::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.05em; right: -0.07em; top: 0.5em; bottom: 0.02em;
  background: var(--c);
  transform: translate(0.06em, 0.04em);
  mix-blend-mode: multiply;
}
.mark--sys { --c: var(--sys); }
.mark--str { --c: var(--str); }
.mark--bld { --c: var(--bld); }
.lede {
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 40em;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}

/* ---------- evidence board ---------- */
.evidence { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 110px); }
.evidence__bar {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 32px;
  border-top: 2px solid var(--ink);
  padding-top: 18px; margin-bottom: 22px;
}
.evidence__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.lenses { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lenses__label { font-size: 14px; font-weight: 500; color: var(--mute); margin-right: 4px; }
.lens {
  --c: var(--ink); --on: var(--ink);
  font: 600 15px/1 var(--text);
  color: var(--ink); background: var(--sheet);
  border: 1.5px solid var(--ink);
  padding: 11px 15px 11px 12px;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  min-height: 44px;
  transition: background-color 140ms linear, color 140ms linear, transform 120ms var(--ease-snap);
}
.lens:active { transform: translate(1px, 1px); }
.lens .sw { width: 14px; height: 14px; background: var(--c); display: inline-block; }
.lens--sys { --c: var(--sys); --on: #fff; }
.lens--str { --c: var(--str); --on: var(--ink); }
.lens--bld { --c: var(--bld); --on: var(--ink); }
.lens--mess { padding-inline: 15px; background: transparent; }
.lens[aria-pressed="true"] { background: var(--c); color: var(--on); }
.lens--sys[aria-pressed="true"] .sw { background: #fff; }
.lens--str[aria-pressed="true"] .sw,
.lens--bld[aria-pressed="true"] .sw { background: var(--ink); }
.lens--mess[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.lens:hover:not([aria-pressed="true"]) { background: #fff; }

.board-wrap { position: relative; transition: height 720ms var(--ease-out); }
.board-wrap.no-anim { transition: none; }
.board {
  --lens: transparent;
  list-style: none; margin: 0; padding: 0;
  position: relative; z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}
.board[data-lens="sys"] { --lens: var(--sys); }
.board[data-lens="str"] { --lens: var(--str); }
.board[data-lens="bld"] { --lens: var(--bld); }
@media (max-width: 1040px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.card {
  position: relative;
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  padding: 16px 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 720ms var(--ease-out), opacity 300ms linear, box-shadow 260ms linear;
  box-shadow: 0 0 0 0 transparent;
  will-change: transform;
}
.card__fig {
  font: 800 clamp(1.55rem, 2.4vw, 2.3rem)/1 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.card__txt { font-size: 15px; line-height: 1.45; flex: 1; }
.card__src {
  font-size: 13px; font-weight: 500; color: var(--mute);
  display: flex; align-items: center; gap: 8px;
  padding-top: 8px; border-top: 1px solid var(--rule);
}
@media (max-width: 720px) {
  .card { padding: 12px 12px 10px; }
  .card__txt { font-size: 14px; }
  .card__src { font-size: 12px; }
}

.dots { display: inline-flex; flex: none; }
.d {
  width: 13px; height: 13px; border-radius: 50%;
  display: inline-block; mix-blend-mode: multiply;
}
.d + .d { margin-left: -5px; }
.d--sys { background: var(--sys); }
.d--str { background: var(--str); }
.d--bld { background: var(--bld); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }

/* states set by site.js */
.board.is-sorted .card.is-hit { box-shadow: var(--reg) var(--reg) 0 0 var(--lens); }  /* ink slab, printed off-register */
.board.is-sorted .card.is-miss { opacity: 0.32; border-style: dashed; }
.board.is-piled .card:hover,
.board.is-piled .card:focus-within { z-index: 40 !important; }
.board.no-anim .card { transition: none !important; }

.evidence__note {
  margin-top: 26px; font-size: 16px; color: var(--mute); max-width: 44em;
  min-height: 3em;
}

/* ---------- section heads ---------- */
.sec-h { font-size: clamp(2.1rem, 4.6vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.sec-h--sm { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sec-lede { margin-top: 14px; font-size: clamp(16px, 1.4vw, 19px); max-width: 38em; color: var(--mute); }

/* ---------- cases ---------- */
.work { padding-bottom: clamp(40px, 6vw, 80px); }
.work__head { padding-bottom: clamp(20px, 4vw, 40px); }
.case {
  position: relative; z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(44px, 6vw, 84px);
}
.case::after { /* section rule, aligned to the content column */
  content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut);
  height: 2px; background: var(--ink);
}
.case--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.case--flip .case__text { order: 2; }
.case--flip .case__plates { order: 1; }
@media (max-width: 900px) {
  .case, .case--flip { grid-template-columns: minmax(0, 1fr); }
  .case--flip .case__text { order: 0; }
  .case--flip .case__plates { order: 1; }
}
.case__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; color: var(--mute);
  margin-bottom: 16px;
}
.strip { display: inline-flex; }
.s { width: 34px; height: 14px; display: inline-block; mix-blend-mode: multiply; }
.s + .s { margin-left: -12px; }
.s--sys { background: var(--sys); }
.s--str { background: var(--str); }
.s--bld { background: var(--bld); }
.case h3 { font-size: clamp(1.7rem, 2.9vw, 2.55rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; }
.case__what { margin-top: 16px; font-size: clamp(16px, 1.3vw, 18px); }
.case h4 {
  margin-top: 26px; margin-bottom: 10px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.01em;
}
.decisions { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.decisions li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; }
.decisions li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 10px; height: 10px; background: var(--c1);
  box-shadow: 3px 3px 0 0 var(--c2);
}
.decisions strong { font-weight: 650; }
.case__state {
  margin-top: 24px; padding: 14px 16px;
  background: var(--sheet); border: 1.5px solid var(--ink);
  font-size: 15px;
}
.case__state b { display: block; font-weight: 700; font-size: 13px; color: var(--mute); margin-bottom: 2px; }
.case__state a { font-weight: 600; }

.case__plates { display: grid; gap: 22px; align-content: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.case__plates > :only-child { grid-column: 1 / -1; }
.plate { margin: 0; position: relative; z-index: 0; align-self: start; }
.plate::before {
  content: ""; position: absolute; z-index: -1;
  left: 0; top: 0; right: 0; bottom: 30px;
  transform: translate(var(--reg), var(--reg));
  background: var(--c);
  mix-blend-mode: multiply;
}
.plate img { display: block; width: 100%; border: 1.5px solid var(--ink); background: #fff; }
.plate figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); line-height: 1.35; min-height: 20px; }
.plate--wide { grid-column: 1 / -1; }

.plates--device { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.plates--device .plate:first-child { grid-row: span 2; }
.plates--device .plate:first-child img { background: #121722; }

@media (max-width: 560px) {
  .case__plates, .plates--device { grid-template-columns: minmax(0, 1fr); }
  .plates--device .plate:first-child { grid-row: auto; max-width: 300px; }
}

/* Fitree flow chart — drawn in the page, not a picture */
.chart {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: center;
  padding: clamp(18px, 3vw, 32px);
  background: var(--sheet);
  border: 1.5px solid var(--ink);
}
.chart__col { display: grid; gap: 10px; align-content: center; }
.chart__arrow { height: 2px; background: var(--ink); position: relative; margin-inline: 6px; }
.chart__arrow::after {
  content: ""; position: absolute; right: -2px; top: -5px;
  border: 6px solid transparent; border-left: 9px solid var(--ink); border-right: 0;
}
.chip {
  position: relative; z-index: 0;
  background: #fff; border: 1.5px solid var(--ink);
  padding: 10px 12px; font-size: 14px; font-weight: 500;
  display: flex; align-items: baseline; gap: 8px;
  box-shadow: 4px 4px 0 0 var(--c);
}
.chip b { font: 800 22px/1 var(--display); }
.chip--sys { --c: var(--sys); }
.chip--str { --c: var(--str); }
.chip--big { --c: var(--bld); font: 800 18px/1.15 var(--display); padding: 18px 14px; justify-content: center; text-align: center; }
.chart__cap { font-size: 12.5px; color: var(--mute); line-height: 1.35; }
@media (max-width: 640px) {
  .chart { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .chart__arrow { width: 2px; height: 28px; margin: 6px auto; }
  .chart__arrow::after { right: auto; left: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 9px solid var(--ink); border-bottom: 0; }
}

/* ---------- more work ---------- */
.more { padding-bottom: clamp(60px, 8vw, 110px); }
.more .sec-h { padding-top: 22px; border-top: 2px solid var(--ink); margin-bottom: 28px; }
.more__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
@media (max-width: 980px) { .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .more__grid { grid-template-columns: minmax(0, 1fr); } }
.tile {
  background: var(--sheet); border: 1.5px solid var(--ink);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.tile img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1.5px solid var(--ink); background: #fff; }
.tile--img img[src*="fime"] { object-fit: cover; object-position: 50% 40%; background: #222740; }
.tile--img img[src*="eagle"] { object-fit: contain; }
.tile h3 { font-size: 22px; line-height: 1.1; font-weight: 800; }
.tile p { font-size: 15px; line-height: 1.5; }
.tile a { font-weight: 600; }
.tile__meta { display: flex; align-items: center; gap: 8px; font-size: 13px !important; font-weight: 600; color: var(--mute); }
.tile__chain { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tile__chain span {
  font-size: 12.5px; font-weight: 600; padding: 4px 8px;
  border: 1.5px solid var(--ink); background: #fff;
}
.tile__chain span:not(:last-child)::after { content: " →"; color: var(--mute); }
.more__note {
  margin-top: 28px; max-width: 46em;
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5;
  padding-left: 16px; border-left: 4px solid var(--str);
}

/* ---------- before AI ---------- */
.before { background: var(--ink); color: var(--sheet); padding-block: clamp(60px, 8vw, 110px); }
.before .sec-lede { color: #B9B9B4; }
.years {
  list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1.5px solid #3A3A40;
}
@media (max-width: 900px) { .years { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .years { grid-template-columns: minmax(0, 1fr); } }
.years li { padding: 22px 22px 26px 0; border-bottom: 1.5px solid #3A3A40; }
.years__y {
  font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--display);
  display: inline-block; margin-bottom: 12px;
  color: var(--bld);
  font-variant-numeric: tabular-nums;
}
.years h3 { font-size: 19px; line-height: 1.2; font-weight: 800; color: #fff; }
.years p { margin-top: 6px; font-size: 15px; color: #C9C9C4; line-height: 1.5; }

/* ---------- method ---------- */
.method { padding-block: clamp(60px, 8vw, 110px); }
.steps {
  list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
  position: relative; z-index: 0;
  background: var(--sheet); border: 1.5px solid var(--ink);
  padding: 18px 18px 20px;
  box-shadow: var(--reg) var(--reg) 0 0 var(--c);
}
.step h3 { font-size: 20px; font-weight: 800; line-height: 1.15; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .steps--four { grid-template-columns: minmax(0, 1fr); } }
.steps--four .step h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.015em; }
.steps--four .step p { margin-top: 12px; font-size: 16px; }
.remote {
  margin-top: clamp(34px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 12px 32px; align-items: baseline;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 30px) clamp(20px, 3vw, 30px) 34px;
  border: 1.5px solid var(--ink);
  background: var(--sheet);
  box-shadow: inset 10px 0 0 0 var(--bld);
}
.remote h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; }
.remote p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; max-width: 40em; }
@media (max-width: 860px) { .remote { grid-template-columns: minmax(0, 1fr); } }

/* ---------- hire ---------- */
.hire { padding-bottom: clamp(60px, 8vw, 110px); }
.hire .sec-h { padding-top: 22px; border-top: 2px solid var(--ink); }
.offers {
  list-style: none; margin: clamp(26px, 4vw, 40px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.offers--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
@media (max-width: 860px) { .offers { grid-template-columns: minmax(0, 1fr); } }
.offer {
  position: relative; z-index: 0;
  border: 1.5px solid var(--ink); background: var(--sheet);
  padding: 22px 22px 24px;
  border-top: 12px solid var(--c);
}
.offer h3 { font-size: 23px; font-weight: 800; line-height: 1.1; }
.offer p { margin-top: 10px; font-size: 16px; }
.clock { margin-top: clamp(30px, 4vw, 44px); }
.clock__line { font: 800 clamp(1.4rem, 2.8vw, 2.3rem)/1.15 var(--display); letter-spacing: -0.01em; }
.clock__line time { font-variant-numeric: tabular-nums; background: linear-gradient(transparent 55%, var(--bld) 55%); }
.clock__sub { margin-top: 10px; color: var(--mute); font-size: 16px; max-width: 40em; }

/* ---------- contact ---------- */
.contact { border-top: 2px solid var(--ink); padding-block: clamp(56px, 8vw, 100px); }
.contact__h { font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.025em; max-width: 13em; }
.contact__links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px;
  padding-block: 26px 40px; border-top: 1.5px solid var(--rule);
  font-size: 13.5px; color: var(--mute);
}
.foot p:first-child { max-width: 46em; }

/* ---------- motion preferences + print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .lens, .board-wrap, .sound { transition: none !important; }
  .sound[aria-pressed="true"] .sound__bars i { animation: none; height: 14px; }
}
@media print {
  body { background: #fff; font-size: 11pt; }
  .top .btn, .nav, .lenses, .skip, .evidence__note, .sound { display: none !important; }
  .board-wrap { height: auto !important; }
  .card { transform: none !important; opacity: 1 !important; border-style: solid !important; break-inside: avoid; }
  .case, .tile, .step, .offer, .years li, .remote { break-inside: avoid; }
  .before { background: #fff; color: var(--ink); }
  .before .sec-lede, .years p { color: var(--mute); }
  .years h3 { color: var(--ink); }
  .years__y { color: var(--ink); }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: var(--mute); }
}
