/* Option C (2026-11-20): option B with option A's publications, light only, and a larger studio portrait.
   Loads after the base stylesheet and option B's. */

/* light only: the dark tokens of the base and of B are set back to their light values */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #ffffff; --ink: #000000; --muted: #555b62; --faint: #697078; --rule: #d3d7db; --fill: #f2f2f2;
    --spot: #166ea7; --spot-ink: #10517a; --spot-tint: #ddebf7;
    --line: #262626; --d-wire: #8c8c8c; --d-wire-lt: #bfbfbf; --d-gray: #a6a6a6; --d-dark: #595959;
    --d-cell: #a3cde7; --d-one: #1a82c4; --act: #c00000; --res: #c55a11;
    color-scheme: light;
  }
  body.v-b.v-c { --paper: #ffffff; --ink: #1c1c1e; --muted: #5b6066; --faint: #6a7077; --fill: #f2f2f2; }
  .v-c .sheet { --scrim: rgba(0, 0, 0, 0.55); }
}

body.v-c { --tray-pad: clamp(24px, 3vw, 40px); --tray-out: 48px; }
.v-c .frame { max-width: 80rem; }

/* ------------------------------------------------------------------ the portrait: a studio photo, the rail's width */
.v-c .rail { padding-top: 48px; }
.v-c .rail-photo { display: block; }
.v-c .rail-photo img {
  width: clamp(128px, calc(32vh - 72px), 208px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
}
.v-c h1 { margin-top: 20px; }

/* ------------------------------------------------------------------ publications: silver, one white unit per year */
.v-c .tray {
  max-width: none;
  margin-left: var(--hang);
  margin-right: calc(-1 * var(--tray-out));
  padding: var(--tray-pad);
  background: var(--fill);
}
.v-c .tray .opener { margin-bottom: 22px; }
.v-c .tray .topic-filter { gap: 4px; margin-left: 0; }
.v-c .tray .topic-filter button { padding: 7px 12px; border-radius: 0; font-weight: 600; }
.v-c .tray .topic-filter button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.v-c .tray .check-box { border-radius: 0; background: var(--paper); }
.v-c .tray .pub-list { margin-top: 18px; }
.v-c .tray .pub-year {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  column-gap: 16px;
  margin-left: 0;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--paper);
}
.v-c .tray .pub-year + .pub-year { margin-top: 8px; }
.v-c .tray .pub-year > h3 {
  position: static;
  color: var(--ink);
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: left;
}
.v-c .tray .pub.entry { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; column-gap: 1.5rem; margin-left: 0; }
.v-c .tray .rows > .entry + .entry { margin-top: 22px; }
.v-c .tray .pub .entry-key { flex-direction: column; align-items: flex-start; gap: 1px; padding-top: 2px; }
.v-c .tray .pub .entry-main { margin-top: 0; }
.v-c .tray .pub .entry-links { grid-column: 3; flex-direction: column; align-items: flex-start; padding-top: 2px; }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 68em) {
  body.v-c { --tray-out: 32px; }
  .v-c .rail-photo img { width: 120px; }
}
@media (max-width: 47em) {
  body.v-c { --tray-out: 16px; }
  .v-c .tray { margin-left: -16px; }
  .v-c .tray .pub-year { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .v-c .tray .pub.entry { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .v-c .tray .pub .entry-key { flex-direction: row; flex-wrap: wrap; gap: 0 10px; }
  .v-c .tray .pub .entry-links { grid-column: 1; flex-direction: row; gap: 2px 18px; padding-top: 4px; }
  .v-c .rail-photo img { width: 112px; }
}
