/* Examples, Join and Sign in (2026-11-05): the homepage's language carried on.
   Loads after style.css and reuses the homepage's type scale (main.home: .huge, .big, .mid, .beat-line,
   .caption, .doc). Everything here is scoped to main.pgs. pages.js adds html.pgs-motion only when motion
   is allowed; every pre-play state hangs off it, so each page's default (no script, reduced motion) is
   its still frame: every step drawn on its thread. */

.pgs { --bg: var(--void); --chip: var(--midnight); --rail: 30px; }
.pgs > section { background: var(--bg); }
.pgs h3 { font-weight: 600; }
.pgs .beat-line { margin: 26px 0 0; }

/* ---- opening: one huge line, the chapters as stops on the thread ---- */
.x-hero .in { padding-top: clamp(72px, 10vw, 150px); padding-bottom: clamp(80px, 9vw, 130px); }
.x-hero h1 { max-width: 10ch; }
.x-hero .beat-line { max-width: 34em; margin-top: 34px; }
.pgs .jump { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 72px 0 0; padding: 30px 0 0; }
.pgs .jump::before { content: ""; position: absolute; left: 4px; right: 0; top: 4px; height: var(--thread); background: linear-gradient(90deg, var(--cyan) 70%, rgba(69, 217, 244, 0)); }
.pgs .jump a { position: relative; display: block; min-height: 40px; padding: 2px 18px 8px 0; color: var(--ink); font: 500 clamp(16px, 1.3vw, 19px)/1.3 var(--display); letter-spacing: -.01em; text-decoration: none; }
.pgs .jump a::before { content: ""; position: absolute; left: 0; top: -30px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--bg), 0 0 12px rgba(69, 217, 244, .6); }
.pgs .jump a:hover { color: var(--cyan); }

/* ---- the five chapters, one at a time ---- */
.x-show { --bg: var(--midnight); --chip: var(--void); }
.x-show .in > .big { max-width: 11em; }
.pgs .tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 60px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--void); overflow-x: auto; scrollbar-width: none; }
.pgs .tabs::-webkit-scrollbar { display: none; }
.pgs .tabs [role="tab"] { min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--muted); font: 500 15px var(--sans); }
.pgs .tabs [role="tab"]:hover { color: var(--ink); }
.pgs .tabs [role="tab"][aria-selected="true"] { background: var(--raised); color: var(--ink); box-shadow: inset 0 1px 0 rgba(246, 247, 251, .12); }
.pgs .case { display: block; max-width: none; margin: 0; padding: 0; border: 0; }
.pgs .case.lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; gap: 48px clamp(40px, 6vw, 110px); padding: 64px 0 0; }
html:not(.js) .pgs .case.lead + .case.lead { margin-top: 64px; border-top: 1px solid var(--line); }
.pgs .case.lead.flip > .x-text { order: 2; }
.pgs .case.lead > .x-shot { position: sticky; top: 12vh; margin-top: 96px; }
.pgs .case.lead h3 { font: 600 clamp(32px, 3.7vw, 58px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.pgs .x-what { margin: 14px 0 0; color: var(--muted); font-size: 17px; }

/* the request: who said it, then what they said, in the person's gold */
.x-ask { margin: 28px 0 0; }
.x-lead { margin: 0 0 8px; color: var(--muted); font: 400 14px/1.4 var(--sans); }
.x-say { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--gold); font: 500 clamp(19px, 1.7vw, 24px)/1.3 var(--display); letter-spacing: -.01em; text-wrap: pretty; }
.x-say:not(.x-event):not(:has(svg))::before { content: ""; flex: none; align-self: flex-start; width: 10px; height: 10px; margin-top: .5em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244, 191, 133, .14); }
.x-say.x-event { color: var(--ink); }
.x-snap { flex: none; width: 92px; height: 64px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line), 0 12px 24px -14px #000; }

/* Akashic, or a general assistant */
.pgs .switch { margin: 30px 0 0; padding: 3px; border-radius: 999px; background: var(--void); }
.pgs .switch button { min-height: 40px; padding: 0 16px; border-radius: 999px; font: 500 14px var(--sans); }
.pgs .switch button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: inset 0 1px 0 rgba(246, 247, 251, .12); }

