/* Damn Good Ads — "screening room" design.
   Dark and cinematic so the work glows; editorial type; one signal-red accent.
   No JavaScript: interactions are CSS only, page transitions use cross-document
   view transitions where supported. */

:root {
  color-scheme: dark;

  --bg: #09090b;
  --bg-elev: #101013;
  --surface: #17171b;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.15);
  --text: #f4f2ee;
  --text-2: #b3afa7;
  --text-3: #8a867f;
  --accent: #ff3b2f;
  --accent-wash: rgb(255 59 47 / 0.14);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 60px;
  --r: 12px;
  --r-lg: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--accent); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono { font-family: var(--mono); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon { width: 16px; height: 16px; flex: none; }

.skip {
  position: absolute;
  z-index: 100;
  left: 12px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.skip:focus { top: 12px; }

.label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
}

/* ---------------------------------------------------------------- topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgb(9 9 11 / 0.74);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  view-transition-name: topbar;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.logo em, .footer-mark em, .display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Sized so the serif's x-height matches Geist's: at 1.2em its taller letters made
   "Good" look raised against "Damn" and "Ads", though the baselines were shared. */
.logo em { font-size: 1.06em; letter-spacing: 0; }

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash), 0 0 18px rgb(255 59 47 / 0.55);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 150ms ease, background-color 150ms ease;
}

.topnav a:hover { color: var(--text); background: rgb(255 255 255 / 0.06); }
.topnav .icon { width: 15px; height: 15px; }

.search {
  position: relative;
  flex: 0 1 260px;
  min-width: 0;
}

.search .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  translate: 0 -50%;
  width: 15px;
  height: 15px;
  color: var(--text-3);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 36px;
  padding: 0 14px 0 35px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.search input::placeholder { color: var(--text-3); }
.search input::-webkit-search-cancel-button { filter: invert(0.6); }

.search input:focus {
  outline: none;
  border-color: rgb(255 255 255 / 0.34);
  background: rgb(255 255 255 / 0.07);
}

@media (max-width: 720px) {
  .topbar-inner { gap: 10px; }
  .topnav .nav-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .topnav .nav-hide-sm { display: none; }
  .topnav a { width: 36px; padding: 0; justify-content: center; }
  .search { flex: 1 1 auto; }
  .search input { font-size: 16px; } /* prevents iOS zoom on focus */
}

