/* Example sites v2 (dylm/demo/v2.py): the shared shell and components. Versioned name: never change this file after a
   first send without a new name (plan 2026-10-12, review). Each trade (ex2-<key>.css) sets its own world on top.
   Brand colours arrive as custom properties from the page, each contrast-checked in Python (render.palette()). */
@font-face { font-family: "DYL Sans"; src: url("/fonts/DYLSans-Latin.woff2") format("woff2"); font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--accent); overflow-x: clip;
}
::selection { background: var(--accent); color: var(--on-accent); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus, currentColor); outline-offset: 3px; }
[hidden] { display: none !important; }

:root {
  --gutter: clamp(16px, 4.4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --top-h: 76px;
}
.x-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.x-skip { position: absolute; left: var(--gutter); top: -100px; z-index: 60; background: var(--paper); color: var(--ink); padding: 8px 16px; }
.x-skip:focus { top: 8px; }

/* page-to-page: a cross-fade with the header held still (View Transitions between static pages) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .x-top { view-transition-name: x-top; }
  ::view-transition-old(root) { animation: 260ms var(--ease-io) both x-vt-out; }
  ::view-transition-new(root) { animation: 420ms var(--ease) both x-vt-in; }
}
@keyframes x-vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes x-vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- header ---------- */
.x-top { position: relative; z-index: 20; color: var(--ink); }
.x-top-over, .x-top-dark { color: #fff; }
.x-top-over { position: absolute; inset: 0 0 auto; background: linear-gradient(rgba(10, 10, 12, .62), rgba(10, 10, 12, 0)); }
.x-top-dark { background: var(--ground); }
.x-bar { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); min-height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.x-brand { text-decoration: none; display: inline-flex; align-items: stretch; min-height: 44px; }
.x-nav { display: none; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.x-nav a { position: relative; text-decoration: none; padding: 12px 0; font-size: .9375rem; font-weight: 500; letter-spacing: .01em; }
.x-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.x-nav a:hover::after, .x-nav a[aria-current]::after { transform: scaleX(1); }
.x-menu { position: relative; }
.x-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1.5px solid currentColor; font-weight: 600; font-size: .9375rem; }
.x-menu summary::-webkit-details-marker { display: none; }
.x-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; display: grid; background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); padding: 8px 0; }
.x-menu-panel a { padding: 12px 20px; text-decoration: none; font-weight: 500; }
.x-menu-panel a[aria-current] { color: var(--accent); }
@media (min-width: 900px) { .x-nav { display: flex; } .x-menu { display: none; } }

/* ---------- buttons and links ---------- */
.x-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; padding: 0 22px 0 24px;
  background: var(--btn); color: var(--on-btn); border: 0; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em; transition: background-color .2s, transform .2s;
}
.x-btn:hover { background: color-mix(in srgb, var(--btn) 84%, #000); }
.x-btn:active { transform: translateY(1px); }
.x-btn .arw, .x-link .arw, .x-more .arw { transition: transform .3s var(--ease); flex: none; }
.x-btn:hover .arw, .x-link:hover .arw, .x-more:hover .arw { transform: translateX(4px); }
.x-btn-ghost { display: inline-flex; align-items: center; min-height: 54px; padding: 0 22px; background: transparent; border: 1.5px solid currentColor; cursor: pointer; font-weight: 600; }
.x-btn-ghost:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.x-link, .x-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; min-height: 44px; }
.x-link:hover, .x-more:hover { text-decoration: underline; }
.x-small { font-size: .8125rem; line-height: 1.5; opacity: .82; }
.x-lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.45; max-width: 38ch; }

/* a made-up fact on the fictional example */
.vb {
  display: inline-block; vertical-align: .18em; margin-left: .4em; padding: 2px 6px 3px;
  font-family: var(--text); font-size: .625rem; font-weight: 600; font-style: normal; line-height: 1; letter-spacing: .08em;
  text-transform: uppercase; color: inherit; border: 1px dashed currentColor; border-radius: 2px; opacity: .78; white-space: nowrap;
}

