/* Layout: seven drawing sheets in one column. Each sheet opens with a dimension line and its number; engravings sit between sheets and are revealed like a plotter print. Single dark blueprint world by choice. */
:root {
  --page: #071f3d;
  --sheet: #0b3562;
  --line: #dbe4f3;
  --line-mid: rgba(219, 228, 243, .5);
  --line-dim: rgba(219, 228, 243, .13);
  --brass: #d9a65a;
  --brass-dim: rgba(217, 166, 90, .13);
  --text: #e9eef7;
  --muted: #a9b8d0;
  --ink: #0a2342;
  --f-display: 'Tektur', 'Arial Narrow', sans-serif;
  --f-body: 'Commissioner', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--page); color: var(--text); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }
.nowrap { white-space: nowrap; }
.todo { color: var(--brass); border: 1px dashed var(--brass); padding: 1px 6px; font: 400 12px/1.5 var(--f-mono); letter-spacing: .02em; }
.todo-box { border: 1px dashed var(--brass); color: var(--brass); font: 400 12px/1.4 var(--f-mono); padding: 14px; text-align: center; }
section[id], article[id] { scroll-margin-top: 24px; }

/* header */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 700 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.logo svg { width: 28px; height: 28px; }
.logo small { font: 400 10px/1 var(--f-mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-dim); padding: 4px 6px; }
.nav { display: flex; gap: 24px; margin-left: auto; font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; background: var(--brass); color: var(--ink); font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--brass); }
.btn--line { background: transparent; color: var(--line); border-color: var(--line-mid); }
.btn:hover { filter: brightness(1.08); }
.btn--sm { padding: 10px 14px; }

