/* ---------- skills/skills.css ---------- */
/* Skills: a rocket launch in three stages. Stacked by default; html.fly + .launch.pin = pinned flight. */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.sec { position: relative; padding: var(--sec-y) var(--gut); border-top: 0; }   /* K1: bands separate the rooms */

/* hero: short, so the scene shows in the first screen */
.phead { position: relative; padding: 100px var(--gut) var(--sp4); overflow: hidden; }
.crumbs { display: flex; gap: 8px; margin: 0 0 var(--sp3); font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.h1 { margin: 0; font: 400 clamp(var(--fs-9), 2.4415vw + 24.8443px, var(--fs-11))/1.02 var(--sans); letter-spacing: -.045em; text-wrap: balance; view-transition-name: skills-title; }
.hrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp2) var(--sp5); margin-top: var(--sp2); }
.lede { margin: 0; max-width: 60ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.hacts { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.to-list { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-label); color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.to-list:hover { text-decoration-color: var(--ink); }
.eds { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line-2); }
.eds-l { padding: 0 10px 0 12px; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--muted); }
.eds button { height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer; font-size: var(--fs-label); color: var(--ink-2); transition: background-color var(--t-med), color var(--t-med); }
.eds button:hover { color: var(--ink); }
.eds button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.ctas { display: flex; flex-wrap: wrap; gap: var(--sp1); }

/* ---------- launch: stacked (mobile, reduced motion, no JS) ---------- */
.launch { position: relative; padding: 0 var(--gut) var(--sp8); }
.ls { position: relative; max-width: var(--maxw); margin: 0 auto; }
.ls-view, .hud, .ls-fallback { display: none; }
.stg { display: grid; gap: var(--sp3); padding: var(--sp5) 0; border-top: 1px solid var(--line); }
.stg-head h3 { margin: 12px 0 0; font: 400 clamp(var(--fs-8), 0.5635vw + 25.8868px, var(--fs-9))/1.08 var(--sans); letter-spacing: -.035em; }
.stg-d { margin: 8px 0 0; max-width: 52ch; font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.stg-d a { color: var(--ink); text-underline-offset: 3px; }
.stg-fig { margin: 0; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--zc-03050c); aspect-ratio: 4 / 5; }
.stg-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.co:not(.m-callout) { position: relative; padding: 15px 17px; border-radius: var(--r-inner); border: 1px solid var(--line); background: var(--surface); transition: border-color var(--t-med), opacity var(--t-med); }
:root[data-theme="light"] .co:not(.m-callout) { box-shadow: var(--elev-1); }
.co-k { margin: 0; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--muted); }
.co-t { margin: 6px 0 0; font-size: var(--fs-card); font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.co-tl { margin: 5px 0 0; font: 400 var(--fs-label)/1.5 var(--sans); color: var(--ink-2); }
.co-pf { margin: 7px 0 0; font-size: var(--fs-label); line-height: 1.5; color: var(--ink-2); font-weight: 400; }
.co-pf b { font-weight: 500; color: var(--ink); }
.pays { display: grid; gap: 10px; }
.pays-h { margin: var(--sp2) 0 0; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--accent); }
.pay { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-inner); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); text-decoration: none; transition: border-color var(--t-med), transform var(--t-med) var(--ease); }
.pay:hover { border-color: var(--accent); }
.pay-k { font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--accent); }
.pay-t { font-size: var(--fs-body); font-weight: 500; letter-spacing: -.02em; }
.pay-t .arr { display: inline-block; transition: transform var(--t-med) var(--ease); }
.pay:hover .arr { transform: translateX(3px); }
.pay-d { font-size: var(--fs-label); line-height: 1.5; color: var(--ink-2); font-weight: 400; }
/* editions: highlight matching skills with the edition accent */
:root:not([data-ed="all"]) .co, :root:not([data-ed="all"]) .pay { --edk: .5; }
:root[data-ed="ecom"] :is(.co, .pay)[data-ed~="ecom"], :root[data-ed="data"] :is(.co, .pay)[data-ed~="data"], :root[data-ed="ops"] :is(.co, .pay)[data-ed~="ops"] { --edk: 1; border-color: color-mix(in srgb, var(--accent) 70%, transparent); }
:root[data-ed="ecom"] .co[data-ed~="ecom"] .co-k, :root[data-ed="data"] .co[data-ed~="data"] .co-k, :root[data-ed="ops"] .co[data-ed~="ops"] .co-k { color: var(--accent); }
.co, .pay { opacity: var(--edk, 1); }
@media (min-width: 760px) {
  .stg { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: var(--sp5); }
  .stg-head { grid-column: 1 / -1; }
  .stg-fig { grid-row: span 2; position: sticky; top: 88px; align-self: start; }
}
.no-gl .stg-fig { display: none; }
.no-gl .ls-fallback { display: block; margin: 0 0 var(--sp3); padding: var(--sp3); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.no-gl .stg { grid-template-columns: 1fr; }
.ls-fallback svg { display: block; width: 100%; max-width: 820px; height: auto; margin: 0 auto; }
.fb-l { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.fb-g { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 5; }
.fb-a { fill: var(--accent); stroke: var(--accent); stroke-width: 2; }
.ls-fallback text { font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; fill: var(--accent); }

/* ---------- launch: pinned flight ---------- */
.fly .launch { height: 640vh; padding: 0 var(--gut); }
.fly .ls { position: sticky; top: 74px; height: calc(100vh - 88px); max-width: none; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--zc-03050c); isolation: isolate;
  --h-ink: var(--zc-eef1f6); --h-ink2: var(--zc-b9c0cc); --h-mut: var(--zc-8b94a4); --h-line: var(--zc-rgba-255-255-255-14); --h-acc: var(--zc-9fb7ff); --cw: 280px; }
.fly .ls-view { display: block; position: absolute; inset: 0; }
.fly #rocket { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.gl-on #rocket { opacity: 1; }
.ls-vig { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--zc-rgba-3-5-12-55), transparent 30%, transparent 72%, var(--zc-rgba-3-5-12-5)), linear-gradient(0deg, var(--zc-rgba-3-5-12-55), transparent 22%); }
.ls-leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

