/* The Last Tray: a concept exhibit for the Industrial page (fictional case, proposed service).
   Markup: generated by the site build (never edited by hand). Behaviour: lasttray.js.
   Without JS, under reduced motion and with ?still=1 the four steps show complete and in order, and the
   current-quote page shows with the other two states in <details>. Every keyframe hangs off .lt-run,
   which only lasttray.js adds, so the default markup is always the finished drawing.
   Colours: tokens from system.css; teal = the released revision B, gold = pen marks, ink = objects. */

.lt { --lt-ink: var(--p-ink); --lt-soft: #3A4250; --lt-quiet: var(--p-slate-600); --lt-teal: var(--p-teal-deep);
  --lt-gold: var(--p-gold-ink); --lt-paper: #FFFFFF; --lt-rule: rgba(20, 24, 33, 0.14); --lt-steel: #E2DED4; --lt-graphite: var(--p-graphite); }

/* ---------- header ---------- */
.lt-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: end; }
.lt-eyebrow { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.02em; color: var(--lt-soft); }
.lt-h2 { margin-top: var(--s-3); }
.lt-sub { margin-top: var(--s-4); font-size: var(--t-h3); font-weight: 500; line-height: var(--lh-head); color: var(--lt-ink); }
.lt-lede { color: var(--lt-soft); }

/* ---------- the story: four drawn steps ---------- */
.lt-story { margin-top: var(--s-7); }
.lt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-6); }
.lt-step { min-width: 0; }
.lt-fig { margin: 0; padding: var(--s-3); background-color: #FBF9F4; border: 1px solid var(--lt-rule); border-radius: var(--r-card);
  background-image: linear-gradient(rgba(31, 107, 102, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 107, 102, 0.055) 1px, transparent 1px);
  background-size: 20px 20px; background-position: -1px -1px; }
.lt-st { margin-top: var(--s-4); }
.lt-st-h { display: flex; align-items: baseline; gap: var(--s-3); font-size: var(--t-h4); font-weight: 600; line-height: var(--lh-head); color: var(--lt-ink); letter-spacing: 0; }
.lt-n { flex: none; min-width: 2.1em; font-size: var(--t-label); font-weight: 700; letter-spacing: 0.06em; color: var(--lt-teal); font-variant-numeric: lining-nums; }
.lt-st-p { margin-top: var(--s-2); padding-left: calc(2.1em * 0.875 + var(--s-3)); font-size: var(--t-small); color: var(--lt-soft); max-width: 52ch; }

/* stepper mode (lasttray.js, motion allowed): one stage, four step buttons */
.lt-story.lt-live { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: center; }
.lt-rail { min-width: 0; }
.lt-stage { display: grid; min-width: 0; }
.lt-live .lt-fig { grid-area: 1 / 1; transition: opacity 420ms var(--ease), visibility 0s linear 420ms; opacity: 0; visibility: hidden; }
.lt-live .lt-fig.lt-on { opacity: 1; visibility: visible; transition: opacity 420ms var(--ease), visibility 0s; }
.lt-live .lt-steps { display: block; }
.lt-live .lt-step { position: relative; padding: var(--s-2) 0 var(--s-3) var(--s-4); border-left: 2px solid var(--lt-rule); }
.lt-live .lt-step + .lt-step { margin-top: var(--s-1); }
.lt-live .lt-step.lt-on { border-left-color: var(--lt-teal); }
.lt-live .lt-step::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--lt-teal); transform: scaleY(0); transform-origin: top; }
.lt-live .lt-step.lt-timing::before { animation: lt-fill 6s linear both; }   /* 6 s = DWELL in lasttray.js */
.lt-live.lt-paused .lt-step::before { animation: none; transform: scaleY(0); }
.lt-live .lt-st { margin-top: 0; }
.lt-st-b { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 44px; margin: 0; padding: var(--s-1) 0; background: none; border: 0; border-radius: 4px;
  font: inherit; color: var(--lt-soft); text-align: left; cursor: pointer; }