@media (max-width: 380px) {
  .logo { font-size: 15px; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(44px, 7vw, 104px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
}

.display {
  margin: 0 0 24px;
  font-size: clamp(2.9rem, 6.4vw, 6rem);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.display em { display: block; margin-top: 0.06em; letter-spacing: -0.015em; }

.lede {
  max-width: 34em;
  margin: 0 0 36px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero .lede { margin-bottom: 32px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .btn { height: 46px; padding: 0 20px; font-size: 15px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgb(255 59 47 / 0.7);
}

/* ------------------------------------------------------- feature (pick) */

.feature {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
  box-shadow: 0 40px 100px -40px rgb(0 0 0 / 0.9);
}

.feature-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(9 9 11 / 0.94) 0%, rgb(9 9 11 / 0.5) 42%, transparent 72%);
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  pointer-events: none;
}

.feature-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-title {
  margin: 14px 0 6px;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.feature-meta { font-size: 14px; color: var(--text-2); }

.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip--accent { background: var(--accent); color: #fff; }

/* ------------------------------------------------------- home sections */

.section { padding-bottom: clamp(64px, 8vw, 112px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.045em; }
.section-head p { margin: 0; font-size: 15px; color: var(--text-2); }

/* ------------------------------------------ category rows (carousels) */

.rows { display: flex; flex-direction: column; gap: clamp(44px, 5.5vw, 72px); }

.row { min-width: 0; }

.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.row-title-group { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.row-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.row-title a { transition: color 150ms ease; }
.row-title a:hover { color: var(--accent); }

.row-desc { max-width: 62ch; margin: 0 0 18px; font-size: 14.5px; color: var(--text-2); text-wrap: pretty; }

.row-controls { display: flex; flex: none; align-items: center; gap: 10px; }

@media (max-width: 640px) {
  .row-controls .btn { height: 34px; padding: 0 12px; font-size: 13px; }
}

/* Three cards and a peek on desktop, two on tablets, one on phones. The
   track bleeds into the page gutter so cards scroll edge to edge. */
.carousel-track {
  --gap: 16px;
  --visible: 3.25;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
  gap: var(--gap);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -2px; }

@media (max-width: 1100px) {
  .carousel-track { --visible: 2.25; }
}

@media (max-width: 640px) {
  .carousel-track { --visible: 1.15; --gap: 12px; }
}

.slide { min-width: 0; scroll-snap-align: start; }

.slide-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
}

.slide-media { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }

/* Posters: the line sits top-left so the title can sit along the bottom. */
.slide-media .poster { justify-content: flex-start; padding: 16px 18px; }
.slide-media .poster-line { font-size: clamp(1.05rem, 1.6vw, 1.35rem); -webkit-line-clamp: 2; max-width: 22ch; }
.slide-media .poster-brand,
.slide-media .poster--echo .poster-line { display: none; }

.slide-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(9 9 11 / 0.92) 0%, rgb(9 9 11 / 0.35) 45%, transparent 70%);
}

.slide-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  pointer-events: none;
  transition: box-shadow 200ms ease;
}

.slide-body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
}

.slide-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.slide-meta { font-size: 13px; color: var(--text-2); }

.slide-link:active { transform: scale(0.985); }
.slide-link { transition: transform 160ms var(--ease-out); }

/* The last card in every row: "See all". */
.more-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  aspect-ratio: 16 / 9;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: linear-gradient(150deg, var(--surface), var(--bg-elev));
  transition: border-color 150ms ease, transform 160ms var(--ease-out);
}

.more-n { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-style: italic; line-height: 1; }
.more-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); transition: color 150ms ease; }
.more-label .icon { width: 15px; height: 15px; transition: transform 200ms var(--ease-out); }
.more-tile:hover { border-color: rgb(255 255 255 / 0.34); }
.more-tile:hover .more-label { color: var(--text); }
.more-tile:hover .more-label .icon { transform: translateX(2px); }
.more-tile:active { transform: scale(0.985); }

.carousel-nav { display: flex; align-items: center; gap: 8px; }
.carousel-nav[hidden] { display: none; }

/* Touch screens swipe; arrows are for mouse and keyboard. */
@media (hover: none) {
  .carousel-nav { display: none; }
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, opacity 150ms ease, transform 160ms var(--ease-out);
}

.carousel-btn .icon { width: 17px; height: 17px; }
.carousel-btn:hover:not(:disabled) { border-color: rgb(255 255 255 / 0.34); background: rgb(255 255 255 / 0.05); }
.carousel-btn:active:not(:disabled) { transform: scale(0.94); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

/* ------------------------------------------------- collection tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 14px;
}

@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9; /* crops YouTube's letterbox bars, like the cards */
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
}

.tile-media { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.tile-media .poster-line,
.tile-media .poster-brand { display: none; }

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(9 9 11 / 0.92) 0%, rgb(9 9 11 / 0.3) 55%, rgb(9 9 11 / 0.05));
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  pointer-events: none;
  transition: box-shadow 200ms ease;
}

.tile-body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
}

.tile-name { font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }

@media (max-width: 640px) {
  .tile-name { font-size: 15px; }
  .tile-body { padding: 12px; }
}

/* ------------------------------------------------------- category pills */

.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pills--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 2px;
}
.pills--scroll::-webkit-scrollbar { display: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out);
}

.pill:hover { color: var(--text); border-color: rgb(255 255 255 / 0.34); }
.pill:active { transform: scale(0.97); }