.fly .hud { display: block; position: absolute; inset: 0; pointer-events: none; color: var(--h-ink); z-index: 2; }
.hud > * { pointer-events: auto; }
.hud-chips { position: absolute; left: 24px; top: 22px; flex-wrap: nowrap; }

/* altitude ruler, left edge, log scale */
.hud-ruler { position: absolute; left: 24px; top: 236px; bottom: 100px; width: 104px; --m: 0; pointer-events: none; }
/* two-line caption, so it never runs under the left column of cards */
.hud-ruler .m-ruler-cap { top: -34px; width: max-content; white-space: nowrap; line-height: 1.3; }   /* one line, clear of the 400 km tick (K1 type sizes made it wrap to three) */


/* mission events, along the bottom */
.hud-events { position: absolute; left: 140px; right: 240px; bottom: 22px; pointer-events: none; }
/* small label that rides above the satellite in the final orbit */
.sat-lbl { position: absolute; left: 0; top: 0; margin: 0; padding: 4px 8px; border-radius: 6px; background: var(--zc-rgba-10-14-24-6); border: 1px solid var(--h-line); font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--h-ink); opacity: 0; pointer-events: none; white-space: nowrap; }

/* stage sections become overlays */
.fly .stages { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fly .stg { position: absolute; inset: 0; display: block; padding: 0; border: 0; }
.fly .stg-fig { display: none; }
.fly .stg-head { position: absolute; left: 26px; top: 76px; width: 330px; opacity: 0; color: var(--h-ink); pointer-events: none; }
.fly .stg-head.on { pointer-events: auto; }
.fly .stg-head .m-eyebrow { color: var(--h-acc); }
.fly .stg-head .m-eyebrow span { color: var(--h-ink); border-color: var(--zc-rgba-159-183-255-45); }
.fly .stg-head h3 { margin-top: 10px; font-size: var(--fs-8); color: var(--h-ink); }
.fly .stg-d { margin-top: 6px; font-size: var(--fs-label); line-height: 1.5; color: var(--h-ink2); }
.fly .stg-d a { color: var(--h-ink); }
.fly .cos { display: block; }
.fly .co, .fly .pay { position: absolute; left: 0; top: 0; width: var(--cw); transform-origin: 50% 50%; will-change: transform, opacity; pointer-events: auto;
  opacity: calc(var(--o, 0) * var(--edk, 1)); }
/* callout legibility (G2): the kit styles the glass and lifts a card on hover (mission.js lift()); the edition dim stays fairly strong text here */
:root.fly:not([data-ed="all"]) :is(.co, .pay) { --edk: .8; }
:root.fly[data-ed="ecom"] :is(.co, .pay)[data-ed~="ecom"], :root.fly[data-ed="data"] :is(.co, .pay)[data-ed~="data"], :root.fly[data-ed="ops"] :is(.co, .pay)[data-ed~="ops"] { --edk: 1; }
.fly .pay { z-index: 1; transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med); }
.fly .pay { background: var(--surface); border-color: var(--line-2); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 18px 40px -24px var(--zc-rgba-0-0-0-7); }
.fly .co.off, .fly .pay.off { pointer-events: none; opacity: 0; }
/* over the dark flight the cards stay dark glass in both themes (.stages gets .m-scene in fly mode; Opus Oct 7) */
:root[data-theme="light"].fly .co, :root[data-theme="light"].fly .pay { background: color-mix(in srgb, var(--zc-0a0d14) 94%, transparent); border-color: var(--zc-rgba-255-255-255-14); }
:root[data-theme="light"].fly .pay { background: color-mix(in srgb, var(--m-hl, var(--zc-9db0ff)) 10%, var(--zc-0a0d14)); }
.fly .co:focus-visible, .fly .pay:focus-visible { outline: 2px solid var(--h-acc); outline-offset: 3px; }
.fly .pays { display: block; }
.fly .pays-h { display: none; }
.fly .pay { padding: 14px 16px; border-radius: 16px; border-color: color-mix(in srgb, var(--accent) 55%, var(--line-2)); background: color-mix(in srgb, var(--accent) 10%, color-mix(in srgb, var(--surface) 94%, transparent)); }
.fly .pay-k { font-size: var(--fs-caption); } .fly .pay-t { font-size: var(--fs-body); } .fly .pay-d { font-size: var(--fs-label); font-weight: 400; color: var(--ink-2); }
.fly .pay:hover { border-color: var(--accent); }
/* density steps picked by skills.js when a column of cards would not fit the stage height (short windows, stage 3 has seven cards) */
.ls[data-dn="1"] .m-callout { padding: 11px 14px 12px; }
.ls[data-dn="1"] .m-callout .m-callout-t { font-size: var(--fs-card); margin-top: 4px; }
.ls[data-dn="1"] .m-callout .m-callout-tl { font-size: var(--fs-caption); margin-top: 4px; }
.ls[data-dn="1"] .m-callout .m-callout-pf { font-size: var(--fs-label); margin-top: 5px; line-height: 1.45; }
.ls[data-dn="2"] .m-callout { padding: 9px 13px 10px; }
.ls[data-dn="2"] .m-callout .m-callout-k { font-size: var(--fs-caption); }
.ls[data-dn="2"] .m-callout .m-callout-t { font-size: var(--fs-card); margin-top: 3px; line-height: 1.25; }
.ls[data-dn="2"] .m-callout .m-callout-tl { font-size: var(--fs-caption); margin-top: 3px; line-height: 1.4; }
.ls[data-dn="2"] .m-callout .m-callout-pf { font-size: var(--fs-caption); margin-top: 4px; line-height: 1.4; }
.ls[data-dn="3"] .m-callout { padding: 8px 12px 9px; }
.ls[data-dn="3"] .m-callout .m-callout-k { font-size: var(--fs-caption); }
.ls[data-dn="3"] .m-callout .m-callout-t { font-size: var(--fs-small); margin-top: 2px; line-height: 1.22; }
.ls[data-dn="3"] .m-callout .m-callout-tl { font-size: var(--fs-caption); margin-top: 2px; line-height: 1.35; }
.ls[data-dn="3"] .m-callout .m-callout-pf { font-size: var(--fs-caption); margin-top: 3px; line-height: 1.35; }
@media (max-height: 800px) {
  .fly .stg-head h3 { font-size: var(--fs-h3); }
  .fly .stg-d { display: none; }
  .hud-events li { font-size: var(--fs-caption); }
}
@media (max-width: 1240px) { .hud-events { right: 200px; } .hud-events li { font-size: var(--fs-caption); letter-spacing: .04em; } }