/* hero sheet */
.hero { padding-block: 8px 40px; }
.sheet {
  position: relative; isolation: isolate;
  background-color: var(--sheet);
  background-image: linear-gradient(var(--line-dim) 1px, transparent 1px), linear-gradient(90deg, var(--line-dim) 1px, transparent 1px);
  background-size: 120px 120px; background-position: -1px -1px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center;
  padding: clamp(56px, 7vw, 96px) clamp(28px, 4vw, 56px) 96px clamp(48px, 5vw, 76px);
}
.sheet::before { content: ''; position: absolute; inset: 10px 10px 10px 34px; border: 1px solid var(--line-mid); pointer-events: none; z-index: -1; }
.copy { display: grid; gap: 22px; min-width: 0; }
.eyebrow { font: 500 12px/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--brass); }
h1 { font-size: clamp(36px, 4.6vw, 66px); line-height: .98; text-transform: uppercase; font-weight: 700; }
.skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 32rem; }
.skills a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .45); font: 500 15px/1.2 var(--f-body); color: var(--text); transition: border-color .2s, color .2s; }
.skills a::before { content: ''; flex: none; width: 7px; height: 7px; border: 1px solid var(--brass); transform: rotate(45deg); transition: background .2s; }
.skills a:hover { border-color: var(--brass); }
.skills a:hover::before { background: var(--brass); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { font: 400 12px/1.5 var(--f-mono); color: var(--muted); letter-spacing: .04em; border-top: 1px solid var(--line-dim); padding-top: 14px; max-width: 46ch; }
.hd { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; }
.hd-labels { position: relative; height: 560px; }
.hd-box { position: relative; height: 560px; aspect-ratio: 760 / 1080; max-width: 100%; }
.hd-box img, .hd-text { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s; }
.hd-box .hd-on { opacity: 1; }
.hd-page { position: absolute; inset: 17% 12% 6% 12%; background: #f4f6fa; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6); padding: 9%; color: #1c2a40; display: grid; align-content: start; gap: 10px; }
.hd-page i { display: block; height: 7px; background: #c9d2df; }
.hd-page em { font: 700 20px/1.1 var(--f-body); font-style: normal; color: #0d1b2e; }
.hd-page strong { font: 700 13.5px/1.2 var(--f-body); color: #0d1b2e; margin-top: 8px; }
.hd-score { justify-self: start; font: 500 11px/1 var(--f-mono); color: #11704f; border: 1px solid #11704f; padding: 5px 7px; letter-spacing: .06em; }
.hd-wires { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hd-label { position: absolute; left: 0; text-align: right; font-size: 15px; line-height: 1.35; color: var(--text); transform: translateY(-50%); opacity: 0; transition: opacity .4s; }
.hd-wire { position: absolute; height: 1px; background: var(--brass); transform-origin: left center; transform: scaleX(0); transition: transform .45s ease; }
.hd-pt { position: absolute; width: 9px; height: 9px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(217, 166, 90, .25); opacity: 0; transition: opacity .3s .35s; }
.hd .hd-label.hd-on, .hd .hd-pt.hd-on { opacity: 1; }
.hd-wire.hd-on { transform: scaleX(1); }
.hd-cap { position: absolute; right: 0; bottom: -14px; font: 400 12.5px/1.45 var(--f-mono); letter-spacing: .03em; color: var(--muted); text-align: right; }
.hd-cap b { color: var(--brass); font-weight: 500; }
.skills a.on { border-color: var(--brass); }
.skills a.on::before { background: var(--brass); }
.scheme { min-width: 0; }
.scheme svg { width: 100%; display: block; overflow: visible; }
.scheme .sv-tall { display: none; }
.tbk { position: absolute; right: 10px; bottom: 10px; display: grid; grid-auto-flow: column; font: 400 11px/1 var(--f-mono); color: var(--muted); border-top: 1px solid var(--line-mid); border-left: 1px solid var(--line-mid); }
.tbk span { padding: 8px 12px; border-right: 1px solid var(--line-dim); }
.tbk b { color: var(--text); font-weight: 500; }
.tbk .tbk-name b { color: var(--brass); text-transform: uppercase; letter-spacing: .08em; }

/* scheme primitives */
.ln { fill: none; stroke: var(--line); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.thin { fill: none; stroke: var(--line-mid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash { stroke-dasharray: 7 6; }
.bl { stroke: var(--brass); }
.m-line { fill: var(--line); }
.m-brass { fill: var(--brass); }
svg text { fill: var(--line); font-family: var(--f-mono); font-size: 15px; }
svg .t-big { font-family: var(--f-display); font-weight: 500; font-size: 24px; }
svg .t-zone { font-size: 12px; letter-spacing: .16em; fill: var(--muted); }
svg .t-mut { fill: var(--muted); font-size: 13.5px; }
svg .t-br { fill: var(--brass); }
.blk rect { fill: rgba(11, 53, 98, .6); stroke: var(--line); stroke-width: 1.8; vector-effect: non-scaling-stroke; transition: fill .3s, stroke .3s; }
.blk.hot rect { fill: var(--brass-dim); stroke: var(--brass); }
.ln-ghost { fill: none; stroke: none; }
.src circle { fill: rgba(11, 53, 98, .6); stroke: var(--line-mid); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: fill .25s, stroke .25s; }
.src path { transition: stroke .25s; }
.src.on circle { fill: var(--brass); stroke: var(--brass); }
.src.on path { stroke: var(--brass); }
.doc { transition: opacity .4s; }
.doc.dim { opacity: 0; }
.doc path { fill: none; stroke: var(--brass); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.doc text { fill: var(--text); font-size: 15px; }
.doc--lg text { font-size: 18px; }
.dot { fill: var(--brass); opacity: 0; }
.swept { animation: sweep 1.2s cubic-bezier(.6, 0, .2, 1); }
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* sheet head: number + dimension line */
.hero { position: relative; z-index: 14; }
.sheet { box-shadow: 0 30px 48px -20px rgba(2, 10, 22, .8); }
.part { position: relative; padding-block: 28px 0; }
/* a tall sheet turned by the scroll effect sticks out sideways on phones; clip keeps sticky scenes working */
main { overflow-x: clip; }
.pg { position: relative; isolation: isolate; display: grid; gap: 32px; background-color: var(--sheet); background-image: linear-gradient(var(--line-dim) 1px, transparent 1px), linear-gradient(90deg, var(--line-dim) 1px, transparent 1px); background-size: 120px 120px; background-position: -1px -1px; padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px) 96px clamp(44px, 5vw, 76px); box-shadow: 0 30px 48px -20px rgba(2, 10, 22, .8); transform-origin: 0 0; }
.pg::before { content: ''; position: absolute; inset: 10px 10px 10px 34px; border: 1px solid var(--line-mid); pointer-events: none; z-index: -1; }
.js-motion .pg { transform: translate3d(0, calc(var(--k, 0) * -170px), 0) rotate(calc(var(--k, 0) * -1.8deg)); }
.lst { display: flex; align-items: center; gap: 16px; margin-top: -14px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.lst-line { flex: 1; height: 1px; position: relative; }
.lst-line i { position: absolute; inset: 0; background: var(--line-mid); transform-origin: left; transform: scaleX(var(--s, 1)); transition: transform 1.1s cubic-bezier(.6, 0, .2, 1); }
.lst-line i::before, .lst-line i::after { content: ''; position: absolute; top: -4px; border: 4.5px solid transparent; }
.lst-line i::before { left: 0; border-right: 9px solid var(--line-mid); border-left-width: 0; }
.lst-line i::after { right: 0; border-left: 9px solid var(--line-mid); border-right-width: 0; }
.lst-dim { color: var(--muted); letter-spacing: .08em; }
h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.02; text-transform: uppercase; font-weight: 700; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.15; font-weight: 500; }

/* line drawings */
.js-motion .lst:not(.in) .lst-line i { --s: 0; }

/* gallery of finished documents: four sheets in view, the brass line fills and the row moves one sheet on;
   hover, focus, an open sheet or the gallery off screen hold it */
.gal { display: grid; gap: 22px; --gap: 18px; --per: 4; }
.gal-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap); margin: 0; padding: 4px 0 18px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { scroll-snap-align: start; display: grid; gap: 12px; align-content: start; min-width: 0; margin: 0; }
.gal-sheet { position: relative; display: block; aspect-ratio: 600 / 848; overflow: hidden; background: #fff; outline: 1px solid var(--line-mid); outline-offset: 5px; box-shadow: 0 22px 34px -18px rgba(2, 10, 22, .95); transition: outline-color .3s; }
.gal-sheet img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.gal-sheet::after { content: '↗'; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--brass); font: 500 16px/1 var(--f-mono); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gal-sheet:hover, .gal-sheet:focus-visible { outline-color: var(--brass); }
.gal-sheet:hover img { transform: scale(1.035); }
.gal-sheet:hover::after, .gal-sheet:focus-visible::after { opacity: 1; transform: none; }
.gal-cap { display: grid; gap: 4px; font-size: 15px; line-height: 1.35; }
.gal-dir { font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.gal-bar { display: flex; align-items: center; gap: 14px; }
.gal-count { min-width: 10ch; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--muted); }
.gal-count b { color: var(--text); font-weight: 500; }
.gal-prog { flex: 1; height: 1px; background: var(--line-mid); position: relative; }
.gal-prog i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--brass); }
.gal-prog i.run { animation: gal-tick 4.5s linear forwards; }
@keyframes gal-tick { to { width: 100%; } }
.gal:hover .gal-prog i, .gal:has(:focus-visible) .gal-prog i, .gal.hold .gal-prog i { animation-play-state: paused; }
.gal-btn { flex: none; width: 40px; height: 40px; cursor: pointer; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); color: var(--text); font: 400 18px/1 var(--f-mono); transition: border-color .3s, color .3s; }
.gal-btn:hover { border-color: var(--brass); color: var(--brass); }
.gal-note { margin-top: -6px; color: var(--muted); font-size: 14px; max-width: 80ch; }
/* one sheet opened whole */
.lb { width: min(940px, calc(100vw - 24px)); }
.lb-sheet { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; height: calc(100vh - 32px); padding: 18px 18px 16px; background: var(--sheet); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .6); }
.dlg[open] .lb-sheet { animation: sheet-in .5s cubic-bezier(.2, .8, .2, 1); }
.lb-scroll { overflow: auto; overscroll-behavior: contain; background: #fff; }
.lb-scroll img { display: block; width: 100%; height: auto; }
.lb .dlg-x { top: 28px; right: 34px; background: var(--ink); }
.lb-bar { display: flex; align-items: center; gap: 14px; }
.lb-bar p { flex: 1; display: grid; gap: 2px; font-size: 15px; line-height: 1.35; }
@media (max-width: 960px) { .gal { --per: 2; --gap: 14px; } }
@media (max-width: 560px) { .gal { --per: 1.25; } .gal-btn { width: 36px; height: 36px; } .lb-sheet { padding: 10px 10px 12px; } .lb .dlg-x { top: 16px; right: 20px; } }

/* directions */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { grid-column: span 2; display: grid; gap: 14px; align-content: start; padding: 26px 24px 24px; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); min-width: 0; position: relative; transition: border-color .3s; transform-origin: 0 0; }
.card:hover { border-color: var(--brass); }
.js-motion .card { transform: translate3d(0, calc(var(--c, 0) * -56px), 0) rotate(calc(var(--c, 0) * -2.2deg)); opacity: calc(1 - var(--c, 0) * .9); }
.card .ico { width: 72px; height: 72px; }
.ico .dr, .ico .st { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.ico .bz { stroke: var(--brass); }
.ico .dsh { stroke-dasharray: 3 3; }
.card:hover .ico .dr { stroke: var(--brass); }
.js-motion [data-draw] .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.5, 0, .2, 1) .25s; }
.js-motion [data-draw].in .dr { stroke-dashoffset: 0; }
.card { cursor: pointer; grid-template-rows: auto auto 1fr auto; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-dim); }
.more { background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--brass); font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.card:hover .more { text-decoration: underline; text-underline-offset: 4px; }
.cmd { display: block; margin-top: 8px; padding: 8px 10px; white-space: pre-wrap; word-break: break-all; font: 400 12.5px/1.5 var(--f-mono); color: var(--brass); background: rgba(7, 31, 61, .72); border: 1px solid var(--line-dim); }

/* direction sheets (dialogs) */
body.dlg-open { overflow: hidden; }
.dlg { padding: 0; border: 0; background: transparent; color: var(--text); width: min(1180px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 32px); overflow: visible; }
.dlg::backdrop { background: rgba(3, 12, 26, .8); }
.dlg-sheet { position: relative; isolation: isolate; max-height: calc(100vh - 32px); overflow: auto; padding: 44px 40px 88px 58px; background-color: var(--sheet); background-image: linear-gradient(var(--line-dim) 1px, transparent 1px), linear-gradient(90deg, var(--line-dim) 1px, transparent 1px); background-size: 120px 120px; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .6); transform-origin: 0 0; }
.dlg-sheet::before { content: ''; position: absolute; inset: 10px 10px 10px 34px; border: 1px solid var(--line-mid); pointer-events: none; z-index: -1; }
.dlg[open] .dlg-sheet { animation: sheet-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheet-in { from { transform: translateY(48px) rotate(-1.4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.dlg-x { position: absolute; top: 18px; right: 22px; z-index: 2; width: 40px; height: 40px; cursor: pointer; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); color: var(--text); font: 400 24px/1 var(--f-mono); }
.dlg-x:hover { border-color: var(--brass); color: var(--brass); }
.dlg h2 { margin: 12px 0 10px; font-size: clamp(26px, 3vw, 40px); }
.dlg-lead { max-width: 62ch; margin-bottom: 28px; color: var(--muted); font-size: 18px; }
.dlg-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }
.dlg-grid.has-ex { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 3.4fr); gap: 32px; }
.dlg h3 { margin-bottom: 12px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.dlg-steps { margin: 0; padding: 0; list-style: none; counter-reset: ds; display: grid; }
.dlg-steps li { counter-increment: ds; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line-dim); }
.dlg-steps li::before { content: counter(ds, decimal-leading-zero); font: 500 12px/1.6 var(--f-mono); color: var(--brass); }
.dlg-side { display: grid; gap: 18px; justify-items: start; }
.dlg-side .meta { width: 100%; }
.dlg-side .todo-box { width: 100%; }
.ex { margin: 0; display: grid; gap: 8px; }
.ex a { display: block; }
.ex img { display: block; width: 100%; height: auto; }
@media (max-width: 1100px) { .dlg-grid.has-ex { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .dlg-grid.has-ex > div:first-child { grid-row: span 2; } .dlg-grid.has-ex .ex { grid-column: 2; max-width: 260px; } }
@media (max-width: 960px) { .dlg-grid.has-ex { grid-template-columns: 1fr; } .dlg-grid.has-ex > div:first-child { grid-row: auto; } .dlg-grid.has-ex .ex { grid-column: auto; max-width: 300px; } }
.ex figcaption { font: 400 12px/1.45 var(--f-mono); color: var(--muted); }
.card p { color: var(--muted); }
.meta { display: grid; gap: 8px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line-dim); }
.meta div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.meta dt { font: 400 11px/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 0; font-size: 15px; }
.f { font: 400 13px/1.5 var(--f-mono); color: var(--brass); }

/* how */
.how { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.how-text { display: grid; gap: 28px; min-width: 0; }
.how-text > div { display: grid; gap: 10px; }
.how-text p { color: var(--muted); max-width: 60ch; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 0; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-dim); transition: opacity .4s; }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps p { color: var(--muted); }
.stp-t { display: block; margin-bottom: 2px; color: var(--text); font: 500 18px/1.3 var(--f-display); }
.how-lead { max-width: 64ch; margin-top: -8px; color: var(--muted); font-size: 18px; }
/* services by API: the sources feed the server through a running wire, the server feeds the project; the dashes run
   only with motion allowed (.js-motion) */
.af { display: grid; grid-template-columns: minmax(0, 1.3fr) 64px minmax(0, .85fr) 64px minmax(0, .95fr); align-items: center; }
.af-src { position: relative; list-style: none; margin: 0; padding: 0 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.af-src::after { content: ''; position: absolute; right: 0; top: 18px; bottom: 18px; border-right: 2px solid var(--brass); }
.af-src li { display: grid; gap: 3px; align-content: center; padding: 10px 12px; min-width: 0; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); transition: border-color .3s; }
.af-src li:hover { border-color: var(--brass); }
.af-src b { font-weight: 500; font-size: 15px; line-height: 1.3; }
.af-src i { font: 400 10.5px/1.3 var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.af-src i.pay { color: var(--brass); }
.af-wire { position: relative; height: 2px; margin-right: 8px; background: repeating-linear-gradient(90deg, var(--brass) 0 9px, transparent 9px 18px); }
.af-wire::after { content: ''; position: absolute; right: -8px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--brass); border-right: 0; }
.js-motion .af-wire { animation: af-run .8s linear infinite; }
@keyframes af-run { to { background-position: 18px 0; } }
@keyframes af-run-v { to { background-position: 0 18px; } }
.af-node { display: grid; gap: 6px; justify-items: start; align-content: start; padding: 18px 20px; min-width: 0; border: 1px solid var(--brass); background: rgba(7, 31, 61, .85); box-shadow: 0 18px 30px -18px rgba(2, 10, 22, .9); }
.af-node .ico { width: 48px; height: 48px; margin-bottom: 4px; }
.af-node b { font: 500 19px/1.25 var(--f-display); }
.af-node small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.af-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.af-files span { padding: 4px 7px; border: 1px solid var(--line-dim); font: 400 12px/1.2 var(--f-mono); color: var(--brass); }
.af-keys { list-style: none; margin: -8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; font: 400 13px/1.4 var(--f-mono); color: var(--muted); }
.af-keys li { display: flex; align-items: center; gap: 9px; }
.af-keys svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--brass); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#servisy .tbl-free { margin: 0; }
@media (max-width: 960px) {
  .af { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .af-src { padding: 0 0 18px; }
  .af-src::after { left: 18px; right: 18px; top: auto; bottom: 0; border-right: 0; border-bottom: 2px solid var(--brass); }
  .af-wire { justify-self: center; width: 2px; height: 44px; margin: 0 0 10px; background: repeating-linear-gradient(180deg, var(--brass) 0 9px, transparent 9px 18px); }
  .af-wire::after { left: -5px; right: auto; top: auto; bottom: -8px; border: 6px solid transparent; border-top: 8px solid var(--brass); border-bottom: 0; }
  .js-motion .af-wire { animation-name: af-run-v; }
}
.steps li::before { content: counter(st); font: 500 13px/1.6 var(--f-mono); color: var(--brass); border: 1px solid var(--brass); width: 28px; height: 28px; display: grid; place-items: center; }
.term { margin: 0; background: #061730; border: 1px solid var(--line-mid); padding: 22px 24px; font: 400 13.5px/1.9 var(--f-mono); color: var(--text); overflow-x: auto; min-width: 0; position: sticky; top: 24px; }
.term .ttl { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line-dim); padding-bottom: 10px; margin-bottom: 12px; }
.term .ln-t { display: block; white-space: pre; transition: opacity .35s; }
@media (max-width: 560px) { .term { padding: 16px; } .term .ln-t { white-space: pre-wrap; padding-left: 2ch; text-indent: -2ch; } }
.term b { color: var(--brass); font-weight: 500; }
.term i { color: #8fd0a8; font-style: normal; }
.term s { color: var(--brass); text-decoration: none; }
.term u { color: var(--muted); text-decoration: none; }
.js-motion [data-scrub] .stp:not(.on) { opacity: .28; }
.tbl { overflow-x: auto; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-dim); vertical-align: top; }
th { font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-mid); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 500; white-space: nowrap; }
td { color: var(--muted); }
td:first-child { color: var(--text); }
.sub { display: grid; gap: 16px; }
.vid { margin: 0; display: grid; gap: 12px; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #061730; border: 1px solid var(--line-mid); box-shadow: 0 30px 48px -20px rgba(2, 10, 22, .8); }
.vid figcaption { font: 400 12px/1.5 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.ref { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.ref:hover { color: var(--text); }
.sub[id] { scroll-margin-top: 24px; }
.cfg { margin-top: 10px; border: 1px solid var(--line-dim); background: rgba(7, 31, 61, .72); }
.cfg-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line-dim); }
.cfg-tabs button { background: none; border: 0; border-right: 1px solid var(--line-dim); padding: 9px 12px; cursor: pointer; color: var(--muted); font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.cfg-tabs button[aria-selected="true"] { color: var(--brass); background: rgba(217, 166, 90, .08); }
.cfg-panel { padding: 10px; }
.cfg-where { display: block; font: 400 11px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .06em; }
.cfg .cmd { margin-top: 6px; border: 0; padding: 0; background: none; word-break: normal; overflow-wrap: anywhere; }
.steps li > div { display: grid; gap: 6px; min-width: 0; }
.steps code:not(.cmd) { font: 400 13px/1 var(--f-mono); color: var(--brass); }

/* price */
.costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); }
.cost { display: grid; gap: 10px; align-content: start; padding: 24px; border-right: 1px solid var(--line-dim); min-width: 0; }
.cost:last-child { border-right: 0; }
.cost--main { background: rgba(217, 166, 90, .07); box-shadow: inset 0 0 0 1px var(--brass); }
.cost--main .v { font-size: clamp(30px, 3vw, 40px); color: #fff; }
.cost .btn { justify-self: start; margin-top: 6px; }
.cost .k { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.cost .v { font: 500 24px/1.15 var(--f-display); }
.cost p { color: var(--muted); font-size: 15px; }
.num { font-variant-numeric: tabular-nums; }
.total { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; padding: 18px 0 0; border-top: 1px solid var(--line-mid); font: 500 18px/1.4 var(--f-display); }

/* author */
.author { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.photo { position: relative; margin: 0; border: 1px solid var(--line-mid); padding: 10px; background: var(--sheet); max-width: 400px; width: 100%; }
.photo img { display: block; width: 100%; height: auto; }
.photo.cut { border: 0; padding: 0; background: none; max-width: none; width: min(420px, 130%); margin-left: -40px; align-self: end; z-index: 0; }
.photo.cut::after { content: ''; position: absolute; left: -12px; width: 62%; bottom: 0; height: 1px; background: var(--brass); }
.photo.cut .stamp { right: auto; left: 6%; bottom: 28px; }
.author .who { position: relative; z-index: 1; }
.author .tags li { background: rgba(7, 31, 61, .72); }
.photo figcaption { font: 400 11px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .08em; padding-top: 10px; }
.stamp { position: absolute; right: -14px; bottom: 40px; border: 1.5px solid var(--brass); color: var(--brass); font: 500 12px/1 var(--f-mono); letter-spacing: .14em; padding: 8px 10px; transform: rotate(-6deg); background: rgba(7, 31, 61, .7); text-transform: uppercase; }
.who { display: grid; gap: 22px; min-width: 0; }
.who .role { color: var(--muted); }
.spec { margin: 0; display: grid; border-top: 1px solid var(--line-mid); }
.spec div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dim); }
.spec dt { font: 400 11px/1.7 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { border: 1px solid var(--line-dim); padding: 3px 9px; font-size: 14px; color: var(--text); }
.bdd { display: flex; gap: 14px; align-items: center; }
.bdd img { width: 120px; height: auto; border: 1px solid var(--line-dim); flex: none; }
.tbl-note { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 80ch; }
.tbl-free { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin: 0 0 18px; padding: 18px 22px;
  background: rgba(217, 166, 90, .1); box-shadow: inset 0 0 0 1px var(--brass); border-left: 4px solid var(--brass); }
.tbl-free .k { font: 500 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.tbl-free p { margin: 0; flex: 1 1 420px; }
.tbl-free b { display: block; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.35; color: #fff; }
.tbl-free small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
/* reviews: cards of one height, the first lines shown with a fade, the rest opens in place; a short review shows whole */
.rvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rv { display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 20px; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); min-width: 0; transition: border-color .3s; }
.rv:hover { border-color: var(--brass); }
.rv-stars { display: flex; gap: 4px; }
.rv-stars svg { width: 17px; height: 17px; fill: var(--brass); }
.rv-text { position: relative; display: grid; gap: 10px; align-content: start; min-height: 8em; max-height: 8em; overflow: hidden; font-size: 16px; line-height: 1.6; transition: max-height .45s cubic-bezier(.2, .8, .2, 1); }
.rv-text b { font-weight: 500; color: var(--brass); }
.rv-text::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(rgba(8, 37, 71, 0), #082547); pointer-events: none; transition: opacity .3s; }
.rv.full .rv-text::after, .rv.open .rv-text::after { opacity: 0; }
.rv.full .rv-text { max-height: none; }
.rv-more { align-self: start; margin-top: -4px; padding: 4px 0; background: none; border: 0; cursor: pointer; color: var(--brass); font: 500 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.rv-more:hover { color: var(--text); }
.rv-name { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-dim); font-weight: 500; }
.awards { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-block: 56px; border-block: 1px solid var(--line-mid); }
.aw-bg { position: absolute; left: -.04em; right: 0; bottom: -.14em; z-index: -1; font: 700 clamp(110px, 17vw, 250px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(219, 228, 243, .16); pointer-events: none; }
.aw-left { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.aw-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.aw-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--brass); stroke-width: 1.2; stroke-linejoin: round; }
.aw-mark { font: 700 clamp(84px, 11vw, 164px)/.82 var(--f-display); color: #fff; letter-spacing: -.02em; }
.aw-meta { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.aw-meta b { color: var(--brass); font-weight: 500; }
.aw-meta i { width: 72px; height: 1px; background: var(--line-mid); }
.aw-note { color: var(--muted); font-size: 18px; max-width: 34ch; }
.aw-list { list-style: none; margin: 0; padding: 0; display: grid; min-width: 0; }
.aw-list li { display: grid; grid-template-columns: 52px 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-dim); }
.aw-list li:first-child { border-top: 1px solid var(--line-dim); }
.aw-list .no { align-self: start; padding-top: 12px; font: 400 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--muted); }
.aw-list .yr { font: 700 clamp(34px, 3.4vw, 48px)/1 var(--f-display); color: rgba(219, 228, 243, .38); font-variant-numeric: tabular-nums; }
.aw-list .k { display: block; margin-bottom: 8px; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.aw-list b { display: block; font: 700 clamp(18px, 1.7vw, 23px)/1.2 var(--f-display); color: #fff; }
.aw-list small { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
/* author: four facts, the clients in one line */
.afacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-mid); }
.afacts li { display: grid; gap: 3px; align-content: start; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line-dim); min-width: 0; }
.afacts b { font: 500 21px/1.15 var(--f-display); color: #fff; }
.afacts span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.aclients { display: grid; gap: 8px; }
.aclients .k { font: 400 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* folded details: the token table, the manual setup of the agent */
.more { border-top: 1px solid var(--line-dim); }
.more summary { cursor: pointer; list-style: none; padding: 12px 0; font: 500 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; display: inline-block; width: 1.4em; }
.more[open] summary::before { content: '−'; }
.more summary:hover { color: var(--text); }
.steps .more { margin-top: 8px; }
.how-need { padding-top: 14px; border-top: 1px solid var(--line-dim); font: 400 13px/1.55 var(--f-mono); color: var(--muted); }
.how-need b { color: var(--brass); font-weight: 500; }
.cost--wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; border-right: 0; border-top: 1px solid var(--line-dim); }
.cost--wide p { flex: 1 1 360px; }
.cost--wide .btn { margin-top: 0; }
@media (max-width: 960px) { .cost--wide { display: grid; } }


/* request form */
.req { display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; align-items: end; }
.form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); min-width: 0; }
.fld { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fld > label, .fld legend { font: 500 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; }
.fld input[type="text"], .fld textarea { width: 100%; font: 400 17px/1.4 var(--f-body); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line-mid); padding: 8px 0; outline: none; resize: vertical; }
.fld input[type="text"]:focus, .fld textarea:focus { border-bottom-color: var(--brass); }
.fld .bad { border-bottom-color: #e07a5f; }
.chk { display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.agent-q { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.agent-q.bad .chk span { border-color: #e07a5f; }
.chk label { cursor: pointer; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--line-mid); font: 500 14px/1.2 var(--f-body); color: var(--text); transition: border-color .2s; }
.chk span::before { content: ''; width: 7px; height: 7px; border: 1px solid var(--brass); transform: rotate(45deg); transition: background .2s; }
.chk input:checked + span { border-color: var(--brass); }
.chk input:checked + span::before { background: var(--brass); }
.chk input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.form-end { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form .btn { cursor: pointer; }
.consent { font: 400 12px/1.5 var(--f-mono); color: var(--muted); }
.consent a { color: var(--brass); }
.agree { display: flex; align-items: flex-start; gap: 10px; font: 400 13px/1.5 var(--f-mono); color: var(--muted); cursor: pointer; }
.agree input { appearance: none; flex: none; display: grid; place-content: center; width: 16px; height: 16px; margin: 2px 0 0; border: 1px solid var(--brass); background: transparent; cursor: pointer; }
.agree input::before { content: ''; width: 8px; height: 8px; background: var(--brass); transform: scale(0); transition: transform .15s; }
.agree input:checked::before { transform: scale(1); }
.agree input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.agree.bad input { border-color: #e07a5f; }
.agree a { color: var(--brass); }
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 14px 24px; max-width: 760px; margin: 0 auto; padding: 14px 18px; border: 1px solid var(--line-mid); background: #061730; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.ck p { margin: 0; font: 400 13px/1.5 var(--f-mono); color: var(--muted); }
.ck a { color: var(--brass); }
.ck .btn { flex: none; cursor: pointer; }
@media (max-width: 620px) { .ck { flex-direction: column; align-items: flex-start; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font: 400 13px/1.5 var(--f-mono); color: var(--brass); border: 1px dashed var(--brass); padding: 10px 12px; }

/* faq */
.faq { display: grid; border-top: 1px solid var(--line-mid); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line-dim); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 500 18px/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 22px/1 var(--f-mono); color: var(--brass); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 70ch; }

/* footer: title block */
.foot { position: relative; z-index: 2; padding-block: 28px 64px; }
.foot .tb { max-width: 760px; }
.tb { width: 100%; border: 1.5px solid var(--line); font: 400 13px/1.4 var(--f-mono); background: var(--sheet); }
.tb td { border: 1px solid var(--line-mid); padding: 10px 12px; color: var(--muted); white-space: normal; font-weight: 400; vertical-align: middle; }
.tb td:first-child { color: var(--muted); font-weight: 400; white-space: nowrap; }
.tb .nm { color: var(--text); }
.tb .nm b { display: block; font: 700 26px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.tb a { color: var(--brass); }
.tb .c { text-align: center; color: var(--text); }

@media (max-width: 960px) {
  .sheet { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 88px 38px; }
  .sheet::before { inset: 8px 8px 8px 24px; }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { grid-column: span 1; }
  .card:last-child { grid-column: 1 / -1; }
  .how, .author { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row .btn { justify-self: start; }
  .term { position: static; }
  .costs { grid-template-columns: 1fr; }
  .cost { border-right: 0; border-bottom: 1px solid var(--line-dim); }
  .cost:last-child { border-bottom: 0; }
  .stamp { right: 8px; }
  .awards { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .aw-list li { grid-template-columns: 40px 92px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
  .photo.cut { width: 100%; max-width: 440px; margin-left: 0; }
  .photo.cut img { -webkit-mask-image: none; mask-image: none; }
  .photo.cut::after { width: auto; right: -12px; }
}
@media (max-width: 620px) {
  .scheme .sv-wide { display: none; }
  .hd-box, .hd-labels { height: 460px; }
  .scheme .sv-tall { display: block; max-width: 420px; }
  .tbk .tbk-name { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card:last-child { grid-column: auto; }
  .rvs { grid-template-columns: 1fr; }
  .tb { table-layout: fixed; }
  .tb td { padding: 8px; overflow-wrap: anywhere; }
  .tb td:first-child { white-space: normal; }
  .dlg-grid { grid-template-columns: 1fr; gap: 24px; }
  .dlg-sheet { padding: 40px 18px 84px 34px; }
  .dlg-sheet::before { inset: 8px 8px 8px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .meta div { grid-template-columns: 1fr; gap: 2px; }
  .pg { padding: 44px 18px 88px 36px; }
  .pg::before { inset: 8px 8px 8px 24px; }
}
@media (max-width: 560px) { .hd { grid-template-columns: 1fr; } .hd-labels, .hd-wires { display: none; } .hd-box { height: 420px; margin-inline: auto; } .hd-cap { position: static; margin-top: 10px; text-align: center; } }
@media (prefers-reduced-motion: reduce) {
  .swept { animation: none; }
  .dlg[open] .dlg-sheet, .dlg[open] .lb-sheet { animation: none; }
  .gal-prog { display: none; }
  .gal-sheet img, .gal-sheet::after { transition: none; }
  .blk rect, .src circle, .src path, .doc, .lst-line i, .hd-box img, .hd-text, .hd-label, .hd-wire, .hd-pt { transition: none; }
}

/* pages */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.page h1 { font-size: clamp(30px, 4vw, 54px); line-height: 1.02; }
.page h3 { margin-bottom: 12px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.page .dlg-lead { margin-bottom: 18px; }
.prose { display: grid; gap: 14px; max-width: 72ch; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose b { color: var(--text); font-weight: 500; }
.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }
.dirs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dir { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--line-mid); background: rgba(7, 31, 61, .72); transition: border-color .3s; }
.dir:hover { border-color: var(--brass); }
.dir b { font: 500 18px/1.2 var(--f-display); }
.dir span { color: var(--muted); font-size: 15px; }
.page .cta { margin-top: 4px; }
@media (max-width: 960px) { .dirs { grid-template-columns: 1fr 1fr; } .cols { grid-template-columns: 1fr; } }
.page td:first-child { white-space: normal; min-width: 9em; }
@media (max-width: 620px) {
  .dirs { grid-template-columns: 1fr; }
  .page .tbl thead { display: none; }
  .page .tbl tr { display: grid; gap: 4px; padding: 12px 14px; border-bottom: 1px solid var(--line-dim); }
  .page .tbl tr:last-child { border-bottom: 0; }
  .page .tbl td { padding: 0; border: 0; min-width: 0; }
  .page .tbl td[data-l]::before { content: attr(data-l); display: block; font: 400 11px/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}

/* articles */
.art-meta { font: 400 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.art-lead { display: grid; gap: 14px; max-width: 780px; font-size: 18px; }
.art-lead p:first-child { font-size: 20px; line-height: 1.55; }
.art-body { display: grid; gap: 18px; max-width: 780px; }
.art-body p, .art-body li { font-size: 17px; line-height: 1.7; }
.art-body ul, .art-body ol:not(.dlg-steps) { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.art-body h3 { margin: 10px 0 0; }
.art-body a:not(.btn):not(.dir), .art-lead a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.art-body code, .art-lead code { font: 400 14px/1.4 var(--f-mono); color: var(--brass); background: rgba(7, 31, 61, .72); border: 1px solid var(--line-dim); padding: 1px 5px; overflow-wrap: anywhere; }
.art-body pre.code { margin: 0; padding: 14px 16px; overflow-x: auto; font: 400 13.5px/1.6 var(--f-mono); color: var(--brass); background: #061730; border: 1px solid var(--line-mid); white-space: pre; }
.art-body pre.code code { border: 0; padding: 0; background: none; overflow-wrap: normal; }
.art h2 { font-size: clamp(24px, 2.6vw, 34px); }
.toc { display: grid; gap: 6px; margin: 0; padding: 14px 0 0; list-style: none; counter-reset: tc; border-top: 1px solid var(--line-dim); max-width: 780px; }
.toc li { counter-increment: tc; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
.toc li::before { content: counter(tc, decimal-leading-zero); font: 500 12px/1.9 var(--f-mono); color: var(--brass); }
.toc a:hover { color: var(--brass); }
.note { padding: 16px 20px; background: rgba(217, 166, 90, .08); box-shadow: inset 0 0 0 1px var(--brass); border-left: 4px solid var(--brass); }
.note p { font-size: 16px; }
.art-body .dlg-steps li { display: block; position: relative; padding-left: 46px; }
.art-body .dlg-steps li::before { position: absolute; left: 0; top: 12px; }
.art-body > *, .shot, .shot-frame { min-width: 0; }
.art-body .dlg-steps { grid-template-columns: minmax(0, 1fr); }
.art-body .term { position: static; }
.art-body .term .ttl { white-space: normal; flex-wrap: wrap; }
.art-body .term .ln-t { white-space: pre-wrap; }
/* screenshots in a drawing frame with numbered callouts */
.shot { margin: 8px 0; display: grid; gap: 10px; }
.shot-frame { position: relative; isolation: isolate; padding: 18px 18px 18px 30px; background-color: var(--sheet); background-image: linear-gradient(var(--line-dim) 1px, transparent 1px), linear-gradient(90deg, var(--line-dim) 1px, transparent 1px); background-size: 60px 60px; box-shadow: 0 24px 40px -20px rgba(2, 10, 22, .8); }
.shot-frame::before { content: ''; position: absolute; inset: 6px 6px 6px 20px; border: 1px solid var(--line-mid); pointer-events: none; z-index: -1; }
.shot-img { position: relative; }
.shot-img img { display: block; width: 100%; height: auto; border: 1px solid var(--line-mid); }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brass); color: var(--ink); font: 500 13px/1 var(--f-mono); box-shadow: 0 0 0 4px rgba(217, 166, 90, .28); }
.shot figcaption { display: flex; gap: 12px; align-items: baseline; font: 400 13px/1.5 var(--f-mono); color: var(--muted); }
.shot figcaption b { flex: none; color: var(--brass); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.legend { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--muted); }
.legend li::before { content: attr(data-n); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brass); color: var(--ink); font: 500 11px/1 var(--f-mono); margin-top: 2px; }
/* longread: sticky list of sections on the left, a bar on top on phones; the current section is lit by a script */
.guide { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.guide-main { min-width: 0; }
.guide-main .part { padding-top: 28px; }
.guide-nav { position: sticky; top: 16px; display: grid; gap: 2px; margin-top: 28px; padding: 6px 0; max-height: calc(100vh - 32px); overflow: auto; }
.guide-nav .k { padding: 0 12px 10px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.guide-nav a { padding: 8px 12px; border-left: 2px solid var(--line-dim); color: var(--muted); font-size: 15px; line-height: 1.3; }
.guide-nav a:hover { color: var(--text); }
.guide-nav a[aria-current="true"] { color: #fff; border-left-color: var(--brass); background: rgba(217, 166, 90, .08); }
.guide-main section[id] { scroll-margin-top: 16px; }
@media (max-width: 960px) {
  .guide { grid-template-columns: 1fr; gap: 0; }
  .guide-nav { position: sticky; top: 0; z-index: 30; display: flex; gap: 0; margin: 0 calc(-1 * clamp(16px, 3vw, 32px)); padding: 6px clamp(16px, 3vw, 32px); max-height: none; overflow-x: auto; background: rgba(7, 31, 61, .97); border-bottom: 1px solid var(--line-mid); scrollbar-width: none; }
  .guide-nav::-webkit-scrollbar { display: none; }
  .guide-nav .k { display: none; }
  .guide-nav a { flex: none; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; font-size: 14px; }
  .guide-nav a[aria-current="true"] { border-bottom-color: var(--brass); background: none; }
  .guide-main section[id] { scroll-margin-top: 60px; }
}
/* a message of the agent in the chat, text from a real session */
.msg { display: grid; gap: 10px; padding: 18px 20px; background: #061730; border: 1px solid var(--line-mid); font-size: 15px; line-height: 1.6; }
.msg-who { font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.msg p, .msg li { margin: 0; color: var(--text); font-size: 15px; }
.msg ol, .msg ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.msg + .msg { margin-top: 12px; }
.msg--me { margin-left: 15%; background: rgba(217, 166, 90, .08); border-color: var(--brass); }
.shot--narrow { max-width: 440px; }
/* in-article block that leads to the product: a fact about the task and two buttons */
.promo { display: grid; gap: 12px; max-width: 780px; padding: 20px 22px; background: rgba(217, 166, 90, .08); box-shadow: inset 0 0 0 1px var(--brass); border-left: 4px solid var(--brass); }
.promo .k { font: 500 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.promo p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.promo p b { display: block; margin-bottom: 4px; color: #fff; font-weight: 600; font-size: 19px; }
.cards-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .cards-art { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .shot-frame { padding: 10px 10px 10px 18px; }
  .shot-frame::before { inset: 4px 4px 4px 12px; }
  .pin { width: 22px; height: 22px; font-size: 11px; }
  .art-body p, .art-body li { font-size: 16px; }
}
