/* v3.1: wide composition, role-first hero, two-layer cases, decision map. Loaded after site.css. */
:root { --bg: #faf9f6; --rule: #e6e4de; --field: #bdbab2; --read: 40rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b0b0b; --rule: #262625; --field: #52524f; } }
:root[data-theme="dark"] { --bg: #0b0b0b; --rule: #262625; --field: #52524f; }
body { background: var(--bg); }
.page { max-width: 72rem; padding: 1.75rem 2rem 6rem; }
@media (max-width: 760px) { .page { padding-inline: 1.25rem; } }
.cols > :not(h2):not(.margin):not(.wide) { max-width: var(--read); }
.indent > * { max-width: var(--read); }
header { margin-bottom: 3.5rem; }
header nav a:last-child { border: 1px solid var(--ink); border-radius: 999px; padding: .4rem 1rem; color: var(--ink); margin-left: .5rem; }
header nav a:last-child:hover { background: var(--ink); color: var(--bg); }
header nav a:last-child[aria-current="page"] { background: var(--ink); color: var(--bg); text-decoration: none; }
@media (max-width: 760px) { header nav a:last-child { padding: .5rem 1rem; margin-left: 0; } }
a.btn { text-decoration: none; display: inline-flex; align-items: center; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 4rem; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); max-width: 11ch; margin-bottom: 1.5rem; }
.hero .lede { max-width: 30rem; font-family: var(--sans); font-size: 1.1875rem; line-height: 1.55; color: var(--text); }
.hero .links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-top: 1.75rem; }
.hero figure { margin: 0; }
.hero figure img { width: 100%; max-width: 19rem; margin-left: auto; border-radius: 6px; background: #fff; }
.hero figcaption { max-width: 19rem; margin: .8rem 0 0 auto; font: 400 .875rem/1.45 var(--sans); color: var(--faint); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 2.5rem; align-items: start; } .hero h1 { max-width: none; } .hero figure img, .hero figcaption { margin-left: 0; max-width: 11rem; } }
.textlink { font: 500 1rem/1.4 var(--sans); }

.band-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.band-title h2 { font: 600 1.375rem/1.3 var(--serif); letter-spacing: -.01em; }
.band-title p { margin: 0; font: 400 .9375rem/1.5 var(--sans); color: var(--soft); }

.bigcase { border-top: 1px solid var(--ink); padding: 1.75rem 0 3rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem 4rem; }
.bigcase h3 { font: 600 clamp(1.75rem, 3.6vw, 2.5rem)/1.1 var(--serif); letter-spacing: -.02em; margin-bottom: .6rem; }
.bigcase h3 a { text-decoration: none; }
.bigcase h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.bigcase .kind { font: 400 .875rem/1.45 var(--sans); color: var(--faint); margin-bottom: 1rem; }
.bigcase .go { font: 500 1rem/1.4 var(--sans); }
.facts4 { margin: 0; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0 1.5rem; font: 400 1rem/1.55 var(--sans); }
.facts4 dt { font-weight: 600; color: var(--ink); padding: .85rem 0; border-top: 1px solid var(--rule); }
.facts4 dd { margin: 0; padding: .85rem 0; border-top: 1px solid var(--rule); color: var(--text); }
.facts4 dt:first-of-type, .facts4 dt:first-of-type + dd { border-top: 0; padding-top: 0; }
.facts4 dt.red { color: var(--red); }
@media (max-width: 860px) { .bigcase { grid-template-columns: 1fr; gap: 1.25rem; } .facts4 { grid-template-columns: 1fr; } .facts4 dt { padding: .85rem 0 0; } .facts4 dd { border-top: 0; padding-top: .1rem; } .facts4 dt:first-of-type { padding-top: 0; } }