/* plain list */
.plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp5); }
.plain section { border-top: 1px solid var(--line-2); padding-top: var(--sp2); }
.plain h3 { margin: 0 0 var(--sp2); font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--accent); }
.plain ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: var(--fs-small); line-height: 1.45; color: var(--ink-2); }
.plain li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--line-2); }
@media (max-width: 960px) { .plain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plain { grid-template-columns: 1fr; } }

/* education */
.edu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp2); }
.e-card { padding: 24px 26px; border-radius: var(--r-card); }
.e-k { margin: 0; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--accent); }
.e-card h3 { margin: 12px 0 0; font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.e-sch { margin: 8px 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.edu-more { margin: var(--sp4) 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.edu-more a { color: var(--ink); text-underline-offset: 4px; }
@media (max-width: 860px) { .edu { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  .phead { padding-top: 92px; }
  .hacts { gap: 12px; }
  .eds { border-radius: var(--r-card); }
  .eds-l { flex-basis: 100%; padding: 8px 12px 4px; }
}

/* ================= K1 (Oct 7) ================= */
:root[data-theme="light"].fly .ls { border-color: var(--zc-rgba-24-44-96-16); box-shadow: var(--shadow); }   /* dark window, light glass frame */
:root[data-theme="light"] .stg-fig { box-shadow: var(--shadow); }

/* ================= K4b demo additions (Oct 8, 2026) ================= */

/* card anatomy, stacked and in flight: the part or stage, "On the flight:", "In my career:", then the tools */
.co-l { margin: 6px 0 0; font-size: var(--fs-label); line-height: 1.5; color: var(--ink-2); font-weight: 400; }
.co-l b { font-weight: 600; color: var(--ink); }
.co-lk { margin-right: 5px; font: 500 var(--fs-label)/1 var(--sans); color: var(--muted); }
.stg-head .co-l { max-width: 56ch; }
.stg-head .co-tl { margin: 8px 0 0; font: 400 var(--fs-label)/1.5 var(--sans); color: var(--ink-2); }
.co .co-tl { margin-top: 7px; color: var(--ink); }

/* focus cards in flight: heights and scale come from flight.js (the card in focus grows about 1.1x and opens) */
.fly .pc-k, .fly .pc-x { display: block; height: 0; overflow: hidden; }
.fly .pc-ki { padding: 0 0 4px; }
.fly .pc-xi { padding: 2px 0 1px; }
.fly .fc { transform-origin: 50% 50%; transition: border-color var(--t-med), box-shadow var(--t-med); }
.fly .fc .co-t, .fly .fc h3 { margin: 0; }
.fly .fc .co-k { margin: 0; color: var(--h-acc); }
.fly .stg-head.fc { position: absolute; left: 0; top: 0; width: var(--cw); padding: 12px 15px 13px; color: var(--h-ink); will-change: transform, opacity; }
.fly .stg-head.fc .m-eyebrow { margin: 0 0 2px; }
.fly .stg-head.fc h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.025em; }
.fly .stg-head.fc .co-l { font-size: var(--fs-label); color: var(--h-ink2); }
.fly .stg-head.fc .co-tl { color: var(--h-ink); font-size: var(--fs-caption); }
.fly .stg-head.vis { pointer-events: auto; }
.fly .co.fc .co-t { font-size: var(--fs-card); line-height: 1.3; }
.fly .fc.on { border-color: color-mix(in srgb, var(--h-acc) 62%, transparent); box-shadow: 0 1px 0 var(--zc-rgba-255-255-255-08) inset, 0 4px 14px var(--zc-rgba-0-0-0-4), 0 30px 54px -22px var(--zc-rgba-0-0-0-85x), 0 0 0 1px color-mix(in srgb, var(--h-acc) 24%, transparent); }
:root[data-theme="light"].fly .stg-head.fc { background: color-mix(in srgb, var(--zc-0a0d14) 94%, transparent); border-color: var(--zc-rgba-255-255-255-14); }
.ls-leaders .bpo path { fill: none; stroke: var(--zc-d6e0ff); stroke-dasharray: none; stroke-width: 1; opacity: .9; stroke-linejoin: round; }

/* the mini rocket rail (replaces the stage chips): satellite and fairing at the top, booster at the bottom, the readout below */
.frail { position: absolute; left: 24px; top: 20px; width: 124px; display: flex; flex-direction: column; gap: 12px; }
.fmini { list-style: none; margin: 0; padding: 0 0 0 4px; display: flex; flex-direction: column; gap: 3px; }
.fm { position: relative; display: block; width: 20px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 3px; }
.fm-s { position: absolute; inset: 0 3px; background: var(--zc-rgba-238-241-246-26); transition: background-color var(--t-med); }
.fmini li:nth-child(1) .fm { height: 30px; } .fmini li:nth-child(1) .fm-s { clip-path: polygon(50% 0, 76% 24%, 94% 56%, 100% 84%, 100% 100%, 0 100%, 0 84%, 6% 56%, 24% 24%); }
.fmini li:nth-child(2) .fm { height: 36px; } .fmini li:nth-child(2) .fm-s { clip-path: polygon(0 0, 100% 0, 100% 78%, 74% 82%, 88% 100%, 12% 100%, 26% 82%, 0 78%); }
.fmini li:nth-child(3) .fm { height: 70px; } .fmini li:nth-child(3) .fm-s { clip-path: polygon(0 0, 100% 0, 100% 92%, 82% 100%, 18% 100%, 0 92%); }
.fm:hover .fm-s, .fm:focus-visible .fm-s { background: var(--zc-rgba-238-241-246-55); }
.fm.done .fm-s { background: color-mix(in srgb, var(--h-acc) 42%, transparent); }
.fm.on .fm-s { background: var(--h-acc); }
.fm:focus-visible { outline: 2px solid var(--h-acc); outline-offset: 3px; }
.fm-d { position: absolute; left: 24px; top: 1px; bottom: 1px; display: flex; flex-direction: column; justify-content: space-evenly; }
.fm-d i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--zc-rgba-238-241-246-22); transition: background-color var(--t-med), transform var(--t-med); }
.fm-d i.done { background: color-mix(in srgb, var(--h-acc) 55%, transparent); }
.fm-d i.on { background: var(--h-acc); transform: scale(1.5); }
.frail-r { padding: 0; }
.frail-k { margin: 0; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--h-acc); white-space: nowrap; }
.frail-t { margin: 3px 0 2px; font-size: var(--fs-card); font-weight: 500; letter-spacing: -.015em; color: var(--h-ink); }
.frail-c { margin: 0; font: 400 var(--fs-label)/1.4 var(--sans); color: var(--h-ink2); }
.hud-ruler { top: 300px; }
@media (max-height: 800px) { .hud-ruler { top: 290px; } .fmini li:nth-child(3) .fm { height: 56px; } }

