/* for-hospitals.html — page-only composition. Components come from ../system.css. */

.page-hero h1 { max-width: 11em; }
.page-hero-media img { object-position: 38% 50%; }

/* ---------- support the transition ---------- */
.transition h2 { max-width: 20ch; }
.transition .lede { margin-top: 24px; }
.transition-p { margin-top: 16px; font-size: var(--t-text); color: var(--l-muted); max-width: 52ch; }
.transition-copy > .text-link { margin-top: 20px; }
.plan-move { margin-top: clamp(36px, 4vw, 52px); padding-top: 28px; border-top: 1px solid var(--line); }
.plan-move h3 { font-size: var(--t-h4); }
.plan-move p { margin-top: 10px; font-size: var(--t-text); color: var(--l-muted); max-width: 50ch; }
.plan-move-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.transition-media { position: relative; margin: 0; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 7 / 6; background: var(--soft); box-shadow: 0 40px 80px -50px rgba(15, 42, 36, .55); }
.transition-media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; }
.handoff { position: absolute; left: 18px; bottom: 18px; width: min(340px, calc(100% - 36px)); padding: 20px 22px; border-radius: var(--r-md); color: var(--d-text); --focus: var(--brass-hi); background: linear-gradient(180deg, rgba(12, 30, 25, .8), rgba(8, 22, 18, .84)); }
.handoff-title { font-size: var(--t-small); font-weight: 500; color: #fff; }
.handoff-flow { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.handoff-flow::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, var(--mint), var(--brass-hi)); opacity: .7; }
.handoff-flow li { position: relative; padding: 6px 0 6px 24px; font-size: var(--t-small); color: var(--d-text); }
.handoff-flow li::before { content: ""; position: absolute; left: 0; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--c1); box-shadow: inset 0 0 0 1.5px var(--mint); }
.handoff-flow li:last-child::before { background: var(--brass-hi); box-shadow: 0 0 0 4px rgba(226, 182, 97, .18); }
.handoff-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--t-micro); line-height: 1.5; color: #C1D2CC !important; }

/* ---------- resource kit ---------- */
.kit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 16px; }
.kit-grid .card-link { padding: clamp(24px, 2.6vw, 36px); min-height: 220px; }
.kit-grid .card-title { font-size: var(--t-h3); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.kit-grid .card-text { max-width: 46ch; }
.kit-main { grid-row: 1 / span 2; }
.kit-sheet { position: relative; display: grid; align-content: start; gap: 12px; margin-bottom: 18px; padding: 20px 22px; border-radius: 6px; background: #fff; box-shadow: 0 1px 0 rgba(15, 42, 36, .04), 0 22px 44px -26px rgba(15, 42, 36, .55), inset 0 0 0 1px var(--line); transform: rotate(-1.2deg); transition: transform .6s var(--ease-out); overflow: hidden; }
.kit-main:hover .kit-sheet { transform: rotate(0deg) translateY(-3px); }
.ks-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ks-top b, .ks-top i { display: block; height: 6px; border-radius: 3px; }
.ks-top b { width: 28%; background: rgba(15, 42, 36, .55); }
.ks-top i { width: 32%; background: var(--soft); }
.ks-title { font-size: clamp(18px, 1.7vw, 24px); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); max-width: 18ch; }
.ks-lines { display: grid; gap: 6px; }
.ks-lines, .ks-cols > span { display: grid; gap: 6px; }
.ks-lines i, .ks-cols i, .ks-cols b, .ks-link i { display: block; height: 5px; border-radius: 3px; background: var(--soft); }
.ks-lines i:nth-child(2) { width: 72%; }
.ks-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.ks-cols b { width: 70%; height: 6px; background: rgba(20, 135, 111, .45); margin-bottom: 2px; }
.ks-cols i:last-child { width: 60%; }
.ks-link { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 5px; background: var(--paper); }
.ks-link i { width: 34%; background: rgba(15, 42, 36, .14); } .ks-link i:last-child { width: 40%; background: rgba(20, 135, 111, .35); }

/* ---------- the handout ---------- */
.handout-section { isolation: isolate; overflow: clip; }
.handout-copy h2 { max-width: 11ch; }
.handout-copy .lede { margin-top: 24px; color: var(--d-lede); }
.handout-copy .assure { margin-top: 28px; }
.handout-actions { margin-top: 32px; }
.handout-copy .fine { margin-top: 14px; }
.sheet-stage { perspective: 1600px; }
.sheet {
  position: relative; display: grid; gap: 22px; padding: clamp(28px, 4vw, 56px) clamp(24px, 3.6vw, 52px);
  border-radius: 6px; background: #fff; color: var(--l-text); --focus: var(--brass-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 60px 120px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
}
.sheet-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sheet-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.sheet-brand b { font-weight: 500; color: var(--pine); }
.sheet-brand .mark { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.sheet-for { font-size: var(--t-micro); color: var(--l-faint); }
.sheet-title { font-size: clamp(30px, 3.2vw, 46px); font-weight: 300; letter-spacing: var(--track-display); line-height: 1.04; color: var(--ink); max-width: 16ch; text-wrap: balance; }
.sheet-intro { font-size: var(--t-text); line-height: 1.6; color: var(--l-muted); max-width: 60ch; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.sheet-grid h4 { font-size: var(--t-small); font-weight: 600; color: var(--pine); }
.sheet-grid p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--l-muted); }
.sheet-link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 16px 18px; border-radius: var(--r-md); background: var(--soft); }
.sheet-link strong { font-size: var(--t-small); font-weight: 500; color: var(--ink); }
.sheet-link span { font-size: var(--t-small); color: var(--pine); font-variant-numeric: tabular-nums; }
.sheet-foot { font-size: var(--t-micro); line-height: 1.55; color: var(--l-faint); }

