/* Operator pitch, in the language of operatorinfra.com and the admin UI: JetBrains Mono, black and white,
   hard edges, inversion for emphasis, square brackets as labels. Motion is short and stays out of the way. */
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Six sizes: label, small, body, lead, heading, hero. Grey is for labels only; content stays white. */
:root { --bg: #000; --fg: #fff; --mute: #8c8c8c; --soft: #bdbdbd; --dim: #3a3a3a;
  --t-label: 13px; --t-small: clamp(14px, 1.1vw, 16px); --t-body: clamp(16px, 1.45vw, 21px);
  --t-lead: clamp(19px, 2.1vw, 30px); --t-h: clamp(28px, 4vw, 58px); --t-hero: clamp(36px, 6.6vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1); --pad-x: 6vw; --gap: clamp(18px, 3.4vh, 40px); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); font-family: "JetBrains Mono", ui-monospace, monospace;
  font-variant-ligatures: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%; }
body { font-size: 16px; line-height: 1.5; }
body.pitch { overflow: hidden; height: 100vh; height: 100svh; touch-action: manipulation; }
::selection { background: var(--fg); color: var(--bg); }
button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; cursor: pointer; }
b { font-weight: 700; }
em { font-style: normal; }
.link { color: var(--fg); text-decoration: none; font-size: var(--t-label); border-bottom: 1px solid transparent; }
.link:hover, .link:focus-visible { border-bottom-color: currentColor; outline: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* top corners: language left (same control as the website), full screen right */
.language { position: fixed; top: 18px; left: calc(var(--pad-x) - 12px); z-index: 20; display: flex; align-items: center;
  background: var(--bg); font-size: var(--t-label); }
.language button { min-width: 44px; min-height: 44px; }
.language button[aria-pressed="true"] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.language button:focus-visible { outline-offset: -3px; }
.full { position: fixed; top: 18px; right: var(--pad-x); z-index: 20; min-height: 44px; padding: 0; }
/* website build: [ falar com a gente ] top right, both modes (the full-screen button is off there) */
.talk { position: fixed; top: 18px; right: var(--pad-x); z-index: 20; display: flex; align-items: center; min-height: 44px;
  background: var(--bg); border-bottom: 0; transition: opacity .3s ease, visibility 0s; }
.talk:hover, .talk:focus-visible { border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; }
.talk[hidden] { display: none; }
.pitch.at-end .talk, .detail-open .talk { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }

/* ---------- opening: the Operator brackets open into a frame, then the deck appears ---------- */
.intro { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: none; }
.intro path { fill: var(--fg); }
.pitch .intro { display: block; transition: opacity .45s ease; }
.pitch.past-cover .intro { opacity: 0; }
.pitch:not(.past-cover) .hint { bottom: 100px; right: calc(var(--pad-x) + 24px); }
@media (max-width: 640px) { .pitch .cover { padding-left: 34px; padding-right: 34px; } .pitch:not(.past-cover) .hint { bottom: 84px; right: 34px; } }
.pitch .deck, .pitch .language, .pitch .full, .pitch .bar, .pitch .hint { transition: opacity .6s ease; }
.pitch:not(.ready) .deck, .pitch:not(.ready) .language, .pitch:not(.ready) .full, .pitch:not(.ready) .talk,
.pitch:not(.ready) .bar, .pitch:not(.ready) .hint { opacity: 0; }

/* ---------- the deck ---------- */
.deck { position: relative; }
.pitch .deck { position: fixed; inset: 0; }
/* centred when it fits, scrolls from the top when it doesn't (the two spacers collapse) */
.slide { display: flex; flex-direction: column; gap: var(--gap); padding: 88px var(--pad-x) 92px; }
.slide::before, .slide::after { content: ""; flex: 1 0 0; margin: calc(-1 * var(--gap)) 0; }
.slide > * { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }
.pitch .slide { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none;
  opacity: 0; visibility: hidden; transform: translateX(18px);
  transition: opacity .35s ease, transform .55s var(--ease), visibility 0s linear .55s; }
.pitch .slide::-webkit-scrollbar { display: none; }
.pitch .slide.before { transform: translateX(-18px); }
.pitch .slide.on { opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s ease .14s, transform .65s var(--ease) .14s, visibility 0s; }

/* builds inside a slide */
.off { opacity: 0; transform: translateY(8px); visibility: hidden; }
[data-step], [data-from], [data-only] { transition: opacity .45s ease, transform .55s var(--ease), visibility 0s; }
.off[data-step], .off[data-from], .off[data-only] { transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; }
.swap > :not(.off) { transition-delay: .22s; }

/* type */
.k { font-size: var(--t-label); }
h2 { font-size: var(--t-h); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
h2 .sub { display: block; margin-top: .45em; font-size: var(--t-lead); letter-spacing: -.02em; line-height: 1.3; font-weight: 400; }
.foot { font-size: var(--t-lead); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.sk { font-size: var(--t-label); color: var(--mute); margin-bottom: 10px; }
.note { font-size: var(--t-label); color: var(--mute); }
.more, .site-only { display: none; }

.box { display: block; border: 1.5px solid var(--fg); padding: 10px 14px; background: var(--bg); }
.inv { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* wires */
.wires { position: relative; }
.wire-layer { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.wire { fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-dasharray: var(--len); stroke-dashoffset: 0;
  transition: stroke-dashoffset .8s var(--ease) calc(.15s + var(--i) * 70ms), opacity .2s; }
.wire.off { stroke-dashoffset: var(--len); transform: none; opacity: 1; visibility: visible; transition: none; }

/* ---------- 01 · cover ---------- */
.cover-in { display: grid; gap: clamp(16px, 3vh, 32px); justify-items: center; text-align: center; }
.cover .q .ch { visibility: hidden; }
.cover .q .ch.on { visibility: visible; }
.pitch.opening .deck { opacity: 1; }
.pitch.opening .client-line { opacity: 0; }
.cover-in .k { margin-bottom: clamp(0px, 2vh, 20px); }
.cover .q { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.cover .answer { font-size: var(--t-lead); line-height: 1.25; letter-spacing: -.02em; max-width: 30ch; text-wrap: balance; }
/* website build: the line has no build step; it fades in once the opening is done */
.cover .answer:not([data-step]) { transition: opacity .6s ease .1s; }
.pitch.opening .cover .answer { opacity: 0; transition: none; }

/* ---------- sector chooser ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sec { min-height: clamp(64px, 12vh, 116px); padding: 12px 14px; border: 1.5px solid var(--fg); text-align: left;
  display: flex; align-items: flex-end; font-size: var(--t-body); font-weight: 700; letter-spacing: -.015em; line-height: 1.2;
  transition: background-color .25s ease, color .25s ease; }
.sec[aria-checked="true"] { background: var(--fg); color: var(--bg); }

/* ---------- 02 · the desk ---------- */
.desk-head h2 > span[data-from] { display: flex; align-items: center; gap: .45em; }
.big { font-size: 2em; line-height: .9; letter-spacing: -.06em; }
.tasks { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tasks li { position: relative; min-height: clamp(46px, 7vh, 72px); padding: 9px 11px; border: 1.5px solid var(--fg);
  font-size: var(--t-small); line-height: 1.25; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  transition: background-color .35s ease calc(var(--i) * 45ms), color .35s ease calc(var(--i) * 45ms); }
.desk:not([data-at="0"]) .tasks li:not(.human) { background: var(--fg); color: var(--bg); }
.desk:not([data-at="0"]) .tasks li.human { border-style: dashed; }
.tasks .tag { order: -1; font-size: var(--t-label); font-weight: 700; }

/* ---------- 03 · how it works ---------- */
.hub { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; }
.hub .col { display: grid; gap: clamp(12px, 2.4vh, 22px); min-width: 0; }
.hub .col:first-child { grid-column: 1; }
.hub .core { grid-column: 3; }
.hub .col:last-child { grid-column: 5; }
.hub .col .box { font-size: var(--t-body); }
.hub .core .box { font-size: var(--t-lead); font-weight: 700; padding: clamp(14px, 2.4vh, 24px) clamp(18px, 2.4vw, 34px); letter-spacing: -.02em; }

/* ---------- why not yet: systems ⇄ a person ⇄ the AI chat ---------- */
.piping { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; }
.piping .col { grid-column: 1; display: grid; gap: clamp(12px, 2.4vh, 22px); }
.piping .col .box { font-size: var(--t-body); }
.piping .person { grid-column: 3; }
.piping .chat { grid-column: 5; }
.piping .person .box, .piping .chat .box { padding: clamp(12px, 2vh, 20px) clamp(16px, 2vw, 26px); }
.piping .person b, .piping .chat b { display: block; font-size: var(--t-body); }
.piping .person span, .piping .chat span { display: block; font-size: var(--t-small); color: var(--soft); margin-top: 4px; }
.piping .person .box { border-style: dashed; }
.piping .chat .box { background: var(--fg); color: var(--bg); }
.piping .chat span { color: #444; }

/* ---------- 04 · examples ---------- */
/* tabs keep the same padding when selected; the row is pulled left so the first label lines up with the text */
.pitch .ex .ex-h { font-size: clamp(22px, 2.4vw, 34px); }
.tabs { display: flex; flex-wrap: wrap; max-width: none; width: calc(min(100%, 1200px) + 14px);
  margin-left: calc(max(0px, (100% - 1200px) / 2) - 14px);
  background: linear-gradient(var(--fg), var(--fg)) 14px 100% / calc(100% - 14px) 2px no-repeat; }
.tabs button { min-height: 44px; padding: 4px 14px; font-size: var(--t-small); color: var(--mute); }
.tabs button[aria-selected="true"] { color: var(--bg); background: var(--fg); font-weight: 700; }
.flows { display: grid; }
.flow { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.35fr);
  column-gap: clamp(36px, 5vw, 80px); align-items: start; }
.stage { position: relative; font-size: var(--t-small); line-height: 1.4; }
.stage + .stage::before { content: "→"; position: absolute; left: calc(-1 * clamp(36px, 5vw, 80px) / 2); top: 30px;
  transform: translateX(-50%); font-size: var(--t-body); }
.stage { font-size: var(--t-body); }
.stage.in > p:last-child { font-weight: 700; font-size: var(--t-body); letter-spacing: -.015em; line-height: 1.3; }
.stage.op ol { list-style: none; display: grid; gap: 10px; }
.stage.op li { position: relative; padding-left: 28px; }
.stage.op li::before { content: ""; position: absolute; left: 0; top: .3em; width: 13px; height: 13px; border: 1.5px solid var(--fg); }
.stage.op li::after { content: ""; position: absolute; left: 3px; top: calc(.3em + 3px); width: 7px; height: 7px; background: var(--fg);
  transform: scale(0); transition: transform .25s var(--ease); }
.msg { border: 1.5px solid var(--fg); padding: 18px 20px 14px; font-size: clamp(16px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -.01em; }
.msg p { margin-bottom: 14px; }
.msg .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.msg .act { background: var(--fg); color: var(--bg); font-weight: 700; font-size: var(--t-small); padding: 8px 14px; min-height: 40px;
  border: 1.5px solid var(--fg); }
.msg .act.done { background: var(--bg); color: var(--fg); }
.msg .act.done::before { content: "✓ "; }
.msg .time { font-size: var(--t-label); color: var(--mute); }
/* each flow plays in order: what comes in, the work ticked off one by one, then the message.
   The last step of a flow marked .after waits for the answer button. */
.flow > .stage { opacity: 0; transform: translateY(6px); }
.pitch .slide.on .flow:not(.off) > .stage, .site .flow:not(.off) > .stage { opacity: 1; transform: none;
  transition: opacity .45s ease var(--d, 0s), transform .55s var(--ease) var(--d, 0s); }
.flow > .stage.op { --d: .35s; }
.flow > .stage.out { --d: 1.4s; }
.pitch .slide.on .flow:not(.off) .op li:not(.after)::after, .site .flow .op li:not(.after)::after,
.flow.approved .op li.after::after { transform: scale(1); }
.pitch .slide.on .flow:not(.off) .op li::after { transition-delay: calc(.6s + var(--n) * .25s); }
.flow.approved .op li.after::after { transition-delay: .1s !important; }
.ex.finish .flow:not(.off) > .stage, .ex.finish .flow:not(.off) .op li::after { transition: none !important; }
.op li:nth-child(1) { --n: 0; } .op li:nth-child(2) { --n: 1; } .op li:nth-child(3) { --n: 2; } .op li:nth-child(4) { --n: 3; }

/* ---------- 05 · model and harness ---------- */
.harness { padding: 36px 26px 26px; }
.harness .frame { position: absolute; inset: 0; border: 1.5px dashed var(--fg); }
.harness .fk { position: absolute; left: 18px; top: -.75em; padding: 0 8px; background: var(--bg); font-size: var(--t-label); font-weight: 700; }
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 44px); }
.part b { display: block; font-size: var(--t-body); margin-bottom: 4px; }
.part span { display: block; font-size: var(--t-small); color: var(--soft); line-height: 1.35; }
.harness .core { display: flex; justify-content: center; margin-top: clamp(36px, 8vh, 84px); }
.harness .core .box { text-align: center; padding: 16px 30px; }
/* step 0: the model alone, lifted into the middle; step 1: it settles and the harness forms around it */
.harness .core { transition: transform .6s var(--ease); }
.mh[data-at="0"] .harness .core { transform: translateY(calc(-1 * var(--lift, 0px))); }
.part:nth-child(2) { transition-delay: .08s; } .part:nth-child(3) { transition-delay: .16s; }
.mh .wire { transition-delay: calc(.55s + var(--i) * 70ms); }
.harness .core b { display: block; font-size: var(--t-lead); letter-spacing: -.02em; }
.harness .core span { display: block; font-size: var(--t-label); margin-top: 4px; }

/* ---------- 06 · no lock-in ---------- */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 80px); align-items: start; }
.walled { border-width: 3px; position: relative; padding: 0; }
.walled span { display: block; padding: 11px 16px; border-top: 1.5px solid var(--dim); color: var(--soft); font-size: var(--t-small); }
.walled span:first-child { border-top: 0; }
.walled { margin-top: 10px; }
.walled .wk { position: absolute; right: 14px; top: -.8em; padding: 0 8px; background: var(--bg); font-size: var(--t-label); font-weight: 700; }
.open { display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--fg); padding: 9px 14px; font-weight: 700; font-size: var(--t-small); }
.chip.more-models { font-weight: 400; border-style: dashed; color: var(--soft); }
.ours:not(.off) .chip:not(.more-models) { animation: lit .5s ease both; }
.ours:not(.off) .chip:nth-child(2) { animation-delay: .08s; } .ours:not(.off) .chip:nth-child(3) { animation-delay: .16s; }
@keyframes lit { from { background: var(--bg); color: var(--fg); } to { background: var(--fg); color: var(--bg); } }
.layer { padding: 12px 16px; }
.layer b { display: block; font-size: var(--t-body); }
.layer span { display: block; font-size: var(--t-small); line-height: 1.35; }
.side .cap { margin-top: 16px; font-size: clamp(16px, 1.7vw, 25px); line-height: 1.25; letter-spacing: -.02em; }
.vendor .cap { color: var(--soft); }
.ours .cap { font-weight: 700; }
.ours .cap2 { margin-top: 0; font-size: clamp(16px, 1.7vw, 25px); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.ours .cap2 { margin-top: 8px; }
.lock .side .cap, .lock .ours .cap2 { font-size: clamp(15px, 1.5vw, 22px); }
.ours .own-line { margin-top: 10px; }
h2 .sub { text-wrap: balance; }
.ours .fine { margin-top: 10px; margin-bottom: 4px; font-size: var(--t-small); color: var(--soft); line-height: 1.45; max-width: 46ch; }
.lock .sk { margin-bottom: 14px; }

/* the deal in one sentence: the deck's emphasis (inversion), so it is the line people remember */
.pledge { justify-self: start; width: fit-content !important; max-width: min(100%, 1200px) !important;
  margin-left: max(0px, calc((100% - 1200px) / 2)) !important; background: var(--fg); color: var(--bg);
  font-weight: 700; font-size: clamp(17px, 2.5vw, 38px); line-height: 1.2; letter-spacing: -.025em; padding: .5em .7em; text-wrap: balance; }

/* ---------- 07 · installation ---------- */
.track { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 36px); counter-reset: n; }
.track li { counter-increment: n; position: relative; padding-top: 34px; border-top: 2px solid var(--fg); }
.track li::before { content: counter(n, decimal-leading-zero); position: absolute; top: 10px; left: 0; font-size: var(--t-label); font-weight: 700; }
.track li:nth-child(1) { transition-delay: 0s; } .track li:nth-child(2) { transition-delay: .12s; }
.track li:nth-child(3) { transition-delay: .24s; } .track li:nth-child(4) { transition-delay: .36s; }
.track b { display: block; font-size: var(--t-lead); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.track span { display: block; font-size: var(--t-body); color: var(--soft); }

/* ---------- 08 · training ---------- */
.deleg { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); }
.eq { align-self: center; font-size: var(--t-h); font-weight: 700; line-height: 1; padding-top: 26px; }
.dcol ol { list-style: none; counter-reset: r; border-top: 2px solid var(--fg); }
.dcol li { counter-increment: r; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--dim);
  font-size: var(--t-body); letter-spacing: -.015em; }
.dcol li::before { content: counter(r); font-weight: 700; min-width: 1.2em; }
.twin li { transition: opacity .4s ease, transform .5s var(--ease); }
.twin.off li { opacity: 0; transform: translateX(-10px); }
.twin li:nth-child(2) { transition-delay: .12s; } .twin li:nth-child(3) { transition-delay: .24s; }
.ladder { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 14px; }
.ladder .arrow { align-self: center; }
.rung { border: 1.5px solid var(--fg); padding: 10px 14px; font-size: var(--t-body); display: flex; align-items: center; }
.arrow { width: 44px; height: 2px; background: var(--fg); position: relative; }
.arrow::after { content: ""; position: absolute; right: -1px; top: -5px; border-left: 9px solid var(--fg); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- 09 · close ---------- */
.close h2 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.045em; }
.close .foot { padding-right: max(0px, calc(min(100%, 1200px) - 44ch)); }
.sign { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: var(--t-body); }
.sign .mark { width: 30px; height: 30px; fill: var(--fg); }
.sign .link { margin-left: 18px; font-weight: 400; font-size: var(--t-small); }

/* ---------- contact form on the last slide (website build) ---------- */
.has-contact .close h2 { font-size: var(--t-h); }
.has-contact .close .sign { display: none; }
.cform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2.4vh, 22px) clamp(16px, 3vw, 40px); max-width: 900px !important; margin-left: max(0px, calc((100% - 1200px) / 2)) !important; }
.cform label { min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-label); color: var(--mute); }
.cform .wide { grid-column: 1 / -1; }
.cform input, .cform textarea { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 0; border-bottom: 2px solid var(--fg);
  border-radius: 0; padding: 6px 0; resize: none; outline: 0; width: 100%; }
