﻿/* Shared structural layout for all mockup variants.
   Design temperature (type, color, rules) lives in the variant sheets.
   Layout: hero (identity + hook + bio + numbers + links), then two work columns. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body { overflow-x: clip; max-width: 100vw; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Hero ---------- */
header.hero { padding-top: 44px; padding-bottom: 10px; }
.hero .idrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; margin-top: 4px; }
.hero .name { margin: 0 0 2px; }
.hero .roleline { margin: 0 0 18px; }
.hero .heroblock { margin: 0 0 20px; max-width: 720px; }
.hero .quicklinks { margin: 0; }
.hero .quicklinks a { margin-right: 28px; }

/* ---------- Columns ---------- */
main.cols {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  grid-template-areas: "live execo";
  column-gap: 72px;
  padding-top: 28px;
  padding-bottom: 64px;
  align-items: start;
}
section.live  { grid-area: live; }
section.execo { grid-area: execo; }

section > h2 { margin: 0 0 4px; }
section .colsub { margin: 0 0 24px; max-width: 48ch; }

/* Align the first card row across both columns (subs differ in length). */
@media (min-width: 881px) {
  section .colsub { min-height: 4.6em; }
}

/* ---------- Cards ---------- */
article.card { margin-bottom: 26px; scroll-margin-top: 24px; transition: opacity 0.25s ease; }
article.card.faded { opacity: 0.18; }
.card h3 { margin: 0 0 4px; }
.card .line { margin: 0 0 8px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 0; padding: 0; }
.card .tag { display: inline-block; }
.card .tag:hover::after { content: " · " attr(data-count); }
.card details .metric { margin: 10px 0 0; }
.card .links { margin: 0 0 6px; }
.card .links a { margin-right: 14px; white-space: nowrap; }

.card details { margin-top: 2px; }
.card details summary {
  cursor: pointer;
  width: fit-content;
  list-style: none;
}
.card details summary::-webkit-details-marker { display: none; }
.card details summary::before { content: "+ "; }
.card details[open] summary::before { content: "– "; }
.card details .lead { margin: 8px 0 0; max-width: 58ch; }
.card details ul { margin: 10px 0 0; padding-left: 18px; }
.card details li { margin-bottom: 10px; }
.card .diagram { margin: 12px 0 0; }
.card .diagram img { max-width: 100%; height: auto; display: block; }
.card .diagram a { display: inline-block; margin-top: 4px; }

/* deep-link arrival: a quiet flash on the target card */
@keyframes target-flash {
  from { background-color: var(--flash, rgba(0, 0, 204, 0.07)); }
  to { background-color: transparent; }
}
article.card:target { animation: target-flash 1.6s ease-out 1; }

/* ---------- Footer ---------- */
footer { padding-bottom: 48px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Mobile: hero → live → execo ---------- */
@media (max-width: 880px) {
  main.cols {
    grid-template-columns: 1fr;
    grid-template-areas: "live" "execo";
    row-gap: 44px;
    column-gap: 0;
  }
  .hero .heroblock { max-width: none; }
  .hero .quicklinks a { margin-right: 18px; }
}

/* Variant A — Austere. Collison-grade restraint: white page, one good serif,
   classic underlined links, no chrome. System fonts only — zero font download.
   The polish lives in typography: a quality serif stack, one display moment
   (the hook), true small-caps headers, tabular numerals, refined underlines,
   hairline card rules, quiet hover/focus states, dark mode for free. */

:root {
  --fg: #111;
  --muted: #6b6b6b;
  --link: #0000cc;
  --rule: #ddd;
  --rule-light: #ececec;
  --bg: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e6e1;
    --muted: #9b9b9b;
    --link: #9db4ff;
    --rule: #333;
    --rule-light: #262626;
    --bg: #151515;
    --flash: rgba(157, 180, 255, 0.12);
  }
}

body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 Charter, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 1px; }

/* hero */
header.hero { border-bottom: 1px solid var(--rule); padding-bottom: 28px; }
.hero .name { font-size: 27px; font-weight: 700; letter-spacing: -0.01em; }
.hero .roleline { font-size: 14px; color: var(--muted); }
.hero .heroblock { font-size: 14px; line-height: 1.7; }
.hero .heroblock strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.hero .quicklinks { font-size: 15px; }
.hero .roleline .open { color: #15803d; }

/* columns */
section > h2 {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
section .colsub { font-size: 14px; color: var(--muted); font-style: italic; }

/* cards — identical internal rhythm, hairline rules between rows */
.cols .card { padding-top: 20px; border-top: 1px solid var(--rule-light); }
.cols section .card:first-of-type { border-top: 0; padding-top: 0; }
.card h3 { font-size: 17px; font-weight: 700; }
.card .line { font-size: 14.5px; color: var(--fg); opacity: 0.78; }
.card .tag {
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 2px 8px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.card .tag:hover { color: var(--fg); border-color: var(--fg); }
.card .metric { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card .links { font-size: 14px; }
.card details summary { font-size: 13.5px; color: var(--muted); }
.card details summary:hover { color: var(--fg); }
.card details .lead { font-size: 14.5px; }
.card details ul { font-size: 14.5px; }
.card .diagram img { background: #fff; }

footer { border-top: 1px solid var(--rule); padding-top: 18px; font-size: 13.5px; color: var(--muted); }
footer .muted { color: var(--muted); }

