/* ShiftSplice story: a shift-board page. Amber accent, a calm reading column, the five note parts as a board of
   cards, numbered closing steps, phone pictures without boxes. Chromium 67 safe (no flex gap, clamp or inset).
   Rewritten 2026-11-19: the first version had no column, no top room and plain links. */
@font-face { font-family: 'SS UI'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'SS Display'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); }
body.page-shiftsplice {
  --accent: #F5B544; --accent-ink: #1A1205; --accent-soft: rgba(245, 181, 68, .13);
  --head: 'SS Display', 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'SS UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Frame: reading column, room at the top, quiet back link */
.page-shiftsplice main { padding-bottom: 48px; }
.page-shiftsplice main .wrap { max-width: 820px; }
.page-shiftsplice main > .wrap:first-child { padding-top: 40px; }
.page-shiftsplice .crumb { margin: 0 0 28px; font-size: 14px; }
.page-shiftsplice .crumb a { color: var(--muted); text-decoration: none; }
.page-shiftsplice .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-shiftsplice .crumb a:hover { color: var(--accent); }
.page-shiftsplice .story-app { margin-bottom: 36px; }
.page-shiftsplice main strong { color: var(--text); font-weight: 600; }

/* Title block */
.ss-hero { padding: 0 0 36px; border-bottom: 1px solid var(--hair); }
.ss-tag { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.ss-hero h1 { margin: 0 0 18px; font-size: 32px; line-height: 1.15; }
.ss-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }

/* Sections and text */
.ss-block { padding-top: 40px; }
.ss-h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.ss-text { margin: 0 0 18px; color: var(--text-2); }
.page-shiftsplice main p:not(.crumb) a:not(.btn), .page-shiftsplice main li a { color: var(--text); text-decoration: underline; -webkit-text-decoration-color: var(--accent); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.page-shiftsplice main p:not(.crumb) a:not(.btn):hover, .page-shiftsplice main li a:hover { color: var(--accent); }

/* Quote */
.ss-quote { margin: 24px 0 26px; padding: 20px 24px; background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.ss-quote p { margin: 0 0 10px; font-size: 18px; line-height: 1.55; color: var(--text); }
.ss-quote cite { font-size: 14px; font-style: normal; color: var(--muted); }

/* The five parts of a note: a board of cards */
.ss-parts { list-style: none; margin: 6px 0 24px; padding: 0; display: grid; grid-template-columns: 1fr; grid-gap: 14px; }
.ss-parts li { margin: 0; padding: 18px 20px 20px; background: var(--surface); border: 1px solid var(--hair); border-top: 3px solid var(--accent); border-radius: 12px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.ss-parts strong { display: block; margin-bottom: 6px; font-family: var(--head); font-size: 17px; }

/* Lists: amber squares, numbered rings */
.ss-pair, .ss-limits ul { list-style: none; margin: 4px 0 24px; padding: 0; }
.ss-pair li, .ss-limits li { position: relative; margin: 0 0 14px; padding-left: 28px; color: var(--text-2); }
ul.ss-pair li:before, .ss-limits li:before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
ol.ss-pair { counter-reset: ssstep; }
ol.ss-pair li { counter-increment: ssstep; padding-left: 42px; }
ol.ss-pair li:before { content: counter(ssstep); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 13px/28px var(--head); text-align: center; }

/* Phone pictures */
.ss-shot { margin: 32px auto 36px; max-width: 300px; text-align: center; }
.ss-shot img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 22px; }
.ss-shot figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Limits and the close */
.ss-limits { padding: 26px 24px 12px; background: var(--surface); border: 1px solid var(--hair); border-radius: 16px; }
.ss-limits .ss-h2 { font-size: 22px; }
.ss-end { margin: 40px 0 0; }
.ss-end .btn { margin: 0 18px 12px 0; vertical-align: middle; }
.page-shiftsplice .ss-end a:not(.btn) { display: inline-block; margin-bottom: 12px; vertical-align: middle; }

@media (min-width: 700px) {
  .ss-parts { grid-template-columns: 1fr 1fr; }
  .ss-parts li:last-child { grid-column: 1 / 3; }
}
@media (min-width: 900px) {
  .page-shiftsplice main > .wrap:first-child { padding-top: 64px; }
  .ss-hero h1 { font-size: 44px; }
  .ss-lead { font-size: 20px; }
  .ss-block { padding-top: 56px; }
  .ss-h2 { font-size: 28px; }
}