/* the steps: one thread, a pip per step, each with the source it stands on */
.x-thread { position: relative; margin: 28px 0 0; padding-left: var(--rail); }
.pgs .run { list-style: none; margin: 0; padding: 0; max-width: none; }
.pgs .run > li { position: relative; margin: 0; padding: 0 0 22px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.pgs .run > li b { font-weight: 600; }
.pgs .alerts > li::before, .pgs .result::before, .pgs .run > li::before { content: ""; position: absolute; left: calc(var(--rail) * -1); top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--bg), 0 0 12px rgba(69, 217, 244, .55); }
.pgs .run > li::after { content: ""; position: absolute; left: calc(var(--rail) * -1 + 4.5px - var(--thread) / 2); top: 18px; bottom: -8px; width: var(--thread); background: var(--cyan); opacity: .75; transform-origin: top; }
.pgs .run > li:last-child::after { bottom: -22px; }
.pgs .src { display: block; width: fit-content; max-width: 100%; margin: 8px 0 0; padding: 3px 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--chip); color: var(--muted); font: 400 12px/1.4 var(--mono); overflow-wrap: anywhere; }
.pgs .src i { margin-right: 7px; color: var(--cyan); font: 400 12px/1.4 var(--sans); font-style: normal; }
.pgs .result { position: relative; margin: 0; padding: 14px 18px; border: 1px solid rgba(100, 219, 180, .38); border-left-width: 1px; border-radius: 12px; background: rgba(100, 219, 180, .07); color: var(--ink); font-size: 16px; line-height: 1.5; }
.pgs .result::before { top: 22px; left: calc(var(--rail) * -1 - 1px); background: var(--mint); box-shadow: 0 0 0 3px var(--bg), 0 0 14px rgba(100, 219, 180, .6); }
.pgs .result .k { display: block; margin: 0 0 2px; color: var(--mint); font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.pgs .x-pill { display: inline-block; margin: 6px 4px 0 0; padding: 3px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 600; }
.pgs .x-pill.yes { background: var(--violet); border-color: var(--violet); color: var(--void); }
.pgs .foot { margin: 18px 0 0 var(--rail); max-width: 38em; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pgs .view-akashic > .alerts { list-style: none; display: block; margin: 22px 0 0 var(--rail); padding: 0; max-width: none; border-top: 1px solid var(--line); }
.pgs .alerts > li { position: relative; margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(41, 53, 75, .65); border-radius: 0; background: none; color: var(--ink); font-size: 15.5px; }
.pgs .alerts > li::before { top: 20px; }
.pgs .alerts.run > li { padding: 0 0 22px; border: 0; font-size: 16px; }
.pgs .alerts.run > li::before { top: 8px; }
.pgs .view-general { margin: 26px 0 0; }
.js .pgs .gen-label { display: block; }
.js .pgs .contrast .gen-label { display: none; }
.pgs .gen-label { margin: 0 0 8px; color: var(--muted); font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.x-gen { max-width: 36em; margin: 0; padding: 13px 16px; border: 1px dashed #3A4864; border-radius: 14px 14px 14px 4px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.pgs .note { margin: 18px 0 0; color: var(--muted); font: 400 11.5px/1.4 var(--sans); letter-spacing: .015em; }

/* the app, drawn: one window per chapter, the homepage's document surface */
.x-shot { margin: 0; }
.x-shot > .caption { margin-top: 14px; }
.x-win { position: relative; overflow: hidden; border: 1px solid rgba(246, 247, 251, .07); border-top-color: rgba(246, 247, 251, .18); border-radius: 18px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(246, 247, 251, .06), transparent 60%), linear-gradient(180deg, #18223A, var(--surface) 90px);
  box-shadow: inset 0 1px 0 rgba(246, 247, 251, .12), 0 0 0 1px rgba(8, 11, 19, .6), 0 4px 10px -2px rgba(0, 0, 0, .45), 0 18px 36px -12px rgba(0, 0, 0, .6), 0 60px 110px -40px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(69, 217, 244, .16); }
.x-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 15px 22px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font: 400 13px/1.3 var(--sans); }
.x-bar b { color: var(--ink); font-weight: 500; font-size: 14px; }
.x-live { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); }
.x-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(100, 219, 180, .8); }
.x-body { display: grid; gap: 14px; padding: 20px 22px 22px; font-size: 14.5px; }
.x-body p { margin: 0; }
.x-mail { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--midnight); }
.x-mail p { color: var(--ink); line-height: 1.55; }
.x-mail .x-hd { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.x-mail .x-hd b { color: var(--ink); font-weight: 500; }
.x-att { display: inline-block; margin-top: 12px; padding: 3px 9px; border: 1px solid var(--cyan); border-radius: 6px; color: var(--cyan); font: 400 12px var(--mono); }
.x-week { list-style: none; margin: 0; padding: 0; max-width: none; }
.x-week li { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; margin: 0; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--ink); }
.x-week .when { color: var(--muted); font: 400 12.5px var(--mono); }
.x-tag { padding: 1px 7px; border: 1px solid rgba(100, 219, 180, .5); border-radius: 5px; color: var(--mint); font: 400 11.5px/1.4 var(--mono); }
.x-nod { padding: 14px 16px; border: 1px solid var(--violet); border-radius: 12px; background: rgba(130, 107, 255, .08); }
.x-nod p { color: var(--ink); }
.x-nod b { font-weight: 600; }
.x-muted { margin-top: 3px !important; color: var(--muted) !important; font-size: 13px; }
.x-nod-actions { margin-top: 6px !important; }
.x-query { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--midnight); color: var(--ink); }
.x-query::before { content: ""; flex: none; width: 11px; height: 11px; border: 2px solid var(--muted); border-radius: 50%; }
.x-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.x-tile { position: relative; margin: 0; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; box-shadow: inset 0 0 0 1px rgba(246, 247, 251, .08); }
.x-tile svg { display: block; width: 100%; height: 100%; }
.x-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 6px; background: linear-gradient(transparent, rgba(8, 11, 19, .8)); color: var(--ink); font: 400 11px/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-brief > div { padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--midnight); }
.x-brief p { color: var(--ink); line-height: 1.5; }
.x-brief .x-part { margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.x-brief .x-guess { border: 1px dashed rgba(244, 191, 133, .7); background: transparent; }
.x-brief .x-guess .x-part { color: var(--gold); }
.x-ext { color: var(--cyan); font: 400 12px var(--mono); text-decoration: underline; text-underline-offset: 3px; }
.x-map { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--midnight); }
.x-map .water { fill: #112A3A; } .x-map .park { fill: #12281F; }
.x-map .road { fill: none; stroke: #2B3A56; stroke-width: 7; stroke-linecap: round; }
.x-map .road.thin { stroke-width: 4; }
.x-map .route { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 6 5; }
.x-map .lbl { fill: var(--muted); font: 500 13px var(--sans); }
.x-map .av { fill: var(--void); font: 600 11px var(--sans); text-anchor: middle; }
.x-map .p-sa { fill: var(--gold); } .x-map .p-li { fill: var(--violet); } .x-map .p-da { fill: var(--cyan); }
.x-map .pill-bg { fill: var(--raised); stroke: var(--line); }
.x-map .pill-t { fill: var(--ink); font: 500 12px var(--sans); }
.x-ppl { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; max-width: none; }
.x-ppl li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 2px; border-bottom: 1px solid rgba(41, 53, 75, .65); }
.x-ppl li:last-child { border-bottom: 0; }
.x-ppl b { display: block; color: var(--ink); font-weight: 600; }
.x-ppl b + span { color: var(--muted); font-size: 13px; }
.pgs .avatar { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--void); font: 600 11px var(--sans); }
.pgs .avatar[data-p="sa"] { background: var(--gold); } .pgs .avatar[data-p="li"] { background: var(--violet); } .pgs .avatar[data-p="da"] { background: var(--cyan); }

