/* Gentle Reminder · design case */
.case-hero { padding: 48px var(--gutter) 40px; }
.case-topline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; border-bottom: 2px solid var(--ink); margin-bottom: 28px; }
.case-hero h1 { font-size: clamp(2.375rem, 8.4vw, 5.25rem); font-variation-settings: "opsz" 144; max-width: 15em; line-height: 1; }
.case-hero h1 em { color: var(--red); }
.case-intro { font-size: clamp(1.0625rem, 2.4vw, 1.3125rem); color: var(--ink-2); max-width: 36em; margin-top: 22px; }
.facts { margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.facts dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); column-gap: 24px; } .case-hero { padding-top: 72px; } }

.chapter { display: grid; gap: 8px; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.ch-num { color: var(--red); }
.ch-body { min-width: 0; max-width: 860px; }
.ch-body > h2 { font-size: clamp(1.875rem, 6vw, 3rem); }
.ch-body > p { margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; max-width: 40em; }
.ch-body > p.big { color: var(--ink); font-family: var(--serif); font-style: italic; font-size: clamp(1.3125rem, 3.4vw, 1.75rem); line-height: 1.3; margin-top: 16px; }
.ch-body > .btn { margin-top: 28px; }
@media (min-width: 900px) { .chapter { grid-template-columns: 200px 1fr; gap: 32px; padding-top: 72px; padding-bottom: 72px; } }

.five { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.five li { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); border-top: 6px solid var(--tone); min-width: 0; }
.five-head { display: flex; align-items: center; gap: 10px; }
.five-head .mono { color: var(--ink-2); }
.five-head b { font-family: var(--serif); font-size: 1.25rem; }
.five-subj { margin-top: 8px; font-weight: 600; overflow-wrap: anywhere; }
.five-body { margin-top: 8px; white-space: pre-wrap; color: var(--ink-2); font-size: .9375rem; overflow-wrap: anywhere; }
@media (min-width: 760px) { .five { grid-template-columns: 1fr 1fr; } }
.caption { font-size: .875rem !important; }

.id-grid { display: grid; gap: 16px; margin: 26px 0 8px; }
.id-mark { background: var(--card); border-radius: 16px; padding: 28px; display: grid; justify-items: center; gap: 16px; box-shadow: var(--shadow); }
.id-word { font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 7vw, 2.75rem); letter-spacing: -.02em; }
.id-word i { font-weight: 400; }
.id-word b { color: var(--red); }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.swatches li { background: var(--c); color: var(--t); border-radius: 14px; padding: 14px; min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(30, 27, 46, .12); }
.swatches span { font-family: var(--mono); font-size: .75rem; }
@media (min-width: 600px) { .swatches { grid-template-columns: repeat(3, 1fr); } }
.type-spec { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.type-spec p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.type-spec .mono { color: var(--ink-2); }
.t-serif { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; }
.t-sans { font-family: var(--sans); font-size: 1.375rem; }
.t-mono { font-family: var(--mono); font-size: 1.125rem; }

.parts { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.parts li { counter-increment: p; position: relative; padding-left: 40px; color: var(--ink-2); }
.parts li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-content: center; font-family: var(--mono); font-size: .75rem; }
.parts b { color: var(--ink); display: block; }
.tone-table { margin-top: 24px; display: grid; border-top: 2px solid var(--ink); }
.tone-table [role="row"] { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0 14px 16px; border-bottom: 1px solid var(--line); position: relative; }
.tone-table [role="row"]:not(.tt-head)::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 5px; border-radius: 3px; background: var(--tone); }
.tone-table .tt-head { display: none; }
.tone-table [role="cell"]:last-child { color: var(--red-deep); font-size: .9375rem; }
.tone-table [role="cell"]:last-child::before { content: "Never: "; font-weight: 600; }
@media (min-width: 760px) {
  .tone-table [role="row"] { grid-template-columns: 170px 1fr 220px; gap: 16px; }
  .tone-table .tt-head { display: grid; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-left: 16px; }
  .tone-table [role="cell"]:last-child::before { content: none; }
}

.guards, .built { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.guards li, .built li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.guards li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.built li::before { content: ""; position: absolute; left: 5px; top: 22px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--blue); border-radius: 2px; }
.guards b { color: var(--ink); }
.decisions { display: grid; gap: 12px; margin-top: 22px; }
.decisions article { background: var(--card); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.decisions h3 { font-size: 1.375rem; }
.decisions p { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 760px) { .decisions { grid-template-columns: 1fr 1fr; } }

.honest { padding-top: 32px; padding-bottom: 64px; }
.honest p { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 2px dashed var(--line); border-radius: 16px; padding: 18px; color: var(--ink-2); max-width: 1060px; }
.five li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Reading comfort: bigger body copy, a 65 to 70 character measure, more air */
body.case { font-size: 1.0625rem; line-height: 1.65; }
.facts dd { font-size: 1.0625rem; }
.chapter { padding-top: 56px; padding-bottom: 56px; }
.ch-body > h2 { margin-bottom: 6px; }
.ch-body > p { font-size: 1.0625rem; line-height: 1.7; max-width: 66ch; margin-top: 18px; }
.ch-body > p.big { max-width: 30em; margin-top: 14px; margin-bottom: 4px; }
.parts, .guards, .built, .tone-table { max-width: 780px; font-size: 1.0625rem; line-height: 1.6; }
.parts { gap: 14px; margin-top: 28px; }
.parts li { padding-left: 44px; }
.guards li, .built li { padding-top: 16px; padding-bottom: 16px; }
.guards li::before { top: 24px; }
.built li::before { top: 25px; }
.tone-table [role="cell"]:last-child { font-size: 1rem; }
.five { gap: 16px; margin-top: 32px; }
.five li { padding: 22px; }
.five-head b { font-size: 1.375rem; }
.five-subj { font-size: 1.0625rem; }
.five-body { font-size: 1rem; line-height: 1.65; }
.decisions { gap: 16px; margin-top: 28px; }
.decisions article { padding: 24px; }
.decisions p { font-size: 1.0625rem; line-height: 1.65; }
.honest p { font-size: 1.0625rem; line-height: 1.65; }
@media (min-width: 900px) {
  body.case { font-size: 1.125rem; }
  .chapter { grid-template-columns: 160px minmax(0, 1fr); gap: 40px; padding-top: 96px; padding-bottom: 96px; }
  .ch-body { max-width: 900px; }
  .ch-body > p, .parts, .guards, .built, .facts dd, .decisions p, .honest p { font-size: 1.125rem; }
  .tone-table { font-size: 1.0625rem; }
  .five-body { font-size: 1.0625rem; }
  .five li { padding: 26px; }
  .ch-num { font-size: .875rem; padding-top: 14px; }
}