/* decision map: considered options, the evidence, the choice, what happened. Readable without interaction. */
.dmap { margin: 2rem 0; }
.dmap h3 { font: 600 .9375rem/1.4 var(--sans); color: var(--soft); margin: 0 0 .8rem; }
.dmap .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.dmap .opt { border: 1px solid var(--rule); border-radius: 8px; padding: 1rem 1.1rem 1.1rem; }
.dmap .opt .state { display: block; font: 600 .8125rem/1.4 var(--sans); color: var(--faint); margin-bottom: .3rem; }
.dmap .opt b { display: block; font: 600 1.0625rem/1.35 var(--serif); color: var(--ink); margin-bottom: .3rem; }
.dmap .opt.no b { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
.dmap .opt.no .state { color: var(--red); }
.dmap .opt.yes { border: 2px solid var(--ink); padding: calc(1rem - 1px) calc(1.1rem - 1px) calc(1.1rem - 1px); }
.dmap .opt.yes .state { color: var(--ink); }
.dmap .opt p { margin: 0; font: 400 .9375rem/1.5 var(--sans); color: var(--soft); }
.dmap .evid { border-left: 3px solid var(--red); padding: .1rem 0 .1rem 1.1rem; margin: 0 0 1.75rem; max-width: 42rem; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; }
.dmap .lbl { font: 600 .8125rem/1.4 var(--sans); display: block; margin-bottom: .2rem; color: var(--soft); }
.dmap .evid .lbl { color: var(--red); }
.dmap .result { border-top: 1px solid var(--rule); padding-top: 1rem; max-width: 42rem; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; }
.dmap .evid p, .dmap .result p { margin: 0; }

/* case page */
.crumb { font: 400 .9375rem/1.4 var(--sans); color: var(--soft); margin-bottom: 1.5rem; }
.summary4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 4rem; margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.summary4 h3 { font: 600 .9375rem/1.4 var(--sans); color: var(--soft); margin-bottom: .25rem; }
.summary4 p { margin: 0; font: 400 1.0625rem/1.55 var(--sans); color: var(--text); max-width: 32rem; }
.summary4 .red h3 { color: var(--red); }
@media (max-width: 760px) { .summary4 { grid-template-columns: 1fr; gap: 1.5rem; } }
.layer2 { margin-top: 5rem; }
.layer2 > h2 { font: 600 1.375rem/1.3 var(--serif); letter-spacing: -.01em; margin-bottom: 1.5rem; }
.layer2 p { max-width: 42rem; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin: 2rem 0; }
.shots figure { margin: 0; }
.shots img { width: 100%; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.shots figcaption { margin-top: .6rem; font: 400 .9375rem/1.5 var(--sans); color: var(--soft); }
.shots figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; font: 400 1rem/1.55 var(--sans); max-width: 42rem; }
.timeline li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline time { color: var(--faint); font-size: .9375rem; }
.timeline b { color: var(--ink); }

.rowlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rowlist li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .25rem 4rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); }
.rowlist h3 { font: 600 1.0625rem/1.35 var(--serif); margin: 0; }
.rowlist .meta { display: block; margin-top: .1rem; }
.rowlist p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text); }
.rowlist a { text-underline-offset: .2em; }
@media (max-width: 760px) { .rowlist li { grid-template-columns: 1fr; } }

.rec { margin: 0; }
.rec blockquote { font: 500 clamp(1.25rem, 2.6vw, 1.625rem)/1.4 var(--serif); letter-spacing: -.01em; color: var(--ink); margin: 0 0 1rem; max-width: 44rem; text-wrap: pretty; }
.rec figcaption { font: 400 .9375rem/1.5 var(--sans); color: var(--soft); }
.rec .aspect { font-weight: 600; color: var(--ink); }

.toolcard { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem 4rem; border-top: 1px solid var(--ink); padding-top: 1.75rem; }
.toolcard h3 { font: 600 clamp(1.5rem, 3vw, 2rem)/1.15 var(--serif); letter-spacing: -.015em; margin-bottom: .5rem; }
.toolcard h3 a { text-decoration: none; }
.toolcard p { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; }
@media (max-width: 860px) { .toolcard { grid-template-columns: 1fr; } }

.tool-intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 3rem; margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.tool-intro h3 { font: 600 .9375rem/1.4 var(--sans); color: var(--soft); margin-bottom: .2rem; }
.tool-intro p { margin: 0; font: 400 1rem/1.55 var(--sans); }
@media (max-width: 760px) { .tool-intro { grid-template-columns: 1fr; } }
.tool-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 2rem 0 0; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); opacity: 1; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; } }
.openlist { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.openlist li { padding: .8rem 0; border-top: 1px solid var(--rule); font: 400 1rem/1.5 var(--sans); }
.openlist li:last-child { border-bottom: 1px solid var(--rule); }
.openlist b { color: var(--ink); }
.output .sub { font: 600 .9375rem/1.4 var(--sans); color: var(--soft); margin: 1.5rem 0 .5rem; }
.limits { font: 400 .9375rem/1.55 var(--sans); color: var(--soft); max-width: 40rem; }
.example-note { font: 400 .9375rem/1.5 var(--sans); color: var(--soft); max-width: 40rem; }

.topics { list-style: none; margin: 1rem 0 1.5rem; padding: 0; font: 400 1.0625rem/1.5 var(--sans); }
.topics li { padding: .7rem 0; border-top: 1px solid var(--rule); }
.topics li:last-child { border-bottom: 1px solid var(--rule); }
.bigcontact { font: 600 clamp(1.5rem, 3.2vw, 2.25rem)/1.2 var(--serif); letter-spacing: -.015em; }

/* newsletter at the end of the page: modest */
.letter-end { margin-top: 6rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem 4rem; align-items: start; }
.letter-end h2 { font: 600 1.0625rem/1.4 var(--serif); }
.letter-end p { font: 400 1rem/1.55 var(--sans); color: var(--soft); max-width: 32rem; }
.letter-end .signup { max-width: 26rem; }
@media (max-width: 860px) { .letter-end { grid-template-columns: 1fr; } }

.facts4 { column-gap: 0; }
.facts4 dt { padding-right: 1.5rem; }
@media (max-width: 860px) { .facts4 dt { padding-right: 0; } }

#checklist > .cols > .margin { font: 600 .9375rem/1.45 var(--sans); color: var(--ink); padding-top: 1.9rem; }