.cform input:focus, .cform textarea:focus { border-bottom-width: 4px; padding-bottom: 4px; }
.cform .send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cform button { font-weight: 700; font-size: 15px; min-height: 44px; padding: 10px 22px; color: var(--bg); background: var(--fg); border: 2px solid var(--fg); }
.cform button:focus-visible { background: var(--bg); color: var(--fg); outline: 0; }
.cform button:disabled { cursor: default; }
.cform .wa-btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; line-height: 1.5;
  min-height: 44px; padding: 10px 22px; color: var(--fg); background: var(--bg); border: 2px solid var(--fg); text-decoration: none; }
.cform .wa-btn:focus-visible { background: var(--fg); color: var(--bg); outline: 0; }
/* hover only where there is a pointer that hovers: on phones a tapped button keeps its look */
@media (hover: hover) {
  .sec:hover { background: #151515; }
  .sec[aria-checked="true"]:hover { background: var(--fg); }
  .tabs button:not([aria-selected="true"]):hover { color: var(--fg); }
  .msg .act:hover { background: var(--bg); color: var(--fg); }
  .cform button:hover { background: var(--bg); color: var(--fg); }
  .cform .wa-btn:hover { background: var(--fg); color: var(--bg); }
  .bar .nb:hover { background: var(--fg); color: var(--bg); }
}
.close .close-q:focus { outline: 0; }
.close .close-q { scroll-margin-top: 88px; }
.cform .send { gap: 12px 14px; }
.cform .cmsg:empty { display: none; }
.wa-link[hidden] { display: none; }
.cform .cmsg { font-size: var(--t-label); color: var(--soft); }
.cform .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cform[hidden] { display: none; }

/* ---------- client profile: suggested first tasks on the closing slide ---------- */
.for-client .close > .close-q, .for-client .close > .foot, .for-client .close > .sign { display: none; }
.first { display: grid; gap: clamp(14px, 2.6vh, 28px); }
.first[hidden] { display: none; }
.first h2 { font-size: var(--t-h); }
.first-sub { font-size: var(--t-body); color: var(--soft); margin-top: -.3em; }
.first-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.8vw, 22px); counter-reset: f; }
.first-list li { transition-delay: calc(var(--n) * 90ms); }
.first-card { display: block; width: 100%; height: 100%; text-align: left; border: 1.5px solid var(--fg);
  padding: clamp(12px, 1.8vh, 20px) clamp(14px, 1.6vw, 22px); transition: background-color .2s, color .2s; }