/* ---- the chapters: each changes the layout of the one before ---- */
.x-ch h3 { font: 600 clamp(23px, 2.1vw, 32px)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.x-cases > .case + .case { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); }

/* It deals with it: the line holds still while three requests pass beside it */
.x-side .in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 48px clamp(48px, 7vw, 130px); }
.x-side .x-ch-head { position: sticky; top: 14vh; }
.x-side h2 { max-width: 6em; }

/* Nothing slips: two things that arrived on their own, side by side */
.x-two { --bg: var(--surface); --chip: var(--midnight); }
.x-two h2 { max-width: 10em; }
.x-two .x-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 72px; }
.x-two .x-cases > .case { padding-right: clamp(28px, 4vw, 64px); }
.x-two .x-cases > .case + .case { margin: 0; padding: 0 0 0 clamp(28px, 4vw, 64px); border-top: 0; border-left: 1px solid var(--line); }

/* Your photos: the request is the picture, set large; the steps answer it */
.x-quotes h2 { max-width: 9em; }
.x-quotes .case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px clamp(48px, 7vw, 130px); margin-top: 96px; }
.x-quotes .case.flip > .x-ask { order: 2; }
.x-ask.x-big { margin: 0; }
.x-big .x-say { font: 600 clamp(32px, 4vw, 64px)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.x-big .x-say::before { width: 12px !important; height: 12px !important; margin-top: .42em !important; }
.x-big .x-lead { margin-bottom: 16px; }

/* Walk in prepared: one page of the record */
.x-solo { --bg: var(--midnight); }
.x-solo h2 { max-width: 12em; margin: 0 auto; text-align: center; }
.pgs .case.doc { --bg: var(--surface); max-width: 760px; margin: 72px auto 0; padding: 4px 34px 30px; }
.pgs .doc-head h3 { margin: 0; color: var(--ink); font: 500 14px/1.2 var(--sans); letter-spacing: 0; }

/* Your people: the line on the right this time; what reaches you, on the left */
.x-split .in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 48px clamp(48px, 7vw, 130px); }
.x-split .x-ch-head { order: 2; text-align: right; }
.x-split h2 { margin-left: auto; max-width: 5em; }
.x-split .beat-line { margin-left: auto; }

