/* /journey-guide: its own sheet, loaded after site.css.
   The guide is two things at once. On paper it is a cover and seven Letter
   sheets a patient prints or saves as a PDF (the PRINT block at the foot of
   this file, which is the product). On a screen it is one page that follows
   the day in order: the hotel, the border, the hospital, home.
   One picture runs through it: the black SUV. It drives the route on the
   cover, it sits at the end of the short lane at the border.
   Script: scripts/journey-guide.js. With that script absent every part is
   visible, the packing list still ticks, and every link still jumps. */

html:has(body.jg) {
  --hc-nav-h: 64px;            /* fallback; the script sets the real header height */
  --hc-bar-h: 52px;
  /* every jump, anchor and Tab stop lands below the header and the bar */
  scroll-padding-top: calc(var(--hc-nav-h) + var(--hc-bar-h) + 12px);
}
.jg {
  --jg-ease: cubic-bezier(.16, 1, .3, 1);
  --jg-gut: clamp(20px, 4vw, 56px);
  --jg-pad: clamp(52px, 6vw, 88px);
}
.jg main { overflow-x: clip; }

/* ============ GROUND RULES ============ */
.jg-wrap { max-width: calc(1240px + 2 * var(--jg-gut)); margin-inline: auto; padding-inline: var(--jg-gut); }
/* text fills its column; the column sets the measure */
.jg main p { max-width: none; margin: 0; text-wrap: wrap; }
.jg main a:not(.btn) { border-bottom: 0; }
.jg main :is(ul, ol) { list-style: none; margin: 0; padding: 0; }
.jg main h2 {
  font-family: var(--font-display); font-weight: 300; color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.012em;
  margin: 0; max-width: none; text-wrap: wrap;
}
.jg main :is(h3, h4) { margin: 0; max-width: none; }
.jg-h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.jg main strong { font-weight: 600; color: var(--ink); }
.jg main :is(.jg-border, .jg-next) strong { color: #fff; }
.jg-lede { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); }
.jg-sub { font-size: 15px; line-height: 1.4; color: var(--ink-muted); }
.jg-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.jg-paper, .jg-paper img { display: none; }   /* the sheets' own furniture: paper only */
.jg main :is(a, button, summary):focus-visible, .jg-checks input:focus-visible + .jg-box { outline: 2px solid var(--accent-blue); outline-offset: 3px; border-radius: 4px; }
.jg :is(.jg-border, .jg-next) :is(a, button):focus-visible { outline-color: var(--accent-ice); }
/* a part that receives focus after a jump is not itself a control */
.jg main :is(h1, h2, h3, section)[tabindex="-1"]:focus { outline: none; }

/* the small drawn marks share one pen */
.jg-ic { width: 28px; height: 28px; flex: none; }
.jg-ic :is(path, circle, rect), .jg-route :is(path, circle), .jg-passport :is(path, circle, rect), .jg-iv :is(path, rect, circle), .jg-syr :is(path, rect), .jg-thermo :is(path, circle), .jg-tell__ic :is(path, circle) {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.jg-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); flex: none; position: relative; z-index: 1; transition: background 360ms, color 360ms, border-color 360ms; }

/* the onward link: the arrow leans the way it points */
.jg-go { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--accent-blue-hover); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: color 200ms, text-decoration-color 260ms; }
.jg-go span { display: inline-block; transition: transform 360ms var(--jg-ease); }
.jg-go:hover { color: var(--accent-blue); text-decoration-color: currentColor; }
.jg-go--back:hover span { transform: translateX(-6px); }

/* ============ REVEALS ============
   Hidden only once the script has said it is running (jg-js on <html>), so
   with no script nothing is ever hidden. Each part comes in its own way. */
.jg-js [data-r] { transition: opacity 620ms ease, transform 820ms var(--jg-ease); transition-delay: calc(var(--n, 0) * 90ms); }
.jg-js [data-r]:not(.is-in) { opacity: 0; transform: translateY(18px); }
.jg-js [data-r="left"]:not(.is-in) { transform: translateX(-28px); }
.jg-js [data-r="right"]:not(.is-in) { transform: translateX(28px); }
.jg-js [data-r="up"]:not(.is-in) { transform: translateY(34px); }
.jg-js :is([data-r="lanes"], [data-r="signoff"], [data-r="call"], [data-r="tell"]):not(.is-in) { opacity: 1; transform: none; }

/* ============ COVER ============ */
.jg-hero { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 5vw, 72px); }
.jg-hero__h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.15rem, 4.2vw, 3.8rem); line-height: 1.06; letter-spacing: -.015em; color: var(--ink); margin: 0 0 clamp(24px, 3.4vw, 48px); max-width: none; text-wrap: wrap; }
/* a heading that has to wrap breaks where the styling changes */
.jg-hero__h1 > .h-lead, .jg-hero__h1 > em { display: inline-block; }
.jg-hero__h1 > em { color: var(--accent-blue); }
.jg-hero__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.jg-hero__answer { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.6; color: var(--ink); }
.jg-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.jg-print { min-height: 48px; }
.jg-print__ic { flex: none; }
.jg-print__ic path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.jg-print__arrow { transition: transform 360ms var(--jg-ease); }
.jg-print:hover .jg-print__arrow { transform: translateY(2.5px); }
/* the button prints: with no script it has nothing to do */
html:not(.jg-js) .jg-print { display: none; }