.lt-st-b:hover .lt-st-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lt-st-b[aria-current="step"] { color: var(--lt-ink); }
.lt-live .lt-st-p { margin-top: 0; }
.lt-live .lt-step:not(.lt-on) .lt-st-p { color: var(--lt-soft); }
.lt-ctl { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); padding-left: var(--s-4); }
.lt-play { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); background: transparent; color: var(--lt-ink);
  border: 1px solid rgba(20, 24, 33, 0.28); border-radius: var(--r-control); font: 600 var(--t-small)/1 var(--font); cursor: pointer; }
.lt-play:hover { border-color: var(--lt-ink); }
.lt-play::before { content: ""; width: 10px; height: 12px; flex: none; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px, currentColor 7px 10px); }
.lt-play[data-mode="play"]::before { width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

/* ---------- drawings ---------- */
.lt-svg { width: 100%; height: auto; display: block; font-family: var(--font); overflow: visible; }
.lt-svg text { font-size: 15px; fill: var(--lt-ink); }
.lt-steel { fill: var(--lt-steel); stroke: var(--lt-graphite); stroke-width: 1.5; }
.lt-thin { fill: none; stroke: #8B93A1; stroke-width: 1; }
.lt-hole { fill: #FBF9F4; stroke: var(--lt-graphite); stroke-width: 1.5; }
.lt-bore { fill: none; stroke: #8B93A1; stroke-width: 1; }
.lt-hole-b { stroke: var(--lt-teal); stroke-width: 2; fill: rgba(31, 107, 102, 0.10); }
.lt-stamp rect { fill: #FBF9F4; stroke: var(--lt-graphite); stroke-width: 1.25; }
.lt-stamp text { font-weight: 700; letter-spacing: 0.04em; }
.lt-stamp-hi rect { stroke: var(--lt-teal); stroke-width: 2; }
.lt-stamp-hi text { fill: var(--lt-teal); }
.lt-paper { fill: var(--lt-paper); stroke: #B9B2A2; stroke-width: 1; }
.lt-slide .lt-paper { fill: rgba(255, 255, 255, 0.52); stroke: #8B93A1; }
.lt-print { font-weight: 600; letter-spacing: 0.05em; }
.lt-svg .lt-print { fill: var(--lt-soft); }
.lt-svg .lt-print-b { fill: var(--lt-ink); font-weight: 700; }
.lt-svg .lt-print-rev { fill: var(--lt-teal); font-weight: 700; }
.lt-mark { fill: none; stroke: var(--lt-ink); stroke-width: 1.25; stroke-dasharray: 3 2.5; }
.lt-dim path { fill: none; stroke: var(--lt-quiet); stroke-width: 1; }
.lt-svg .lt-dim text { fill: var(--lt-soft); }
.lt-dim-b path { stroke: var(--lt-teal); }
.lt-svg .lt-dim-b text { fill: var(--lt-teal); font-weight: 600; }
.lt-pen { fill: none; stroke: var(--lt-gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lt-svg .lt-pen-t text { fill: var(--lt-gold); font-weight: 700; font-size: 16px; }
.lt-pen-t path { fill: none; stroke: var(--lt-gold); stroke-width: 1.5; stroke-linecap: round; }
.lt-tool rect, .lt-tool path { fill: #FBF9F4; stroke: var(--lt-quiet); stroke-width: 1.5; stroke-linejoin: round; }
.lt-tool path:first-of-type { fill: none; stroke-width: 1; }
.lt-match { fill: none; stroke: var(--lt-teal); stroke-width: 1.5; }
.lt-tick circle { fill: var(--lt-teal); }
.lt-tick path { fill: none; stroke: #FFFFFF; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lt-svg .lt-row { font-size: 16px; font-weight: 700; }
.lt-plate { fill: rgba(31, 107, 102, 0.05); stroke: var(--lt-graphite); stroke-width: 1.25; }
.lt-plate-new { fill: #DCEBE7; stroke: var(--lt-teal); stroke-width: 1.5; }
.lt-ghost { fill: none; stroke: var(--lt-gold); stroke-width: 1.5; stroke-dasharray: 3 3; }
.lt-arrow { fill: none; stroke: var(--lt-gold); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lt-blank { stroke-width: 1.25; }
.lt-blank-old { fill: #ECE8DF; stroke: #8B93A1; }
.lt-blank-new { fill: rgba(31, 107, 102, 0.16); stroke: var(--lt-teal); }
.lt-svg .lt-cap { fill: var(--lt-soft); }
.lt-svg .lt-cap-b { fill: var(--lt-teal); font-weight: 700; }
.lt-svg .lt-qline { font-size: 17px; font-variant-numeric: tabular-nums; }
.lt-strike { fill: none; stroke: var(--lt-gold); stroke-width: 2.5; stroke-linecap: round; }
.lt-svg .lt-write text { font-family: var(--font-spoken); font-size: 20px; font-weight: 600; fill: var(--lt-gold); }
.lt-box { fill: #FFFFFF; stroke: var(--lt-graphite); stroke-width: 1.25; }
.lt-svg .lt-pg-b { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; }
.lt-svg .lt-quiet { fill: var(--lt-quiet); }
.lt-svg .lt-ink { font-weight: 600; }
.lt-board { fill: var(--p-navy-700); }
.lt-svg .lt-chalk { fill: var(--p-white-warm); font-weight: 700; letter-spacing: 0.06em; }
.lt-pin { fill: var(--lt-graphite); stroke: #FBF9F4; stroke-width: 1.5; }

/* motion: only when lasttray.js adds .lt-run to the current drawing (never without JS, never under reduced motion) */
.lt-run .lt-draw { stroke-dasharray: 1; animation: lt-draw 900ms cubic-bezier(0.45, 0.05, 0.25, 1) both; }
.lt-run .lt-fade { animation: lt-fade 520ms var(--ease) both; }
.lt-run .lt-slide { transform-box: fill-box; transform-origin: 50% 50%; animation: lt-slide 950ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.lt-run .lt-rise { transform-box: fill-box; animation: lt-rise 700ms var(--ease) both; }
.lt-run .lt-drop { transform-box: fill-box; animation: lt-drop 460ms cubic-bezier(0.5, 0, 0.75, 0) both; }
.lt-run .lt-d1 { animation-delay: 350ms; } .lt-run .lt-d2 { animation-delay: 800ms; } .lt-run .lt-d3 { animation-delay: 1300ms; }
.lt-run .lt-d4 { animation-delay: 1800ms; } .lt-run .lt-d5 { animation-delay: 2300ms; }
.lt-hold .lt-draw, .lt-hold .lt-fade, .lt-hold .lt-slide, .lt-hold .lt-rise, .lt-hold .lt-drop { animation-play-state: paused; }
@keyframes lt-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lt-slide { from { opacity: 0; transform: translate(-56px, -34px) rotate(-3deg); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes lt-rise { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes lt-drop { from { opacity: 0; transform: translateY(-38px); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes lt-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .lt-run .lt-draw, .lt-run .lt-fade, .lt-run .lt-slide, .lt-run .lt-rise, .lt-run .lt-drop, .lt-live .lt-step.lt-timing::before { animation: none; }
  .lt-live .lt-fig { transition: none; }
}

/* ---------- the page the buyer receives ---------- */
.lt-page { margin-top: var(--s-8); }
.lt-page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: end; }
.lt-h3 { font-size: var(--t-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); color: var(--lt-ink); }
.lt-page-p { color: var(--lt-soft); }
.lt-brief { margin-top: var(--s-5); }
.lt-tabs { display: flex; gap: var(--s-2); margin-bottom: var(--s-2); }
.lt-tab { flex: 0 1 auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 52px; min-width: 0;
  padding: var(--s-2) var(--s-4); background: transparent; border: 1px solid rgba(20, 24, 33, 0.22); border-radius: var(--r-control);
  font: 600 var(--t-small)/1.25 var(--font); color: var(--lt-ink); text-align: left; cursor: pointer; }
.lt-tab:hover { border-color: var(--lt-ink); }
.lt-tab[aria-selected="true"] { background: var(--lt-paper); border-color: var(--lt-ink); box-shadow: inset 0 -3px 0 var(--lt-teal); }
.lt-tab-s { font-size: var(--t-micro); font-weight: 500; color: var(--lt-soft); }
.lt-alts { margin-top: var(--s-4); }
.lt-alt-h { font-size: var(--t-label); font-weight: 600; color: var(--lt-soft); }
.lt-alt { margin-top: var(--s-2); border-top: 1px solid var(--lt-rule); }
.lt-alt > summary { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; cursor: pointer; font-weight: 600; color: var(--lt-ink); }
.lt-alt-s { font-size: var(--t-micro); font-weight: 500; color: var(--lt-soft); }
.lt-alt[open] > summary { margin-bottom: var(--s-3); }

.lt-sheet { position: relative; background: var(--lt-paper); color: var(--lt-ink); border: 1px solid rgba(20, 24, 33, 0.12); border-radius: 6px;
  padding: clamp(16px, 2.2vw, 28px) clamp(16px, 2.6vw, 32px); font-size: var(--t-small); line-height: 1.5;
  box-shadow: 0 1px 2px rgba(12, 18, 36, 0.06), 0 24px 48px -32px rgba(12, 18, 36, 0.45); }
.lt-sheet p { max-width: none; }
.lt-sheet ul { margin: 0; padding: 0; list-style: none; }
.lt-sh-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-3) var(--s-5); flex-wrap: wrap; }
.lt-sh-k { font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.03em; color: var(--lt-soft); }
.lt-sh-t { margin: 2px 0 0; font-size: var(--t-h4); font-weight: 600; line-height: var(--lh-head); }
.lt-badge { flex: 0 1 auto; max-width: 100%; padding: 5px 10px; border: 1.5px solid currentColor; border-radius: 4px; font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.04em; }
.lt-b-hold { color: var(--lt-gold); background: #FBF4E4; }
.lt-b-ok { color: var(--lt-teal); background: #EAF4F2; }
.lt-sh-head { margin-top: var(--s-3); font-size: var(--t-h3); font-weight: 600; line-height: 1.35; max-width: 56ch; }
.lt-sh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--s-6); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--lt-rule); }
.lt-lab { font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.03em; color: var(--lt-soft); }
.lt-big { margin-top: 2px; font-size: clamp(2.5rem, 1.9rem + 1.6vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.lt-s-ok .lt-big { color: var(--lt-teal); }
.lt-meter { display: block; width: 100%; height: 14px; margin: var(--s-3) 0 var(--s-2); }
.lt-m-track { fill: #ECE8DF; }
.lt-m-fill { fill: var(--lt-teal); }
.lt-m-q { fill: #B6BDC8; }
.lt-m-over { fill: var(--lt-gold); }
.lt-m-lim { stroke: var(--lt-ink); stroke-width: 2; }
.lt-of { color: var(--lt-soft); }
.lt-lines { margin-top: var(--s-3) !important; }
.lt-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: 4px 0; border-bottom: 1px dotted rgba(20, 24, 33, 0.25); }
.lt-amt { flex: none; font-variant-numeric: tabular-nums; }
.lt-lines .lt-sum { border-bottom: 0; border-top: 1.5px solid var(--lt-ink); margin-top: -1px; font-weight: 700; }
.lt-calc { margin-top: var(--s-3); padding: var(--s-2) var(--s-3); background: #F6F4EE; border-radius: 4px; font-variant-numeric: tabular-nums; }
.lt-stale { margin-top: var(--s-3); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: baseline; padding: var(--s-2) var(--s-3); background: #F6F4EE; border-radius: 4px; }
.lt-stale s { font-size: 1.375rem; font-weight: 700; color: var(--lt-soft); text-decoration-color: var(--lt-gold); text-decoration-thickness: 2px; }
.lt-now { margin-bottom: var(--s-4); padding: var(--s-2) var(--s-3); border-left: 3px solid var(--lt-gold); background: #FBF7EE; }
.lt-s-ok .lt-now { border-left-color: var(--lt-rule); background: #F6F4EE; }
.lt-now ul { margin-top: var(--s-1) !important; }
.lt-now li { position: relative; padding-left: 16px; }
.lt-now li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 1.5px; background: currentColor; }
.lt-sign { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-4); margin-top: var(--s-5); }
.lt-sign span { padding-top: var(--s-1); border-top: 1px solid var(--lt-ink); font-size: var(--t-micro); color: var(--lt-soft); }

.lt-facts h4 { margin: var(--s-4) 0 var(--s-1); font-size: var(--t-label); font-weight: 700; color: var(--lt-ink); }
.lt-facts h4:first-child { margin-top: 0; }
.lt-src { display: inline-block; padding: 0 4px; border: 1px solid currentColor; border-radius: 3px; font-size: var(--t-micro); font-weight: 600; line-height: 1.35; color: var(--lt-teal); vertical-align: 1px; }
.lt-known li { padding: 2px 0; }
.lt-chg li, .lt-routes li, .lt-who li { display: grid; gap: 2px var(--s-3); padding: 6px 0; border-top: 1px solid var(--lt-rule); align-items: baseline; }
.lt-chg li { grid-template-columns: 3.6em minmax(0, 1fr); }
.lt-cn { grid-column: 1 / -1; }
.lt-ck { font-weight: 600; }
.lt-cv { font-variant-numeric: tabular-nums; }
.lt-cn { color: var(--lt-soft); }
.lt-routes li { grid-template-columns: 1.5em 1.4em minmax(0, 1fr) auto; }
.lt-routes .lt-rs { grid-column: 3 / -1; }
/* lane P (R-tick): the selection mark column, as in drawing IV; an empty box only where the page can be signed, a dash elsewhere */
.lt-sel { align-self: start; padding-top: 0.2em; line-height: 1; }
.lt-tickbox { display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--lt-ink); border-radius: 2px; background: #FFFFFF; vertical-align: top; }
.lt-dash { display: inline-block; color: var(--lt-soft); font-weight: 600; }
.lt-why { color: var(--lt-ink); font-weight: 600; }
.lt-ra { text-align: right; white-space: nowrap; }
.lt-rk { color: var(--lt-ink); }
.lt-rn { font-weight: 600; }
.lt-ra { font-variant-numeric: tabular-nums; }
.lt-rs { color: var(--lt-soft); }
.lt-s-ok .lt-r-b { background: #EEF6F4; box-shadow: -8px 0 0 #EEF6F4, 8px 0 0 #EEF6F4; }
.lt-s-ok .lt-r-b .lt-rs { color: var(--lt-teal); font-weight: 600; }
.lt-note { margin-top: var(--s-1); font-size: var(--t-micro); color: var(--lt-soft); }
.lt-who li { grid-template-columns: minmax(0, 1fr) auto; }
.lt-who .lt-wq { grid-column: 1 / -1; }
.lt-ws { text-align: right; }
.lt-wo { font-weight: 600; white-space: nowrap; }
.lt-ws { color: var(--lt-soft); }
.lt-sh-foot { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--lt-rule); }
.lt-sep { font-weight: 600; color: var(--lt-ink); }
.lt-srcs { margin-top: var(--s-1); font-size: var(--t-micro); color: var(--lt-soft); }

/* ---------- parties ---------- */
.lt-parties { margin-top: var(--s-8); }
.lt-plist { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.lt-party { padding-top: var(--s-4); border-top: 2px solid var(--lt-ink); }
.lt-pr { font-size: var(--t-label); font-weight: 600; color: var(--lt-teal); }
.lt-pn { margin-top: 2px; font-size: var(--t-h4); font-weight: 600; color: var(--lt-ink); }
.lt-py, .lt-pl { margin-top: var(--s-3); font-size: var(--t-small); color: var(--lt-ink); }
.lt-pk { display: block; font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.03em; color: var(--lt-soft); }
.lt-parties-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4) var(--s-7); align-items: end; }
.lt-pz { color: var(--lt-soft); }

/* ---------- invitation and status ---------- */
.lt-invite { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--lt-rule); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-5) var(--s-7); align-items: center; }
.lt-inv-t { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); font-weight: 600; line-height: 1.3; letter-spacing: var(--track-head); color: var(--lt-ink); max-width: 34ch; }
.lt-inv-a { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.lt-inv-s { font-size: var(--t-small); color: var(--lt-soft); }
.lt-status { margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--lt-rule); font-size: var(--t-label); line-height: 1.55; color: var(--lt-soft); max-width: 90ch; }

/* ---------- widths ---------- */
@media (max-width: 1099px) {
  .lt-sh-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .lt-money { grid-row: span 2; }
  /* static story: one step per row, drawing beside its caption */
  .lt-story:not(.lt-live) .lt-steps { grid-template-columns: minmax(0, 1fr); }
  .lt-story:not(.lt-live) .lt-step { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s-5); align-items: center; }
  .lt-story:not(.lt-live) .lt-st { margin-top: 0; }
  .lt-story:not(.lt-live) .lt-st-p { padding-left: 0; }
}
@media (max-width: 860px) {
  .lt-head, .lt-page-head, .lt-parties-head { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .lt-story.lt-live { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .lt-sh-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .lt-money { grid-row: auto; }
  .lt-plist { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .lt-invite { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .lt-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .lt-live .lt-step:not(.lt-on) .lt-st-p { display: none; }
  .lt-live .lt-step.lt-on .lt-st-p { min-height: calc(4 * 1.6em); }   /* the rail keeps one height as captions change */
  .lt-st-p { padding-left: 0; }
  .lt-tabs { gap: 6px; }
  .lt-tab { flex: 1 1 0; padding: var(--s-2) 10px; }
  .lt-story:not(.lt-live) .lt-step { display: block; }
  .lt-story:not(.lt-live) .lt-st { margin-top: var(--s-4); }
}
/* phones: the three tabs stack (one line of label, one of status); each route reads name, then price and lead time, then status;
   in "who can answer" the owner and the state sit on their own lines */
@media (max-width: 599px) {
  .lt-tabs { flex-direction: column; gap: 6px; }
  .lt-tab { flex: none; width: 100%; min-height: 44px; padding: 6px var(--s-3); }
  .lt-tab-l, .lt-tab-s { white-space: nowrap; }
  .lt-routes li { grid-template-columns: 1.5em 1.4em minmax(0, 1fr); row-gap: 2px; }
  .lt-routes .lt-rn, .lt-routes .lt-ra, .lt-routes .lt-rs { grid-column: 3 / -1; }
  .lt-ra { text-align: left; white-space: normal; }
  .lt-who li { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .lt-wo { margin-top: var(--s-2); white-space: normal; }
  .lt-ws { text-align: left; margin-top: 4px; }
}
@media (max-width: 480px) {
  .lt-fig { padding: 0; }
  .lt-stale { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
}

/* narrow phones (under 390 px): the drawings run edge to edge and their labels grow by a tenth, so no label renders under 13 px */
@media (max-width: 389px) {
  .lt-fig { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; border-radius: 0; }
  .lt-svg text { font-size: 16.5px; }
  .lt-svg .lt-pen-t text, .lt-svg .lt-row { font-size: 17.5px; }
  .lt-svg .lt-qline, .lt-svg .lt-pg-b { font-size: 18.5px; }
  .lt-svg .lt-write text { font-size: 22px; }
}

/* the case as a film: a silent 4:5 video beside its description; native controls, no script */
.lt-film { margin-top: var(--s-7); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-7); align-items: center; }
.lt-film-stage { max-width: 30rem; width: 100%; justify-self: center; border: 1px solid var(--lt-rule); border-radius: 10px; overflow: hidden; background: #FBF9F4; }
.lt-film-v { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #FBF9F4; }
.lt-film-h { margin: 0; }
.lt-film-p { margin: var(--s-3) 0 0; color: var(--lt-soft); max-width: 34em; }
.lt-film-d { max-width: 34em; margin-top: var(--s-4); border-top: 1px solid var(--lt-rule); border-bottom: 1px solid var(--lt-rule); }
.lt-film-d > summary { cursor: pointer; padding: 0.75rem 0; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--lt-ink); }
.lt-film-d > summary:focus-visible { outline: 2px solid var(--lt-teal); outline-offset: 2px; }
.lt-film-ol { margin: 0 0 var(--s-4); padding-left: 1.4em; color: var(--lt-soft); }
.lt-film-ol li { margin: 0.3em 0; }
.lt-film-n { margin: var(--s-4) 0 0; font-size: 0.875rem; color: var(--lt-quiet); max-width: 34em; }
@media (max-width: 860px) {
  .lt-film { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .lt-film-stage { max-width: 26rem; justify-self: start; }
}

/* ---------- 3 Dec 2026, simplified page: the case opens the page; the film sits on the first screen ---------- */
#main section.lt-first { padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
.lt-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: var(--s-6) clamp(2rem, 5vw, 5rem); align-items: start; }
.lt-hero-t { padding-top: clamp(0rem, 3vw, 3rem); }
.lt-kicker { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.02em; color: var(--lt-teal); }
.lt-h1 { margin: var(--s-3) 0 0; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; color: var(--lt-ink); }
.lt-hero .lt-lede { margin-top: var(--s-5); max-width: 34em; }
.lt-hero-a { margin-top: var(--s-6); }
.lt-film { margin-top: 0; display: block; }
.lt-film-stage { position: relative; max-width: none; width: 100%; box-shadow: 0 18px 40px -24px rgba(20, 24, 33, 0.45); }
.lt-film-n { margin: var(--s-3) 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--lt-soft); max-width: none; }
.lt-film-d { max-width: none; margin-top: var(--s-3); border-bottom: 0; }
.lt-film-play { position: absolute; left: 50%; top: 72%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: var(--lt-ink); color: #FBF9F4; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px -8px rgba(20, 24, 33, 0.6); }
.lt-film-play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.lt-film-play:hover { background: #000; }
.lt-film-play:focus-visible { outline: 2px solid var(--lt-teal); outline-offset: 3px; }
.lt-page { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.lt-party { padding-top: var(--s-3); }
.lt-py { margin-top: var(--s-2); font-size: var(--t-body); line-height: 1.5; color: var(--lt-ink); }
#main section.lt-close { padding-top: 0; padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.lt-close .lt-invite { margin-top: 0; padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-top: 0; }
h2.lt-inv-t { margin: 0; }
@media (max-width: 860px) {
  .lt-hero { grid-template-columns: minmax(0, 1fr); }
  .lt-hero-t { padding-top: 0; }
  .lt-film-stage { max-width: 24rem; }
}
.lt-film-play[hidden] { display: none; }
.lt-film-d > summary::after { content: "+"; margin-left: auto; padding-left: var(--s-4); font-size: 1.375rem; font-weight: 400; line-height: 1; color: var(--lt-soft); }
.lt-film-d[open] > summary::after { content: "\2212"; }
.cpr-note { grid-column: 1 / -1; margin-top: var(--s-2); }
/* phone: the facts and the routes come before the signature line */
@media (max-width: 680px) {
  .lt-sh-grid { display: flex; flex-direction: column; gap: 0; }
  .lt-money { display: contents; }
  .lt-facts { margin-top: var(--s-5); }
  .lt-sign { order: 5; margin-top: var(--s-6); }
}