/* phones and reduced motion: a sticky mini rocket rail, and each stage's cards as a swipeable row synced to it */
.prail { display: none; }
:root:not(.fly) .prail { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 10px var(--gut); background: var(--bg); border-bottom: 1px solid var(--line); }
.prail-m { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 3px; }
.pm { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 4px 2px; border: 0; background: none; cursor: pointer; color: var(--muted); font: 500 var(--fs-label)/1 var(--sans); }
.pm-s { display: block; height: 12px; background: color-mix(in srgb, var(--ink) 22%, transparent); transition: background-color var(--t-med); }
.prail-m li:nth-child(1) .pm-s { width: 66px; clip-path: polygon(0 18%, 8% 0, 100% 0, 100% 100%, 8% 100%, 0 82%); }
.prail-m li:nth-child(2) .pm-s { width: 40px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.prail-m li:nth-child(3) .pm-s { width: 32px; clip-path: polygon(0 0, 30% 0, 62% 8%, 86% 26%, 100% 50%, 86% 74%, 62% 92%, 30% 100%, 0 100%); }
.pm.done .pm-s { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.pm.on { color: var(--ink); }
.pm.on .pm-s { background: var(--accent); }
.pm:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.prail-c { margin: 0; font: 500 var(--fs-label)/1.3 var(--sans); color: var(--ink-2); text-align: right; white-space: nowrap; }
:root:not(.fly) .stg { scroll-margin-top: 110px; }
@media (min-width: 861px) { :root:not(.fly) .prail { top: 45px; } }   /* below the sticky demo note */
@media (max-width: 860px) { :root:not(.fly) .stg { scroll-margin-top: 64px; } }
@media (max-width: 760px) {
  :root:not(.fly) .cos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 10px; scroll-padding: 0 var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; }
  :root:not(.fly) .cos::-webkit-scrollbar { display: none; }
  :root:not(.fly) .co { flex: 0 0 84%; scroll-snap-align: center; transition: opacity var(--t-med), transform var(--t-med) var(--ease), border-color var(--t-med); }
  :root:not(.fly) .cos.has-on .co:not(.on) { opacity: calc(var(--edk, 1) * .55); transform: scale(.96); }
  :root:not(.fly) .cos.has-on .co.on { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
  .pm-t { display: none; }
}
@media (prefers-reduced-motion: reduce) { :root:not(.fly) .co { transition: none; } }

/* ================= K7 (Oct 8, 2026): Skills flight v3 ================= */
/* the space kit (zs-*) is in shared/chrome.css */
.fly .ls { z-index: 31; }                       /* the flight has its own 3D stars; the page star field stays outside the window */
.fly .ls > .zs-rail, .fly .ls > .zs-hud { z-index: 4; }
.fly .ls > .zs-hud { inset: 10px; }

/* ---------- Telemetry card tokens (the shared spec; same as the home rocket v3) ---------- */
:root { --tc-bg: var(--zc-rgba-10-13-20-92); --tc-line: var(--zc-rgba-255-255-255-14); --tc-ink: var(--zc-eef1f6); --tc-ink2: var(--zc-c4cad6); --tc-mut: var(--zc-9aa3b4); --tc-acc: var(--zc-9fb7ff); --tc-chip: var(--zc-rgba-255-255-255-2); --tc-glow: var(--zc-rgba-159-183-255-42);
  --h-plate: var(--zc-rgba-8-11-19-92); --h-scrim: 4, 6, 13; }
:root[data-theme="light"] { --tc-bg: var(--zc-rgba-251-252-253-94); --tc-line: var(--zc-rgba-24-44-96-16); --tc-ink: var(--zc-0b1430); --tc-ink2: var(--zc-2a3554); --tc-mut: var(--zc-4a5674); --tc-acc: var(--zc-2f4bd0); --tc-chip: var(--zc-rgba-24-44-96-24); --tc-glow: var(--zc-rgba-47-75-208-28);
  --h-plate: var(--zc-rgba-246-247-249-94); --h-scrim: 233, 236, 241; }

/* ---------- the window: dark in dark, a pale calm sky in light (the 3D follows the theme) ---------- */
:root[data-theme="light"].fly .ls { background: var(--zc-e3e7ed); --h-ink: var(--zc-0b1430); --h-ink2: var(--zc-2a3554); --h-mut: var(--zc-4a5674); --h-line: var(--zc-rgba-24-44-96-18); --h-acc: var(--zc-2f4bd0); }
:root[data-theme="light"].fly .ls { border-color: var(--zc-rgba-24-44-96-16); box-shadow: var(--shadow); }
.ls-vig { background: linear-gradient(90deg, var(--zc-rgba-3-5-12-35), transparent 30%, transparent 72%, var(--zc-rgba-3-5-12-4)); }
:root[data-theme="light"] .ls-vig { background: linear-gradient(90deg, var(--zc-rgba-233-236-241-3), transparent 30%, transparent 72%, var(--zc-rgba-233-236-241-3)); }
/* webcast scrims: the HUD column on the left and the strip along the bottom sit on near-opaque ground, never on busy 3D */
.ls-scrim { display: none; }
.fly .ls-scrim { display: block; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--h-scrim), .86) 0, rgba(var(--h-scrim), .8) 150px, rgba(var(--h-scrim), .42) 214px, rgba(var(--h-scrim), .12) 262px, rgba(var(--h-scrim), 0) 310px),
    linear-gradient(0deg, rgba(var(--h-scrim), .92) 0, rgba(var(--h-scrim), .86) 58px, rgba(var(--h-scrim), .38) 94px, rgba(var(--h-scrim), 0) 132px); }