.pill[aria-current="page"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  transition: border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out);
}

.btn .icon { width: 15px; height: 15px; transition: transform 200ms var(--ease-out); }
.btn:hover { border-color: rgb(255 255 255 / 0.34); background: rgb(255 255 255 / 0.04); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: scale(0.97); }

.btn--primary { border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 550; }
.btn--primary:hover { border-color: #fff; background: #fff; }

/* ------------------------------------------------------------ card grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 32px 20px;
}

@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
}

.card-link { display: block; border-radius: var(--r); }

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  transition: transform 160ms var(--ease-out);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* also crops YouTube's letterbox bars */
  transition: transform 500ms var(--ease-out);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07);
  pointer-events: none;
  transition: box-shadow 200ms ease;
}

.year {
  position: absolute;
  top: 9px;
  left: 9px;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgb(9 9 11 / 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.card-body { display: block; padding: 12px 2px 0; }

.card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.card-meta {
  display: block;
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-cat { color: var(--text-2); }

/* List pages: the first line of "why it works" under each card. */
.card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-2);
  text-wrap: pretty;
}

.card-link:active .card-media { transform: scale(0.985); }

@media (hover: hover) and (pointer: fine) {
  .card-link:hover .card-media img { transform: scale(1.045); }
  .card-link:hover .card-media::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24); }
  .feature:hover .feature-media img { transform: scale(1.03); }
  .slide-link:hover .slide-media img,
  .tile:hover .tile-media img { transform: scale(1.04); }
  .tile:hover::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24); }
}

@media (max-width: 640px) {
  .card-title { font-size: 14px; }
  .card-meta { font-size: 12.5px; }
}

/* ------------------------------------------- scans of printed originals */

/* Posters and press pages are shown whole, never cropped: the piece sits
   in the frame on a blurred, darkened copy of itself. */
.scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--surface);
}

.scan .scan-backdrop {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(22px) brightness(0.42) saturate(1.15);
}

/* Absolutely centred so the max sizes resolve against the frame itself;
   the image keeps its own proportions inside them. */
.scan .scan-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 84%;
  max-height: 86%;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.55);
}

/* ---------------------------------------------------- typographic posters */

.poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--p1), var(--p2));
  color: var(--pf);
}

.poster::before {
  content: "\201C";
  position: absolute;
  top: -0.08em;
  right: 0.06em;
  font-family: var(--serif);
  font-size: 9em;
  line-height: 1;
  opacity: 0.18;
}

.poster-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.1;
  text-wrap: balance;
}

.poster-brand {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0.78;
}

/* In cards, keep the text clear of the year badge. */
.card-media .poster { padding-top: 40px; }

/* Small two-up cards on phones: two lines, no brand (it's under the card). */
@media (max-width: 640px) {
  .grid .card-media .poster { padding: 34px 10px 10px; }
  .grid .poster-brand { display: none; }
  .grid .poster-line { -webkit-line-clamp: 2; font-size: 15px; }
  .grid .poster::before { font-size: 6em; }
}