.jg-hero__fig { margin: 0; }
.jg-route { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink); }
.jg-route :is(g, path, circle) { transition: stroke 260ms, color 260ms, opacity 260ms; }
.jg-route .jg-route__road { stroke-width: 2; }
.jg-route .jg-route__dash { stroke: var(--border-strong); stroke-dasharray: 2 12; stroke-width: 2; transform: translateY(-7px); }
.jg-route .jg-route__border { stroke: var(--accent-blue); stroke-dasharray: 2 7; }
.jg-route .jg-route__arm { stroke: var(--accent-blue); stroke-width: 3; transform-box: fill-box; transform-origin: 100% 50%; transform: rotate(78deg); }
.jg-route .jg-route__cross { stroke: var(--accent-blue); stroke-width: 2.4; }
.jg-route :is(.jg-route__home, .jg-route__home-tip) { stroke: var(--accent-blue); }
.jg-route .jg-route__home { stroke-dasharray: 1; }
.jg-route .jg-route__suv-body { fill: var(--ink); }
.jg-route .jg-route__suv-glass { fill: #fff; stroke: none; }
.jg-route .jg-route__wheel { fill: #fff; stroke-width: 3; }
.jg-route__suv { transform: translateX(244px); }
/* the list under the drawing lights the part of the day it is about */
.jg-route[data-lit] :is(.jg-route__hotel, .jg-route__gate, .jg-route__hosp) { opacity: .34; }
.jg-route[data-lit] :is(.jg-route__home, .jg-route__home-tip) { opacity: .2; }
.jg-route[data-lit="hotel"] .jg-route__hotel, .jg-route[data-lit="gate"] .jg-route__gate, .jg-route[data-lit="hosp"] .jg-route__hosp { opacity: 1; color: var(--accent-blue-hover); }
.jg-route[data-lit="home"] :is(.jg-route__home, .jg-route__home-tip) { opacity: 1; stroke-width: 2.6; }

.jg-toc { margin-top: clamp(32px, 4.5vw, 60px); }
.jg-toc ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); }
.jg-toc a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 14px; border-top: 1px solid var(--border-strong); font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--ink); text-decoration: none; transition: color 200ms, border-color 260ms; }
.jg main .jg-toc a { border-top: 1px solid var(--border-strong); }
.jg-toc a::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--accent-blue); border-bottom: 1.5px solid var(--accent-blue); transform: translateY(-3px) rotate(45deg); transition: transform 360ms var(--jg-ease); }
.jg-toc a:hover { color: var(--accent-blue-hover); border-top-color: var(--accent-blue); }
.jg-toc a:hover::after { transform: translateY(3px) rotate(45deg); }

/* first paint: the road is laid, the arm lifts, the SUV drives the day, and
   the way home is drawn over the top */
@keyframes jg-up { from { opacity: 0; transform: translateY(22px); } }
@keyframes jg-fade { from { opacity: 0; } }
@keyframes jg-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes jg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes jg-drive { from { transform: translateX(0); } to { transform: translateX(244px); } }
@keyframes jg-arm { from { transform: rotate(0deg); } to { transform: rotate(78deg); } }
@keyframes jg-build { from { opacity: 0; transform: translateY(10px); } }
.jg-js .jg-hero__h1 > * { animation: jg-up 900ms var(--jg-ease) both; }
.jg-js .jg-hero__h1 > em { animation-delay: 110ms; }
.jg-js .jg-hero__text > * { animation: jg-up 900ms var(--jg-ease) 240ms both; }
.jg-js .jg-hero__text > .jg-hero__actions { animation-delay: 340ms; }
.jg-js .jg-route__road { stroke-dasharray: 1; animation: jg-draw 900ms var(--jg-ease) 200ms both; }
.jg-js .jg-route__dash { animation: jg-fade 500ms ease 900ms both; }
.jg-js .jg-route__hotel { animation: jg-build 700ms var(--jg-ease) 420ms both; }
.jg-js .jg-route__gate { animation: jg-build 700ms var(--jg-ease) 560ms both; }
.jg-js .jg-route__hosp { animation: jg-build 700ms var(--jg-ease) 700ms both; }
.jg-js .jg-route .jg-route__arm { animation: jg-arm 700ms var(--jg-ease) 1500ms both; }
.jg-js .jg-route__suv { animation: jg-fade 400ms ease 900ms backwards, jg-drive 3000ms cubic-bezier(.5, 0, .2, 1) 1300ms both; }
.jg-js .jg-route .jg-route__home { animation: jg-draw 1300ms var(--jg-ease) 4300ms both; }
.jg-js .jg-route__home-tip { animation: jg-fade 300ms ease 5400ms both; }
.jg-js .jg-toc li { animation: jg-rise 700ms var(--jg-ease) calc(520ms + var(--n, 0) * 70ms) both; }

/* ============ CONTENTS BAR (follows the reader) ============ */
.jg .hc-bar {
  /* under the phone menu's sheet (55) and backdrop (50), over the page */
  position: fixed; left: 0; right: 0; top: var(--hc-nav-h); z-index: 49;
  height: var(--hc-bar-h);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 260ms, transform 360ms var(--jg-ease), visibility 0s 360ms;
}
.jg .hc-bar.is-on { transform: none; opacity: 1; visibility: visible; transition: opacity 260ms, transform 360ms var(--jg-ease); }
body.jg.nav-open .hc-bar { opacity: 0; visibility: hidden; }
.jg .hc-bar__track {
  max-width: calc(1240px + 2 * var(--jg-gut)); margin: 0 auto; padding: 0 var(--jg-gut);
  height: 100%; display: flex; align-items: stretch; gap: clamp(18px, 2.4vw, 32px);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 28px;
}
.jg .hc-bar__track::-webkit-scrollbar { display: none; }
.jg .hc-bar__track a {
  position: relative; flex: none; display: flex; align-items: center;
  font-size: 14px; font-weight: 500; color: var(--ink-muted); white-space: nowrap;
  transition: color 200ms;
}
.jg .hc-bar__track a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent-blue); transform: scaleX(0); transform-origin: left;
  transition: transform 360ms var(--jg-ease);
}
.jg .hc-bar__track a:hover, .jg .hc-bar__track a[aria-current] { color: var(--ink); }
.jg .hc-bar__track a:hover::after { transform: scaleX(.35); }
.jg .hc-bar__track a[aria-current]::after { transform: scaleX(1); }
.jg .hc-bar__track a:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: -4px; border-radius: 4px; }
.jg .hc-bar__progress {
  position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--accent-ice); transform-origin: left; transform: scaleX(var(--hc-p, 0));
}
/* the track runs off a phone's edge: a fade says there is more */
.jg .hc-bar::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 80%); pointer-events: none; opacity: 0; transition: opacity 200ms; }
.jg .hc-bar.has-more::after { opacity: 1; }