.first-card:hover, .first-card:focus-visible { background: var(--fg); color: var(--bg); outline: 0; }
.first-card:hover span, .first-card:focus-visible span, .first-card:hover .first-open, .first-card:focus-visible .first-open { color: var(--bg); }
.first-card em { display: block; font-size: var(--t-label); font-weight: 700; margin-bottom: 6px; }
.first-card .first-open { display: block; margin-top: 10px; font-style: normal; font-size: var(--t-label); font-weight: 700; color: var(--fg); }
.first-card b { display: block; font-size: var(--t-body); letter-spacing: -.015em; margin-bottom: 6px; }
.first-card span { display: block; font-size: var(--t-small); color: var(--soft); line-height: 1.4; }

/* ---------- detail view: a worked example behind each first-task card ---------- */
.detail { position: fixed; inset: 0; z-index: 30; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  padding: 72px var(--pad-x) 48px; display: grid; gap: clamp(16px, 3vh, 32px); align-content: start; }
.detail[hidden] { display: none; }
.detail .d-zoom { display: block; width: auto; max-width: min(100%, 977px); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); height: auto; margin: 0 auto; cursor: zoom-out; }
/* phones: the picture at its own width, scrolling sideways, no height cap */
@media (max-width: 760px) { .d-zoom-wrap { overflow-x: auto; } .detail .d-zoom { max-width: none; max-height: none; width: auto; } }
.scr-t3 .t3shot { cursor: zoom-in; }
.detail > * { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }
.detail-open .bar, .detail-open .hint, .detail-open .full { visibility: hidden; }
.detail-open .language { z-index: 32; }
body.detail-open::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 64px; background: var(--bg); z-index: 31 !important; }
.d-back { justify-self: start; width: auto; margin-left: max(0px, calc((100% - 1200px) / 2)); font-size: var(--t-body); font-weight: 700;
  min-height: 44px; padding: 0; border-bottom: 1px solid transparent; }