.poster-0 { --p1: #e3321f; --p2: #85130b; --pf: #fff3ee; }
.poster-1 { --p1: #25593f; --p2: #0d281b; --pf: #e2f1e6; }
.poster-2 { --p1: #2c50b5; --p2: #0f1d50; --pf: #e6ecff; }
.poster-3 { --p1: #f2c511; --p2: #c48d00; --pf: #1c1500; }
.poster-4 { --p1: #3c3c43; --p2: #17171b; --pf: #f1efe9; }
.poster-5 { --p1: #7c2f8d; --p2: #381240; --pf: #f6e9fa; }

/* --------------------------------------------------------------- ad page */

.ad-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: clamp(28px, 4vw, 48px) 0 22px;
  font-size: 13px;
  color: var(--text-3);
}

.crumbs a { transition: color 150ms ease; }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: 0.5; }

.ad-title {
  max-width: 18ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.ad-title--long {
  max-width: 26ch;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.ad-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-size: 15px;
  color: var(--text-2);
}

.ad-sub .sep { color: var(--text-3); }
.ad-sub:has(+ .ad-lede) { margin-bottom: 14px; }

/* The plain one-sentence summary: what it is, for whom, by whom. */
.ad-lede {
  max-width: 62ch;
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.ad-media {
  position: relative;
  isolation: isolate;
  margin: 0 0 clamp(40px, 6vw, 72px);
}

.ambient {
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  opacity: 0.4;
  filter: blur(56px) saturate(1.5);
  pointer-events: none;
}

.ambient img { width: 100%; height: 100%; object-fit: cover; }

.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  view-transition-name: var(--vt);
}

.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Playable embed: no overlay gradient over the player's own controls. */
.media-frame--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-frame--video::after { background: none; }
.ad-media figcaption a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.25); text-underline-offset: 3px; }
.ad-media figcaption a:hover { color: var(--text); }
.ad-media figcaption .icon { display: inline; width: 12px; height: 12px; margin-left: 3px; vertical-align: -1px; }

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgb(0 0 0 / 0.55), transparent 38%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  pointer-events: none;
}

.media-frame--poster::after { background: none; }

/* Large poster: brand label top-left, the line set big along the bottom. */
.media-frame--poster .poster {
  flex-direction: column-reverse;
  justify-content: space-between;
  padding: clamp(22px, 4.5vw, 56px);
}
.media-frame--poster .poster::before { font-size: clamp(12em, 30vw, 26em); opacity: 0.2; }
.media-frame--poster .poster-line {
  -webkit-line-clamp: 4;
  max-width: 15ch;
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.media-frame--poster .poster--long .poster-line {
  max-width: 24ch;
  font-size: clamp(1.5rem, 3.6vw, 3.2rem);
  line-height: 1.06;
}
.media-frame--poster .poster-brand { font-size: 12.5px; }

/* Large scan: a taller frame for portrait pages, with a strip kept clear
   along the bottom for the "See the original" link. */
.media-frame--scan { width: 100%; aspect-ratio: 4 / 3; max-height: 72vh; }
.media-frame--scan .scan .scan-img {
  inset: clamp(16px, 3vw, 28px) 0 56px;
  max-height: calc(100% - 56px - clamp(16px, 3vw, 28px));
}
.media-frame--scan::after { background: linear-gradient(to top, rgb(0 0 0 / 0.45), transparent 30%); }
@media (max-width: 640px) {
  .media-frame--scan { aspect-ratio: 1; }
}

.play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: clamp(56px, 8vw, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28);
  color: #fff;
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}

.play svg { width: 36%; height: 36%; margin-left: 6%; }

.media-cta {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 2.5vw, 24px);
  bottom: clamp(14px, 2.2vw, 22px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.media-frame:active .play { transform: scale(0.95); }

@media (hover: hover) and (pointer: fine) {
  .media-frame:hover .play { transform: scale(1.06); background: var(--accent); box-shadow: none; }
}

.ad-media figcaption { margin-top: 12px; font-size: 13px; color: var(--text-3); }

.ad-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}

@media (max-width: 900px) {
  .ad-body { grid-template-columns: 1fr; }
}

.pull {
  margin: 0 0 clamp(40px, 5vw, 56px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  line-height: 1.12;
  text-wrap: balance;
}

.why-text {
  max-width: 64ch;
  margin: 0;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  line-height: 1.72;
  color: #e6e3dd;
  text-wrap: pretty;
}

.sources { margin-top: clamp(44px, 5vw, 64px); }

.cites { border-top: 1px solid var(--line); counter-reset: cite; }

.cites li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: cite;
}

.cites li::before {
  content: counter(cite, decimal-leading-zero);
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.cite-title {
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.18);
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease;
}

.cite-title:hover { text-decoration-color: var(--accent); }
.cite-title .icon { display: inline; width: 13px; height: 13px; margin-left: 4px; vertical-align: -1px; color: var(--text-3); }

.cite-meta { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }

.ad-side { display: flex; flex-direction: column; gap: 14px; }

@media (min-width: 901px) {
  .ad-side { position: sticky; top: calc(var(--topbar-h) + 24px); }
}

.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-elev);
}