/* Being built: three lines, not three cards */
.x-built { --bg: var(--surface); }
.x-built h2 { max-width: 13em; }
.x-built .beat-line { max-width: 40em; font-size: 15px; }
.x-rows { list-style: none; margin: 64px 0 0; padding: 0; max-width: none; }
.x-rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(48px, 7vw, 130px); margin: 0; padding: 40px 0; border-top: 1px solid var(--line); }
.x-rows h3 { font: 600 clamp(24px, 2.6vw, 40px)/1.08 var(--display); letter-spacing: -.025em; }
.x-rows p { margin: 0; max-width: 34em; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Close: one huge line, the one action */
.x-close, .x-end { position: relative; overflow: hidden; }
.x-close .in, .x-end .in { position: relative; }
.x-close .in { padding-bottom: 170px; }
.x-close .in::after, .x-end::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -160px; height: 360px; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(130, 107, 255, .2), rgba(69, 217, 244, .08) 50%, transparent 75%); }
.x-close h2 { max-width: 8ch; }
.x-close p { margin: 44px 0 0; }

/* ---- Join and Sign in: the homepage's close, as a page ---- */
.x-end { display: flex; align-items: center; min-height: calc(100svh - 74px); }
.x-end .in { z-index: 1; width: 100%; padding-top: clamp(72px, 12vh, 140px); padding-bottom: clamp(96px, 16vh, 180px); }
.x-end h1.huge { max-width: 9ch; }
.x-end h1.big { max-width: 13em; }
.x-end .beat-line { max-width: 32em; margin-top: 32px; }
/* join's button line is kept byte-for-byte (it carries the contact address); its old arrow is hidden */
.x-actions .button > [aria-hidden="true"] { display: none; }
.x-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin: 44px 0 0; }
.x-end .quiet-link { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); font-size: 15.5px; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.x-steps { position: relative; list-style: none; max-width: 40em; margin: 64px 0 0; padding: 0 0 0 var(--rail); }
.x-steps > li { position: relative; margin: 0; padding: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.x-steps > li:last-child { padding-bottom: 0; }
.x-steps > li b, .x-steps > li strong { color: var(--ink); font-weight: 600; }
.x-steps > li::before { content: ""; position: absolute; left: calc(var(--rail) * -1); top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--bg), 0 0 12px rgba(69, 217, 244, .55); }
.x-steps > li:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--rail) * -1 + 4.5px - var(--thread) / 2); top: 18px; bottom: -8px; width: var(--thread); background: var(--cyan); opacity: .75; }
.x-fine { margin: 36px 0 0; color: var(--muted); font-size: 14px; }
#invite h2 { margin: 64px 0 0; font: 600 clamp(22px, 2vw, 30px)/1.2 var(--display); letter-spacing: -.02em; }
#invite h2 + .x-steps, #invite h2 + p { margin-top: 22px; }
#invite p { max-width: 40em; }
#invite-install > p { margin-top: 22px; color: var(--muted); }
#invite-install .x-steps { margin-top: 18px; }
#invite-app p { margin: 28px 0 0; color: var(--muted); }
#invite blockquote { max-width: 32em; margin: 28px 0 0; padding: 2px 0 2px 22px; border-left: var(--thread) solid var(--gold); color: var(--ink); font: 500 clamp(19px, 1.7vw, 24px)/1.4 var(--display); }
.x-go { margin: 32px 0 0; }
.pgs form.sign-in-form { display: flex; flex-wrap: wrap; gap: 12px; max-width: 660px; margin: 48px 0 0; }
.pgs form.sign-in-form input[type="text"] { flex: 1 1 260px; min-width: 0; min-height: 60px; padding: 0 20px; border: 1px solid var(--line); border-top-color: rgba(246, 247, 251, .16); border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 clamp(18px, 1.6vw, 22px) var(--display); box-shadow: 0 30px 60px -30px #000; }
.pgs form.sign-in-form input[type="text"]::placeholder { color: #8791A6; }
.pgs form.sign-in-form input[type="text"]:focus { border-color: var(--cyan); }
.pgs form.sign-in-form button { min-height: 60px; padding: 0 26px; border-radius: 12px; font: 600 16px var(--sans); }
.pgs #sign-in-url { min-height: 1.5em; margin: 16px 0 0; color: var(--cyan); font: 400 14px/1.5 var(--mono); }

/* ---- motion: the steps thread in as each example enters, then rest ---- */
@media (prefers-reduced-motion: no-preference) {
  .pgs-motion .x-thread .run > li, .pgs-motion .x-thread .result { opacity: 0; transform: translateY(10px);
    transition: opacity .5s ease calc(var(--i, 0) * 260ms), transform .6s cubic-bezier(.2, .7, .3, 1) calc(var(--i, 0) * 260ms); }
  .pgs-motion .x-thread .run > li::before, .pgs-motion .x-thread .result::before { transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i, 0) * 260ms + 60ms); }
  .pgs-motion .x-thread .run > li::after { transform: scaleY(0); transition: transform .5s cubic-bezier(.4, 0, .2, 1) calc(var(--i, 0) * 260ms + 220ms); }
  .pgs-motion .x-thread .src { opacity: 0; transition: opacity .45s ease calc(var(--i, 0) * 260ms + 200ms); }
  .pgs-motion .x-thread.threaded .run > li, .pgs-motion .x-thread.threaded .result { opacity: 1; transform: none; }
  .pgs-motion .x-thread.threaded .run > li::before, .pgs-motion .x-thread.threaded .result::before, .pgs-motion .x-thread.threaded .run > li::after { transform: none; }
  .pgs-motion .x-thread.threaded .src { opacity: 1; }
  .pgs-motion .x-thread.x-still *, .pgs-motion .x-thread.x-still *::before, .pgs-motion .x-thread.x-still *::after { transition: none !important; }
}