/* ---------- launch-webcast HUD: mono, ticks, the Karman line ---------- */
.frail { left: 26px; top: 22px; width: 160px; }
.frail-k, .frail-c { font-size: var(--fs-caption); }
.frail-t { font-size: var(--fs-body); }
.fly .hud-ruler { left: 28px; top: 306px; bottom: 132px; width: 164px; }
@media (max-height: 800px) { .fly .hud-ruler { top: 290px; } }
.hud-ruler .m-ruler-cap { top: -30px; font-size: var(--fs-caption); color: var(--h-mut); }
.hud-ruler .m-ruler-bar { width: 1px; background: color-mix(in srgb, var(--h-ink) 26%, transparent); overflow: visible; }
.hud-ruler .m-ruler-fill { width: 2px; left: -.5px; }
.hud-ruler .ru-minor { position: absolute; left: -3px; top: 0; bottom: 0; width: 4px; pointer-events: none;
  background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--h-ink) 34%, transparent) 0 1px, transparent 1px 14px); }
.hud-ruler .m-ruler-t { font-size: var(--fs-caption); color: var(--h-mut); gap: 7px; padding-left: 12px; }
.hud-ruler .m-ruler-t::before { width: 8px; background: color-mix(in srgb, var(--h-ink) 55%, transparent); }
.hud-ruler .m-ruler-t b { font-weight: 500; color: var(--h-ink2); font-variant-numeric: tabular-nums; }
.hud-ruler .m-ruler-t span { font-size: var(--fs-caption); letter-spacing: .06em; }
.hud-ruler .m-ruler-t.strong b, .hud-ruler .m-ruler-t.strong span { color: var(--h-acc); }
.hud-ruler .m-ruler-t.strong::before { width: 12px; background: var(--h-acc); }
.hud-ruler .m-ruler-t.strong::after { content: ""; position: absolute; left: 12px; width: 150px; top: calc(50% + 10px); border-top: 1px dashed color-mix(in srgb, var(--h-acc) 60%, transparent); }
.hud-ruler .m-ruler-l { font-size: var(--fs-caption); padding-left: 14px; color: color-mix(in srgb, var(--h-ink2) 72%, transparent); }
.hud-ruler .m-ruler-m { z-index: 2; left: -5px; }
.hud-ruler :is(.m-ruler-t, .m-ruler-l) { transition: opacity var(--t-fast) var(--ease); } .hud-ruler :is(.m-ruler-t, .m-ruler-l).ru-near { opacity: .12; }   /* the live marker covers this label */
.hud-ruler .m-ruler-m i { width: 9px; height: 9px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--h-acc) 20%, transparent); background: var(--h-acc); }
.hud-ruler .ru-v { margin-left: 10px; padding: 4px 7px; border-radius: 5px; background: var(--h-plate); border: 1px solid color-mix(in srgb, var(--h-acc) 55%, transparent); font: 500 var(--fs-caption)/1 var(--mono); color: var(--h-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud-bar { position: absolute; left: 208px; right: 24px; bottom: 18px; display: flex; align-items: flex-end; gap: 32px; pointer-events: none; }
.fly .hud-events { position: static; flex: 1 1 auto; min-width: 0; padding-top: 16px; }
.hud-events.m-rail::before { background: color-mix(in srgb, var(--h-ink) 22%, transparent); }
.hud-events.m-rail > li { font-size: var(--fs-caption); letter-spacing: .06em; color: var(--h-mut); }
.hud-events.m-rail > li::before { background: var(--h-plate); border-color: color-mix(in srgb, var(--h-ink) 50%, transparent); }
.hud-events.m-rail > li.done { color: var(--h-ink2); }
.hud-events.m-rail > li.done::before { background: var(--h-ink2); border-color: var(--h-ink2); }
.hud-events.m-rail > li.on { color: var(--h-acc); }
.hud-events.m-rail > li.on::before { background: var(--h-acc); border-color: var(--h-acc); }
.fly .hud-clock { position: static; flex: none; min-width: 150px; }
.hud-clock .m-readout-v { font-size: var(--fs-7); color: var(--h-ink); }
.hud-clock .m-readout-s { font-size: var(--fs-caption); color: var(--h-ink2); }
.hud-clock .m-readout-k { font-size: var(--fs-caption); color: var(--h-acc); }
.sat-lbl { font-size: var(--fs-caption); padding: 5px 9px; background: var(--h-plate); color: var(--h-ink); border-color: var(--h-line); }
:root[data-theme="light"] .ls-leaders .bpo path { stroke: var(--zc-2f4bd0); opacity: .55; }
.ls-leaders .ret circle { fill: none; stroke: var(--h-acc); stroke-width: 1.2; }
.ls-leaders .ret circle.c { fill: var(--h-acc); stroke: none; }
.ls-leaders .ret path { fill: none; stroke: var(--h-acc); stroke-width: 1.2; }
.ls-leaders .dockl { fill: none; stroke: var(--h-acc); stroke-width: 1.2; opacity: .85; }
.ls-leaders g.on path { stroke: var(--h-acc); opacity: 1; stroke-width: 1.4; }
.ls-leaders g.on circle { display: none; }
:root[data-theme="light"].fly .m-leaders path { stroke: var(--zc-3a4666); }
:root[data-theme="light"].fly .m-leaders circle { fill: var(--zc-3a4666); }
@media (max-width: 1240px) { .hud-bar { gap: 20px; } .hud-events.m-rail > li { font-size: var(--fs-caption); letter-spacing: .03em; } }

/* ---------- Telemetry cards: one surface everywhere (flight, stacked page, phone dock) ---------- */
.co, .pay, .fly .stg-head.fc { position: relative; padding: 14px 16px 15px; border-radius: 14px; border: 1px solid var(--tc-line); background: var(--tc-bg); color: var(--tc-ink);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 color-mix(in srgb, var(--tc-ink) 6%, transparent) inset, 0 18px 40px -26px var(--zc-rgba-0-0-0-7); }
:root[data-theme="light"] :is(.co, .pay, .fly .stg-head.fc) { box-shadow: 0 1px 0 var(--zc-fff) inset, 0 2px 6px var(--zc-rgba-24-44-96-06), 0 18px 36px -24px var(--zc-rgba-24-44-96-3); }
:root[data-theme="light"].fly :is(.co, .pay, .stg-head.fc) { background: var(--tc-bg); border-color: var(--tc-line); }
/* the lit top rail (accent at the centre, fading out to the edges) and the site HUD brackets, which only the active card shows */
:is(.co, .pay, .fly .stg-head.fc)::before { content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--tc-acc), transparent); opacity: .4; transition: opacity var(--t-med) var(--ease), left var(--t-med) var(--ease), right var(--t-med) var(--ease); pointer-events: none; }
:is(.co, .pay, .fly .stg-head.fc)::after { content: ""; position: absolute; inset: -7px; pointer-events: none; opacity: 0; transition: opacity var(--t-med) var(--ease); --c: var(--tc-acc);
  background: linear-gradient(var(--c), var(--c)) top left / 10px 1px, linear-gradient(var(--c), var(--c)) top left / 1px 10px, linear-gradient(var(--c), var(--c)) top right / 10px 1px, linear-gradient(var(--c), var(--c)) top right / 1px 10px,
    linear-gradient(var(--c), var(--c)) bottom left / 10px 1px, linear-gradient(var(--c), var(--c)) bottom left / 1px 10px, linear-gradient(var(--c), var(--c)) bottom right / 10px 1px, linear-gradient(var(--c), var(--c)) bottom right / 1px 10px; background-repeat: no-repeat; }