.panel .label { margin-bottom: 14px; }

.facts { display: grid; gap: 12px; margin: 0; }
.facts div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.facts dt { padding-top: 2px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-3); }
.facts dd { margin: 0; font-size: 14.5px; line-height: 1.45; }
.facts--stacked { gap: 14px; }
.facts--stacked div { grid-template-columns: 1fr; gap: 3px; }
.facts--stacked dt { padding-top: 0; }
.facts a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.2); text-underline-offset: 3px; }
.facts a:hover { text-decoration-color: var(--accent); }

.watch-list { display: grid; gap: 2px; margin: 0 -10px; }

.watch-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  transition: background-color 150ms ease;
}

.watch-list a:hover { background: rgb(255 255 255 / 0.05); }
.watch-list .w-label { flex: 1; min-width: 0; }
.watch-list .icon { width: 14px; height: 14px; margin-top: 3px; color: var(--text-3); }

.badge {
  flex: none;
  margin-top: 1px;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(255 255 255 / 0.08);
  color: var(--text-2);
}

.badge--official { background: var(--accent-wash); color: #ff7a70; }
.badge--museum { background: rgb(52 211 153 / 0.13); color: #6ee7b7; }
.badge--archive { background: rgb(167 139 250 / 0.15); color: #c4b5fd; }

/* ---------------------------------------------------- pager & related */

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: clamp(56px, 7vw, 88px);
}

.pager a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out);
}

.pager a:hover { border-color: var(--line-strong); background: rgb(255 255 255 / 0.03); }
.pager a:active { transform: scale(0.985); }
.pager .next { grid-column: 2; align-items: flex-end; text-align: right; }

.pager-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pager-dir .icon { width: 14px; height: 14px; }

.pager-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.015em;
}

@media (max-width: 560px) {
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: auto; }
}

.related { margin-top: clamp(56px, 7vw, 88px); }

/* ------------------------------------------------------------ techniques */

/* Ad page: one line per technique, the name leading into how it's used. */
.ad-techniques { margin-top: clamp(36px, 4.5vw, 52px); }
.technique-notes { display: grid; gap: 14px; max-width: 64ch; }
.technique-notes li { font-size: 15.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.technique-name { margin-right: 4px; font-weight: 600; color: var(--text); }
.technique-name a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 3px; }
.technique-name a:hover { text-decoration-color: currentColor; }
.technique-name::after { content: " —"; font-weight: 400; color: var(--text-3); }

/* Techniques index: families of technique cards. */
.tech-family { margin-bottom: clamp(48px, 7vw, 80px); }
.tech-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.tech-item {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color 150ms ease;
}
.tech-item:hover { border-color: rgb(255 255 255 / 0.22); }
.tech-item h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.tech-item h3 a::after { content: " →"; color: var(--text-3); }
.tech-item p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.tech-item .tech-examples { margin-top: 12px; font-size: 13px; color: var(--text-3); }
.tech-examples a { color: var(--text-2); }
.tech-examples a:hover { color: var(--text); }

.section-head h2 a:hover { color: var(--text-2); }

