/* The First Hour (draft, 2026-11-17). A light, fast companion to From Arrest to Release (process.css).
   Site tokens only. Everything works without JS; the "Done" ticks are native checkboxes, kept in memory only. */
.fh-ico { width: 1.15em; height: 1.15em; flex: none; }

/* header: the answer and the three phones, first screen */
.qr .fh-header { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.qr .fh-header__title { font-size: var(--fs-h1); }
.fh-header__grid { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
@media (min-width: 992px) { .fh-header__grid { grid-template-columns: 6fr 5fr; gap: var(--space-9); align-items: start; margin-top: var(--space-7); } }
.qr .fh-header__lead { max-width: 38rem; line-height: 1.55; text-wrap: wrap; }
.fh-header__label { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-inverse-secondary); margin-bottom: var(--space-3); }
.fh-calls { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.qr .fh-call { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "county icon" "num icon"; align-items: center; gap: 0.35rem var(--space-4); min-height: 3.75rem; padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5); border: 1px solid var(--border-inverse); color: var(--text-inverse); text-decoration: none; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.qr .fh-call:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--accent-inverse); }
.fh-call__county { grid-area: county; font-size: var(--fs-caption); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-inverse-secondary); }
@media (min-width: 560px) { .qr .fh-call { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "county num icon"; } .fh-call__county { font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; text-transform: none; } }
.fh-call__num { grid-area: num; white-space: nowrap; font-family: var(--font-accent); font-size: 1.5rem; line-height: 1; letter-spacing: 0.02em; }
.fh-call .fh-ico { grid-area: icon; color: var(--accent-inverse); width: 1.3rem; height: 1.3rem; }
.fh-header__note { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--text-inverse-secondary); }
.qr .fh-header__note a { color: var(--text-inverse); font-weight: 600; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; margin-block: -11px; white-space: nowrap; }

/* section rhythm: a little tighter than the long guide */
.qr .fh-section { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); }
.qr .fh-section .ar-head { margin-bottom: var(--space-6); }

/* five things: head left, list right on wide screens */
.fh-split { display: grid; gap: var(--space-2); }
@media (min-width: 992px) {
  .fh-split { grid-template-columns: 4fr 7fr; gap: var(--space-9); align-items: start; }
  .fh-split__head { position: sticky; top: calc(var(--nav-h, 96px) + var(--space-6)); }
}
.fh-steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.fh-step { scroll-margin-top: calc(var(--nav-h, 96px) + var(--space-4)); display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 var(--space-4); padding-block: var(--space-6); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .fh-step { grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 0 var(--space-6); padding-block: var(--space-7); } }
.fh-step__num { font-family: var(--font-accent); font-weight: 400; font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); line-height: 0.82; letter-spacing: -0.02em; color: var(--accent); transition: opacity var(--dur-base) var(--ease-out); }
.qr .fh-step__title { font-family: var(--font-heading); font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0.1rem 0 var(--space-3); }
.qr .fh-step__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-muted); max-width: 36rem; }
.fh-step__body { transition: opacity var(--dur-base) var(--ease-out); }

/* step extras: county links, the details list, phones */
.fh-where { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; }
.fh-where li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-4); padding-block: var(--space-1); border-top: 1px solid var(--line-soft, var(--line)); }
.fh-where li:last-child { border-bottom: 1px solid var(--line-soft, var(--line)); }
.fh-where__county { flex: 1 0 100%; font-size: var(--fs-caption); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-dim, var(--ink-muted)); padding-top: var(--space-2); }
@media (min-width: 560px) { .fh-where__county { flex: 0 0 10rem; padding-top: 0; } }
.qr .fh-chip-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; font-size: var(--fs-small); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.qr .fh-chip-link:hover { text-decoration-color: currentColor; }
.qr .fh-chip-link--tel { white-space: nowrap; font-family: var(--font-accent); font-weight: 400; font-size: 1.25rem; letter-spacing: 0.02em; text-decoration: none; }
.qr .fh-chip-link--tel:hover { text-decoration: underline; }
.fh-where--tel li { flex-wrap: nowrap; justify-content: space-between; }
.fh-where--tel .fh-where__county { flex: 0 1 auto; padding-top: 0; letter-spacing: 0.12em; }
.fh-ready { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 36rem; }
.fh-ready li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); line-height: 1.3; color: var(--ink); background: var(--surface-alt); }
.fh-ready li::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); flex: none; }

