/* Page type and rhythm */
:root {
  color-scheme: light;
  --ground: #f5f6f3;
  --ink: #17211e;
  --muted: #485650;
  --accent: #005e55;
  --line: #bac4be;
  --soft: #e9ede8;
  --dark: #12171a;
  --heading: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --mono: ui-monospace, Consolas, monospace;
  --gutter: clamp(20px, 4.45vw, 64px);
  --section: clamp(48px, 5vw, 76px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 19px/1.42 var(--body); }
.wrap { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
h1, h2, h3, h4, p, blockquote, figure, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, h4, .name { font-family: var(--heading); font-weight: 600; }
h1 { font-size: clamp(54px, 5.5vw, 78px); line-height: .975; letter-spacing: -.032em; text-wrap: balance; }
h2 { font-size: clamp(36px, 3.3vw, 46px); line-height: 1.045; letter-spacing: -.022em; }
h3 { font-size: 28px; line-height: 1.13; }
h4 { font-size: 23px; line-height: 1.15; }
p { max-width: 58ch; }
a, summary { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .19em; }
a:hover, summary:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, summary, input[type=range]:enabled { cursor: pointer; }
button { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
section[id], #stream, #main { scroll-margin-top: 84px; }
img { display: block; max-width: 100%; }
.caption, figcaption, small { font: 400 15px/1.34 var(--body); color: var(--muted); }
figcaption { margin-top: 8px; }
.chapter { padding-block: var(--section); border-top: 1px solid var(--line); }
details { min-width: 0; }
summary { width: fit-content; max-width: 100%; font-weight: 600; padding-block: 6px; text-decoration: underline; }
details p { margin: 6px 0 12px; }
.skip { position: fixed; top: 6px; left: 8px; z-index: 10; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.mast { position: sticky; top: 0; z-index: 5; background: var(--ground); border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; gap: clamp(22px, 4vw, 60px); min-height: 60px; padding-block: 8px; }
.name { color: var(--ink); font-size: 25px; line-height: 1.2; margin-right: auto; overflow-wrap: anywhere; }
.projects { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.projects a, .contact-link { font-size: 16px; font-weight: 600; }
.contact-link { padding-left: 24px; border-left: 1px solid var(--line); }

.opening { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 3.8vw, 58px); align-items: center; padding-block: var(--section); }
.intro > p:first-of-type { margin-top: 24px; }
.role { margin-top: 24px; }
.email { display: inline-block; font-weight: 600; overflow-wrap: anywhere; }
.below { max-width: 43ch; margin-top: 14px; }
.service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 10px; }
.service-head h2 { font-size: clamp(23px, 2vw, 30px); overflow-wrap: anywhere; }
.service-head a, .originals, .original, .actions a:last-child { font-size: 16px; font-weight: 600; }
#scene { background: var(--dark); color: #fff; overflow-x: clip; }
.scene-field { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 12px; padding: 18px; }
#rwStage { position: relative; min-width: 0; min-height: 100px; }
/* A positioned fit keeps the unscaled widget out of the grid's intrinsic width. */
#rwFit { position: absolute; left: 0; top: 0; width: max-content; padding: 19px 4px 8px; transform-origin: 0 0; }
#rwFit .rw-float { top: -22px; right: 10px; }
.scene-feeds { display: grid; min-width: 0; }
.scene-feeds iframe { display: block; width: 100%; border: 0; color-scheme: normal; pointer-events: none; }
.chat { height: 330px; }
.music { height: 100px; }
.scene-still { width: 100%; height: auto; }
.scene-caption { display: grid; gap: 8px; }
.demo-label { font-weight: 600; }
.selectors { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.seg { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.seg > span { margin-right: 4px; }
.seg button, .editor button { padding: 4px 8px; font: 600 15px/1.3 var(--body); border: 1px solid var(--line); background: transparent; }
.seg button.is-on, .editor button.is-on { color: white; background: var(--accent); border-color: var(--accent); }
button:hover { border-color: var(--ink); }
html:not(.js) :is(.scene-field, .selectors, #edPresets, .ed__lang) { display: none; }

/* Three beats share a route; the three readers share one record. */
.account-trace { margin-top: 24px; }
.beat { --route: var(--ink); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 94px); align-items: center; padding: 13px 0 13px 22px; position: relative; }
.beat::before, .readers::before { content: ""; position: absolute; bottom: 0; left: 5px; top: 0; border-left: 2px solid var(--route, var(--ink)); }
.beat:first-child::before { top: 50%; }
.track { display: grid; grid-template-columns: minmax(0, .88fr) minmax(20px, .32fr) minmax(0, 1.2fr); align-items: center; gap: 0; position: relative; }
.track::before { content: ""; position: absolute; left: -21px; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--route); background: var(--ground); }
.track > b { border: 1px solid var(--route); padding: 8px 12px; font-weight: 600; }
.inputs { display: grid; gap: 6px; border-right: 1px solid var(--route); }
.inputs > * { display: flex; align-items: center; gap: 8px; }
.inputs > *::after { content: ""; flex: 1; border-top: 1px solid var(--route); }
.inputs > strong::after, .matched + .wire { border-top-width: 3px; }
.wire { border-top: 1px solid var(--route); }
.matched { color: var(--ink); }
.beat-copy p { color: var(--muted); margin-top: 4px; }
.readers { position: relative; display: flex; gap: 20px; align-items: center; padding: 14px 0 0 24px; }
.readers::before { bottom: 36%; border-bottom: 2px solid var(--ink); width: 12px; }
.fork { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 0 0; }
.fork li { position: relative; padding: 5px 12px; border: 1px solid var(--ink); font: 600 16px/1.3 var(--body); }
.fork li::before { content: ""; position: absolute; bottom: 100%; left: 50%; height: 9px; border-left: 1px solid var(--ink); }
.fork li::after { content: ""; position: absolute; bottom: calc(100% + 8px); left: -5px; right: -1px; border-top: 1px solid var(--ink); }
.fork li:first-child::after { left: 50%; }
.fork li:last-child::after { right: 50%; }
.readers, .publication { flex-direction: column; align-items: flex-start; gap: 0; }
.readers::before { bottom: auto; height: 26px; }
.readers .fork, .publication .fork { position: relative; padding-top: 16px; }
.fork::before { content: ""; position: absolute; top: 0; height: 8px; left: 50%; border-left: 1px solid var(--ink); }
.account-trace figcaption { margin: 12px 0 0 24px; }
.service-details { display: flex; flex-wrap: wrap; align-items: start; gap: 4px 36px; margin-top: 20px; padding-top: 10px; border-top: 1px solid var(--line); }
.service-details details { flex: 1 1 280px; }

/* Screen choices become buttons only after all their figures are present. */
.status { margin-top: 12px; }
.viewer { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.screen-index { list-style: none; padding: 0; align-self: start; border-top: 1px solid var(--line); }
.screen-index :is(a, button) { display: block; width: 100%; text-align: left; padding: 14px 12px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font: 600 22px/1.1 var(--heading); }
.screen-index small { display: block; padding-top: 5px; }
.screen-index button[aria-pressed=true] { background: var(--soft); box-shadow: inset 3px 0 var(--accent); color: var(--accent); }
.plates { min-width: 0; }
.capture { display: block; background: var(--dark); aspect-ratio: 16 / 9; }
.capture picture { display: contents; }
.capture img { width: 100%; height: 100%; object-fit: contain; }
.plates figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.demo-data { margin-top: 4px; }

/* The vertical rule intersects every artefact, including the publication fork. */
.post-diagram { margin-top: 24px; }
.flow { --label: clamp(118px, 15%, 185px); --reach: 100%; position: relative; }
.rail { position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--label); width: 2px; background: var(--line); }
.rail::before { content: ""; display: block; width: 100%; height: var(--reach); background: var(--accent); }
.rail i { position: absolute; left: 50%; top: var(--reach); width: 12px; height: 12px; border: 3px solid var(--accent); border-radius: 50%; background: var(--ground); transform: translate(-50%, -50%); }
.band { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); padding-block: 20px; border-top: 1px solid var(--line); }
.band:last-child { border-bottom: 1px solid var(--line); }
.band > h3 { padding-right: 14px; color: var(--accent); }
.stops { display: grid; gap: 16px; }
.junction { position: relative; padding-left: 30px; }
.junction::before { content: ""; position: absolute; top: 12px; left: 1px; width: 21px; border-top: 2px solid var(--accent); }
.junction::after { content: ""; position: absolute; top: 9px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
blockquote { max-width: 52ch; padding-left: 14px; border-left: 3px solid var(--ink); font: 600 clamp(21px, 2vw, 28px)/1.18 var(--heading); }
.record-note { font-size: 16px; margin-top: 8px; }
.edit-chip { display: inline-block; background: var(--soft); padding: 3px 9px; font-size: 16px; }
.edit-chip::before { content: "↩ "; }
.handoff { font-size: 15px; font-weight: 600; color: var(--accent); margin-top: 5px; }
.junction .caption { margin-top: 5px; }
.fields { display: flex; flex-wrap: wrap; margin-top: 8px; border-block: 1px solid var(--line); width: fit-content; padding-block: 8px; gap: 6px 24px; }
.fields dt, .size-values dt, .ticket dt { font: 400 15px/1.3 var(--body); color: var(--muted); }
.fields dd, .ticket dd, .size-values dd, .slider output { font: 500 16px/1.45 var(--mono); font-variant-numeric: tabular-nums; }
.checks, .booking { display: grid; gap: 2px; }
.branch { margin-left: 12px; border-left: 1px dashed var(--muted); padding: 4px 0 0 12px; }
.ticket-group { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.ticket { padding: 14px 16px; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: #fff; }
.ticket dl { margin: 12px 0; }
.ticket dl > div { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 1px 12px; padding-block: 4px; border-bottom: 1px dotted var(--line); }
.sizing { padding: 12px 0; border-top: 1px solid var(--line); }
.sizing label, .search-demo label { font-weight: 600; }
.slider { display: flex; align-items: center; gap: 12px; margin-block: 6px; }
.slider input { width: 100%; min-width: 0; margin: 0; accent-color: var(--accent); }
.size-values { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 6px; }
.sizing details { font-size: 16px; }
.publication { display: flex; }
.evidence { max-width: 100ch; margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .account-trace.tracing .beat { --route: #7c8881; }
  .account-trace.tracing .beat.active { --route: var(--accent); }
  .tracing .beat:not(.active) .track::before { border-radius: 0; width: 6px; height: 6px; margin: 2px; background: var(--route); }
  .tracing .beat.active .track > b { border-width: 2px; padding: 7px 11px; }
  .following .publication .fork li::after {
    height: 1px; border: 0; background: linear-gradient(var(--accent), var(--accent)) left / var(--fork-ink) 100% no-repeat, var(--line);
  }
  .following .publication .fork li:first-child::after { background-position: right; }
  .following .publication .fork li::before {
    border: 0; width: 1px; background: linear-gradient(var(--accent), var(--accent)) top / 100% var(--fork-tip) no-repeat, var(--line);
  }
  .following .junction > * { translate: 0 10px; transition: translate .24s ease-out; }
  .following .junction.reached { opacity: 1; }
  .following .junction.reached > * { translate: none; }
  .following .junction { transition: opacity .24s ease-out; }
  .following .junction:not(.reached)::before, .following .junction:not(.reached) .fork li::before,
  .following .junction:not(.reached) .fork li::after { border-color: var(--line); }
  .following .junction:not(.reached)::after { background: var(--line); }
}

/* Proposed parts are outlined with dashes and stay in document flow. */
.next { background: #e5eff6; padding-block: calc(var(--section) * .55); }
.blueprint { display: grid; grid-template-columns: minmax(0, .7fr) minmax(20px, .15fr) minmax(0, 1.2fr) minmax(20px, .15fr) minmax(0, 1.3fr); align-items: center; margin-block: 24px 8px; }
.variants { display: grid; gap: 10px; position: relative; margin-right: 12px; }
.variants::after { content: ""; position: absolute; left: 100%; top: 22%; bottom: 22%; width: 12px; border: 1px dashed var(--muted); border-left: 0; }
.variants span, .plan-box { border: 1px dashed var(--muted); padding: 10px 16px; }
.plan-box p, .graph-links { margin-top: 5px; }
.graph-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.graph-links ul { list-style: none; border-left: 1px dashed var(--muted); padding-left: 0; }
.graph-links li::before { content: ""; display: inline-block; width: 12px; border-top: 1px dashed var(--muted); vertical-align: middle; margin-right: 5px; }
.plan-wire { border-top: 1px dashed var(--muted); position: relative; }
.plan-wire::after { content: ""; position: absolute; right: 2px; top: -4px; width: 7px; height: 7px; border: solid var(--muted); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.rollout { margin-top: 14px; max-width: 68ch; }
#tools { border: 0; }
.tool-row, .contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 40px; }
.tool-row { padding-block: 18px; border-top: 1px solid var(--line); }
.tool-row:first-of-type { margin-top: 24px; }
.originals, .actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; }
.originals, .original { margin-block: 4px; }
.original { display: inline-block; }
.tool-row summary { font-size: 17px; }
.search-demo, .editor { border: 1px solid var(--line); padding: 16px; margin-block: 6px; }
.search-demo input { display: block; width: min(100%, 28em); background: white; color: var(--ink); border: 1px solid var(--muted); padding: 7px 10px; margin-block: 6px; }
#dxOut, #edVersions { list-style: none; padding: 0; }
#dxOut li, #edVersions li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; padding: 4px 0; }
#dxOut em, #edVersions em { font-size: 15px; color: var(--muted); }
.editor { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 16px; }
#edPresets { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.menu-preview { padding: 12px; border-left: 2px solid var(--accent); background: var(--soft); }
.menu-preview h4, .menu-preview dl { margin-top: 12px; }
.menu-preview dd { font-weight: 600; }
.ed__lang { display: flex; gap: 4px; }
#edOrder { display: inline-block; margin-top: 8px; font-weight: 600; }
.contact .caption, .actions { margin-top: 12px; }

@media (max-width: 1000px) {
  .opening { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .scene-field { gap: 8px; padding: 12px; }
  .viewer { grid-template-columns: 170px minmax(0, 1fr); gap: 14px; }
  .ticket-group { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 38px; }
  body { font-size: 17px; line-height: 1.42; }
  h1 { font-size: 46px; line-height: 1; }
  h2 { font-size: 32px; line-height: 1.063; }
  h3 { font-size: 24px; }
  .mast-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; min-height: 0; }
  .name { grid-column: 1; grid-row: 1; font-size: 22px; }
  .contact-link { grid-column: 2; grid-row: 1; padding: 0; border: 0; }
  .projects { grid-column: 1 / -1; grid-row: 2; gap: 3px 18px; }
  .opening { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 28px; }
  .intro > p:first-of-type, .role { margin-top: 14px; }
  .below { margin-top: 8px; max-width: none; }
  .scene-field { grid-template-columns: minmax(0, 1fr); padding: 17px 10px 10px; }
  #rwStage { min-width: 300px; }
  .scene-caption { gap: 5px; }
  .selectors { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; max-width: 420px; }
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .seg > span { grid-column: 1 / -1; }
  .seg button { padding: 5px 3px; }
  .beat { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 0 14px 22px; }
  .beat-copy { grid-row: 1; }
  .beat:first-child::before { top: 17px; }
  .track { font-size: 16px; grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .track .wire { height: 12px; margin-left: 18px; border-top: 0; border-left: 2px solid var(--route); }
  .track .matched + .wire { border-left-width: 3px; }
  .inputs { display: flex; gap: 12px; border: 0; }
  .inputs > * { position: relative; padding-bottom: 4px; }
  .inputs > *::after { position: absolute; top: 100%; height: 5px; left: 18px; width: calc(100% + 12px); border: 0; border-left: 1px solid var(--route); border-bottom: 1px solid var(--route); }
  .inputs > strong::after { width: 0; border-left-width: 3px; }
  .track > b { padding: 7px 8px; }
  .fork li { padding: 5px 8px; }
  .service-details { gap: 0; }
  .service-details details { flex-basis: 100%; }
  .viewer { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .screen-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .screen-index :is(a, button) { padding: 9px 6px; font-size: 19px; }
  .screen-index button small { display: none; }
  .capture { aspect-ratio: auto; }
  .capture img { height: auto; }
  [data-plate=mini] .capture img { display: block; width: auto; max-width: 100%; max-height: 76vh; margin-inline: auto; }
  .flow { --label: 5px; }
  .band { display: block; padding-block: 16px; }
  .band > h3 { margin: 0 0 12px 28px; }
  .stops { margin-left: var(--label); gap: 14px; }
  .junction { padding-left: 23px; }
  .junction::before { width: 15px; }
  .ticket-group { gap: 12px; }
  .fields { gap: 6px 18px; }
  .ticket { padding: 12px; }
  .blueprint { grid-template-columns: minmax(0, 1fr); }
  .variants { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 12px; text-align: center; }
  .variants::after { left: 25%; right: 25%; top: 100%; height: 12px; width: auto; border-width: 0 1px 1px; border-style: dashed; }
  .plan-wire { width: 0; height: 18px; justify-self: center; border: 0; border-left: 1px dashed var(--muted); }
  .plan-wire::after { top: auto; right: -3px; bottom: 2px; transform: rotate(135deg); }
  .tool-row, .contact, .editor { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .editor { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #scene *, #scene *::before, #scene *::after { animation: none !important; transition: none !important; }
  .rail::before { height: 100%; }
  .rail i { top: 100%; }
  .scene-feeds { min-height: 0; aspect-ratio: 1342 / 628; background: url("img/scene_feeds_still.webp") center / 100% 100% no-repeat; }
}

/* ---- polish after the first browser pass ---- */
/* scene: the rank card leads, chat and music share the row below */
.scene-field { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 4px; padding: 20px 22px 18px; }
.scene-feeds { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 18px; }
.chat { height: 290px; }
/* smaller tools: screenshots are visible and open at full size */
.thumbs { display: flex; gap: 10px; margin-block: 12px 8px; }
.thumbs a { display: block; border: 1px solid var(--line); background: var(--dark); line-height: 0; }
.thumbs img { display: block; height: 230px; width: auto; }
.thumbs--wide { flex-wrap: wrap; align-items: flex-start; }
.thumbs--wide a { width: calc(50% - 5px); }
@media (max-width: 760px) { .thumbs--wide a { width: 100%; } }
.thumbs--wide img { height: auto; width: 100%; }
.scale { display: flex; flex-wrap: wrap; gap: 6px 34px; margin: 14px 0 26px; padding: 0; list-style: none; color: var(--muted); font-size: 16px; }
.scale b { font: 600 22px/1 var(--heading); color: var(--ink); margin-right: 5px; }
.thumbs a:hover, .thumbs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* contact: the address is the largest thing in the block */
.contact .email { font: 600 clamp(24px, 2.6vw, 34px)/1.15 var(--heading); letter-spacing: -.01em; }
.contact .actions { align-items: baseline; gap: 10px 28px; margin-top: 20px; }
@media (max-width: 760px) {
  .scene-field { padding: 17px 10px 10px; }
  .scene-feeds { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .chat { height: 250px; }
  .thumbs img { height: 170px; }
  .thumbs--wide img { height: auto; width: 100%; }
}

/* ---- after the independent review ---- */
.reach { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.scene-caption .caption { display: block; }
.broadcast:not(.is-live) .selectors { display: none; }
html:not(.js) .needs-js { display: none; }
.sizing pre { margin: 8px 0 0; padding: 12px 14px; background: var(--dark); color: #e6ebe8; font: 13.5px/1.5 var(--mono); overflow-x: auto; }
.chapter > .status { max-width: 62ch; }
@media (min-width: 761px) {
  .plates figcaption { justify-content: flex-end; }
  .plates figcaption > span { display: none; }
}
@media (max-width: 760px) {
  .broadcast { display: flex; flex-direction: column; }
  .broadcast .service-head { order: 0; }
  .broadcast .scene-caption { order: 1; margin-bottom: 12px; }
  .broadcast #scene { order: 2; }
  .screen-index { grid-template-columns: repeat(5, auto); }
  .screen-index :is(a, button) { padding: 9px 4px; font-size: 17px; text-align: center; }
}
.slider output { white-space: nowrap; }
@media (max-width: 760px) {
  .plates figure:not([data-plate=mini]) figcaption > span::before { content: "Detail. "; font-weight: 600; }
}
@media (min-width: 761px) {
  /* The portrait Mini screen is shown at reading size from the top and fades out; the link opens all of it. */
  [data-plate=mini] .capture img { display: block; width: min(350px, 100%); margin-inline: auto; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
}