/* "Updated 6 October 2026" under an entry's sources or a page's text. */
.updated { margin: 28px 0 0; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

/* ------------------------------------------- long-form text (editable) */

.prose { max-width: 64ch; }
.prose p { margin: 0 0 1.05em; font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.7; color: #e6e3dd; text-wrap: pretty; }
.prose h2,
.prose h3 { margin: 1.9em 0 0.6em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose h3 { font-size: 1.12rem; }
.prose ul { margin: 0 0 1.05em; padding-left: 1.2em; list-style: disc; }
.prose li { margin: 0 0 0.45em; font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.6; color: #e6e3dd; }
.prose li::marker { color: var(--text-3); }
.prose strong { font-weight: 600; color: var(--text); }
.prose a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 3px; transition: text-decoration-color 150ms ease; }
.prose a:hover { text-decoration-color: currentColor; }

/* Category and collection intros sit under the grid. */
.list-about {
  margin: clamp(24px, 4vw, 40px) 0 clamp(48px, 7vw, 88px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.list-about > h2 { margin: 0 0 18px; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.035em; line-height: 1.05; }

/* About / method pages. */
.doc { padding-bottom: clamp(56px, 8vw, 96px); }
.page-title--doc { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-head.doc .lede { margin-bottom: clamp(28px, 4vw, 40px); }

.related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
}

.related-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.035em; line-height: 1.05; }

/* ------------------------------------------------------- category page */

.page-head { padding-bottom: 32px; }

.page-title {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 7.4vw, 6.4rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.page-head .lede { margin-bottom: 14px; }

.page-meta { margin: 0; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

.cat-tabs { margin-bottom: clamp(36px, 5vw, 56px); }

.decade { margin-bottom: clamp(44px, 6vw, 64px); }

.decade-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 18px;
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
}

.decade-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.035em; }

.page-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* ------------------------------------------------------------ all ads */

.index-group { margin-bottom: clamp(36px, 5vw, 56px); }

.index-decade {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 18px;
  margin-bottom: 6px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
}

.index-list li { border-bottom: 1px solid var(--line); }
.index-list li:last-child { border-bottom: 0; }

.index-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  margin-inline: -10px;
  padding: 12px 10px;
  border-radius: 8px;
  transition: background-color 150ms ease;
}

.index-row:hover { background: rgb(255 255 255 / 0.04); }
.index-year { font-size: 13px; color: var(--text-3); }
.index-title { font-weight: 550; letter-spacing: -0.01em; }
.index-brand { font-size: 14px; color: var(--text-2); }
.index-cat { font-size: 13px; color: var(--text-3); text-align: right; }

@media (max-width: 720px) {
  .index-row { grid-template-columns: 48px minmax(0, 1fr); gap: 2px 12px; }
  .index-brand { grid-column: 2; }
  .index-cat { display: none; }
}

/* ------------------------------------------------------------- search */

.search--page { flex: none; max-width: 640px; margin-bottom: 18px; }
.search--page .icon { left: 18px; width: 18px; height: 18px; }

.search--page input {
  height: 56px;
  padding-left: 48px;
  border-radius: 14px;
  font-size: 18px;
}

.empty { max-width: 640px; color: var(--text-2); }
.empty p { margin: 0 0 18px; }

/* ----------------------------------------------------------------- 404 */

.notfound { padding-block: clamp(48px, 8vw, 112px) 0; }
.notfound .lede { margin-bottom: 28px; }

/* -------------------------------------------------------------- footer */

.site-footer {
  margin-top: clamp(80px, 10vw, 140px);
  padding: clamp(48px, 6vw, 80px) 0 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg-elev), var(--bg) 70%);
}

.footer-mark {
  margin: 0 0 clamp(36px, 5vw, 56px);
  font-size: clamp(2.8rem, 10vw, 8.5rem);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.footer-mark em { letter-spacing: -0.02em; padding-right: 0.03em; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 40px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

.footer-about p { max-width: 40em; margin: 0 0 14px; color: var(--text-2); font-size: 15px; text-wrap: pretty; }
.footer-about .fine { font-size: 13px; color: var(--text-3); }
.footer-pages a { color: var(--text); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.25); text-underline-offset: 3px; }
.footer-pages a:hover { text-decoration-color: currentColor; }

.footer-grid ul { display: grid; gap: 8px; }
.footer-grid li a { font-size: 14px; color: var(--text-2); transition: color 150ms ease; }
.footer-grid li a:hover { color: var(--text); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
}

/* ------------------------------------------------ page transitions (CSS) */

@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) { animation-duration: 200ms; }

::view-transition-group(*) {
  animation-duration: 360ms;
  animation-timing-function: var(--ease-out);
}

/* The thumbnail you click morphs into the ad page's hero image. Names are
   only assigned on hover so the 100+ cards on a page aren't all captured. */
@media (hover: hover) and (pointer: fine) {
  .card-link:hover .card-media,
  .slide-link:hover .slide-media,
  .feature:hover .feature-media { view-transition-name: var(--vt); }
}

/* Reduced motion: no page morphs or movement; colour/opacity feedback stays. */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .card-link:hover .card-media img,
  .feature:hover .feature-media img,
  .slide-link:hover .slide-media img,
  .tile:hover .tile-media img,
  .carousel-btn:active:not(:disabled),
  .slide-link:active,
  .more-tile:active,
  .more-tile:hover .more-label .icon,
  .card-link:active .card-media,
  .media-frame:hover .play,
  .media-frame:active .play,
  .btn:hover .icon,
  .btn:active,
  .pill:active,
  .pager a:active { transform: none; }
}