/* ---------- before/after ---------- */
.ba { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--ground); --pos: 50%; }
.ba-stage { position: absolute; inset: 0; }
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ba-x, 50%) var(--ba-y, 50%); }
.ba-na { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); pointer-events: none; }
.ba-knob { position: absolute; top: var(--knob-y, 50%); left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; color: #16181a; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease); }
.ba.is-drag .ba-knob { transform: scale(.92); }
.ba-tag { position: absolute; top: var(--tag-y, 20px); padding: 6px 12px; background: rgba(16, 17, 19, .74); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba-tag-voor { right: calc(100% - var(--pos) + 12px); }   /* the labels travel with the line */
.ba-tag-na { left: calc(var(--pos) + 12px); }
.ba-range { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--focus, #fff); outline-offset: 4px; }

/* ---------- figures ---------- */
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.fig dt { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 2.2rem + 3vw, 5.5rem); line-height: .9; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.fig-u { font-size: .4em; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.fig dd { margin-top: 10px; max-width: 22ch; font-size: .9375rem; line-height: 1.45; }
.figs-note { margin-top: 20px; font-size: .75rem; opacity: .7; }
@media (min-width: 900px) { .figs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .figs-s { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- filters ---------- */
.flt { display: flex; flex-wrap: wrap; gap: 8px; }
.flt-b { min-height: 44px; padding: 0 18px; border: 1.5px solid currentColor; background: transparent; cursor: pointer; font-weight: 600; font-size: .9375rem; transition: background-color .2s, color .2s; }
.flt-b:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.flt-b[aria-pressed="true"] { background: var(--flt-on, currentColor); color: var(--flt-on-ink, var(--ground)); border-color: var(--flt-on, currentColor); }
[data-kind].is-out { display: none; }
.pin.is-out { display: block; opacity: .16; pointer-events: none; }

/* ---------- project map ---------- */
.pmap { margin: 0; display: grid; gap: 10px; }
.pmap-in { position: relative; }
.pmap .art-map { width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -50%); text-decoration: none; transition: opacity .3s; padding: 6px; margin: -6px; }
.pin-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--pin-ring, #fff); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .4); }
.pin-l { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap; padding: 6px 10px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.3; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.pin-l small { display: block; font-weight: 400; opacity: .78; }
.pin:hover .pin-l, .pin:focus-visible .pin-l { opacity: 1; transform: translate(-50%, 0); }
.pmap figcaption { font-size: .75rem; opacity: .72; }

/* ---------- planning bar ---------- */
.plan { display: grid; grid-template-columns: repeat(var(--n, 1), auto); gap: 4px; counter-reset: wk; }
@media (min-width: 760px) {
  .plan { display: flex; }
  .plan li { flex: var(--w) 1 0; min-width: 120px; }
}
.plan li { display: grid; gap: 8px; align-content: start; }
.plan-bar { height: 14px; background: var(--accent); }
.plan li:nth-child(2n) .plan-bar { background: color-mix(in srgb, var(--accent) 66%, var(--paper)); }
.plan-name { font-weight: 600; line-height: 1.3; }
.plan-w { font-size: .875rem; opacity: .75; font-variant-numeric: tabular-nums; }

/* ---------- breadcrumbs ---------- */
.x-crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8125rem; font-weight: 500; letter-spacing: .01em; }
.x-crumb li { display: inline-flex; align-items: center; }
.x-crumb li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; }
.x-crumb a { text-decoration: none; opacity: .78; padding: 6px 0; }
.x-crumb a:hover { opacity: 1; text-decoration: underline; }
.x-crumb [aria-current] { opacity: 1; }

/* ---------- planning chart (gantt) ---------- */
.gantt { display: grid; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.gantt-row { display: grid; grid-template-columns: minmax(118px, 15rem) minmax(420px, 1fr); gap: 16px; align-items: center; }
.gantt-l { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.gantt-track { position: relative; display: grid; grid-template-columns: repeat(var(--weeks), minmax(0, 1fr)); min-height: 40px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--weeks) - 1px), color-mix(in srgb, currentColor 14%, transparent) calc(100% / var(--weeks) - 1px) calc(100% / var(--weeks))); }
.gantt-head .gantt-track { min-height: 0; background: none; }
.gantt-w { grid-column: var(--s); font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .7; text-align: center; }
.gantt-bar { grid-row: 1; grid-column: var(--s) / span var(--n); align-self: center; height: 30px; margin: 0 2px; display: flex; align-items: center; padding: 0 10px; overflow: hidden; background: var(--accent); color: var(--on-accent); font-size: .75rem; font-weight: 600; white-space: nowrap; }
/* three phases, three clearly different fills: the accent, a cool slate, and a pale sand with an ink edge; text >= 4.5:1 on each */
.gantt-p1 { background: #34506a; color: #fff; }
.gantt-p2 { background: color-mix(in srgb, var(--accent) 22%, var(--paper)); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.gantt-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: .875rem; }
.gantt-key li { display: inline-flex; align-items: center; gap: 8px; }
.gantt-key span { width: 18px; height: 10px; background: var(--accent); }
.gantt-key .gantt-p1 { background: #34506a; }
.gantt-key .gantt-p2 { background: color-mix(in srgb, var(--accent) 22%, var(--paper)); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- step form ---------- */
.sf { display: grid; gap: 28px; align-content: start; }
.sf-prog { display: none; }
.js .sf-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: .8125rem; font-weight: 600; }
.sf-prog li { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid color-mix(in srgb, var(--ink) 16%, transparent); opacity: .6; }
.sf-prog li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .75rem; }
.sf-prog li.is-done, .sf-prog li.is-now { opacity: 1; border-top-color: var(--accent); }
.sf-prog li.is-done span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sf-step { display: grid; gap: 18px; }
.sf-step legend { padding: 0; margin-bottom: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem); line-height: 1; text-transform: uppercase; }
.sf-n { display: block; margin-bottom: 10px; font-family: var(--text); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: none; opacity: .7; }
.js .sf-step:not(.is-now) { display: none; }
.js .sf-step.is-now { animation: sf-in .5s var(--ease) both; }
@keyframes sf-in { from { opacity: 0; transform: translateX(18px); } }
.sf-opts { display: grid; gap: 10px; }
.sf-opts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1200px) { .sf-opts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sf-sizes { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.sf-sizes + .sf-sizes { margin-top: 10px; }
.js .sf-sizes:not(.is-for) { display: none; }
.sf-opt { position: relative; display: grid; gap: 4px; align-content: start; min-height: 96px; padding: 18px 20px; background: var(--field, #fff); border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.sf-opt:hover { border-color: var(--ink); }
.sf-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sf-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sf-opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.sf-opt-t { font-weight: 700; font-size: 1.125rem; }
.sf-opt-h { font-size: .9375rem; opacity: .78; line-height: 1.4; }
.sf-opt-b { margin-top: 8px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.sf-row { display: grid; gap: 16px; }
@media (min-width: 700px) { .sf-row { grid-template-columns: 1fr 1fr; } }
.sf-field { display: grid; gap: 8px; font-weight: 600; font-size: .9375rem; }
.sf-field small { font-weight: 400; opacity: .7; }
.sf-field :is(input, select, textarea) { width: 100%; min-height: 54px; padding: 12px 14px; background: var(--field, #fff); border: 1.5px solid color-mix(in srgb, var(--ink) 40%, transparent); border-radius: 0; font-weight: 400; font-size: 1rem; }
.sf-field textarea { min-height: 96px; resize: vertical; }
.sf-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.sf-field [aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }
.sf-agenda { display: grid; gap: 14px; margin-top: 8px; }
.sf-agenda-l { font-weight: 600; }
.sf-agenda-l small { display: block; font-weight: 400; opacity: .72; }
.sf-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sf-days li { display: grid; gap: 6px; padding: 12px; background: var(--field, #fff); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.sf-day { font-weight: 700; font-size: .875rem; }
.sf-day::first-letter { text-transform: uppercase; }
.sf-slot { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 12px; border: 1.5px solid color-mix(in srgb, var(--ink) 20%, transparent); cursor: pointer; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.sf-slot input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sf-slot:hover { border-color: var(--ink); }
.sf-slot:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sf-slot:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.sf-slot.is-full { cursor: not-allowed; opacity: .45; text-decoration: line-through; }
.sf-slot small { font-size: .75rem; text-decoration: none; }
.sf-err { padding: 12px 16px; border: 2px solid #b3261e; background: color-mix(in srgb, #b3261e 8%, var(--field, #fff)); color: #8c1d18; font-weight: 600; }
.sf-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.sf-nav [data-sf-prev][disabled] { visibility: hidden; }
.sf-local { font-size: .8125rem; opacity: .75; }
.sf-result { display: grid; gap: 20px; outline: none; animation: sf-in .6s var(--ease) both; }
.sf-result h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1; text-transform: uppercase; }
.sf-result-lead { max-width: 52ch; }
.js .sf.is-done > :not(.sf-result) { display: none; }
.mail { background: #fff; color: #1d2023; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .08); }
.mail-h { display: grid; gap: 6px; padding: 18px 22px; border-bottom: 1px solid #e3e3e0; font-size: .9375rem; }
.mail-h span { display: inline-block; min-width: 9.5em; color: #6b6f73; }
.mail-subj strong { font-weight: 700; }
.mail-b { display: grid; padding: 8px 22px 18px; }
.mail-b div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #efefec; }
.mail-b div:last-child { border-bottom: 0; }
.mail-b dt { color: #6b6f73; font-size: .9375rem; }
.mail-b dd { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .mail-b div { grid-template-columns: 1fr; gap: 2px; } .mail-h span { min-width: 0; margin-right: 6px; } }

/* ---------- DYL's own band: what a site like this costs (DYL Statement identity, not the trade's) ---------- */
.x-dyl { background: #0a0a0a; color: #fff; padding: clamp(64px, 8vw, 112px) 0; font-family: "DYL Sans", "Helvetica Neue", Arial, sans-serif; }
.x-dyl-grid { display: grid; gap: 32px; }
.x-dyl-mark .dyl-wm { width: 96px; height: auto; margin-bottom: 28px; }
.x-dyl h2 { font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 1.443rem + 2.286vw, 3.5rem); line-height: .95; letter-spacing: -.03em; max-width: 14ch; }
.x-dyl-body { display: grid; gap: 22px; max-width: 38rem; font-size: 1.0625rem; line-height: 1.5; color: #e6e6e6; }
.x-dyl-line { font-weight: 700; font-size: 1.1875rem; color: #fff; padding-bottom: 20px; border-bottom: 1px solid #3a3a3a; }
.x-yes { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; padding: 0 22px 0 24px; background: #ffd640; color: #0a0a0a; font-weight: 700; font-stretch: 110%; text-decoration: none; transition: background-color .2s, color .2s; }
.x-yes:hover { background: #fff; }
.x-yes:focus-visible { outline: 3px solid #ffd640; outline-offset: 3px; }
@media (min-width: 900px) { .x-dyl-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } }

/* ---------- footer ---------- */
.x-foot { background: var(--ground); color: color-mix(in srgb, var(--paper) 76%, var(--ground)); font-size: .875rem; padding: 56px 0 120px; }
.x-foot-grid { display: grid; gap: 32px; }
.x-foot a { color: inherit; }
.x-foot-nav { display: grid; gap: 4px; align-content: start; }
.x-foot-nav a { text-decoration: none; padding: 6px 0; }
.x-foot-nav a:hover { text-decoration: underline; color: #fff; }
.x-foot-note { display: grid; gap: 10px; max-width: 60ch; }
@media (min-width: 900px) { .x-foot-grid { grid-template-columns: 1fr 1fr 2fr; gap: 48px; } .x-foot { padding-bottom: 72px; } }

/* ---------- dock: the corner fiction label (all sizes) and the sticky action (phones) ---------- */
.x-dock { position: fixed; z-index: 40; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.x-dock > * { pointer-events: auto; }
.x-fict { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px; background: rgba(10, 10, 10, .86); color: #fff; text-decoration: none; font: 500 .75rem/1 "DYL Sans", "Helvetica Neue", Arial, sans-serif; letter-spacing: .01em; }
.x-fict .dyl-wm { width: 26px; height: auto; }
/* from tablets up the label stands upright in the left corner, inside the page gutter, clear of the content */
@media (min-width: 760px) {
  .x-dock { left: 0; bottom: 24px; }
  .x-fict { writing-mode: vertical-rl; transform: rotate(180deg); min-height: 0; min-width: 28px; padding: 10px 6px; gap: 8px; font-size: .6875rem; }
  .x-fict .dyl-wm { width: 22px; transform: rotate(90deg); }
  /* a long company name in a real demo's label never runs off the screen (shared round 2) */
  .x-fict { max-height: calc(100vh - 48px); }
  .x-fict > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.x-fict:hover { background: #0a0a0a; }
.x-dock-act { display: none; }
@media (max-width: 759px) {
  .x-dock { left: 0; right: 0; bottom: 0; gap: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--ground) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .4s var(--ease); }
  .x-fict { flex: none; min-height: 48px; background: transparent; padding: 0 12px 0 4px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; font-size: .6875rem; }
  .x-dock-act { flex: 1; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 16px 0 18px; background: var(--btn); color: var(--on-btn); text-decoration: none; font-weight: 600; font-size: .9375rem; }
  /* shared round 2: a long company name ("Voorbeeld voor Van der Heijden-Oosterbroek, alleen voor u") shrinks the label
     to at most two lines and the action wraps, so the bar never gets wider than the screen; short names lay out as before */
  .x-fict { flex: 0 1 auto; min-width: 0; max-width: 46%; }
  .x-fict > span:last-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.15; }
  .x-dock-act { min-width: 0; line-height: 1.2; }
  .js .x-dock.is-hidden { transform: translateY(110%); }
  /* no action bar (the contact page): the label is a slim full-width strip on the bottom edge, so it never floats over the price panel or the time slots */
  .x-dock:not(:has(.x-dock-act)) { left: 0; right: 0; bottom: 0; padding: 0 0 env(safe-area-inset-bottom); background: rgba(10, 10, 10, .94); backdrop-filter: none; -webkit-backdrop-filter: none; justify-content: center; }
  .x-dock:not(:has(.x-dock-act)) .x-fict { min-height: 32px; flex-direction: row; align-items: center; padding: 0 12px; background: transparent; max-width: 100%; }
  body:has(.x-dock:not(:has(.x-dock-act))) { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- a real demo: the per-image label of an illustration that stands in for his photo (shared round 2,
   coverage.check_image_labels; _c.labelled_img / _c.img_label) ---------- */
.x-limg { position: relative; margin: 0; }
.x-imglabel { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 4px 8px; background: rgba(10, 10, 10, .78); color: #fff; font: 500 .6875rem/1.2 "DYL Sans", "Helvetica Neue", Arial, sans-serif; letter-spacing: .02em; pointer-events: none; }