/* ---- narrower screens ---- */
@media (max-width: 1023px) {
  .pgs .case.lead, .x-side .in, .x-quotes .case, .x-split .in, .x-rows li { grid-template-columns: minmax(0, 1fr); }
  .pgs .case.lead.flip > .x-text, .x-quotes .case.flip > .x-ask, .x-split .x-ch-head { order: 0; }
  .pgs .case.lead { gap: 40px; }
  .x-side .x-ch-head { position: static; }
  .x-split .x-ch-head, .x-split h2, .x-split .beat-line { margin-left: 0; text-align: left; }
  .x-split h2 { max-width: none; }
  .x-two .x-cases { grid-template-columns: minmax(0, 1fr); }
  .x-two .x-cases > .case { padding-right: 0; }
  .x-two .x-cases > .case + .case { margin-top: 72px; padding: 72px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .x-quotes .case { gap: 28px; margin-top: 80px; }
  .x-rows li { padding: 32px 0; }
  .x-shot { max-width: 640px; }
  .pgs .case.lead > .x-shot { position: static; margin-top: 0; }
}
@media (max-width: 760px) {
  .pgs .jump { grid-template-columns: minmax(0, 1fr); margin-top: 48px; padding: 0 0 0 var(--rail); }
  .pgs .jump::before { left: 4px; right: auto; top: 6px; bottom: 18px; width: var(--thread); height: auto; background: var(--cyan); }
  .pgs .jump a { padding: 8px 0; }
  .pgs .jump a::before { left: calc(var(--rail) * -1); top: 16px; }
  .pgs .tabs { width: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; }
  .pgs .case.lead { padding-top: 44px; }
  .x-snap { width: 74px; height: 52px; }
  .x-body { padding: 16px; }
  .x-bar { padding: 13px 16px 11px; }
  .pgs .case.doc { margin-top: 48px; padding: 2px 18px 22px; }
  .x-cases > .case + .case { margin-top: 64px; padding-top: 64px; }
  .x-end { min-height: 0; }
  .x-end h1.huge { max-width: none; }
  .pgs form.sign-in-form button { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .pgs { --rail: 26px; }
  .x-week li { grid-template-columns: 70px minmax(0, 1fr); }
  .x-week .x-tag { grid-column: 2; justify-self: start; }
  .x-tiles { gap: 6px; }
  .x-actions .button { flex: 1 1 100%; justify-content: center; }
}