/* --------------------------------------- brands, decades and slogans */

.decade-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.035em; }
.decade-head a:hover,
.index-decade a:hover { color: var(--text-2); }

/* Home: more ways to browse. */
.browse { display: grid; gap: 24px; }
.browse-group { display: grid; gap: 10px; }
.browse-group .label { margin: 0; }
.browse-group .label a:hover { color: var(--text); }
.browse-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Slogans: text first, each line one click from its ad. */
.slogan-group { margin-bottom: clamp(48px, 7vw, 80px); }
.slogans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 0 32px;
}
.slogans li { border-bottom: 1px solid var(--line); }
.slogan { display: grid; gap: 5px; padding: 14px 0 15px; }
.slogan-line {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
  transition: color 150ms ease;
}
.slogan-meta { font-size: 13px; color: var(--text-3); }
.slogan:hover .slogan-line { color: var(--accent); }

/* --------------------------------------------------------- research */

.report { max-width: 920px; }
.report-findings {
  max-width: none;
  margin-bottom: clamp(44px, 6vw, 72px);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px) 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.report-findings > h2 { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.report-findings ul { padding-left: 1.1em; }
.report-section { margin-bottom: clamp(44px, 6vw, 64px); }
.report-section > h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.035em; line-height: 1.05; }
.report-note { max-width: 64ch; margin: 0 0 16px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

.bars,
.top3 { width: 100%; border-collapse: collapse; }
.bars th,
.bars td,
.top3 th,
.top3 td { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; vertical-align: middle; }
.bars th { width: 38%; padding-right: 16px; font-size: 14.5px; line-height: 1.3; }
.bar-cell { display: flex; align-items: center; gap: 12px; }
.bar { flex: 1; height: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.06); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: rgb(244 242 238 / 0.62); }
.bars .is-top .bar > span { background: var(--accent); }
.bar-val { min-width: 3.4em; font-size: 13px; text-align: right; color: var(--text-2); }
.bars a,
.top3 a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.25); text-underline-offset: 3px; }
.bars a:hover,
.top3 a:hover { text-decoration-color: currentColor; }
.top3 thead th { padding-top: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.top3 tbody th { width: 30%; padding-right: 16px; font-size: 14.5px; }
.top3 td { font-size: 14.5px; line-height: 1.6; }
.top3-item { display: inline-block; margin-right: 18px; white-space: nowrap; }
.top3-item .mono { font-size: 12.5px; color: var(--text-3); }
/* Beats .prose p, which sets body-text size and colour. */
.prose .cite-this {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .bars th { width: 44%; }
  .top3 tbody th { width: 34%; }
  .top3-item { display: block; margin: 0 0 2px; }
}
