/* ---------- Tokens ---------- */
:root {
  --felt: #0f3d2e;
  --felt-mid: #0c3125;
  --near-black: #07130e;
  --ivory: #f5efe0;
  --ivory-shade: #e6dcc4;
  --ink: #1d1a15;
  --brass: #c9a24a;
  --brass-bright: #e3c070;
  --brass-dim: rgba(201, 162, 74, 0.35);
  --red: #b3262e;
  --text: #efe9da;
  --muted: #a7b8ad;
  --line: rgba(239, 233, 218, 0.12);

  --chip-0: #b3262e;
  --chip-1: #1f4f8f;
  --chip-2: #e9e2cf;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1120px;
  --radius-card: 14px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -12px rgba(0, 0, 0, 0.65), 0 4px 10px rgba(0, 0, 0, 0.35);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  background-color: var(--near-black);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 120% 80% at 50% 0%, var(--felt) 0%, var(--felt-mid) 45%, var(--near-black) 100%);
  background-attachment: fixed, fixed;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::after { /* vignette */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 0;
}
main, .footer { position: relative; z-index: 1; }
main { overflow-x: clip; } /* pre-animation offsets (e.g. the turn card) must never widen the page */
a { color: var(--brass-bright); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 3px; border-radius: 6px; }
.suit-red { color: var(--red); }
.suit-black { color: var(--ink); }

.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 244, 214, 0.07), transparent 60%);
  transition: opacity 0.6s;
}
.spotlight.is-on { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--gutter);
  background: linear-gradient(to bottom, rgba(7, 19, 14, 0.92), rgba(7, 19, 14, 0.7));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.nav-mark {
  font: 700 13px/1 var(--font-mono);
  background: var(--ivory);
  color: var(--ink);
  padding: 6px 7px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-name { font: 600 16px/1 var(--font-display); white-space: nowrap; }
.nav-links { display: flex; gap: clamp(10px, 2.4vw, 28px); }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font: 500 14px/1 var(--font-body);
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brass-bright); }

/* ---------- Sections ---------- */
.street {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 140px) var(--gutter) 0;
}
.street-label {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.street-head { position: relative; margin-bottom: clamp(28px, 5vw, 48px); }
.street-head h2 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; }