.fc.on::before, .co.on::before, .pay.on::before { opacity: 1; left: 8px; right: 8px; }
.fc.on::after, .co.on::after, .pay.on::after { opacity: .9; }
.fc, .co, .pay { transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), opacity var(--t-med) var(--ease); }
.fc.on, .co.on, .pay.on { border-color: color-mix(in srgb, var(--tc-acc) 72%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc-acc) 22%, transparent), 0 0 34px -10px var(--tc-glow), 0 24px 48px -26px var(--zc-rgba-0-0-0-8); }
:root[data-theme="light"] :is(.fc, .co, .pay).on { box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc-acc) 18%, transparent), 0 0 30px -12px var(--tc-glow), 0 18px 36px -24px var(--zc-rgba-24-44-96-32); }
/* header row: a mono code in the accent, and a status dot ("Live" on the active card) */
.co-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 7px; font: 500 var(--fs-label)/1.25 var(--sans); letter-spacing: 0; color: var(--tc-acc); }
.co-c { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-s { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--tc-mut); }
.co-s i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.co-s em { display: none; font-style: normal; }
.on > .co-h .co-s, .on > .co-h .co-s { color: var(--tc-acc); }
.on > .co-h .co-s i { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc-acc) 22%, transparent); }
.on > .co-h .co-s em { display: inline; }
/* title, the two lines, the tool chips */
.co .co-t, .fly .stg-head.fc h3, .pay .pay-t { margin: 0; font: 500 var(--fs-lead)/1.25 var(--sans); letter-spacing: -.016em; color: var(--tc-ink); }
.co-l, .fly .stg-head.fc .co-l, .pay .pay-d { margin: 8px 0 0; font-size: var(--fs-small); line-height: 1.5; font-weight: 400; color: var(--tc-ink2); }
.co-l b { font-weight: 600; color: var(--tc-ink); }
.co-l a { color: var(--tc-ink); text-underline-offset: 3px; }
.co-lk { margin-right: 6px; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--tc-mut); }
.co-tl, .co .co-tl, .fly .stg-head.fc .co-tl { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 12px 0 0; padding: 0; }
.co-tl li { padding: 5px 8px; border: 1px solid var(--tc-chip); border-radius: 6px; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--tc-ink2); white-space: nowrap; }
.pay .pay-t, .pay .pay-d { display: block; }
.pay { display: block; text-decoration: none; border-color: color-mix(in srgb, var(--tc-acc) 40%, var(--tc-line)); }
.pay .co-h { margin-bottom: 6px; }
.pay:hover { border-color: var(--tc-acc); }
/* in flight: inactive cards keep the near-opaque surface and dim their content to 70 percent */
.fly .fc > :not(.co-h) { opacity: var(--dimc, 1); }
.fly .fc > .co-h { opacity: calc(.45 + .55 * var(--dimc, 1)); }
.fly .fc .pc-x { display: block; height: 0; overflow: hidden; }
.fly .fc .pc-xi { display: flow-root; padding: 0 0 1px; }   /* flow-root: the lines' margins stay inside, so the measured height is the real one */
.fly .fc .co-t, .fly .fc h3 { margin: 0; }
.fly .stg-head.fc { position: absolute; left: 0; top: 0; width: var(--cw); color: var(--tc-ink); will-change: transform, opacity; }
.fly .co, .fly .pay { padding: 14px 16px 15px; }
.fly .stg-head.fc .co-h { margin: 0 0 7px; }
:root.fly:not([data-ed="all"]) :is(.co, .pay) { --edk: .82; }
@media (prefers-reduced-motion: reduce) { .fc, .co, .pay, :is(.co, .pay)::before, :is(.co, .pay)::after { transition: none; } }

