/* What happened to Becca: site styles.
   One typeface (Manrope), Tailwind type scale, fixed spacing steps (2 4 8 12 16 24 32 40 48 64 80 96), flat backgrounds.
   Four kinds of statement have four treatments: record (blue), label (violet), account (amber), hospital's side (slate). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #FFFFFF; --wash: #F4F6F8; --ink: #0F1B2A; --ink-2: #3E4C5C; --ink-3: #5F6B78; --line: #DDE3EA;
  --record: #0E4F74; --record-bg: #EAF2F8; --record-line: #BCD4E4;
  --label: #4A3A8C; --label-bg: #EFECF9; --label-line: #CFC8EC;
  --account: #7A4A0A; --account-bg: #FBF1DF; --account-line: #EAD3A6;
  --side: #3B4654; --side-bg: #EEF0F3; --side-line: #D3D8DE;
  --signal: #A32020; --neutral-mark: #7B8794; --nav-bg: rgba(255, 255, 255, .82);
  --hero-a: #000000; --hero-b: #666666;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181818; --wash: #1F1F1F; --ink: #F2F2F2; --ink-2: #C9CDD2; --ink-3: #9AA1A9; --line: #313131;
    --record: #8CC4E6; --record-bg: #1F1F1F; --record-line: #2F6E94;
    --label: #B9AEF0; --label-bg: #1F1F1F; --label-line: #6A5BC0;
    --account: #E8BF7A; --account-bg: #1F1F1F; --account-line: #B07A2A;
    --side: #B8C0C9; --side-bg: #1F1F1F; --side-line: #5A6572;
    --signal: #F08A8A; --neutral-mark: #9AA1A9; --nav-bg: rgba(24, 24, 24, .82);
    --hero-a: #FFFFFF; --hero-b: #9B9B9B;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 28px; font-style: normal; }
em, i, cite, address, dfn { font-style: normal; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--record); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 300ms var(--ease); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--record); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 16px; }
.wrap { max-width: 1232px; margin-inline: auto; padding-inline: 24px; }
.prose { max-width: 680px; }
.prose > * + * { margin-top: 16px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; line-height: 20px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- navigation: a compact bar that floats off the top edge ---------- */
.nav-shell { position: sticky; top: 12px; z-index: 40; display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; }
.nav { pointer-events: auto; position: relative; isolation: isolate; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 16px; }
/* the blur lives on a layer behind the bar, so the full screen phone menu (position: fixed) is not trapped inside the bar */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-name { font-weight: 700; font-size: 16px; line-height: 24px; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease); }
.nav-links a:hover { background: var(--wash); color: var(--ink); }
.nav-links a:active { transform: scale(0.98); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.nav-toggle span:nth-child(1) { top: 13px; } .nav-toggle span:nth-child(2) { top: 19px; } .nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav { width: 100%; justify-content: space-between; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; gap: 8px; padding: 96px 24px 24px; background: var(--paper); opacity: 0; visibility: hidden;
    transition: opacity 300ms var(--ease), visibility 0s linear 300ms; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  .nav-links.open { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
  .nav-links a { font-size: 24px; line-height: 32px; padding: 12px 16px; opacity: 0; transform: translateY(24px); }
  .nav-links.open a { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  .nav-links.open li:nth-child(2) a { transition-delay: 60ms; } .nav-links.open li:nth-child(3) a { transition-delay: 120ms; }
  .nav-links.open li:nth-child(4) a { transition-delay: 180ms; } .nav-links.open li:nth-child(5) a { transition-delay: 240ms; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 600 16px/24px var(--font); text-decoration: none; cursor: pointer; transition: transform 300ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease); }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn:active { transform: scale(0.98); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.quiet:hover { background: var(--wash); }

/* ---------- home ---------- */
.hero { padding-block: 64px 80px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.hero h1 { font-size: 36px; line-height: 40px; max-width: 680px; }
@media (min-width: 760px) { .hero h1 { font-size: 48px; line-height: 1.04; } }
@media (min-width: 1100px) { .hero h1 { font-size: 60px; line-height: 1; } }
.hero h1 { background: linear-gradient(90deg, var(--hero-a), var(--hero-b)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 4px; }
.hero-sub { margin-top: 24px; max-width: 680px; font-size: 20px; line-height: 28px; color: var(--ink-2); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--ink-3); max-width: 560px; }
.clip { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 8px; background: var(--wash); }
.clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: #000; }
.clip figcaption { padding: 8px 4px 0; font-size: 14px; line-height: 20px; color: var(--ink-3); }
@media (max-width: 959px) { .clip { max-width: 360px; } }

.band { background: var(--wash); }
.section { padding-block: 64px; }
.section > .wrap > h2, .section-h { font-size: 30px; line-height: 36px; }
@media (min-width: 760px) { .section > .wrap > h2, .section-h { font-size: 36px; line-height: 40px; } }
.section-lede { margin-top: 16px; max-width: 680px; color: var(--ink-2); }

.tagline { padding-block: 96px; }
.tagline p { max-width: 900px; font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 760px) { .tagline p { font-size: 48px; line-height: 1.08; } }
@media (min-width: 1100px) { .tagline p { font-size: 60px; line-height: 1.05; } }
.tagline .tw { color: color-mix(in srgb, var(--ink) 30%, transparent); transition: color 500ms var(--ease); }
.tagline .tw.on { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .tagline .tw { color: var(--ink); transition: none; } }

.days { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.day { display: grid; gap: 4px 24px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: inherit; text-decoration: none; }
@media (min-width: 760px) { .day { grid-template-columns: 176px minmax(0, 1fr) auto; align-items: baseline; padding: 24px; } }
a.day { transition: border-color 300ms var(--ease), transform 300ms var(--ease); }
a.day:hover { border-color: var(--ink); color: inherit; }
a.day:active { transform: scale(0.99); }
.day-when { font-weight: 700; font-variant-numeric: tabular-nums; }
.day-title { font-weight: 700; }
.day-text { grid-column: 1 / -1; color: var(--ink-2); font-size: 16px; line-height: 24px; }
@media (min-width: 760px) { .day-text { grid-column: 2 / 3; } }
.day-state { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-3); }
a.day .day-state { color: var(--record); }
.day.soon { background: transparent; border-style: dashed; }

.kinds { margin-top: 32px; display: grid; gap: 12px; }
@media (min-width: 760px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.strip { margin-top: 32px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); overflow-x: auto; }
.strip svg { min-width: 640px; width: 100%; height: auto; }

/* ---------- the four kinds of statement ---------- */
.callout { border: 1px solid var(--side-line); background: var(--side-bg); border-radius: 12px; padding: 16px; }
.callout > * + * { margin-top: 12px; }
.callout .kind { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--side); }
.callout h3, .callout h4 { font-size: 18px; line-height: 28px; }
.callout ul { margin: 0; padding-left: 20px; } .callout li + li { margin-top: 8px; }
.callout.record { border-color: var(--record-line); background: var(--record-bg); } .callout.record .kind { color: var(--record); }
.callout.label { border-color: var(--label-line); background: var(--label-bg); } .callout.label .kind { color: var(--label); }
.callout.account { border-color: var(--account-line); background: var(--account-bg); } .callout.account .kind { color: var(--account); }
.callout .src { font-size: 14px; line-height: 20px; color: var(--ink-3); }
blockquote { margin: 0; }
.rq { border: 1px solid var(--record-line); background: var(--record-bg); border-radius: 8px; padding: 12px 16px; }
.rq p { font-weight: 500; }
.rq .src { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ink-3); font-weight: 400; }
.rq.label { border-color: var(--label-line); background: var(--label-bg); }
mark { background: #FFE27A; color: #0F1B2A; padding: 0 2px; border-radius: 2px; }

figure.rec { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--paper); }
figure.rec button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #FFFFFF; border-radius: 4px; cursor: zoom-in; overflow: hidden; }
figure.rec button::after { content: "Enlarge"; display: block; padding: 4px 8px; background: #F4F6F8; color: #3E4C5C; text-align: right; font: 600 12px/16px var(--font); }
figure.rec img { width: 100%; height: auto; }
figure.rec figcaption { padding: 8px 4px 0; }
figure.rec .cap { font-size: 14px; line-height: 20px; font-weight: 600; }
figure.rec .src { font-size: 12px; line-height: 16px; color: var(--ink-3); margin-top: 2px; }
figure.rec button:hover img { opacity: .92; } figure.rec img { transition: opacity 300ms var(--ease); }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(15, 27, 42, .78); }
.lightbox-inner { background: #FFFFFF; border-radius: 12px; padding: 12px; overflow: auto; max-height: 94vh; }
.lightbox-inner img { width: 100%; height: auto; border-radius: 4px; }
.lightbox-bar { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 8px 4px 0; color: #0F1B2A; font-size: 14px; line-height: 20px; }
.lightbox-bar button { flex: none; }

/* ---------- chapter ---------- */
.chap-head { padding-block: 64px 32px; }
.chap-part { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-3); }
.chap-head h1 { margin-top: 8px; font-size: 36px; line-height: 40px; max-width: 900px; }
@media (min-width: 760px) { .chap-head h1 { font-size: 48px; line-height: 1.04; } }
.chap-lede { margin-top: 24px; max-width: 680px; font-size: 20px; line-height: 28px; color: var(--ink-2); }
.toc { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.toc a { display: block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.toc a:hover { background: var(--wash); color: var(--ink); }
.part { padding-block: 48px; }
.part > .wrap > h2 { font-size: 30px; line-height: 36px; max-width: 900px; }
.part-intro { margin-top: 16px; max-width: 680px; color: var(--ink-2); }
.events { margin-top: 32px; }
.event { display: grid; gap: 16px 24px; padding-block: 32px; }
.event + .event { border-top: 1px solid var(--line); }
.event-time { font-variant-numeric: tabular-nums; }
.event-time time { display: block; font-size: 20px; line-height: 28px; font-weight: 700; }
.event-time span { display: block; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.event.key .event-time time { color: var(--signal); }
.event-body > * + * { margin-top: 16px; }
.event-body h3 { font-size: 20px; line-height: 28px; }
.event-recs { display: grid; gap: 16px; align-content: start; }
@media (min-width: 720px) { .event { grid-template-columns: 112px minmax(0, 1fr); } .event-recs { grid-column: 2; } }
@media (min-width: 1160px) { .event { grid-template-columns: 112px minmax(0, 600px) minmax(0, 1fr); } .event-recs { grid-column: 3; } }
.plain { max-width: 736px; } .plain > * + * { margin-top: 16px; }
.stack { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 960px) { .stack.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
dl.terms { margin: 32px 0 0; display: grid; gap: 12px; max-width: 736px; }
dl.terms div { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
dl.terms dt { font-weight: 700; } dl.terms dd { margin: 4px 0 0; color: var(--ink-2); }
.chart { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart figcaption { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.chart .legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.chart .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 9999px; margin-right: 6px; }
.chart ol.keys { margin: 12px 0 0; padding-left: 20px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.chart-scroll { overflow-x: auto; } .chart-scroll svg { min-width: 620px; }
details.table { margin-top: 12px; font-size: 14px; line-height: 20px; }
details.table summary { cursor: pointer; color: var(--record); font-weight: 600; }
table.data { border-collapse: collapse; margin-top: 8px; width: 100%; font-variant-numeric: tabular-nums; }
table.data th, table.data td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.next { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- people ---------- */
.people { margin-top: 32px; display: grid; gap: 12px; }
.person { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); display: grid; gap: 8px 24px; }
@media (min-width: 960px) { .person { grid-template-columns: 280px minmax(0, 1fr); padding: 24px; } }
.person h3 { font-size: 18px; line-height: 28px; }
.person .role { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.person dl { margin: 0; display: grid; gap: 8px; }
.person dt { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-2); }
.person dd { margin: 0; font-size: 16px; line-height: 24px; }
.person .where { font-size: 14px; line-height: 20px; }

/* ---------- drafting notes (removed by a final build) ---------- */
.draft-note { border: 1px dashed #B07A2A; background: #FFF6D6; color: #4A2F04; border-radius: 8px; padding: 8px 12px; font-size: 14px; line-height: 20px; }
.draft-note strong { font-weight: 700; }

/* ---------- footer ---------- */
footer.site { margin-top: 64px; background: var(--wash); padding-block: 48px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
footer.site .cols { display: grid; gap: 24px; }
@media (min-width: 760px) { footer.site .cols { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
footer.site p + p { margin-top: 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notfound { padding-block: 96px; }

/* =====================================================================================================
   Story format (Part 2 pilot, 11/27/2026): the narration leads, and the record sits beside it as proof.
   .where    one line under the opening that ties this part to the one before
   .watch    the narrator to the reader, at the top of a section: what to follow here
   .story    the steps of the story (.beat = when + telling + proof beside it on wide screens)
   .verdict  Patrick's judgment after a stretch of evidence
   .says     Wellstar's answers, each with his answer next to it
   ===================================================================================================== */
.where { margin-top: 24px; max-width: 680px; font-size: 16px; line-height: 24px; color: var(--ink-3); }
.where strong { color: var(--ink-2); }
.lead-in { margin-top: 24px; max-width: 680px; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--ink); }
.watch { margin-top: 24px; max-width: 680px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); }
.watch .kind { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-3); }
.watch p { margin-top: 8px; font-weight: 600; color: var(--ink); }
.story { margin-top: 40px; display: grid; gap: 48px; }
.beat { display: grid; gap: 16px 40px; align-items: start; }
.beat .tell { max-width: 680px; }
.beat .tell > * + * { margin-top: 16px; }
.beat .tell > .when { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.beat.key .tell > .when { color: var(--signal); }
.beat .tell > .when + * { margin-top: 8px; }
.beat .proof { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1160px) { .beat { grid-template-columns: minmax(0, 680px) minmax(0, 1fr); } .beat .proof { padding-top: 28px; } }
.story + .verdict, .story-figure + .verdict, .story-text + .verdict, .stack + .verdict { margin-top: 40px; }
.verdict + .story { margin-top: 48px; }
.verdict { max-width: 680px; border: 1px solid var(--account-line); background: var(--account-bg); border-radius: 12px; padding: 24px; }
.verdict .kind { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--account); }
.verdict p { margin-top: 12px; font-size: 20px; line-height: 28px; font-weight: 600; }
.story-figure { margin-top: 32px; }
.story-figure + .story-figure { margin-top: 16px; }
.story-text { margin-top: 32px; }
.story-text ul { margin: 0; padding-left: 24px; }
.story-text li + li { margin-top: 8px; }
.story-text.keep p { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.says { margin-top: 32px; display: grid; gap: 24px; }
.say { display: grid; gap: 12px; }
@media (min-width: 960px) { .say { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.say .they, .say .me { border: 1px solid var(--side-line); background: var(--side-bg); border-radius: 12px; padding: 16px; }
.say .me { border-color: var(--account-line); background: var(--account-bg); }
.say .kind { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--side); }
.say .me .kind { color: var(--account); }
.say p { margin-top: 8px; }
.say .src { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.says-src { margin-top: 16px; max-width: 736px; }

/* =====================================================================================================
   The short version (index.html): one plain page, set like a letter. No chart boxes, one column, a serif
   for the telling so it reads differently from the record pages.
   ===================================================================================================== */
.short { --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif; }
.short-wrap { max-width: 720px; margin-inline: auto; padding-inline: 24px; }
.short-top { padding-block: 48px 40px; }
.short-top-grid { display: grid; gap: 32px; align-items: center; }
.short-kicker { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-3); }
.short h1 { margin-top: 12px; font-size: 40px; line-height: 44px; }
.short-lede { margin: 20px 0 0; font-family: var(--serif); font-size: 24px; line-height: 34px; max-width: 560px; }
.short-lede2 { margin: 16px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-2); max-width: 560px; }
.short-by { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.short-portrait { margin: 0; max-width: 340px; }
.short-portrait img { display: block; width: 100%; height: auto; border-radius: 12px; }
.short-body { padding-bottom: 24px; }
.short-body section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.short-body section:first-child { margin-top: 0; padding-top: 8px; border-top: 0; }
.short-date { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--record); }
.short-body h2 { margin-top: 4px; font-size: 28px; line-height: 34px; }
.short-body section > p { margin: 18px 0 0; font-family: var(--serif); font-size: 20px; line-height: 32px; }
.short-body section > p.short-date { margin: 0; font-family: var(--font); font-size: 14px; line-height: 20px; }
.short-body section > p.short-more { margin-top: 20px; font-family: var(--font); font-size: 15px; line-height: 22px; }
.short-more a { color: var(--ink-3); }
.short-video { margin-top: 28px; max-width: 340px; }
/* Family photos and clips on the short page. Phone: the first photo runs full width with two beside each other under it, and the clips slide sideways. Wider: three across. */
.short-photos { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.short-photos figure { margin: 0; min-width: 0; }
.short-photos figure:first-child { grid-column: 1 / -1; }
.short-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--wash); }
.short-photos figcaption, .short-clips figcaption { padding: 8px 2px 0; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.short-photos figcaption b, .short-clips figcaption b { display: block; color: var(--ink); }
.short-clips { margin: 28px 0 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.short-clips figure { margin: 0; flex: 0 0 64%; max-width: 280px; scroll-snap-align: start; }
.short-clips video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: #000; }
@media (min-width: 640px) {
  .short-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .short-photos figure:first-child { grid-column: auto; }
  .short-clips { gap: 16px; overflow: visible; padding-bottom: 0; }
  .short-clips figure { flex: 1 1 0; max-width: none; }
}
/* The May 23 video, featured between the top of the short page and the first words. */
.short-feature { padding-block: 0 48px; }
.short-feature-grid { display: grid; gap: 24px; align-items: center; }
.short-feature figure { margin: 0; max-width: 280px; }
.short-feature video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #000; }
.short-feature-date { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--record); }
.short-feature-line { margin: 8px 0 0; font-family: var(--serif); font-size: 24px; line-height: 34px; max-width: 560px; text-wrap: balance; }
@media (min-width: 700px) { .short-feature-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; } }
@media (min-width: 640px) { .short-clips figure { max-width: 232px; } }
.short-one { margin: 28px 0 0; max-width: 340px; }
.short-one img { display: block; width: 100%; height: auto; border-radius: 8px; }
.short-one figcaption { padding: 8px 2px 0; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.short-one figcaption b { display: block; color: var(--ink); }
/* The fuller set of family photos on the full record page: two across on a phone, three, then four. Twelve photos fill every row. */
.gallery { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--wash); }
.gallery figcaption { padding: 8px 2px 0; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.gallery figcaption b { display: block; color: var(--ink); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.short-door { margin-top: 56px; padding-block: 56px 72px; background: var(--wash); }
.short-door h2 { font-size: 28px; line-height: 34px; }
.short-door p { margin: 12px 0 0; max-width: 620px; color: var(--ink-2); }
.short-parts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.short-parts a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); text-decoration: none; }
.short-parts a:hover { border-color: var(--ink-3); }
.short-parts b { display: block; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-3); }
.short-door-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 700px) { .short-top-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; } }
@media (min-width: 860px) {
  .short h1 { font-size: 48px; line-height: 52px; }
  .short-top { padding-block: 72px 56px; }
}
.short-asks { margin: 18px 0 0; padding-left: 28px; font-family: var(--serif); font-size: 20px; line-height: 32px; }
.short-asks li + li { margin-top: 10px; }

/* ---- Full record pages: two columns all the way down. Left, what I saw and what we were told. Right, what the record shows. */
.story .col-heads { display: none; }
.story .ref { margin: 12px 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--record); }
.story .ref::after { content: " \2193"; }
.story .ref-n { margin: 0 0 4px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--record); }
.story .beat .proof { padding: 16px; background: var(--record-bg); border: 1px solid var(--record-line); border-radius: 12px; }
.story .beat .proof::before { content: "What the record shows"; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--record); }
.story .beat .tell::before { content: "What I saw and what we were told"; display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--account); }
.story .beat.no-chart .tell::before { content: none; }
@media (min-width: 900px) {
  .story .ref::after { content: " \2192"; }
  .story .col-heads { position: sticky; top: 72px; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 12px 0; margin-bottom: 8px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; font-weight: 700; }
  .story .col-heads span:first-child { color: var(--account); }
  .story .col-heads span:last-child { color: var(--record); padding-left: 16px; }
  .story .beat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; }
  .story .beat .proof { padding-top: 16px; position: sticky; top: 128px; max-height: calc(100vh - 152px); overflow-y: auto; }
  .story .beat .proof::before, .story .beat .tell::before { content: none; }
}

/* ---- Short page: each dated part opens with the day, the date in large type and one line from her chart */
.short-body section.chapter { border-top: 0; margin-top: 72px; padding-top: 0; }
.opener { display: grid; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.opener-day { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--record); }
.opener-date { margin: 4px 0 0; font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.short-body .opener h2 { margin: 16px 0 0; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--ink-2); text-wrap: balance; }
.opener-line { margin: 0; padding: 20px 24px; border-left: 4px solid var(--record); background: var(--record-bg); border-radius: 0 12px 12px 0; }
.opener-line-label { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--record); }
.opener-line blockquote { margin: 8px 0 0; }
.opener-line blockquote p { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 34px; color: var(--ink); text-wrap: balance; }
.opener-line figcaption { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
@media (min-width: 640px) { .opener-date { font-size: 60px; } }
@media (min-width: 760px) { .opener-line blockquote p { font-size: 30px; line-height: 40px; } }
@media (min-width: 1100px) { .opener-date { font-size: 72px; } }

/* ---- Short page: the 31-day line. Wide screens: stops down the left. Narrower: a bar along the bottom that fills. */
.spine { display: none; }
@media (min-width: 1180px) {
  .spine { display: block; position: fixed; z-index: 5; top: 50%; transform: translateY(-50%); left: max(24px, calc(50% - 592px)); width: 176px; }
  .spine-title { margin: 0 0 12px 22px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink-3); }
  .spine ol { list-style: none; margin: 0; padding: 0; position: relative; }
  .spine ol::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
  .spine a { position: relative; display: grid; grid-template-columns: 12px auto 1fr; gap: 10px; align-items: center; padding: 6px 0; color: var(--ink-3); text-decoration: none; font-size: 14px; line-height: 20px; }
  .spine-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: background 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
  .spine-day { font-size: 12px; line-height: 16px; color: var(--ink-3); opacity: 0; transition: opacity 300ms var(--ease); }
  .spine a:hover { color: var(--ink); }
  .spine a.past .spine-dot { background: var(--ink-3); border-color: var(--ink-3); }
  .spine a.now { color: var(--ink); font-weight: 700; }
  .spine a.now .spine-dot { background: var(--record); border-color: var(--record); transform: scale(1.25); }
  .spine a.now .spine-day { opacity: 1; }
  .spine a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
}
.daybar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--nav-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-2); opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); }
.daybar.on { opacity: 1; }
.daybar-label { flex: 0 0 auto; min-width: 112px; }
.daybar-track { flex: 1 1 auto; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.daybar-fill { display: block; height: 100%; width: 100%; background: var(--record); transform-origin: left center; transform: scaleX(0); transition: transform 500ms var(--ease); }
@media (min-width: 1180px) { .daybar { display: none; } }
@media (prefers-reduced-motion: reduce) { .spine-dot, .spine-day, .daybar, .daybar-fill { transition: none; } }

/* ---- "The full record" opens a list of its parts. Wide screens: on hover, or from the small arrow button. Phone: the list is always in the menu. */
.nav-links .has-menu { position: relative; display: flex; align-items: center; }
.nav-more { display: grid; place-items: center; width: 24px; height: 36px; margin-left: -2px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.nav-more span { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 300ms var(--ease); }
.nav-more:hover { background: var(--wash); color: var(--ink); }
.has-menu.open .nav-more span { transform: translateY(2px) rotate(225deg); }
.nav-menu { list-style: none; margin: 0; padding: 8px; }
.nav-links .nav-menu a { padding: 8px 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-2); }
.nav-links .nav-menu a b { display: block; font-weight: 700; color: var(--ink); }
.nav-links .nav-menu a span { display: block; }
.nav-links .nav-menu a[aria-current="page"] { background: var(--wash); color: var(--ink-2); }
@media (min-width: 761px) {
  .nav-menu { position: absolute; top: calc(100% + 16px); left: -8px; width: 336px; max-height: calc(100vh - 96px); overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms; }
  .has-menu.open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
  /* keeps the menu open while the pointer crosses the gap between the bar and the list */
  .has-menu.open::after { content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 18px; }
  .nav-menu li.gap { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav-links { overflow-y: auto; }
  .nav-links .has-menu { display: block; }
  .nav-more { display: none; }
  .nav-menu { padding: 0 0 0 16px; }
  .nav-links .nav-menu a { padding: 6px 16px; font-size: 16px; line-height: 24px; font-weight: 600; }
  .nav-links .nav-menu a b { font-weight: 600; color: inherit; }
  .nav-links .nav-menu a span { display: none; }
  .nav-links .nav-menu a[aria-current="page"] { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .nav-menu, .nav-more span { transition: none; } }

/* ---- Family photos open larger in the page when clicked. The picture is fitted to the screen, never wider than its own pixels. */
button.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 8px; cursor: zoom-in; }
button.zoom img { transition: opacity 300ms var(--ease); }
button.zoom:hover img { opacity: .9; }
.short-portrait button.zoom { border-radius: 12px; }
dialog.lightbox.photo .lightbox-inner { background: var(--paper); }
dialog.lightbox.photo .lightbox-inner img { width: auto; max-width: 100%; max-height: calc(94vh - 104px); margin-inline: auto; border-radius: 8px; cursor: zoom-out; }
dialog.lightbox.photo .lightbox-bar { width: 0; min-width: 100%; color: var(--ink); }
/* a record page is always shown on white, so its Close button keeps dark ink in the dark theme too */
dialog.lightbox:not(.photo) .lightbox-bar .btn { color: #0F1B2A; border-color: #DDE3EA; }
dialog.lightbox:not(.photo) .lightbox-bar .btn:hover { background: #F4F6F8; }

/* ---- A video made full screen is shown whole and upright, with black at the sides. Without this the page's own crop (object-fit: cover)
   carries into full screen and a portrait video is cut down to a landscape strip. */
video:fullscreen { object-fit: contain !important; aspect-ratio: auto !important; border-radius: 0; }
video:-webkit-full-screen { object-fit: contain !important; aspect-ratio: auto !important; border-radius: 0; }

/* ---- Videos open larger in the page, like the photos. The Enlarge button sits on the video where there is a mouse and room for it;
   the enlarged player keeps its own full screen button. On a phone the video's own full screen is used instead. */
.vid { position: relative; }
.vid-zoom { display: none; }
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .vid-zoom { position: absolute; top: 8px; right: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 0; border-radius: 8px; background: rgba(15, 27, 42, .78); color: #FFFFFF; font: 600 12px/16px var(--font); cursor: zoom-in; transition: opacity 300ms var(--ease), background-color 300ms var(--ease); }
  .vid-zoom:hover { background: rgba(15, 27, 42, .96); }
  .vid-zoom:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
  .vid.playing .vid-zoom { opacity: 0; }
  .vid.playing:hover .vid-zoom, .vid.playing .vid-zoom:focus-visible { opacity: 1; }
}
dialog.lightbox video { display: none; }
dialog.lightbox.video .lightbox-inner img { display: none; }
dialog.lightbox.video video { display: block; width: min(calc(96vw - 24px), 1476px, calc((94vh - 104px) * var(--r, 0.5625))); max-width: none; height: auto; aspect-ratio: var(--r, 0.5625); object-fit: contain; background: #000; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .vid-zoom { transition: none; } }

/* ---- Wide screens: the short page is as wide as the full record pages (1184px), with the same left and right edges. The 31-day line
   sits at the left edge. Words stay at a readable line length; the top, the videos, the photo rows, each part's date with its chart
   line, and the links at the bottom use the full width. */
@media (min-width: 1180px) {
  .has-spine .short-wrap { max-width: 1232px; padding-left: 256px; }
  .has-spine .short-top-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
  .has-spine .short-portrait { max-width: 320px; }
  .has-spine .short-feature-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
  .has-spine .short-feature figure { max-width: 300px; }
  .has-spine .short-body section > p, .has-spine .short-body section > ol, .has-spine .short-body .callout, .has-spine .short-body figure.rec { max-width: 720px; }
  .has-spine .opener { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
  .has-spine .short-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
