/* Work I, The Tyranny of Representation: poster proportions (560×835) and the Parts 4–6 side-by-side table.
   The shared essay layout, reading table, margin notes and player come from ../assets/essay.css. */

:root {
  --essay-hero-w: clamp(320px, min(calc((100vh - 100px) * 0.6709), calc((100vw - 80px) * 0.52)), 600px);
  --essay-intro-w: minmax(360px, 520px);
  --essay-intro-min-h: max(620px, calc(var(--essay-hero-w) * 835 / 560));
  --essay-hero-gap: 48px;
  --essay-hero-mobile-w: 560px;
  --essay-toc-n: 20px;
  --essay-outline-col: 180px;
  --essay-title-size: clamp(2rem, 3.3vw, 2.75rem);
  --essay-title-track: 0.05em;
  --essay-the-size: 0.4em;
}
@supports (height: 100svh) {
  :root { --essay-hero-w: clamp(320px, min(calc((100svh - 100px) * 0.6709), calc((100vw - 80px) * 0.52)), 600px); }
}

/* Parts 4 to 6 side by side: in each row the sentences on women and on men sit beside each other, and a bracket joins
   them to the ground they share beneath. One column on phones, with each sentence labeled. */
.sxs {
  margin: 2.2em 0 0;
  padding: clamp(18px, 3vw, 26px) clamp(16px, 3vw, 26px) clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  font-size: 0.86em;
  line-height: 1.55;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.sxs-k {
  margin: 0;
  color: var(--gold-ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sxs-head h3 {
  margin: 6px 0 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.sxs .sxs-lede { margin: 0; max-width: 52ch; color: var(--muted); font-family: var(--font-ui); font-size: 14.5px; line-height: 1.45; }
.sxs-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  margin: 18px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hair);
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.sxs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  padding: 16px 0 18px;
}
.sxs-row + .sxs-row { border-top: 1px solid var(--hair); }
.sxs-q {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.sxs-c { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.sxs-who { display: block; margin-bottom: 2px; color: var(--ink-2); font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.sxs-w .sxs-who, .sxs-m .sxs-who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sxs-at {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration-color: var(--hair-2);
  text-underline-offset: 3px;
}
/* the shared ground, joined to both sides by a bracket */
.sxs-b {
  position: relative;
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 10px 14px 11px;
  border: 1px solid var(--hair-2);
  border-left: 2px solid var(--gold);
  border-radius: 6px 12px 12px 6px;
  background: var(--surface);
  color: var(--ink);
}
.sxs-b::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 25%;
  right: 25%;
  height: 9px;
  border: 1px solid var(--hair-2);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.sxs-b::after { content: ""; position: absolute; top: -8px; left: 50%; width: 1px; height: 8px; background: var(--hair-2); }
.sxs-b .sxs-who { color: var(--gold-ink); }
.sxs-foot { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--hair); }
.sxs-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.sxs-notes .lx-chip { text-decoration: none; }
.sxs .sxs-by { margin: 14px 0 0; color: var(--muted); font-family: var(--font-ui); font-size: 13px; line-height: 1.45; }
@media (hover: hover) { .sxs-at:hover { color: var(--gold-ink); text-decoration-color: var(--gold); } }
@media (max-width: 559px) {
  .sxs-cols { display: none; }
  .sxs-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sxs-w .sxs-who, .sxs-m .sxs-who { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .sxs-b { margin-top: 4px; }
  .sxs-b::before, .sxs-b::after { content: none; }
}