/* Mini community-card board in each section header */
.board { display: flex; gap: 6px; margin-top: 18px; }
.board-slot {
  width: 22px; height: 31px;
  border-radius: 4px;
  border: 1px dashed var(--brass-dim);
}
.board-slot.is-dealt {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, var(--ivory), var(--ivory-shade));
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* ---------- Playing cards ---------- */
.card { perspective: 1400px; }
.card-inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
}
.card.is-flipped .card-inner { transform: rotateY(180deg); }
.card-front, .card-back {
  border-radius: var(--radius-card);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow-card);
}
.card-front {
  position: relative;
  height: 100%;
  color: var(--ink);
  background: linear-gradient(160deg, #fbf7ec 0%, var(--ivory) 55%, var(--ivory-shade) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  border: 6px solid var(--ivory);
  background:
    repeating-linear-gradient(45deg, rgba(227, 192, 112, 0.35) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(-45deg, rgba(227, 192, 112, 0.35) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #7a1d23, #4a0f14);
}
.corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--font-display);
  font-weight: 700;
}
.corner-rank { font-size: 20px; }
.corner-suit { font-size: 18px; margin-top: 2px; }
.corner-tl { top: 12px; left: 12px; }
.corner-br { bottom: 12px; right: 12px; transform: rotate(180deg); }

/* ---------- Hero ---------- */
.street-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  position: relative;
  overflow-x: clip;
  padding-top: 110px;
  padding-bottom: 60px;
}
.betting-line {
  position: absolute;
  left: 50%; top: 52%;
  width: min(1100px, 130vw);
  aspect-ratio: 2.2 / 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(201, 162, 74, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.hero-cards {
  position: relative;
  display: flex;
  justify-content: center;
  height: clamp(230px, 30vw, 340px);
}
.hole-card {
  width: clamp(150px, 19vw, 220px);
  aspect-ratio: 5 / 7;
  height: auto;
  position: absolute;
}
.hole-card-0 { transform: translateX(-38%) rotate(-8deg); }
.hole-card-1 { transform: translateX(38%) rotate(7deg) translateY(6px); }
.hole-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.9;
}
.hole-rank { font-size: clamp(64px, 8vw, 96px); }
.hole-suit { font-size: clamp(40px, 5vw, 60px); }

.hero-copy { position: relative; }
.hero-copy h1 { font-size: clamp(44px, 7.5vw, 84px); font-weight: 800; letter-spacing: -0.01em; }
.hero-tagline {
  margin-top: 14px;
  font: 600 clamp(16px, 2vw, 20px)/1.4 var(--font-body);
  color: var(--brass-bright);
}
.hero-pitch { margin-top: 12px; font-size: clamp(17px, 2vw, 20px); color: var(--text); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-brass {
  color: var(--near-black);
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  box-shadow: 0 6px 18px -6px rgba(201, 162, 74, 0.6);
}
.btn-ghost { color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brass-dim); }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat dd { margin: 0; font: 600 22px/1 var(--font-mono); color: var(--text); }
.stat dt { font-size: 13px; color: var(--muted); }

.dealer-btn {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 3px solid #d8d2c2;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e9e3d4 60%, #cfc7b3);
  color: var(--ink);
  font: 800 22px/1 var(--font-display);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.2s;
}
.dealer-btn:hover { transform: rotate(-12deg) scale(1.06); }

/* ---------- Projects ---------- */
.flop-grid, .turn-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.flop-grid { grid-template-columns: 1fr; }
.turn-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .flop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .turn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
}
.play { display: flex; flex-direction: column; gap: 14px; }
.project-card { min-height: 100%; }
.project {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 64px 28px 56px;
  min-height: 460px;
}
.project-dates { font: 500 12px/1 var(--font-mono); color: #6f6656; letter-spacing: 0.04em; }
.project-title { font-size: 26px; font-weight: 700; color: var(--ink); }
.project-role { font-size: 13.5px; color: #5c5446; font-weight: 500; }
.project-problem { font-size: 15px; font-style: italic; color: #3b352b; }
.project-result {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 12px;
  border-left: 3px solid var(--brass);
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tags li {
  font: 500 11.5px/1 var(--font-mono);
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(15, 61, 46, 0.09);
  color: var(--felt);
  border: 1px solid rgba(15, 61, 46, 0.18);
}
.card-toggle {
  align-self: flex-start;
  margin-top: 6px;
  font: 600 14px/1 var(--font-body);
  color: var(--felt);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}
.card-toggle::after { content: ' +'; }
.card-toggle[aria-expanded='true']::after { content: ' −'; }
.card-detail {
  background: rgba(7, 19, 14, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.card-detail ul { display: grid; gap: 10px; }
.card-detail li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text); }
.card-detail li::before { content: '♦'; position: absolute; left: 0; color: var(--brass); font-size: 11px; top: 4px; }
.detail-link { display: inline-block; margin-top: 14px; font-weight: 600; }

/* ---------- River ---------- */
.river-layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .river-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
.experience { display: grid; gap: 14px; }
.job {
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(7, 19, 14, 0.45);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
}
.job-dates { font: 500 12px/1 var(--font-mono); color: var(--muted); letter-spacing: 0.04em; }
.job-title { font-size: 22px; margin-top: 8px; }
.job-org { color: var(--brass-bright); font-weight: 500; margin-top: 4px; }
.job-points { margin-top: 10px; display: grid; gap: 6px; }
.job-points li { position: relative; padding-left: 18px; color: #d9d3c4; font-size: 15px; }
.job-points li::before { content: '·'; position: absolute; left: 4px; color: var(--brass); font-weight: 700; }

.side-title {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 16px;
}
.side-title:not(:first-child) { margin-top: 40px; }
.skills { display: grid; gap: 22px; }
.chip-stack { display: flex; align-items: flex-end; gap: 18px; }
.stack-visual {
  display: flex;
  flex-direction: column-reverse;
  width: 54px;
  flex-shrink: 0;
}
.chip-disc {
  height: 9px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--chip-c);
  border: 1.5px dashed rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}
.chip-color-0 { --chip-c: var(--chip-0); }
.chip-color-1 { --chip-c: var(--chip-1); }
.chip-color-2 { --chip-c: var(--chip-2); }
.chip-color-2.chip-disc, .chip-color-2 .chip-disc, .chip.chip-color-2 { border-color: rgba(29, 26, 21, 0.55); }
.stack-group { font: 600 15px/1 var(--font-body); color: var(--text); margin-bottom: 8px; }
.stack-items { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-items li {
  font: 500 12.5px/1 var(--font-mono);
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #ddd7c8;
}
.honors { display: grid; gap: 10px; }
.honors li { position: relative; padding-left: 24px; }
.honors li::before { content: '★'; position: absolute; left: 0; color: var(--brass); }
.education { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---------- Showdown ---------- */
.street-showdown { text-align: center; padding-bottom: 40px; }
.street-showdown .street-head h2 { font-size: clamp(48px, 10vw, 104px); font-weight: 800; }
.showdown-sub { margin-top: 14px; color: var(--muted); font-size: 18px; }
.pot {
  position: relative;
  width: 170px; height: 70px;
  margin: 0 auto 36px;
}
.chip {
  position: absolute;
  left: calc(50% - 24px + (var(--s) - 1) * 54px);
  bottom: calc(var(--h) * 6px);
  width: 48px; height: 16px;
  border-radius: 50%;
  background: var(--chip-c);
  border: 2px dashed rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
}
.contact {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fbf7ec, var(--ivory) 60%, var(--ivory-shade));
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.contact-card:hover { transform: translateY(-4px) rotate(-1deg); }
.contact-label { font: 600 12px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.contact-value { font: 600 15.5px/1.3 var(--font-body); overflow-wrap: break-word; }
@media (min-width: 560px) { .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .contact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 80px auto 0;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13.5px;
}
.equity-chip {
  font: 600 14px/1 var(--font-mono);
  color: var(--near-black);
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.noscript { max-width: 640px; margin: 120px auto; padding: 0 var(--gutter); text-align: center; }

/* ---------- Small screens ---------- */
@media (max-width: 799px) {
  .street-hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 96px;
    min-height: auto;
  }
  .hero-cards { height: 240px; }
  .betting-line { top: 26%; width: 160vw; }
  .dealer-btn { top: 318px; bottom: auto; right: var(--gutter); width: 46px; height: 46px; font-size: 19px; }
  .hole-card { width: 140px; }
  .project { min-height: 0; }
}
@media (max-width: 560px) {
  .nav-name { display: none; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Equity calculator ---------- */
.equity {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--brass-dim);
  border-radius: 20px;
  color: var(--text);
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, #134a37, var(--felt-mid) 55%, var(--near-black));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  overflow: auto;
  overscroll-behavior: contain;
}
.equity::backdrop { background: rgba(3, 8, 6, 0.72); backdrop-filter: blur(3px); }
.eq-body { display: flow-root; }
.eq-body > * { margin-left: 28px; margin-right: 28px; }
.eq-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 26px;
}
.eq-head h2 { font-size: clamp(28px, 5vw, 38px); }
.eq-head .street-label { margin-bottom: 8px; }
.eq-close {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.eq-intro { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.eq-seats {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.eq-seat, .eq-board-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
}
.eq-board-row { margin-top: 12px; }
.eq-seat-name { font: 600 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); grid-column: 1 / -1; }
.eq-slots { display: flex; gap: 6px; }
.eq-slot {
  width: 42px; height: 58px;
  border-radius: 7px;
  border: 1.5px dashed var(--brass-dim);
  background: transparent;
  color: var(--muted);
  font: 700 17px/1 var(--font-display);
  cursor: pointer;
  transition: transform 0.12s, border-color 0.15s;
}
.eq-slot.is-filled {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: linear-gradient(160deg, #fbf7ec, var(--ivory) 60%, var(--ivory-shade));
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}
.eq-slot.is-red { color: var(--red); }
.eq-slot.is-active { border: 2px solid var(--brass-bright); box-shadow: 0 0 0 4px rgba(227, 192, 112, 0.25); }
.eq-slot:hover { transform: translateY(-2px); }
.eq-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(239, 233, 218, 0.1);
}
.eq-bar-win { background: linear-gradient(90deg, var(--brass), var(--brass-bright)); transition: width 0.2s; }
.eq-bar-tie { background: rgba(239, 233, 218, 0.45); transition: width 0.2s; }
.eq-pct { grid-column: 1 / -1; font: 400 13px/1.2 var(--font-mono); color: var(--muted); }
.eq-pct strong { font-size: 20px; color: var(--text); margin-right: 6px; }
.eq-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.eq-controls .btn { border: 1px solid var(--line); cursor: pointer; background-color: transparent; }
.eq-controls .btn-brass { border: 0; background: linear-gradient(180deg, var(--brass-bright), var(--brass)); }
.eq-controls .btn:disabled, .eq-controls .btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; transform: none; }
.eq-hint { margin-top: 10px; min-height: 1.4em; color: #f0a3a7; font-size: 14px; }
.eq-meta { font: 400 13px/1.4 var(--font-mono); color: var(--muted); }
.eq-grid-hint { margin-top: 18px; font-size: 13px; color: var(--muted); }
.eq-grid {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
}
.eq-card {
  aspect-ratio: 5 / 7;
  min-width: 0;
  padding: 0;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--ivory);
  color: var(--ink);
  font: 700 clamp(10px, 1.8vw, 14px)/1 var(--font-body);
  cursor: pointer;
}
.eq-card.is-red { color: var(--red); }
.eq-card:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45); }
.eq-card:disabled { opacity: 0.22; cursor: not-allowed; }
.eq-how { margin-top: 20px; margin-bottom: 26px; font-size: 14px; color: #d9d3c4; }
.eq-how summary { cursor: pointer; font-weight: 600; color: var(--brass-bright); }
.eq-how p { margin-top: 10px; }
.eq-how a { display: inline-block; margin-top: 10px; }

@media (max-width: 560px) {
  .equity {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    border: 0;
  }
  .eq-body > * { margin-left: 16px; margin-right: 16px; }
  .eq-grid { gap: 3px; }
  .eq-slot { width: 38px; height: 52px; font-size: 15px; }
}