.d-head h2 { margin-top: 10px; max-width: 34ch; font-size: clamp(21px, 2.7vw, 40px); }
.d-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.d-table, .d-col { display: grid; gap: 14px; }
.d-table table { border-collapse: collapse; width: 100%; font-size: var(--t-small); }
.d-table th { text-align: left; font-weight: 400; color: var(--mute); font-size: var(--t-label); padding: 0 12px 8px 0; border-bottom: 1.5px solid var(--fg); }
.d-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--dim); vertical-align: top; }
.d-table td.strong { font-weight: 700; }
.d-act { justify-self: start; display: inline-block; background: var(--fg); color: var(--bg); font-weight: 700; font-size: var(--t-small); padding: 8px 14px; }
.d-flow { display: grid; gap: 12px; }
.d-inputs { list-style: none; display: grid; gap: 6px; }
.d-inputs li { border: 1.5px dashed var(--fg); padding: 8px 12px; font-size: var(--t-small); }
.d-arrow { font-size: var(--t-lead); line-height: 1; }
.d-model { font-weight: 700; font-size: var(--t-body); padding: 14px 16px; }
.d-chart { width: 100%; height: auto; display: block; }
.d-chart rect.past { fill: var(--fg); }
.d-chart rect.next { fill: none; stroke: var(--fg); stroke-width: 2; stroke-dasharray: 5 4; }
.d-chart text { fill: var(--fg); font-family: inherit; font-size: 11px; text-anchor: middle; }
.d-chart text.lab { fill: var(--mute); text-anchor: start; } .d-chart text.lab.end { text-anchor: end; }
.d-table-only, .d-table { grid-column: 1 / -1; }
.d-body.d-kind-table .d-col, .d-body.d-kind-table { grid-template-columns: minmax(0, 1fr); }
.d-bars { display: grid; gap: 10px; }
.d-bar { display: grid; grid-template-columns: 9em minmax(0, 1fr) 7.5em; align-items: center; gap: 12px; font-size: var(--t-small); }
.d-bar b { white-space: nowrap; }
.d-bar i { display: block; height: 14px; width: var(--w); background: var(--fg); }
.d-bar b { text-align: right; }
.d-actions ul, .d-facts ul { list-style: none; display: grid; gap: 8px; }
.d-actions li, .d-facts li { position: relative; padding-left: 22px; font-size: var(--t-small); line-height: 1.4; }
.d-actions li::before, .d-facts li::before { content: "+"; position: absolute; left: 0; font-weight: 700; }
.d-actions { margin-top: 12px; }
.d-msg { align-self: start; }
.d-msg .sk { margin-bottom: 8px; }
.d-thread { display: grid; gap: 12px; }
.d-say { border: 1.5px solid var(--fg); padding: 12px 14px; font-size: var(--t-small); line-height: 1.4; max-width: 34em; }
.d-say .sk { margin-bottom: 6px; }
.d-say.them { justify-self: end; border-style: dashed; }
.d-say.you { background: var(--fg); color: var(--bg); }
.d-say.you .sk { color: #555; }
.d-say.you .d-act { background: var(--bg); color: var(--fg); margin-top: 10px; }
.d-say .d-act { margin-top: 10px; }
/* scenario simulation inside the first example */
.d-sim { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px clamp(20px, 4vw, 56px); border-top: 2px solid var(--fg);
  padding-top: clamp(18px, 3vh, 32px); margin-top: clamp(8px, 2vh, 20px); align-items: start; }
.d-sim-text h3 { font-size: var(--t-lead); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.d-sim-text p { font-size: var(--t-small); color: var(--soft); line-height: 1.5; max-width: 46ch; }
.d-sim-text p + p { margin-top: 10px; }
.d-sim-text .d-gain { color: var(--fg); font-weight: 700; }
.d-sim-text .note { font-size: var(--t-label); color: var(--mute); }
.d-table .note { margin-top: 2px; }
.d-sim-fig { grid-row: span 2; }
.d-sim-chart { width: 100%; height: auto; display: block; }
.d-sim-chart text { fill: var(--mute); font-family: inherit; font-size: 11px; }
.d-sim-chart .ytick { text-anchor: end; } .d-sim-chart .xtick { text-anchor: middle; }
.d-sim-chart .axis { fill: var(--soft); } .d-sim-chart .end { text-anchor: end; }
.d-sim-chart .note { fill: var(--soft); font-size: 10.5px; }
.d-sim-chart .grid { stroke: var(--dim); stroke-width: 1; }
.d-sim-chart .dot { fill: var(--fg); opacity: .32; }
.d-sim-chart .avg { fill: none; stroke: var(--fg); stroke-width: 2.5; }
.d-sim-chart .best { stroke: var(--fg); stroke-width: 1.5; stroke-dasharray: 5 4; }
.d-sim-chart .bestdot { fill: var(--bg); stroke: var(--fg); stroke-width: 3; }
.d-sim-chart .bestlab { fill: var(--fg); font-weight: 700; font-size: 12px; }
.d-compare { grid-column: 1; }
.d-compare tr.best td { background: var(--fg); color: var(--bg); }
.d-compare td:first-child { padding-left: 8px; }
.detail .d-foot { font-size: var(--t-body); }
.d-sim-chart .bestlab.end { text-anchor: end; }
.d-foot { padding-right: max(0px, calc(min(100%, 1200px) - 62ch)); }

/* ---------- navigation bar ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 14px calc(var(--pad-x) - 12px) max(14px, env(safe-area-inset-bottom)); background: var(--bg); }
.bar .nb { min-width: 44px; min-height: 44px; font-size: 18px; }
.dots { display: flex; gap: 6px; margin-left: auto; }
.dot { width: 22px; height: 44px; position: relative; }
.dot::after { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--dim); transition: background .3s; }
.dot:hover::after { background: var(--mute); }
.dot[aria-selected="true"]::after { background: var(--fg); top: 20px; height: 4px; }
.count { font-size: var(--t-label); min-width: 5.5em; text-align: right; font-variant-numeric: tabular-nums; }
.bar .next { order: 5; }
.hint { position: fixed; right: var(--pad-x); bottom: 76px; z-index: 19; font-size: var(--t-small); color: var(--fg); transition: opacity .5s; }
.hint.gone { opacity: 0; pointer-events: none; }
.hint .tap { display: none; }
@media (hover: none) { .hint .kbd { display: none; } .hint .tap { display: inline; } }

/* ---------- big screens: let the content use the room ---------- */
@media (min-width: 1300px) and (min-height: 860px) {
  :root { --t-small: 17px; --t-body: 22px; --t-lead: 32px; --gap: 44px; }
  .tasks li { min-height: 78px; }
  .slide.mh { --gap: 24px; }
  .mh .harness .core { margin-top: 44px; }
  .mh .harness { padding-top: 30px; padding-bottom: 20px; }
}

/* ---------- shorter laptop screens (1280×720, 1366×768) ---------- */
@media (max-height: 820px) and (min-width: 641px) {
  :root { --gap: clamp(14px, 2.6vh, 24px); --t-h: clamp(26px, 3.5vw, 48px); }
  .slide { padding-top: 76px; padding-bottom: 80px; }
  .tasks li { min-height: 44px; padding: 7px 10px; }
  .harness .core { margin-top: 34px; }
  .track b { font-size: var(--t-body); }
  .lock .side .cap, .lock .ours .cap2 { font-size: 16px; }
  .slide.lock { --gap: 12px; }
}

@media (max-height: 660px) and (min-width: 641px) {
  :root { --gap: 12px; --t-h: clamp(24px, 3vw, 40px); --t-lead: clamp(17px, 1.8vw, 24px); }
  .slide { padding-top: 66px; padding-bottom: 72px; }
  .harness { padding-top: 26px; padding-bottom: 16px; }
  .harness .core { margin-top: 24px; }
  .dcol li { padding: 7px 0; }
}

/* ---------- tablets and narrow windows ---------- */
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 26px; }
  .flow .stage.out { grid-column: 1 / -1; }
  .flow .stage.out::before { content: none; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  :root { --pad-x: 20px; --gap: 18px; --t-label: 12px; --t-small: 13px; --t-body: 15px; --t-lead: 18px; --t-h: 25px; --t-hero: 34px; }
  .pitch::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 60px; background: var(--bg); z-index: 15; }
  .slide { padding: 68px var(--pad-x) 80px; }
  .language { top: 8px; }
  .full { display: none; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .sec { min-height: 58px; padding: 8px 10px; font-size: 14px; }
  .tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .tasks { grid-auto-flow: dense; }
  .tasks li { font-size: 12.5px; line-height: 1.2; letter-spacing: -.025em; min-height: 40px; padding: 5px 4px 5px 5px; overflow-wrap: break-word; }
  .tasks li.human { grid-column: span 2; }
  .tasks .tag { font-size: 12px; }
  .cform input { min-height: 44px; }
  .foot { font-size: var(--t-body); }
  .lock h2 { font-size: 23px; }
  .lock .cmp { gap: 16px; }
  .lock .walled span { padding: 5px 12px; }
  .lock .side .cap { margin-top: 6px; }
  .lock .open { gap: 6px; }
  .piping { --wires: v; grid-template-columns: minmax(0, 1fr); row-gap: 30px; justify-items: center; }
  .piping .col, .piping .person, .piping .chat { grid-column: 1; }
  .piping .col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .piping .col .box { font-size: 12.5px; padding: 8px 6px; text-align: center; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  /* systems above and below, Operator in the middle, wires vertical */
  .hub { --wires: v; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .hub .col { grid-column: 1 !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hub .col:first-child { grid-row: 1; } .hub .core { grid-column: 1 !important; grid-row: 2; justify-self: center; } .hub .col:last-child { grid-row: 3; }
  .hub .col .box { font-size: 12.5px; padding: 8px 6px; text-align: center !important; display: flex; align-items: center; justify-content: center; min-height: 48px; }
  .hub .core .box { font-size: 15px; padding: 12px 22px; }
  /* example tabs: a two-column grid, every tab visible, labels wrap */
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-left: 0; width: 100%; max-width: none; background: none; }
  .tabs button { font-size: 13px; line-height: 1.25; padding: 6px 10px; min-height: 44px; text-align: left; color: var(--soft);
    border: 1.5px solid var(--dim); overflow-wrap: anywhere; }
  .tabs button[aria-selected="true"] { border-color: var(--fg); }
  .cform .send { gap: 10px; }
  .cform .send button, .cform .wa-btn { flex: 1 1 auto; padding: 10px 12px; font-size: 14px; }
  .talk { top: 8px; }
  /* escritorio: the big number on its own line above the sentence */
  .desk-head h2 > span[data-from] { flex-direction: column; align-items: flex-start; gap: .2em; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .stage + .stage::before { content: "↓"; left: 0; top: -21px; transform: none; font-size: 14px; }
  .flow .stage.out::before { content: "↓"; }
  .stage .sk { margin-bottom: 4px; }
  .stage.op ol { gap: 6px; }
  .msg { padding: 12px 14px 10px; }
  .harness { padding: 26px 12px 14px; }
  .parts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .part { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px; }
  .part b { margin: 0; font-size: 14px; min-width: 7.5em; }
  .part span { font-size: 12px; }
  .harness .core { margin-top: 26px; }
  .harness .wire-layer { display: none; }
  .cmp { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .walled span { padding: 7px 12px; }
  .side .sk { margin-bottom: 6px; }
  .side .cap { margin-top: 8px; }
  .chips { gap: 5px; flex-wrap: nowrap; }
  .chip { padding: 6px 8px; font-size: 12px; }
  .layer { padding: 8px 12px; }
  .track { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 2px solid var(--fg); }
  .track li { border-top: 0; padding: 4px 0 16px 46px; }
  .track li::before { top: 6px; left: 14px; }
  .track b { margin-bottom: 2px; }
  .track span { font-size: 13px; }
  .deleg { gap: 8px; }
  .eq { font-size: 18px; padding-top: 20px; }
  .ladder { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ladder .arrow { width: 2px; height: 22px; justify-self: start; margin-left: 18px; }
  .ladder .arrow::after { right: -5px; top: auto; bottom: -1px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--fg); border-bottom: 0; }
  .ours .fine { margin-top: 8px; }
  .lock h2 { font-size: 21px; }
  .lock .side .cap, .lock .ours .cap2 { font-size: 14px; }
  .lock .ours .cap2 { margin-top: 5px; }
  .dcol li { padding: 7px 0; gap: 8px; font-size: 13px; }
  .rung { padding: 8px 10px; }
  .sign { flex-wrap: wrap; }
  .cform { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .first-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .first-card { padding: 8px 10px; }
  .first-card em { display: inline; margin: 0 8px 0 0; }
  .first-card b { display: inline; }
  .first-card span { margin-top: 3px; font-size: 12px; }
  .first-card .first-open { margin-top: 4px; }
  .detail { padding: 64px var(--pad-x) 32px; }
  .d-body { grid-template-columns: minmax(0, 1fr); }
  /* tables stack on phones: one block per row, each value with its column name */
  .d-table table, .d-table tbody, .d-table tr, .d-table td { display: block; }
  .d-table thead { display: none; }
  .d-table tr { border-bottom: 1px solid var(--dim); padding: 8px 0; }
  .d-table td { border: 0; padding: 1px 0; }
  .d-table td:not(.strong)::before { content: attr(data-label) ": "; color: var(--mute); }
  .d-table td.strong { font-size: var(--t-body); margin-bottom: 2px; }
  .d-compare tr.best { background: var(--fg); color: var(--bg); padding: 8px; }
  .d-compare tr.best td { background: none; }
  .d-compare td:first-child { padding-left: 0; }
  .d-sim-chart text { font-size: 12px; }
  .d-sim-chart .bestlab { font-size: 12.5px; }
  .d-bar { grid-template-columns: 6.5em minmax(0, 1fr) 7em; gap: 8px; }
  .d-sim { grid-template-columns: minmax(0, 1fr); }
  .d-sim-fig { grid-row: auto; }
  .d-compare table { min-width: 0; }
  .sign .link { margin-left: 0; flex-basis: 100%; }
  .bar { gap: 4px; }
  .bar .nb { flex: none; }
  .dots { flex: 1 1 auto; min-width: 0; gap: 3px; justify-content: flex-end; }
  .dot { width: auto; flex: 0 1 16px; min-width: 6px; }
  .count { min-width: 0; flex: none; padding-left: 4px; }
  .hint { bottom: 70px; }
}

/* narrowest phones (360 px): long words in the task tiles get hyphens rather than overflow */
@media (max-width: 374px) { .tasks li { font-size: 12px; hyphens: auto; } }

/* ---------- short phones (Safari with its bars, iPhone SE) ---------- */
@media (max-width: 640px) and (max-height: 760px) {
  :root { --gap: 12px; --t-h: 22px; --t-lead: 16px; --t-body: 14px; }
  .slide { padding-top: 62px; padding-bottom: 76px; }
  .stage.op ol { gap: 3px; }
  .flow { row-gap: 18px; }
  .stage + .stage::before { top: -18px; }
  .msg { font-size: 13.5px; padding: 10px 12px 8px; }
  .msg p { margin-bottom: 8px; }
  .msg .act { min-height: 34px; padding: 5px 10px; }
  .lock h2 { font-size: 18px; }
  .slide.lock { padding-top: 66px; }
  .lock .walled span { padding: 1px 10px; }
  .lock .side .sk { margin-bottom: 4px; }
  .lock .side .cap, .lock .ours .cap2 { font-size: 13.5px; }
  .lock .chip { padding: 4px 7px; font-size: 11px; }
  .lock .ours .own-line { margin-top: 4px; }
  .slide.lock { gap: 10px; }
  .tasks li { min-height: 36px; padding: 4px 6px; }
  .ex .flow { row-gap: 14px; }
  .slide.ex { gap: 10px; }
  .ex .stage + .stage::before { top: -15px; }
  .lock .walled span { padding: 4px 10px; font-size: 12px; }
  .ours .fine { font-size: 12px; margin-top: 6px; }
}

/* ---------- very short phones (360×640, iPhone SE with bars) ---------- */
@media (max-width: 640px) and (max-height: 690px) {
  :root { --gap: 9px; --t-h: 19px; --t-lead: 15px; --t-body: 13px; --t-small: 12px; }
  .slide { padding-top: 60px; padding-bottom: 72px; }
  .harness { padding: 20px 10px 10px; }
  .harness .core { margin-top: 18px; }
  .harness .core .box { padding: 8px 18px; }
  .part { padding: 5px 8px; }
  .track li { padding-bottom: 8px; }
  .lock .ours .fine { margin-top: 2px; margin-bottom: 4px; }
  .lock .ours .cap2 { margin-top: 3px; }
  .lock .side .cap, .lock .ours .cap2 { font-size: 13px; }
  .lock .walled span { padding: 2px 10px; font-size: 11.5px; }
  .chips { gap: 4px; }
  .lock .chip { padding: 3px 6px; }
  .lock h2 { font-size: 17px; margin-bottom: -4px; }
  .first { gap: 8px; }
  .first-sub { display: none; }
  .first-card { padding: 6px 9px; }
  .first-card span { font-size: 11px; line-height: 1.3; }
  .lock .side .cap, .lock .ours .cap2 { line-height: 1.25; }
}

/* ---------- site mode: one long page for operatorinfra.com ---------- */
.site .slide { min-height: 0; padding: 16vh var(--pad-x); border-top: 2px solid var(--fg); }
.site .slide::before, .site .slide::after { content: none; }
.site .slide.cover { min-height: 78vh; min-height: 78svh; justify-content: center; border-top: 0; }
/* the logo's brackets around the word, drawn still (the opening animation is pitch mode only) */
.site .cover .q { position: relative; padding: 0 .5em; }
.site .cover .q::before, .site .cover .q::after { content: ""; position: absolute; top: -.2em; bottom: -.2em; width: clamp(12px, .32em, 34px);
  border: clamp(4px, .09em, 11px) solid var(--fg); }
.site .cover .q::before { left: 0; border-right: 0; } .site .cover .q::after { right: 0; border-left: 0; }
.site .more { display: block; font-size: var(--t-small); line-height: 1.6; color: var(--soft);
  padding-right: max(0px, calc(min(100%, 1200px) - 62ch)); }
.site .site-only { display: block; }
.site::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 64px; background: var(--bg); z-index: 15; }
.site .pitch-only { display: none !important; }

/* ---------- swipe deck: the website on phones and portrait tablets (body.swipe, pitch.js) ----------
   One slide per screen; the next one slides in along the swipe's axis and follows the finger while dragging. */
.swipe-doc, .swipe-doc body { overscroll-behavior: none; }
.swipe .slide { opacity: 1; transform: translate3d(100%, 0, 0); transition: transform .48s cubic-bezier(.22, .8, .24, 1), visibility 0s linear .48s; }
.swipe .slide.before { transform: translate3d(-100%, 0, 0); }
.swipe[data-axis="y"] .slide { transform: translate3d(0, 100%, 0); }
.swipe[data-axis="y"] .slide.before { transform: translate3d(0, -100%, 0); }
.swipe .deck .slide.on { transform: none; transition: transform .48s cubic-bezier(.22, .8, .24, 1), visibility 0s; }
.swipe.dragging .slide, .swipe.still .slide, .swipe.dragging .intro, .swipe.still .intro { transition: none !important; }
/* the cover's brackets leave with the cover */
.swipe .intro { transition: opacity .45s ease, transform .48s cubic-bezier(.22, .8, .24, 1); }
.swipe.past-cover .intro { transform: translate3d(-100%, 0, 0); }
.swipe[data-axis="y"].past-cover .intro { transform: translate3d(0, -100%, 0); }
/* a slide taller than the screen scrolls inside itself: a fade above the bar says there is more */
.swipe .bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 36px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0), var(--bg)); opacity: 0; transition: opacity .3s ease; }
.swipe.scroll-more .bar::before { opacity: 1; }
.swipe.typing .bar, .swipe.typing .hint { visibility: hidden; }
.swipe .slide { scroll-padding-top: 60px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; }
}

/* until pitch.js has picked a mode, keep the page dark rather than show the raw markup (boot.js sets .js);
   if the scripts never run, show it anyway after 5 s */
.js body:not(.site):not(.pitch) > * { visibility: hidden; animation: show-anyway 0s 5s forwards; }
@keyframes show-anyway { to { visibility: visible; } }