/* stacked page (reduced motion, no WebGL): the stage head is a section heading, its cards are the same Telemetry cards */
:root:not(.fly) .stg-head .co-h { justify-content: flex-start; margin: 0; }
:root:not(.fly) .stg-head .co-s { display: none; }
:root:not(.fly) .stg-head h3 { margin: 12px 0 0; }
:root:not(.fly) .stg-head .co-l { max-width: 60ch; font-size: var(--fs-small); color: var(--ink-2); }
:root:not(.fly) .stg-head .co-tl li { color: var(--ink-2); border-color: var(--line-2); }
:root:not(.fly) .co:not(.m-callout) { padding: 14px 16px 15px; border-color: var(--tc-line); background: var(--tc-bg); }
@media (max-width: 760px) { :root:not(.fly) :is(.co, .pay) :is(.co-h, .co-lk, .co-tl li) { font-size: var(--fs-label); } :root:not(.fly) .co-l { font-size: var(--fs-small); } }

/* ---------- phones: the live flight, a top HUD, and the same cards in a swipe dock under the scene ---------- */
.fdock { display: none; }
.fly-m .launch { height: 640vh; padding: 0; }
.fly-m .ls { top: 66px; height: calc(100svh - 66px); border-radius: 0; border: 0; box-shadow: none !important; }   /* under the fixed header */
.fly-m .ls > .zs-hud { inset: 8px; }
.fly-m .ls-scrim { background: linear-gradient(180deg, rgba(var(--h-scrim), .9) 0, rgba(var(--h-scrim), .84) 58px, rgba(var(--h-scrim), 0) 104px), linear-gradient(90deg, rgba(var(--h-scrim), .7) 0, rgba(var(--h-scrim), 0) 120px); }
.fly-m .frail { left: 16px; top: 14px; width: auto; flex-direction: row; }
.fly-m .fmini { display: none; }
.fly-m .frail-r { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; }
.fly-m .frail-k { font-size: var(--fs-caption); }
.fly-m .frail-t { margin: 0; font-size: var(--fs-small); }
.fly-m .frail-c { grid-column: 1 / -1; margin-top: 4px; font-size: var(--fs-caption); }
.fly-m .hud-bar { left: auto; right: 16px; top: 12px; bottom: auto; gap: 0; }
.fly-m .hud-events { display: none; }
.fly-m .hud-clock { min-width: 0; gap: 5px; }
.fly-m .hud-clock .m-readout-v { font-size: var(--fs-lead); }
.fly-m .hud-ruler { left: 16px; top: 112px; bottom: calc(var(--dockH, 260px) + 56px); width: 120px; }
.fly-m .hud-ruler .m-ruler-cap { display: none; }
.fly-m .hud-ruler .m-ruler-t:not(.strong) span { display: none; }
.fly-m .hud-ruler .m-ruler-t.strong::after { width: 96px; }
.fly-m .hud-ruler .m-ruler-l { display: none; }
.fly-m .fdock { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; align-items: flex-end; gap: 12px; padding: 8px 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; pointer-events: auto; z-index: 3; box-sizing: content-box; }
.fly-m .fdock::-webkit-scrollbar { display: none; }
.fly-m .fdock > * { flex: 0 0 100%; box-sizing: border-box; width: auto !important; position: relative !important; left: auto; top: auto; transform: none !important; opacity: var(--edk, 1) !important; scroll-snap-align: center; scroll-snap-stop: always; }
.fly-m .fdock .pc-x { height: auto !important; opacity: 1 !important; }
.fly-m .fdock :is(.co-h, .co-lk, .co-tl li) { font-size: var(--fs-label); }
.fly-m .fdock .co-l, .fly-m .fdock .pay-d { font-size: var(--fs-small); }
.fly-m .fdock :is(.co-t, h3, .pay-t) { font-size: var(--fs-lead); }
.fly-m .fdock .co-tl { margin-top: 10px; }
.fly-m .stages { pointer-events: none; }
.fly-m .stg-head.fc { position: relative; left: auto; top: auto; }

/* stacked page: the stills follow the theme */
.stg-fig img.st-l { display: none; }
:root[data-theme="light"] .stg-fig img.st-d { display: none; }
:root[data-theme="light"] .stg-fig img.st-l { display: block; }
:root[data-theme="light"] .stg-fig { background: var(--zc-e3e7ed); }
/* K7 readability floor: page captions and labels at 13 px or more (the card's mono labels stay at the spec's 12 px) */
.crumbs, .eds-l, .prail-c, .pm, .pays-h { font-size: var(--fs-label); }