/* the "Done" tick: native checkbox, no storage */
.fh-done { grid-column: 2; margin-top: var(--space-4); }
@media (min-width: 768px) { .fh-done { grid-column: 3; grid-row: 1; margin-top: 0; } }
.fh-done__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qr .fh-done__label { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 1rem 0 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); cursor: pointer; user-select: none; transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.fh-done__label::before { content: ""; width: 1.125rem; height: 1.125rem; border: 1.5px solid currentColor; border-radius: 3px; flex: none; background: center / 0.8rem no-repeat; }
.qr .fh-done__label:hover { border-color: var(--accent); color: var(--ink); }
.fh-done__input:focus-visible + .fh-done__label { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.fh-done__input:checked + .fh-done__label { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); }
.fh-done__input:checked + .fh-done__label::before { background-color: var(--text-on-accent); border-color: var(--text-on-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2368574b' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L21.1 7.4 19.7 6z'/%3E%3C/svg%3E"); }
.fh-step:has(.fh-done__input:checked) .fh-step__body, .fh-step:has(.fh-done__input:checked) .fh-step__num { opacity: 0.45; }
.fh-step:has(.fh-done__input:checked) .fh-step__title { text-decoration: line-through; text-decoration-thickness: 1px; }

/* what not to do */
.fh-donts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .fh-donts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } .fh-dont--lead { grid-column: 1 / -1; } }
.fh-dont { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-4); padding: var(--space-5); background: var(--surface-page); border: 1px solid var(--line); border-radius: 6px; }
.fh-x { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); }
.fh-x svg { width: 1.25rem; height: 1.25rem; }
.qr .fh-dont__title { font-size: 1.1875rem; line-height: 1.25; font-weight: 600; color: var(--ink); margin: 0.45rem 0 var(--space-2); }
.fh-dont p { color: var(--ink-muted); line-height: var(--lh-body); max-width: 44rem; }
.fh-dont--lead { padding: var(--space-6) var(--space-5); grid-template-columns: minmax(0, 1fr); border-left: 3px solid var(--accent); }
@media (min-width: 768px) { .fh-dont--lead { padding: var(--space-6); grid-template-columns: 3.25rem minmax(0, 1fr); } }
@media (min-width: 992px) { .fh-dont--lead { padding: var(--space-7); grid-template-columns: 4rem minmax(0, 1fr); gap: var(--space-6); } }
.fh-dont--lead .fh-x { width: 3.25rem; height: 3.25rem; background: var(--surface-alt); }
@media (min-width: 992px) { .fh-dont--lead .fh-x { width: 4rem; height: 4rem; } }
.qr .fh-dont--lead .fh-dont__title { font-size: var(--fs-h4); line-height: 1.1; letter-spacing: -0.01em; margin-top: 0.35rem; }
.fh-dont--lead p { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); font-weight: 300; }

/* what happens next */
.fh-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: next; }
.fh-next__item { position: relative; padding: 0 0 var(--space-5) var(--space-6); border-left: 1px solid var(--line); margin-left: 0.4rem; }
.fh-next__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.fh-next__item::before { content: ""; position: absolute; left: -0.4rem; top: 0.3rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--surface-page); border: 2px solid var(--accent); }
.fh-next__item:last-child::before { background: var(--accent); }
.qr .fh-next__title { font-size: 1.125rem; line-height: 1.3; font-weight: 600; color: var(--ink); margin-bottom: var(--space-1); }
.fh-next__item p { color: var(--ink-muted); line-height: 1.55; font-size: var(--fs-small); max-width: 34rem; }
.qr .fh-next__item a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.qr .fh-next__item a:hover { text-decoration-color: currentColor; }
@media (min-width: 992px) {
  .fh-next { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
  .fh-next__item { padding: var(--space-6) 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--line); }
  .fh-next__item:last-child { border-top-color: var(--line); }
  .fh-next__item::before { left: 0; top: -0.4rem; }
}
.qr .fh-guide { display: grid; gap: var(--space-2); margin-top: var(--space-7); padding: var(--space-6); background: var(--surface-inverse); color: var(--text-inverse); text-decoration: none; border-radius: 6px; transition: background-color var(--dur-fast); }
@media (min-width: 992px) { .qr .fh-guide { grid-template-columns: 1fr auto; padding: var(--space-7) var(--space-8); column-gap: var(--space-8); align-items: end; } .fh-guide__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; } }
.qr .fh-guide:hover { background: var(--surface-deepest); }
.fh-guide__k { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--accent-inverse); }
.fh-guide__t { font-size: var(--fs-h4); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.fh-guide__d { color: var(--text-inverse-secondary); line-height: 1.55; max-width: 40rem; }
.fh-guide__go { display: inline-flex; align-items: center; gap: var(--space-3); margin-top: var(--space-4); min-height: 44px; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; }
.qr .fh-guide:hover .fh-guide__go { text-decoration: underline; text-underline-offset: 4px; }

/* who to call */
.fh-who { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fh-who__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-4); align-items: center; padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.qr .fh-who__county { font-size: 1.25rem; line-height: 1.2; font-weight: 600; color: var(--ink); }
.fh-who__jail { grid-column: 1 / -1; grid-row: 2; font-size: var(--fs-small); color: var(--ink-muted); }
.fh-who__k { font-size: var(--fs-caption); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-dim, var(--ink-muted)); margin-right: 0.6rem; }
.qr .fh-who__tel { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-family: var(--font-accent); font-size: 1.5rem; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.qr .fh-who__tel .fh-ico { color: var(--accent); width: 1.1rem; height: 1.1rem; }
.qr .fh-who__tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.qr .fh-who__guide { grid-column: 1 / -1; grid-row: 3; justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-size: var(--fs-small); font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
@media (max-width: 420px) { .qr .fh-who__tel { font-size: 1.3rem; } }
@media (min-width: 992px) {
  .fh-who__row { grid-template-columns: 3fr 4fr 3fr 3fr; gap: var(--space-6); padding-block: var(--space-4); }
  .fh-who__jail { grid-column: 2; grid-row: 1; }
  .qr .fh-who__tel { grid-column: 3; }
  .qr .fh-who__guide { grid-column: 4; grid-row: 1; justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .fh-step__num, .fh-step__body, .qr .fh-call, .qr .fh-done__label, .qr .fh-guide { transition: none; }
}
@media print {
  .fh-done { display: none; }
}