/* ============ ABOUT THIS GUIDE ============ */
.jg-about { padding-block: var(--jg-pad) clamp(40px, 5vw, 72px); border-top: 1px solid var(--border); }
.jg-about__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.jg-about__text { display: grid; gap: 20px; }
.jg-about__text p { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); }
.jg-quote { margin: 0; padding-top: 6px; }
.jg-quote__mark { display: block; margin-bottom: 14px; }
.jg-quote__mark path { fill: var(--accent-blue); }
.jg-quote blockquote { margin: 0; }
.jg-quote blockquote p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.3; color: var(--ink); }
.jg-quote blockquote em { color: var(--accent-blue); }
.jg-quote figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-muted); }

/* a native fold: its label is the heading, the chevron says which way */
.jg-fold { margin-top: clamp(32px, 4vw, 52px); border-block: 1px solid var(--border-strong); }
.jg-fold summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); color: var(--ink); transition: color 200ms; }
.jg-fold summary::-webkit-details-marker { display: none; }
.jg-fold summary:hover { color: var(--accent-blue-hover); }
.jg-fold__chev { flex: none; transition: transform 360ms var(--jg-ease); }
.jg-fold__chev path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.jg-fold summary:hover .jg-fold__chev { transform: translateY(3px); }
.jg-fold[open] .jg-fold__chev, .jg-fold[open] summary:hover .jg-fold__chev { transform: rotate(180deg); }
@keyframes jg-unfold { from { opacity: 0; transform: translateY(-8px); } }
.jg-fold[open] .jg-uses { animation: jg-unfold 420ms var(--jg-ease); }
.jg main .jg-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(24px, 4vw, 56px); padding-block: 6px 28px; }
.jg-uses li { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
/* "Share it" is something the page can do for the reader */
.jg-share { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 4px; background: #fff; color: var(--ink); font: 500 15px/1 var(--font-body); cursor: pointer; transition: border-color 200ms, color 200ms, transform 260ms var(--jg-ease); }
.jg-share[hidden] { display: none; }
.jg-share:hover { border-color: var(--accent-blue); color: var(--accent-blue-hover); }
.jg-share:active { transform: scale(.97); }
.jg-share path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity 200ms, stroke-dashoffset 420ms var(--jg-ease) 80ms; }
.jg-share__ok { stroke: var(--accent-blue) !important; stroke-width: 2 !important; stroke-dasharray: 1; stroke-dashoffset: 1; }
.jg-share.is-done .jg-share__out { opacity: 0; }
.jg-share.is-done .jg-share__ok { stroke-dashoffset: 0; }
.jg-notice { margin-top: 22px !important; font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.jg-notice strong { margin-right: 6px; }

/* ============ TRAVEL AND PREPARATION ============ */
.jg-prep { padding-block: clamp(40px, 5vw, 72px) var(--jg-pad); }
.jg-prep > .jg-wrap > .jg-h3 { margin-bottom: 8px; }
.jg-arrive li { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(150px, auto); gap: 6px 22px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--border); color: var(--accent-blue); }
.jg-arrive li:nth-child(2) { --n: 1; }
.jg-arrive li:nth-child(3) { --n: 2; }
.jg-arrive p { font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.jg-arrive__note { justify-self: end; text-align: right; font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.jg-prep__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; margin-top: clamp(44px, 5.5vw, 76px); }
.jg-pack__head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.jg-pack__head > div { display: grid; gap: 4px; }
.jg-passport { flex: none; color: var(--ink); }
.jg-passport .jg-passport__cover { stroke-width: 1.7; }
.jg-passport .jg-passport__tick { stroke: var(--accent-blue); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 520ms var(--jg-ease); }
.jg-passport :is(circle, path:not(.jg-passport__tick)) { transition: opacity 320ms; }
.jg-pack.has-passport .jg-passport__tick { stroke-dashoffset: 0; }
.jg-pack.has-passport .jg-passport :is(circle, path:not(.jg-passport__tick)) { opacity: .3; }
.jg-pack__count { font-size: 15px; font-weight: 600; color: var(--accent-blue-hover); font-variant-numeric: tabular-nums; }
@keyframes jg-settle { 40% { transform: translateY(-3px); } }
.jg-pack.is-packed .jg-passport { animation: jg-settle 700ms var(--jg-ease); }
.jg-checks li { border-top: 1px solid var(--border); }
.jg-checks li:last-child { border-bottom: 1px solid var(--border); }
.jg-checks label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: start; min-height: 52px; padding-block: 13px; cursor: pointer; font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); transition: color 200ms; }
.jg-checks input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.jg-box { display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--ink-muted); border-radius: 4px; background: #fff; transition: background 220ms, border-color 220ms, transform 260ms var(--jg-ease); }
.jg-box svg { width: 16px; height: 16px; }
.jg-box path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 320ms var(--jg-ease) 60ms; }
.jg-checks label:hover .jg-box { border-color: var(--accent-blue); transform: scale(1.08); }
.jg-checks input:checked + .jg-box { background: var(--accent-blue); border-color: var(--accent-blue); }
.jg-checks input:checked + .jg-box path { stroke-dashoffset: 0; }
.jg-checks input:checked ~ span:last-child, .jg-checks input:checked ~ span:last-child strong { color: var(--ink-muted); }