/* ---------- three ways to share ---------- */
.share .cols { align-items: start; }
.share h2 { max-width: 12ch; }
.ways { list-style: none; margin: clamp(32px, 3.6vw, 48px) 0 0; padding: 0; }
.way { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 10px 32px; padding: clamp(26px, 3vw, 36px) 0; border-top: 1px solid var(--line); }
.way:last-child { border-bottom: 1px solid var(--line); }
.way h3 { grid-row: span 3; font-size: var(--t-h3); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.way > p { font-size: var(--t-text); color: var(--l-muted); max-width: 46ch; }
.way > .btn, .way > .text-link { justify-self: start; margin-top: 6px; }
.copy-link { display: flex; gap: 8px; margin-top: 8px; max-width: 520px; }
.copy-link .input { flex: 1 1 auto; min-width: 0; padding: 0 14px; font-size: 14px; color: var(--pine); font-variant-numeric: tabular-nums; }
.copy-link .btn { flex: none; }
.copy-status { min-height: 1.5em; font-size: var(--t-micro); color: var(--pine) !important; }
.indep { padding: clamp(26px, 3vw, 36px); }
.indep .callout-title { font-size: var(--t-small); font-weight: 500; letter-spacing: 0; }

/* ---------- CTA band (plain) ---------- */

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .transition-media { aspect-ratio: 4 / 3; }
  .kit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kit-main { grid-row: auto; grid-column: 1 / -1; }
  .sheet-stage { perspective: none; }
}
@media (max-width: 760px) {
  .transition-media { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
  .transition-media img { aspect-ratio: 4 / 3; border-radius: var(--r-panel); }
  .handoff { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 12px 0; background: var(--c2); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 24px 50px -24px rgba(5, 15, 12, .7); }
  .kit-grid { grid-template-columns: minmax(0, 1fr); }
  .kit-grid .card-link { min-height: 0; }
  .kit-sheet { transform: none; }
  .sheet-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet { padding: 26px 20px; }
  .sheet-title { font-size: 25px; letter-spacing: -.035em; }
  .way { grid-template-columns: minmax(0, 1fr); }
  .way h3 { grid-row: auto; }
  .copy-link { flex-direction: column; }
  .copy-link .btn { width: 100%; }
}

/* ---------- print: the print buttons set html.print-handout so only the sheet prints ---------- */
@media print {
  .print-handout body { background: #fff; }
  .print-handout .skip-link, .print-handout .nav, .print-handout .footer, .print-handout main > :not(.handout-section),
  .print-handout .handout-copy, .print-handout .handout-section .mesh-quiet { display: none !important; }
  .print-handout .handout-section { padding: 0 !important; background: #fff !important; }
  .print-handout .handout-section .wrap { display: block; max-width: none; padding: 0; }
  .print-handout .sheet { padding: 0; box-shadow: none !important; transform: none !important; opacity: 1 !important; break-inside: avoid; }
  .print-handout .sheet-link, .print-handout .sheet-brand .mark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