/* K7b: the webcast source tag ("Pad camera") for the first seconds: mono, 13 px, a red tally dot; it fades out after lift-off */
.pad-cam { position: absolute; right: 24px; top: 22px; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; background: var(--h-plate); border: 1px solid var(--h-line); font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; color: var(--h-ink); pointer-events: none; white-space: nowrap; transition: opacity var(--t-med) var(--ease); }
.pad-cam i { width: 8px; height: 8px; border-radius: 50%; background: var(--zc-ff4a3d); box-shadow: 0 0 0 3px var(--zc-rgba-255-74-61-18); animation: padcam 1.6s steps(2, jump-none) infinite; }
@keyframes padcam { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pad-cam i { animation: none; } }
.pad-cam.off { opacity: 0; }
.fly-m .pad-cam { right: 16px; top: 84px; }


/* ================= phones: a still with a Play toggle (shared/play3d.js, Oct 8) ================= */
.p3d { display: none; }
@media (max-width: 860px) {
  .js .p3d { display: flex; gap: 4px; padding: 4px; width: max-content; max-width: calc(100% - 2 * var(--gut)); margin: 0 var(--gut) 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 82%, transparent); }
}
.p3d-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0; cursor: pointer; }
.p3d-b[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.p3d-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.p3d-i { flex: none; display: block; }
.p3d-play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.p3d-still { width: 14px; height: 11px; border: 1.6px solid currentColor; border-radius: 3px; }

/* ================= M2 (Oct 13, 2026): phone card dock capped at about a third of the screen ================= */
/* skills.js adds .cap to the dock on phones in portrait (<= 860 px wide, >= 600 px tall) and sets --cardMax to the capped height. A card taller than that
   scrolls inside itself; .sc-more (set by skills.js while there is more below) draws a bottom fade and a chevron. Nothing outside the phone dock changes. */
.fly-m .fdock.cap > * { max-height: var(--cardMax, none); overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--tc-acc) 55%, transparent) transparent; }
/* the lit top rail and the corner brackets sit outside the card's padding box, so a scrolling card would clip them; the border, glow and "Live" dot still mark the active card */
.fly-m .fdock.cap > *::before { display: none; }
.fly-m .fdock.cap > *::after { display: none; }
/* bottom fade + chevron, sticky at the lower edge of the card's own scroll area, only while there is more below */
.fly-m .fdock.cap > .sc-more::after { content: ""; display: block; position: sticky; inset: auto 0 0 0; width: auto; height: 44px; margin: -44px -16px 0; pointer-events: none; opacity: 1; border-radius: 0 0 13px 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M3 2l9 6 9-6' fill='none' stroke='%239fb7ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center bottom 7px / 24px 10px no-repeat,
    linear-gradient(to bottom, transparent, var(--tc-bg) 78%); }
:root[data-theme="light"] .fly-m .fdock.cap > .sc-more::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M3 2l9 6 9-6' fill='none' stroke='%232f4bd0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(to bottom, transparent, var(--tc-bg) 78%); }
.fly-m .fdock.cap > *:focus-visible { outline: 2px solid var(--tc-acc); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .fly-m .fdock.cap > * { scroll-behavior: auto; } }

/* U9 (Round 3): Pause motion in the flight HUD's top right corner (skills.js adds it after the scene warms); the Highlight control matches the Lanes control below it */
#hud > .u9-pz { position: absolute; top: 66px; right: 24px; z-index: 3; pointer-events: auto; }   /* under the pad camera chip (top right on the pad), in the bracket corner's column */
.fly-m #hud > .u9-pz { top: 12px; right: 101px; }   /* phones: just left of the clock, which sits top right (skills.js measures it) */
@media (min-width: 761px) { body.u4.u6[data-page="skills"] .eds { gap: 4px; } body.u4.u6[data-page="skills"] .eds button { padding: 0 24px; font-size: var(--fs-5); letter-spacing: -.015em; } }
body.u4.u6[data-page="skills"] .eds button { min-height: 44px; }
body.u4.u6[data-page="skills"] .eds button:focus-visible { outline: 2px solid var(--u6-acc); outline-offset: 3px; }

/* U9 (Round 3): Pause motion. The look is .pq2-pz from dashboard/_analysis/port.css at 40 px: ink icon on white glass in light, #f5f5f7 on dark glass in
   dark (.u9-pz-dk = always dark). Paused = nothing moves by itself; the page script sets .u9-paused on the stage. */
.u9-pz { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--zc-rgba-255-255-255-78); color: var(--zc-1d1d1f); box-shadow: 0 0 0 1px var(--zc-rgba-0-0-0-06); cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .24s cubic-bezier(.4, 0, .6, 1); }
:root[data-theme="dark"] .u9-pz, .u9-pz.u9-pz-dk { background: var(--zc-rgba-28-28-30-74); color: var(--zc-f5f5f7); box-shadow: 0 0 0 1px var(--zc-rgba-255-255-255-08); }
.u9-pz:hover { background: var(--zc-rgba-255-255-255-95); }
:root[data-theme="dark"] .u9-pz:hover, .u9-pz.u9-pz-dk:hover { background: var(--zc-rgba-60-60-64-85); }
.u9-pz:focus-visible { outline: 2px solid var(--zc-0066cc); outline-offset: 3px; }
:root[data-theme="dark"] .u9-pz:focus-visible, .u9-pz.u9-pz-dk:focus-visible { outline-color: var(--zc-a9beff); }
.u9-pz-i { position: relative; width: 11px; height: 12px; }
.u9-pz-i::before, .u9-pz-i::after { content: ""; position: absolute; top: 0; width: 3.5px; height: 12px; border-radius: 1px; background: currentColor; }
.u9-pz-i::before { left: 0; } .u9-pz-i::after { right: 0; }
.u9-pz[aria-pressed="true"] .u9-pz-i::before { left: 1px; width: 10px; clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 0; }
.u9-pz[aria-pressed="true"] .u9-pz-i::after { display: none; }
.u9-paused, .u9-paused *, .u9-paused *::before, .u9-paused *::after { animation-play-state: paused !important; }
.simple .u9-pz { display: none !important; }
@media (prefers-reduced-motion: reduce) { .u9-pz { display: none; } }