.jg-before__head { display: grid; gap: 4px; align-content: center; min-height: 96px; margin-bottom: 18px; }
.jg-rules li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; align-items: start; padding-block: 16px; border-top: 1px solid var(--border); }
.jg-rules li:last-child { border-bottom: 1px solid var(--border); }
.jg-rules p { font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); }
.jg-rules .is-do { color: var(--accent-blue); }
.jg-rules .is-dont { color: var(--ink-muted); }
.jg-rules .jg-ic__no { stroke: var(--ink); stroke-width: 1.8; }

/* ============ PICKUP AND BORDER ============ */
.jg-pickup { padding-top: var(--jg-pad); border-top: 1px solid var(--border); }
.jg main .jg-pickup h2 { margin-bottom: clamp(28px, 3.5vw, 44px); }
.jg-pickup > .jg-wrap > .jg-h3 { margin-bottom: 26px; }
.jg-ride { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); padding-bottom: var(--jg-pad) !important; }
.jg-ride li { position: relative; display: grid; gap: 10px; align-content: start; }
.jg-ride li:nth-child(2) { --n: 1; }
.jg-ride li:nth-child(3) { --n: 2; }
/* the line runs from one badge to the next and stops at the last */
.jg-ride li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 56px; width: calc(100% - 56px + clamp(24px, 4vw, 64px)); height: 1.5px; background: var(--border-strong); }
.jg-ride .jg-badge { margin-bottom: 10px; }
.jg-ride h4 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.2; color: var(--ink); }
.jg-ride p { font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); }

.jg-border { background: var(--navy-brand); color: rgba(255, 255, 255, .86); padding-block: clamp(52px, 6.5vw, 96px); }
.jg-border__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 4.5vw, 64px) clamp(36px, 6vw, 96px); align-items: start; }
.jg-border .jg-h3 { color: #fff; margin-bottom: 14px; }
.jg-border p { font-size: 17px; line-height: 1.6; }
.jg-border strong { color: #fff; }
.jg-border em { color: var(--accent-ice); }
.jg-lanes { margin: 0; display: grid; gap: 30px; align-self: center; }
.jg-lane { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: baseline; }
.jg-lane__name { grid-area: 1 / 1; font-size: 16px; font-weight: 600; color: #fff; }
.jg-lane__time { grid-area: 1 / 2; font-size: 16px; color: var(--accent-ice); font-variant-numeric: tabular-nums; }
/* four hours wide; a tick at each hour */
.jg-lane__track { grid-area: 2 / 1 / 3 / -1; position: relative; height: 30px; border-bottom: 1.5px solid rgba(255, 255, 255, .5); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 1.5px, transparent 1.5px 25%) bottom left / 100% 9px no-repeat; }
.jg-lane__track::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1.5px; height: 9px; background: rgba(255, 255, 255, .34); }
.jg-lane__fill, .jg-lane__range { position: absolute; left: 0; top: 0; height: 20px; transform-origin: left; }
.jg-lane--public .jg-lane__fill { width: 75%; background: rgba(255, 255, 255, .62); }
.jg-lane--public .jg-lane__range { left: 75%; width: 25%; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .62) 0 3px, transparent 3px 8px); }
.jg-lane--medical .jg-lane__fill { width: 6.25%; background: var(--accent-ice); }
.jg-lane--medical .jg-lane__range { left: 6.25%; width: 6.25%; background: repeating-linear-gradient(115deg, var(--accent-ice) 0 3px, transparent 3px 8px); }
.jg-lane__suv { position: absolute; left: calc(12.5% + 12px); top: -3px; width: 44px; height: 24px; }
.jg-lane__suv path { fill: var(--accent-ice); }
.jg-lane__suv circle { fill: var(--navy-brand); stroke: var(--accent-ice); stroke-width: 1.6; }
/* both lanes fill at the same pace, so the short one is done almost at once */
@keyframes jg-grow { from { transform: scaleX(0); } }
@keyframes jg-pull { from { opacity: 0; transform: translateX(-26px); } }
.jg-js .jg-lanes:not(.is-in) :is(.jg-lane__fill, .jg-lane__range, .jg-lane__suv) { opacity: 0; }
.jg-js .jg-lanes.is-in .jg-lane--public .jg-lane__fill { animation: jg-grow 1800ms linear 200ms both; }
.jg-js .jg-lanes.is-in .jg-lane--public .jg-lane__range { animation: jg-grow 600ms linear 2000ms both; }
.jg-js .jg-lanes.is-in .jg-lane--medical .jg-lane__fill { animation: jg-grow 150ms linear 200ms both; }
.jg-js .jg-lanes.is-in .jg-lane--medical .jg-lane__range { animation: jg-grow 150ms linear 350ms both; }
.jg-js .jg-lanes.is-in .jg-lane__suv { animation: jg-pull 700ms var(--jg-ease) 500ms both; }
.jg-donts li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 16.5px; line-height: 1.5; }
.jg-donts li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.jg-donts li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 14px; height: 1.5px; background: var(--accent-ice); }

/* ============ CLINICAL CHECK-IN ============ */
.jg-checkin { padding-block: var(--jg-pad); }
.jg-checkin__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.jg-checkin__aside { display: grid; gap: 18px; position: sticky; top: calc(var(--hc-nav-h) + var(--hc-bar-h) + 28px); }
.jg-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: clamp(20px, 2.6vw, 32px); padding-bottom: clamp(30px, 3.6vw, 44px); }
.jg-step:last-child { padding-bottom: 0; }
.jg-step .jg-badge { grid-row: 1 / span 2; }
.jg-step h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.9vw, 1.7rem); line-height: 1.2; color: var(--ink); align-self: end; padding-top: 6px; }
.jg-step p { grid-column: 2; margin-top: 8px !important; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
/* the rail: each stretch runs from this badge to the next, so it ends at the last */
.jg-step:not(:last-child)::before, .jg-step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 28px; width: 2px; height: 100%; background: var(--border-strong); }
.jg-step:not(:last-child)::after { background: var(--accent-blue); transform-origin: top; transform: scaleY(var(--f, 0)); }
.jg-step.is-on .jg-badge { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }

/* ============ THE TREATMENT ============ */
.jg-treat { padding-block: var(--jg-pad); border-top: 1px solid var(--border); }
.jg-treat__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(36px, 6vw, 96px); align-items: start; }
/* the two protocols read across as well as down: step for step on one line */
@supports (grid-template-rows: subgrid) {
  .jg-treat__cols { grid-template-rows: repeat(6, auto); align-items: stretch; }
  .jg-proto { display: grid; grid-template-rows: subgrid; grid-row: span 6; }
  .jg-ledger { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
}
.jg-proto__head { display: flex; align-items: flex-end; gap: 20px; padding-bottom: 18px; border-bottom: 1.5px solid var(--ink); }
.jg-iv, .jg-syr { flex: none; color: var(--ink); }
.jg-iv .jg-iv__level { fill: var(--accent-wash); stroke: none; }
.jg-iv .jg-iv__drop { fill: var(--accent-blue); stroke: none; }
.jg-syr .jg-syr__fluid { fill: var(--accent-wash); stroke: none; }
@keyframes jg-drop { 0% { transform: translateY(-4px); opacity: 0; } 18% { opacity: 1; } 78% { transform: translateY(7px); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
@keyframes jg-press { from { transform: translateY(-9px); } }
/* the drip runs only while the bag is on screen */
.jg-iv.is-live .jg-iv__drop { animation: jg-drop 1700ms ease-in infinite; }
.jg-js .jg-proto.is-in .jg-syr__plunger { animation: jg-press 1500ms var(--jg-ease) 500ms both; }
.jg-ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--border); }
.jg-ledger p { font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.jg-ledger span { font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.jg-combined { margin-top: clamp(28px, 3.4vw, 44px) !important; font-size: 17px; line-height: 1.55; color: var(--ink-soft); text-align: center; }
.jg-tell { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 3.2vw, 44px); border: 1.5px solid var(--ink); border-radius: 6px; }
.jg-tell > div { display: grid; gap: 12px; }
.jg-tell p { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); }
.jg-tell em { font-style: normal; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.jg-tell__ic { color: var(--ink); }
.jg-tell__ic :is(.jg-tell__mark, .jg-tell__dot) { stroke: var(--accent-blue); stroke-width: 3.4; }
@keyframes jg-say { 0%, 100% { transform: none; } 30% { transform: translateY(-3px); } 60% { transform: none; } }
.jg-js .jg-tell.is-in .jg-tell__ic { animation: jg-say 900ms var(--jg-ease) 300ms 2; }

/* ============ AFTERCARE AND RETURN ============ */
.jg-after { padding-top: var(--jg-pad); border-top: 1px solid var(--border); }
.jg-after__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.jg-after .jg-h3 { margin-bottom: 14px; }
.jg-signoff li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; align-items: start; padding-block: 15px; border-top: 1px solid var(--border); }
.jg-signoff li:last-child { border-bottom: 1px solid var(--border); }
.jg-signoff p, .jg-return p, .jg-dots li, .jg-48 li { font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.jg-tick { width: 26px; height: 26px; margin-top: 1px; }
.jg-tick circle { fill: none; stroke: var(--accent-blue); stroke-width: 1.5; }
.jg-tick path { fill: none; stroke: var(--accent-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
/* the four sign-offs are ticked in the order they happen */
.jg-js .jg-signoff:not(.is-in) .jg-tick path { stroke-dashoffset: 1; }
.jg-js .jg-signoff.is-in .jg-tick path { animation: jg-draw 520ms var(--jg-ease) calc(200ms + var(--n, 0) * 260ms) both; }
.jg-dots { margin-top: 12px !important; }
.jg-dots li { position: relative; padding: 10px 0 10px 22px; }
.jg-dots li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-blue); }
.jg-first48 { margin-top: clamp(44px, 5.5vw, 76px) !important; }
.jg-48 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); padding-bottom: var(--jg-pad); }
.jg-48__col { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.jg-48__col:last-child { border-top-color: var(--accent-blue); }
.jg-48 h4 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.2; color: var(--ink); }
.jg-48 .jg-sub { margin-top: 4px !important; }
.jg-48 .jg-sub em { font-style: normal; }
.jg-48 ul { margin-top: 12px !important; }
.jg-48 li { padding-block: 12px; border-bottom: 1px solid var(--border); }
/* the one tinted band on the page */
.jg-call { background: var(--accent-wash); padding-block: clamp(36px, 4.5vw, 60px); }
.jg-call__grid { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: center; }
.jg-call__grid > div { display: grid; gap: 10px; }
.jg-call .jg-h3 { margin: 0; }
.jg-call p { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); }
.jg-thermo { color: var(--ink); }
.jg-thermo .jg-thermo__glass { fill: #fff; }
.jg-thermo .jg-thermo__bulb { fill: var(--ink); stroke: none; }
.jg-thermo .jg-thermo__col { stroke-width: 6; stroke-dasharray: 54; }
.jg-thermo .jg-thermo__line { stroke: var(--accent-blue); stroke-width: 2.6; }
@keyframes jg-climb { from { stroke-dashoffset: 54; } to { stroke-dashoffset: 0; } }
.jg-js .jg-call:not(.is-in) .jg-thermo__col { stroke-dashoffset: 54; }
.jg-js .jg-call.is-in .jg-thermo__col { animation: jg-climb 1500ms var(--jg-ease) 200ms both; }

/* ============ WHAT COMES NEXT ============ */
.jg-next { background: var(--navy-brand); color: rgba(255, 255, 255, .86); padding-block: var(--jg-pad); }
.jg-next__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.jg-next__text { display: grid; gap: 20px; }
.jg-next h2 { color: #fff !important; }
.jg-next__text p { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; }
.jg main .jg-way { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 20px; align-items: center; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .86); text-decoration: none; transition: border-color 260ms, color 200ms; }
.jg main .jg-ways li:last-child .jg-way { border-bottom: 1px solid rgba(255, 255, 255, .24); }
.jg-way__body { display: grid; gap: 6px; font-size: 16.5px; line-height: 1.55; }
.jg-way strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 1.95rem); line-height: 1.15; color: #fff !important; }
.jg-way--main strong { color: var(--accent-ice) !important; }
.jg-way__url { font-size: 15px; color: var(--accent-ice); }
.jg-way__arrow { width: 48px; height: 48px; color: #fff; transition: transform 360ms var(--jg-ease), color 260ms; }
.jg-way__arrow circle { fill: transparent; stroke: rgba(255, 255, 255, .4); stroke-width: 1; transition: fill 260ms, stroke 260ms; }
.jg-way__arrow path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.jg main .jg-way:hover { border-top-color: var(--accent-ice); color: #fff; }
.jg-way:hover .jg-way__arrow { transform: translateX(6px); color: var(--ink); }
.jg-way:hover .jg-way__arrow circle { fill: var(--accent-ice); stroke: var(--accent-ice); }
.jg-ways li:nth-child(2) { --n: 1; }
.jg-ways li:nth-child(3) { --n: 2; }

/* ============ NARROWER SCREENS ============ */
@media (max-width: 1000px) {
  .jg-hero__row, .jg-about__row, .jg-prep__cols, .jg-border__grid, .jg-checkin__grid, .jg-after__cols, .jg-next__grid { grid-template-columns: minmax(0, 1fr); }
  .jg-checkin__aside { position: static; }
  .jg-hero__fig { order: -1; }
  .jg-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jg main .jg-uses { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .jg-toc ol, .jg-treat__cols, .jg-48 { grid-template-columns: minmax(0, 1fr); }
  .jg-treat__cols { grid-template-rows: none; row-gap: 40px; }
  .jg-proto, .jg-ledger { display: block; }
  .jg-toc a { min-height: 56px; }
  .jg-arrive li { grid-template-columns: 28px minmax(0, 1fr); align-items: start; }
  .jg-arrive .jg-ic { margin-top: 2px; }
  .jg-arrive__note { grid-column: 2; justify-self: start; text-align: left; }
  .jg-ride { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .jg-ride li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 30px; }
  .jg-ride li:last-child { padding-bottom: 0; }
  .jg-ride .jg-badge { grid-row: 1 / span 2; margin-bottom: 0; }
  .jg-ride h4 { align-self: end; padding-top: 6px; }
  .jg-ride p { grid-column: 2; }
  /* the line turns to run down the badges */
  .jg-ride li:not(:last-child)::after { top: 28px; left: 27px; width: 1.5px; height: 100%; }
  .jg-tell { grid-template-columns: minmax(0, 1fr); }
  .jg-48 { gap: 36px; }
  .jg-hero__actions .btn { width: 100%; }
  .jg-lane__suv { left: calc(12.5% + 8px); }
}

/* ============ REDUCED MOTION: every end state, nothing moving ============ */
@media (prefers-reduced-motion: reduce) {
  .jg main *, .jg main *::before, .jg main *::after { animation: none !important; transition: none !important; }
  .jg-js [data-r] { opacity: 1 !important; transform: none !important; }
  .jg-js .jg-lanes :is(.jg-lane__fill, .jg-lane__range, .jg-lane__suv) { opacity: 1 !important; }
  .jg-js .jg-signoff .jg-tick path, .jg-js .jg-call .jg-thermo__col { stroke-dashoffset: 0 !important; }
  .jg-step::after { transform: none !important; }
  .jg .hc-bar { transition: none; }
}

/* ============ PRINT: a cover and seven Letter sheets ============
   This is the guide a patient saves as a PDF or hands to whoever is planning
   the trip. One section to a sheet, each with its own head and foot, dark
   type on white, nothing left mid-motion. */
@page { size: letter; margin: 0; }
@media print {
  html, body { background: #fff !important; }
  html:has(body.jg) { scroll-padding-top: 0; }
  body.jg > :not(main) { display: none !important; }
  .jg .hc-bar, .jg-hero__actions, .jg-fold__chev, .jg-way__arrow, .jg-pack__count, .jg-lane__suv, .jg-share { display: none !important; }
  .jg-paper img { display: block; }
  .jg-treat__cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  /* paper is taken the instant the dialog opens: nothing may still be fading or sliding in */
  .jg main *, .jg main *::before, .jg main *::after { animation: none !important; transition: none !important; }
  .jg-js [data-r], .jg-js .jg-lanes * { opacity: 1 !important; transform: none !important; }
  .jg-js .jg-lanes :is(.jg-lane__fill, .jg-lane__range) { transform: none !important; }
  .jg-js .jg-signoff .jg-tick path, .jg-js .jg-call .jg-thermo__col { stroke-dashoffset: 0 !important; }
  .jg-step::after { display: none; }
  .jg-step.is-on .jg-badge { background: #fff; border-color: var(--ink); color: var(--ink); }
  .jg-route[data-lit] * { opacity: 1 !important; }
  .jg * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  /* the sheet */
  .jg main { overflow: visible; font-size: 12.5px; }
  .jg-hero, .jg-sheet {
    box-sizing: border-box; width: 8.5in; height: 10.98in; overflow: hidden;
    display: flex; flex-direction: column; padding: 0; margin: 0; border: 0;
    break-after: page; page-break-after: always; break-inside: avoid;
    background: #fff; color: var(--ink);
  }
  .jg-sheet:last-child { break-after: auto; page-break-after: auto; }
  .jg-wrap { max-width: none; width: 100%; box-sizing: border-box; padding-inline: .66in; margin: 0; }
  .jg-sheet__head + .jg-wrap { padding-top: .36in; }
  .jg-sheet__head, .jg-sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: .66in; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
  .jg-sheet__head { padding: .3in 0 9px; border-bottom: 1px solid var(--border); justify-content: flex-start; }
  .jg-sheet__head img { width: 60px; height: auto; }
  .jg-sheet__head span { border-left: 1px solid var(--border); padding-left: 10px; }
  .jg-sheet__head b { margin-left: auto; font-weight: 500; color: var(--ink); }
  .jg-sheet__foot { margin-top: auto; padding: 9px 0 .26in; border-top: 1px solid var(--border); }

  /* type, sized for paper */
  .jg main h2 { font-size: 38px; line-height: 1.04; }
  .jg-h3 { font-size: 20px; }
  .jg-lede { font-size: 15.5px; line-height: 1.5; }
  .jg-sub { font-size: 12.5px; }
  .jg-head { gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
  .jg main :is(.jg-about__text p, .jg-arrive p, .jg-checks label, .jg-rules p, .jg-ride p, .jg-border p, .jg-donts li, .jg-step p, .jg-ledger p, .jg-combined, .jg-tell p, .jg-signoff p, .jg-return p, .jg-dots li, .jg-48 li, .jg-call p, .jg-next__text p, .jg-uses li, .jg-way__body) { font-size: 13.5px; line-height: 1.52; }
  .jg-ic { width: 20px; height: 20px; }
  .jg-badge { width: 40px; height: 40px; }

  /* cover */
  .jg-hero > .jg-wrap { flex: 1; display: flex; flex-direction: column; padding-block: .7in .5in; }
  .jg-cover__logo { display: block; box-sizing: content-box; width: 100%; height: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--border); object-fit: contain; object-position: left; }
  .jg-hero__h1 { font-size: 58px; line-height: 1; margin: 44px 0 26px; }
  .jg-hero__row { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .jg-hero__answer { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
  .jg-hero__fig { order: 0; padding-inline: .3in; }
  .jg-toc { margin-top: auto; }
  .jg-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
  .jg-toc a { min-height: 0; padding-block: 10px; font-size: 13px; font-weight: 400; }
  .jg-toc a::after { display: none; }
  .jg-cover__foot { display: block; margin-top: 26px !important; padding-top: 12px; border-top: 1px solid var(--border); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }

  /* about */
  .jg-about, .jg-prep, .jg-pickup, .jg-checkin, .jg-treat, .jg-after, .jg-next { padding: 0; }
  .jg-about > .jg-wrap { flex: 1; display: flex; flex-direction: column; }
  .jg-about__row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .jg-about__text { gap: 14px; }
  .jg main .jg-about__text p { font-size: 15px; }
  .jg-about__text h2 { padding-bottom: 16px; border-bottom: 1px solid var(--ink); margin-bottom: 6px; }
  .jg-quote { order: 3; padding: 16px 22px; border-left: 2px solid var(--accent-blue); }
  .jg-quote__mark { display: none; }
  .jg-quote blockquote p { font-size: 20px; }
  .jg-quote figcaption { font-size: 11.5px; margin-top: 8px; }
  .jg-about__row { display: contents; }
  .jg-about__text { order: 1; }
  .jg-fold { order: 2; margin-top: 34px; border: 0; }
  .jg-quote { margin-top: 34px; }
  .jg-fold summary { min-height: 0; font-size: 18px; padding-bottom: 8px; list-style: none; pointer-events: none; }
  .jg main .jg-uses { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; border-top: 1px solid var(--ink); }
  .jg-uses li { padding-block: 12px; border-bottom: 1px solid var(--border); }
  /* a fold the script did not get to open still prints its contents */
  .jg-fold::details-content { content-visibility: visible; display: block; }
  .jg-notice { order: 4; margin-top: auto !important; margin-bottom: 14px !important; padding: 10px 14px; border: 1px solid var(--border); border-radius: 3px; font-size: 11.5px; }

  /* travel and preparation */
  .jg-prep > .jg-wrap > .jg-h3 { margin-bottom: 4px; }
  .jg-arrive { border-top: 1px solid var(--ink); }
  .jg-arrive li { grid-template-columns: 20px minmax(0, 1fr) 120px; gap: 4px 14px; padding-block: 9px; }
  .jg-arrive__note { font-size: 12.5px; }
  .jg-prep__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; margin-top: 24px; }
  .jg-pack__head { gap: 14px; margin-bottom: 10px; min-height: 52px; }
  .jg-passport { width: 36px; height: 48px; }
  .jg-pack.has-passport .jg-passport :is(circle, path) { opacity: 1; }
  .jg-pack.has-passport .jg-passport__tick { stroke-dashoffset: 1; }
  .jg-before__head { min-height: 52px; margin-bottom: 10px; gap: 2px; }
  .jg-checks label { grid-template-columns: 12px minmax(0, 1fr); gap: 10px; min-height: 0; padding-block: 7px; }
  .jg-checks input { display: none; }
  /* on paper the boxes are for a pen */
  .jg-box, .jg-checks input:checked + .jg-box { width: 12px; height: 12px; margin-top: 3px; border: 1px solid var(--ink-muted); border-radius: 2px; background: #fff; }
  .jg-box svg { display: none; }
  .jg-checks input:checked ~ span:last-child, .jg-checks input:checked ~ span:last-child strong { color: inherit; }
  .jg-rules li { grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding-block: 9px; }

  /* pickup and border */
  .jg main .jg-pickup h2 { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
  .jg-pickup > .jg-wrap > .jg-h3 { margin-bottom: 12px; }
  .jg-ride { gap: 24px; padding-bottom: 28px !important; }
  .jg-ride li { gap: 4px; }
  .jg-ride li:not(:last-child)::after { top: 20px; left: 40px; width: calc(100% - 40px + 24px); height: 1px; }
  .jg-ride .jg-badge { margin-bottom: 6px; }
  .jg-ride h4 { font-size: 17px; }
  .jg-border { background: none; color: var(--ink-soft); padding: 0; }
  .jg main .jg-border .jg-h3, .jg main .jg-border strong { color: var(--ink); }
  .jg-border em { color: var(--accent-blue-hover); }
  .jg-border__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .jg-border .jg-h3 { margin-bottom: 6px; }
  .jg-lanes { gap: 14px; padding: 18px 20px; border: 1px solid var(--border); }
  .jg-lane__name { font-size: 13px; color: var(--ink); }
  .jg-lane__time { font-size: 13px; color: var(--ink-soft); }
  .jg-lane__track { height: 18px; border-bottom-color: var(--ink-muted); background-image: repeating-linear-gradient(90deg, var(--ink-muted) 0 1px, transparent 1px 25%); background-size: 100% 6px; }
  .jg-lane__track::after { background: var(--ink-muted); width: 1px; height: 6px; }
  .jg-lane__fill, .jg-lane__range { height: 11px; }
  .jg-lane--public .jg-lane__fill { background: var(--ink-muted); }
  .jg-lane--public .jg-lane__range { background: repeating-linear-gradient(115deg, var(--ink-muted) 0 2px, transparent 2px 6px); }
  .jg-lane--medical .jg-lane__fill { background: var(--accent-blue); }
  .jg-lane--medical .jg-lane__range { background: repeating-linear-gradient(115deg, var(--accent-blue) 0 2px, transparent 2px 6px); }
  .jg-border__looks { padding: 16px 22px; border-left: 2px solid var(--accent-blue); }
  .jg-donts li { padding: 5px 0 5px 16px; border: 0 !important; }
  .jg-donts li::before { top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-muted); }

  /* check-in */
  .jg-checkin__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .jg-checkin__aside { position: static; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
  .jg-step { grid-template-columns: 40px minmax(0, 1fr); column-gap: 22px; padding-bottom: 44px; }
  .jg-step h3 { font-size: 21px; padding-top: 2px; }
  .jg-step p { margin-top: 6px !important; font-size: 14.5px !important; }
  .jg-step:not(:last-child)::before { left: 19.5px; top: 20px; width: 1px; }

  /* the treatment */
  .jg-treat__cols { column-gap: 34px; }
  .jg-proto__head { gap: 12px; padding-bottom: 10px; border-bottom-width: 1px; }
  .jg-iv, .jg-syr { width: 32px; height: 48px; }
  .jg-ledger li { padding-block: 14px; gap: 4px 14px; }
  .jg-ledger span { font-size: 12.5px; }
  .jg-combined { margin-top: 26px !important; text-align: left; }
  .jg-tell { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; margin-top: 30px; padding: 22px 24px; border-width: 1px; border-radius: 3px; }
  .jg-tell__ic { width: 44px; height: 44px; }
  .jg-tell > div { gap: 6px; }
  .jg-tell p { font-size: 15px; }

  /* aftercare */
  .jg-after__cols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .jg-after .jg-head { margin-bottom: 16px; padding-bottom: 14px; }
  .jg main .jg-after :is(.jg-signoff p, .jg-return p, .jg-dots li, .jg-48 li, .jg-call p) { font-size: 13px; line-height: 1.48; }
  .jg-after .jg-h3 { margin-bottom: 6px; }
  .jg-signoff li { grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding-block: 6px; }
  .jg-tick { width: 16px; height: 16px; }
  .jg-dots { margin-top: 4px !important; }
  .jg-dots li { padding: 3px 0 3px 16px; }
  .jg-dots li::before { top: 10px; width: 5px; height: 5px; background: var(--ink-muted); }
  .jg-first48 { margin-top: 14px !important; }
  .jg-48 { gap: 26px; padding-bottom: 14px; }
  .jg-48__col { padding-top: 10px; }
  .jg-48 h4 { font-size: 16px; }
  .jg-48 ul { margin-top: 6px !important; }
  .jg-48 li { padding-block: 5px; }
  .jg-call { background: none; padding: 0; }
  .jg-call__grid { grid-template-columns: 22px minmax(0, 1fr); gap: 14px; margin-inline: .66in; padding: 10px 14px; border: 1px solid var(--border); border-radius: 3px; width: auto; }
  .jg-thermo { width: 22px; height: 55px; }
  .jg-call__grid > div { gap: 4px; }
  .jg-call .jg-h3 { font-size: 15px; }

  /* what comes next */
  .jg-next { background: #fff; color: var(--ink-soft); }
  .jg-next h2 { color: var(--ink) !important; }
  .jg main .jg-next strong { color: var(--ink); }
  .jg-next__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .jg-next__text { gap: 12px; }
  .jg main .jg-next__text h2 { font-size: 48px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); margin-bottom: 6px; }
  .jg main .jg-next__text p { font-size: 16px; line-height: 1.6; }
  .jg-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .jg main .jg-way { grid-template-columns: minmax(0, 1fr); padding-block: 14px 0; border-top: 1px solid var(--ink); border-bottom: 0 !important; color: var(--ink-soft); }
  .jg-way strong, .jg-way--main strong { font-size: 20px; color: var(--ink) !important; }
  .jg-way__url { font-size: 11.5px; color: var(--accent-blue-hover); text-decoration: underline; }
  .jg-legal { display: block; margin: auto .66in 0; padding-block: 14px; border-top: 1px solid var(--border); }
  .jg-legal p { font-size: 10.5px !important; line-height: 1.55; color: var(--ink-muted); }
  .jg-legal p:first-child { margin-bottom: 6px !important; font-size: 9.5px !important; letter-spacing: .08em; text-transform: uppercase; }
  .jg-legal strong { font-weight: 500; }
  .jg-next .jg-sheet__foot { margin-top: 0; }
}
