/* Single case study: hero, facts, label rows, galleries, figures, quote, more work */

.od-cs-hero, .od-cs-block, .od-cs-more {
	--cs-gap: clamp(100px, 85.1px + 3.81vw, 140px);   /* rhythm between blocks: 100 / 120 / 140 */
	--cs-fade: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 26.923%, rgba(0, 0, 0, 0.4) 56.25%, rgba(0, 0, 0, 0) 100%);
}

/* Hero: inset photo with the title block at its foot */
.od-cs-hero { padding: var(--od-header-h) var(--od-gutter) 0; }
.od-cs-hero__media { position: relative; display: flex; align-items: flex-end; min-height: clamp(648px, 58.9vw, 848px); overflow: hidden; background: var(--od-grey-900); color: var(--od-white); }
.od-cs-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.od-cs-hero__media::after { content: ""; position: absolute; inset: auto 0 0; height: max(400px, 70%); background: var(--cs-fade); pointer-events: none; }
/* From tablets up the shade is drawn under the text block and grows with it: it is the same shade
   as long as the text is short, and a long title (three lines in some languages) lifts it, so the
   back link and the services line stay on the dark part instead of climbing onto the bright picture. */
@media (min-width: 601px) {
	.od-cs-hero__media::after { content: none; }
	.od-cs-hero__body::before {
		content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; width: 100vw; transform: translateX(-50%);
		height: max(400px, clamp(453.6px, 41.23vw, 593.6px), calc((100% - 120px) * 1.6));
		background: var(--cs-fade); pointer-events: none;
	}
}
@media (min-width: 601px) and (max-width: 1024px) {
	.od-cs-hero__body::before { height: max(clamp(370.6px, 68vw, 550.8px), calc((100% - 96px) * 1.6)); }
}
.od-cs-hero__body { position: relative; z-index: 1; width: 100%; max-width: calc(var(--od-content) + 2 * (var(--od-inset) - var(--od-gutter))); margin: 0 auto; padding: 120px max(var(--od-gutter), calc(var(--od-inset) - var(--od-gutter))) var(--od-gutter); }
.od-cs-hero__back { display: flex; margin-bottom: 20px; }
.od-cs-hero__back .od-btn { color: var(--od-white); }
.od-btn--back::before { background-image: url(../../icons/arrow-up-right.svg); transform: rotate(-135deg); }
.od-btn--back:hover, .od-btn--back:focus-visible { color: var(--od-brand-text); }
.od-cs-hero__eyebrow { font-size: var(--od-fs-b4); line-height: 1.6; text-transform: uppercase; color: var(--od-grey-100); margin-bottom: 16px; }
/* The two small lines above the title can reach a bright part of the picture when the title is long:
   a soft shadow keeps them readable there and does not show on the shade. */
.od-cs-hero__back, .od-cs-hero__eyebrow { text-shadow: 0 0 18px rgba(0, 0, 0, 0.45); }
.od-cs-hero__titlerow { display: flex; align-items: flex-end; gap: var(--od-gutter); font-size: var(--od-fs-h1); }
.od-cs-hero__title { flex: 0 1 auto; min-width: 0; max-width: 1000px; font-size: inherit; line-height: 1.1; font-weight: 500; letter-spacing: var(--od-track-display); text-wrap: balance; overflow-wrap: break-word; }
.od-cs-hero__rule { flex: 1 1 0; min-width: 0; height: 1px; margin-bottom: 0.55em; background: rgba(210, 210, 210, 0.6); }
.od-cs-hero__lead { font-size: var(--od-fs-h6); line-height: 1.4; font-weight: 500; color: var(--od-grey-100); max-width: 800px; margin-top: 12px; }

/* Facts */
.od-cs-facts { display: grid; grid-template-columns: repeat(6, minmax(0, auto)); justify-content: space-between; gap: 32px; max-width: var(--od-content); margin: 0 auto; padding: var(--od-gutter) calc(var(--od-inset) - var(--od-gutter)) 0; box-sizing: content-box; }
.od-cs-facts__item { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.od-cs-facts dt { font-size: var(--od-fs-b3); line-height: 1.6; color: var(--od-fg-mute); }
.od-cs-facts dd { margin: 0; font-size: var(--od-fs-b2); line-height: 1.6; font-weight: 500; color: var(--od-grey-900); overflow-wrap: break-word; }
.od-cs-facts .od-link { display: inline-block; padding-block: 4px; color: inherit; }
.od-cs-facts .od-link:hover { color: var(--od-brand-text); }
.od-cs-facts .od-btn { font-size: var(--od-fs-btn); color: var(--od-black); white-space: normal; overflow-wrap: anywhere; }
.od-cs-facts span.od-btn { cursor: default; }
.od-cs-facts span.od-btn:hover::before { margin-right: 0; }
.od-cs-facts__item--links dd { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Content blocks: label on the left, text on the right */
.od-cs-block { max-width: var(--od-content); margin: 0 auto; padding: var(--cs-gap) var(--od-inset) 0; box-sizing: content-box; }
.od-cs-block--last { padding-bottom: var(--cs-gap); }
.od-cs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 32px; align-items: start; }
.od-cs-row > .od-label { margin: 0; padding-top: 8px; }
.od-cs-row__body { margin: 0; min-width: 0; }
.od-cs-lead { font-size: var(--od-fs-h6); line-height: 1.4; font-weight: 500; color: var(--od-grey-900); }
.od-cs-text { font-size: var(--od-fs-b1); line-height: 1.6; color: var(--od-grey-600); margin-top: 24px; }
.od-cs-sub { font-size: var(--od-fs-b2); line-height: 1.6; font-weight: 500; color: var(--od-grey-900); margin-top: 32px; }
.od-cs-goals { margin: 12px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--od-grey-200); }
.od-cs-goals li { position: relative; padding: 16px 0 16px 24px; border-top: 1px solid var(--od-grey-200); font-size: var(--od-fs-b2); line-height: 1.6; color: var(--od-grey-700); }
.od-cs-goals li::before { content: ""; position: absolute; left: 0; top: calc(16px + 0.8em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--od-brand); }

.od-cs-approach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; margin: 32px 0 0; padding: 0; list-style: none; }
.od-cs-approach li { padding-top: 20px; border-top: 1px solid var(--od-grey-200); }
.od-cs-approach h3 { font-size: var(--od-fs-b1); line-height: 1.4; font-weight: 500; color: var(--od-grey-900); }
.od-cs-approach p { font-size: var(--od-fs-b3); line-height: 1.6; color: var(--od-grey-600); margin-top: 8px; }

/* Galleries (square corners, cover crops) */
.od-cs-pair, .od-cs-mosaic, .od-cs-wide { margin: var(--cs-gap) 0 0; }
.od-cs-pair, .od-cs-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.od-cs-pair figure, .od-cs-mosaic figure { margin: 0; min-height: 0; }
.od-cs-pair .od-media { aspect-ratio: 592 / 800; }
.od-cs-mosaic { grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1200 / 800; }
.od-cs-mosaic__c { grid-column: 2; grid-row: 1 / 3; }
.od-cs-wide { aspect-ratio: 3 / 2; }

/* Figures */
.od-cs-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0 0; padding: 0; list-style: none; }
.od-cs-figures li { display: flex; flex-direction: column; padding: 0 20px; border-left: 1px solid var(--od-grey-200); }
.od-cs-figures li:first-child { padding-left: 0; border-left: 0; }
.od-cs-figures li:last-child { padding-right: 0; }
.od-cs-figures__value { font-size: var(--od-fs-h2); line-height: 1.2; font-weight: 600; color: var(--od-black); white-space: nowrap; font-variant-numeric: tabular-nums; }
.od-cs-figures__value span { margin-left: 4px; font-size: 0.8125em; color: var(--od-fg-mute); }
.od-cs-figures__label { font-size: var(--od-fs-b3); line-height: 1.6; font-weight: 500; color: var(--od-grey-700); margin-top: 8px; }

/* Quote */
.od-cs-quote { position: relative; }
.od-cs-quote::before { content: ""; position: absolute; right: calc(100% + 44px); top: 0; width: 56px; height: 56px; background: url("../../img/case-study-icon-quote.svg") no-repeat center / contain; }
.od-cs-quote blockquote { margin: 0; }
.od-cs-quote blockquote p { font-size: var(--od-fs-h5); line-height: 1.4; font-weight: 500; color: var(--od-grey-600); }
.od-cs-quote blockquote strong { font-weight: inherit; color: var(--od-grey-900); }
.od-cs-quote__author { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.od-cs-quote__author img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.od-cs-quote__name, .od-cs-quote__role { display: block; }
.od-cs-quote__name { font-size: var(--od-fs-b2); line-height: 1.6; font-weight: 500; color: var(--od-grey-800); }
.od-cs-quote__role { font-size: var(--od-fs-b4); line-height: 1.6; color: var(--od-fg-mute); }

/* More work */
.od-cs-more { max-width: var(--od-content); margin: 0 auto; padding: 200px var(--od-inset); box-sizing: content-box; }
.od-cs-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 42px + 1.52vw, 64px); }
.od-cs-more__head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 600px; }
.od-cs-more__head .od-label { margin: 0; }
.od-cs-more__text { margin: 0; font-size: var(--od-fs-b2); line-height: 1.6; font-weight: 500; color: var(--od-grey-600); }
.od-cs-more__head .od-btn { flex: none; color: var(--od-black); }
.od-cs-more__grid { margin: 0; }
.od-work--more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
.od-work--more .od-work-card { min-width: 0; }
.od-work--more .od-work-card__link { position: relative; display: flex; align-items: flex-end; aspect-ratio: 590 / 600; overflow: hidden; background: var(--od-grey-900); color: var(--od-white); text-decoration: none; }
.od-work--more .od-work-card__link:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 4px; }
.od-work--more .od-work-card__media { position: absolute; inset: 0; aspect-ratio: auto; background: var(--od-grey-900) center / cover no-repeat; transition: transform 0.8s var(--od-ease); }
.od-work--more .od-work-card__media img { width: 100%; height: 100%; object-fit: cover; }
.od-work--more .od-work-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 62%; background: var(--cs-fade); pointer-events: none; }
.od-work--more .od-media__placeholder { display: none; }
.od-work--more .od-work-card__body { position: relative; z-index: 1; width: 100%; gap: 8px; padding: clamp(20px, 12.6px + 1.9vw, 40px); }
.od-work--more .od-work-card__meta { order: -1; font-size: var(--od-fs-b2); line-height: 1.6; font-weight: 500; color: var(--od-white); }
.od-work--more .od-work-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: var(--od-fs-h4); line-height: 1.2; font-weight: 600; text-wrap: balance; }
.od-work--more .od-work-card__year { font-size: var(--od-fs-b2); line-height: 1.6; font-weight: 500; color: var(--od-white); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.od-work--more .od-work-card__link:hover .od-work-card__media,
	.od-work--more .od-work-card__link:focus-visible .od-work-card__media { transform: scale(1.04); }
}
.od-work--more .od-work-card__link:hover .od-work-card__media img, .od-work--more .od-work-card__link:focus-visible .od-work-card__media img { transform: none; }

@media (max-width: 1024px) {
	.od-cs-hero__media { min-height: clamp(436px, 80vw, 648px); }
	.od-cs-hero__body { padding-top: 96px; }
	.od-cs-hero__media::after { height: 85%; }
	.od-cs-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }
	.od-cs-quote::before { right: calc(100% + 24px); width: 48px; height: 48px; }
	.od-work--more .od-work-card__link { aspect-ratio: 363 / 450; }
}

@media (max-width: 600px) {
	.od-cs-hero__rule { display: none; }
	/* German compounds are longer than a phone line: they break at a syllable, with a hyphen. */
	:lang(de) .od-cs-hero__title { -webkit-hyphens: auto; hyphens: auto; }
	.od-cs-hero__media::after { height: 100%; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), var(--cs-fade); }
	/* The picture keeps the room it has over a title of two lines (436 px of hero less the 183 px of the
	   back link, the services line and that title): a longer title makes the hero taller instead of
	   lifting the two small lines onto the subject of the picture. */
	.od-cs-hero__body { padding-top: 253px; }
	.od-cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.od-cs-facts__item--wide { grid-column: 1 / -1; }
	.od-cs-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.od-cs-row > .od-label { padding-top: 0; }
	.od-cs-pair, .od-cs-mosaic { grid-template-columns: minmax(0, 1fr); }
	.od-cs-pair .od-media { aspect-ratio: 350 / 400; }
	.od-cs-mosaic { grid-template-rows: none; aspect-ratio: auto; }
	.od-cs-mosaic__a, .od-cs-mosaic__b { aspect-ratio: 350 / 250; }
	.od-cs-mosaic__c { grid-column: auto; grid-row: auto; aspect-ratio: 350 / 400; }
	.od-cs-wide { aspect-ratio: 350 / 400; }
	.od-cs-approach { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.od-cs-figures { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.od-cs-figures li, .od-cs-figures li:last-child { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--od-grey-200); }
	.od-cs-figures li:first-child { padding-top: 0; border-top: 0; }
	.od-cs-quote::before { position: static; display: block; width: 44px; height: 44px; margin-bottom: 20px; }
	.od-cs-quote__author img { width: 48px; height: 48px; }
	.od-cs-more__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.od-work--more { grid-template-columns: minmax(0, 1fr); }
	.od-work--more .od-work-card__link { aspect-ratio: 350 / 380; }
}

/* Case studies written as plain text */
.od-cs-row__body--plain { font-size: var(--od-fs-b1); line-height: 1.6; color: var(--od-grey-600); }
.od-cs-row__body--plain > * + * { margin-top: 24px; }
.od-cs-row__body--plain .od-lead { font-size: var(--od-fs-h6); line-height: 1.4; font-weight: 500; color: var(--od-grey-900); }
@media (max-width: 600px) {
	.od-cs-more { padding-block: 100px; }
}

/* Previous and next project */
.od-cs-nav { display: grid; grid-template-columns: minmax(0, 1fr) clamp(60px, 18vw, 260px) minmax(0, 1fr); align-items: start; gap: var(--od-gutter); max-width: var(--od-content); margin: 0 auto; padding: clamp(96px, 12vw, 200px) var(--od-inset); box-sizing: content-box; }
.od-cs-nav__link { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--od-black); text-decoration: none; }
.od-cs-nav__link--next { align-items: flex-end; text-align: right; }
.od-cs-nav__word { font-size: var(--od-fs-h1); line-height: 1.1; font-weight: 500; letter-spacing: var(--od-track-display); transition: color 0.25s var(--od-ease), transform 0.4s var(--od-ease); }
.od-cs-nav__title { max-width: 34ch; font-size: var(--od-fs-b3); line-height: 1.5; color: var(--od-grey-600); text-wrap: balance; }
.od-cs-nav__link:hover .od-cs-nav__word, .od-cs-nav__link:focus-visible .od-cs-nav__word { color: var(--od-brand-text); }
.od-cs-nav__link--prev:hover .od-cs-nav__word, .od-cs-nav__link--prev:focus-visible .od-cs-nav__word { transform: translateX(-8px); }
.od-cs-nav__link--next:hover .od-cs-nav__word, .od-cs-nav__link--next:focus-visible .od-cs-nav__word { transform: translateX(8px); }
.od-cs-nav__link:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 8px; }
.od-cs-nav__rule { position: relative; height: 1px; margin-top: calc(var(--od-fs-h1) * 0.55); background: var(--od-grey-200); }
.od-cs-nav__rule::before { content: ">"; position: absolute; left: 0; top: 50%; padding-right: 10px; transform: translateY(-52%); background: var(--od-bg, var(--od-white)); font-family: var(--od-mono); font-weight: 500; letter-spacing: 0; font-size: var(--od-fs-b3); line-height: 1; color: var(--od-brand-text); }
@media (prefers-reduced-motion: reduce) {
	.od-cs-nav__word { transition: none; }
	.od-cs-nav__link:hover .od-cs-nav__word, .od-cs-nav__link:focus-visible .od-cs-nav__word { transform: none; }
}
@media (max-width: 600px) {
	/* The two words are sized to the phone so the longest ones ("Précédent", "Siguiente") leave the rule in view. */
	.od-cs-nav { --od-cs-word: clamp(22px, 7.4vw, 34px); grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 12px; padding-block: 80px; }
	.od-cs-nav__word { font-size: var(--od-cs-word); }
	.od-cs-nav__rule { margin-top: calc(var(--od-cs-word) * 0.55); }
	.od-cs-nav__title { font-size: var(--od-fs-b4); }
}

/* The way into a case study, carried by the browser from one page to the next (script: project-transition.js).
   From "Previous" or "Next": the small title under the word lifts, grows and travels to become the heading of
   the page it leads to, and the next picture opens from the side that was chosen. From a project card on any
   page: the card's picture grows into the hero and its title into the heading. The page left behind fades underneath.
   These rules name the two parts on arrival and time the movement; the script names what was clicked and lets
   nothing else start the motion. The rule that allows the motion is printed in the head (inc/work.php). */
@media (prefers-reduced-motion: no-preference) {
	.od-cs-hero__title { view-transition-name: od-cs-title; }
	.od-cs-hero__media { view-transition-name: od-cs-hero; }
	/* The small lines of the hero are set in place once the picture is nearly there: they never ride inside it. */
	.od-cs-hero__back { view-transition-name: od-cs-back; }
	.od-cs-hero__eyebrow { view-transition-name: od-cs-tags; }
	.od-cs-hero__lead { view-transition-name: od-cs-lead; }
	::view-transition-new(od-cs-back), ::view-transition-new(od-cs-tags), ::view-transition-new(od-cs-lead) { animation: od-cs-words-in 0.6s linear both; }
	/* Set by the script at the edge of the window on the side of the click; the picture grows out of it.
	   It is never seen, but it needs something to paint or the browser measures it as a point. */
	.od-cs-edge { position: fixed; z-index: -1; top: var(--od-header-h); bottom: 0; width: 2px; background: rgba(0, 0, 0, 0.01); pointer-events: none; view-transition-name: od-cs-hero; }
	.od-cs-edge--prev { left: 0; }
	.od-cs-edge--next { right: 0; }
	/* The picture keeps its proportions inside the growing frame. A card's picture gives way to the hero's while the
	   frame has hardly moved, when the two are still cut alike, so no second picture shows through. After that slow
	   start the frame runs ahead of the title, which is white by then and needs the picture under it. */
	::view-transition-group(od-cs-hero) { overflow: clip; animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.4, 0, 0.1, 1); }
	::view-transition-old(od-cs-hero), ::view-transition-new(od-cs-hero) { height: 100%; object-fit: cover; mix-blend-mode: normal; animation-duration: 0.6s; animation-timing-function: linear; }
	::view-transition-old(od-cs-hero) { animation-name: od-cs-hero-out; }
	::view-transition-new(od-cs-hero) { animation-name: od-cs-hero-in; }
	/* The words set over a card's picture stay where they stood and are gone before the hero's own words are clear. */
	::view-transition-old(od-cs-card) { animation-duration: 0.15s; }
	/* The two settings of the title keep their own proportions and change places on the way. */
	::view-transition-group(od-cs-title) { animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
	::view-transition-old(od-cs-title), ::view-transition-new(od-cs-title) { width: auto; height: 100%; animation-duration: 0.6s; animation-timing-function: linear; }
	::view-transition-old(od-cs-title) { animation-name: od-cs-title-out; }
	::view-transition-new(od-cs-title) { animation-name: od-cs-title-in; }
}
/* Reached from a piece of the home page (od-from-piece, set in the head for that arrival: inc/work.php). The picture
   lifts off first and takes a little longer; the title follows a beat behind and on a path of its own (the pair of
   its two settings swings out and back while its box travels); what stands under the hero rises in turn once the
   picture has landed. */
@media (prefers-reduced-motion: no-preference) {
	html.od-from-piece::view-transition-old(root) { animation-duration: 0.3s; }
	html.od-from-piece::view-transition-group(od-cs-hero) { animation-duration: 0.74s; animation-timing-function: cubic-bezier(0.5, 0, 0.1, 1); }
	/* The piece shows its picture whole and the hero cuts it to its own shape: the two are cut alike only when the
	   frame has the hero's shape, so the piece's picture stays for the whole flight and the hero's own takes over at
	   the end. With a mouse a hero printed by the cover shortcode sets its picture a little larger for its drift
	   (motion.css): the piece's picture then grows by as much on the way, so nothing jumps where one gives way to
	   the other. A hero written by hand has no drift and gets no such growth. */
	html.od-from-piece::view-transition-old(od-cs-hero), html.od-from-piece::view-transition-new(od-cs-hero) { animation-duration: 0.74s; }
	html.od-from-piece::view-transition-old(od-cs-hero) { animation-name: od-cs-hero-out-piece; }
	html.od-from-piece::view-transition-new(od-cs-hero) { animation-name: od-cs-hero-in-piece; }
	html.od-from-piece::view-transition-group(od-cs-title) { animation-duration: 0.74s; animation-delay: 0.09s; animation-timing-function: cubic-bezier(0.6, 0, 0.15, 1); }
	html.od-from-piece::view-transition-old(od-cs-title), html.od-from-piece::view-transition-new(od-cs-title) { animation-duration: 0.74s; animation-delay: 0.09s; }
	/* The caption's one line and the heading's two cannot lie on each other: the small setting is gone before the
	   box has grown, and only then the large one comes, so the title is never read twice. */
	html.od-from-piece::view-transition-old(od-cs-title) { animation-name: od-cs-title-out-piece; }
	html.od-from-piece::view-transition-new(od-cs-title) { animation-name: od-cs-title-in-piece; }
	html.od-from-piece::view-transition-image-pair(od-cs-title) { animation: od-cs-title-swing 0.83s cubic-bezier(0.45, 0, 0.25, 1) both; }
	html.od-from-piece::view-transition-new(od-cs-back), html.od-from-piece::view-transition-new(od-cs-tags), html.od-from-piece::view-transition-new(od-cs-lead) { animation-duration: 0.83s; }
	html.od-from-piece .od-cs-facts { animation: od-cs-rise 0.8s var(--od-ease) 0.8s backwards; }
	html.od-from-piece .od-cs-hero + .od-cs-block .od-label { animation: od-cs-rise 0.8s var(--od-ease) 0.9s backwards; }
	html.od-from-piece .od-cs-hero + .od-cs-block .od-cs-row__body > :first-child { animation: od-cs-rise 0.8s var(--od-ease) 1s backwards; }
}
@keyframes od-cs-title-swing { 0%, 100% { translate: 0 0; } 46% { translate: -3.2vw 0; } }
@keyframes od-cs-rise { from { opacity: 0; translate: 0 26px; } }
@keyframes od-cs-hero-out-piece { 0%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes od-cs-hero-in-piece { 0%, 68% { opacity: 0; } 92%, 100% { opacity: 1; } }
@keyframes od-cs-hero-grow-piece { to { scale: 1.16; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	html.od-from-piece:has(.od-cs-hero__media > img[data-od-parallax])::view-transition-old(od-cs-hero) { animation: od-cs-hero-out-piece 0.74s linear both, od-cs-hero-grow-piece 0.74s cubic-bezier(0.5, 0, 0.1, 1) both; }
}
@keyframes od-cs-title-out-piece { 0%, 4% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes od-cs-title-in-piece { 0%, 30% { opacity: 0; } 68%, 100% { opacity: 1; } }
/* A heading that rises word by word stands whole while it travels. */
@media (prefers-reduced-motion: no-preference) {
	html:active-view-transition .od-cs-hero__title .od-w__i { transform: none; transition: none; }
}
@keyframes od-cs-hero-out { 0%, 20% { opacity: 1; } 20.01%, 100% { opacity: 0; } }
@keyframes od-cs-hero-in { 0% { opacity: 0; } 20%, 100% { opacity: 1; } }
@keyframes od-cs-words-in { 0%, 55% { opacity: 0; } 95%, 100% { opacity: 1; } }
/* The small setting gives way to the large one on the way; the other words of the hero wait until the title is
   nearly in place, so it never crosses a second layer of type. */
@keyframes od-cs-title-out { 0%, 12% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes od-cs-title-in { 0%, 36% { opacity: 0; } 78%, 100% { opacity: 1; } }

/* Photo album ([data-od-album], assets/js/album.js). Without the script the photographs stand one under the other;
   with it (is-on) one photograph fills the stage, a strip of thumbnails under it leads to the others. */
.od-album { margin: var(--cs-gap) 0 0; }
.od-album__slides { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.od-album__slide { margin: 0; }
.od-album__slide img { display: block; width: 100%; height: auto; }
.od-album__credit { margin: 16px 0 0; font-size: 14px; line-height: 1.4; color: var(--od-fg-mute); }
.od-album.is-on .od-album__stage { position: relative; height: clamp(320px, 80vh, 1100px); background: var(--od-grey-900, #111); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.od-album.is-on .od-album__slides { display: block; height: 100%; }
.od-album.is-on .od-album__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.od-album.is-on .od-album__slide.is-current { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.od-album.is-on .od-album__slide img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.od-album.is-calm .od-album__slide, .od-album.is-calm .od-album__slide.is-current { transition: none; }
.od-album__step { position: absolute; top: 50%; z-index: 1; width: 52px; height: 52px; margin-top: -26px; padding: 0; border: 0; border-radius: 50%; background: var(--od-white); color: var(--od-black); cursor: pointer; }
.od-album__step::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translate(-30%, -50%) rotate(45deg); }
.od-album__step--prev { left: 16px; }
.od-album__step--next { right: 16px; }
.od-album__step--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.od-album__step:hover, .od-album__step:focus-visible { background: var(--od-brand); color: var(--od-black); }
.od-album__step:focus-visible, .od-album__thumb button:focus-visible { outline: 3px solid var(--od-brand); outline-offset: 2px; }
.od-album__thumbs { display: flex; gap: 8px; margin: 8px 0 0; padding: 4px 2px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.od-album__thumb { flex: 0 0 auto; }
.od-album__thumb button { position: relative; display: block; width: 112px; height: 76px; padding: 0; border: 0; background: var(--od-grey-900, #111); cursor: pointer; opacity: 0.55; transition: opacity 0.2s ease; }
.od-album__thumb button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.od-album__thumb button::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px transparent; }
.od-album__thumb button:hover { opacity: 0.85; }
.od-album__thumb button[aria-current="true"] { opacity: 1; }
.od-album__thumb button[aria-current="true"]::after { box-shadow: inset 0 0 0 3px var(--od-brand); }
.od-album__count { margin: 12px 0 0; font-family: var(--od-mono, monospace); font-size: 14px; color: var(--od-fg-mute); }
.od-album.is-on .od-album__credit { margin-top: 4px; }
@media (max-width: 600px) {
	.od-album.is-on .od-album__stage { height: clamp(300px, 72vh, 640px); }
	.od-album__step { width: 44px; height: 44px; margin-top: -22px; }
	.od-album__step--prev { left: 8px; }
	.od-album__step--next { right: 8px; }
	.od-album__thumb button { width: 76px; height: 56px; }
}
@media print {
	.od-album.is-on .od-album__stage { height: auto; background: none; }
	.od-album.is-on .od-album__slides { display: grid; gap: 16px; }
	.od-album.is-on .od-album__slide { position: static; opacity: 1; visibility: visible; }
	.od-album.is-on .od-album__slide img { height: auto; }
	.od-album__step, .od-album__thumbs, .od-album__count { display: none; }
}

/* 3D truck ([data-od-truck3d], assets/js/truck3d.js): the street scene in a frame of the content width
   (16:9, at most 70 % of the window high; 4:5 on phones). The poster picture (the same street render) stands
   until the finished first frame is drawn, and for good without scripts, WebGL or motion. While the scene loads,
   a terminal line and a thin orange bar sit over the blurred poster. */
.od-truck3d { margin: 48px 0 0; }
.od-truck3d__stage { position: relative; aspect-ratio: 16 / 9; max-height: 70vh; width: 100%; overflow: hidden; background: #8fb2d6;
	touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: 4px; }
.od-truck3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: opacity .4s ease, filter .4s ease; }
.od-truck3d__stage.is-loading .od-truck3d__poster { filter: blur(14px) brightness(.55); }
.od-truck3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; opacity: 0; transition: opacity .4s ease; }
.od-truck3d__stage.is-live .od-truck3d__canvas { opacity: 1; }
.od-truck3d__stage.is-live .od-truck3d__poster { opacity: 0; transition-delay: .4s; }
.od-truck3d__stage.is-drag .od-truck3d__canvas { cursor: grabbing; }
.od-truck3d__stage.is-hot .od-truck3d__canvas { cursor: pointer; }
.od-truck3d__load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff;
	font-family: var(--od-mono); font-size: 14px; letter-spacing: .02em; transition: opacity .4s ease; pointer-events: none; }
.od-truck3d__load p { margin: 0; }
.od-truck3d__load p::before { content: "> "; color: var(--od-brand); }
.od-truck3d__stage:not(.is-loading) .od-truck3d__load { opacity: 0; }
.od-truck3d__track { width: min(220px, 50%); height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.od-truck3d__bar-fill { display: block; height: 100%; background: var(--od-brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease; }
.od-truck3d__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 16px; font-family: var(--od-mono); font-size: 14px; line-height: 1.4; color: var(--od-fg-mute); }
.od-truck3d__hint::before { content: "> "; color: var(--od-brand-text); }
.od-truck3d__open { font: inherit; color: var(--od-fg); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--od-brand); text-underline-offset: .2em; }
.od-truck3d__open:hover, .od-truck3d__open:focus-visible { color: var(--od-brand-text); }
@media (max-width: 700px) { .od-truck3d { margin-top: 32px; } .od-truck3d__stage { aspect-ratio: 4 / 5; max-height: 80vh; background: #9cb6cf; } .od-truck3d__poster { object-fit: contain; } }
@media print { .od-truck3d__bar { display: none; } }

/* the serving window opens from the truck itself; no separate button (owner, 6 Nov 2026) */
.od-truck3d__open { display: none !important; }

/* Photo mosaic ([data-od-mosaic], assets/js/mosaic.js): one row of columns as wide as the window, each column one
   photograph or two stacked, sized from the row height. It scrolls sideways; with a mouse on a wide window the
   script holds the section and moves the row with the page scroll (class od-mosaic-held). */
.od-mosaic { --mh: min(78vh, 860px); --mg: 12px; position: relative; width: 100vw; margin: var(--cs-gap) 0 0 calc(50% - 50vw); }
.od-mosaic__pin { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.od-mosaic__pin::-webkit-scrollbar { display: none; }
.od-mosaic__track { display: flex; gap: var(--mg); width: max-content; padding: 0 var(--mg); margin: 0; list-style: none; will-change: transform; }
.od-mosaic__col { display: flex; flex-direction: column; gap: var(--mg); flex: none; height: var(--mh); width: calc((var(--mh) - (var(--n, 1) - 1) * var(--mg)) / var(--n, 1) * var(--r, 0.8)); }
.od-mosaic__item { flex: 1 1 0; min-height: 0; margin: 0; overflow: hidden; background: var(--od-grey-100, #eee); }
.od-mosaic__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.od-mosaic__credit { margin: 16px 0 0; padding: 0 var(--od-gutter, 40px); font-size: 14px; color: var(--od-fg-mute); }
.od-mosaic.od-mosaic-held .od-mosaic__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.od-mosaic.od-mosaic-held .od-mosaic__credit { position: absolute; left: 0; bottom: 24px; }
@media (max-width: 999px) {
	.od-mosaic { --mh: min(64vh, 560px); --mg: 8px; }
}
@media print {
	.od-mosaic { width: auto; margin-left: 0; height: auto !important; }
	.od-mosaic__pin { overflow: visible; position: static !important; height: auto !important; }
	.od-mosaic__track { flex-wrap: wrap; width: auto; transform: none !important; }
}

/* Spray wall ([data-od-spray], assets/js/spray.js): a plain wall drawn on a canvas over the pictures; the pointer
   turns into a spray can and sprays it away. Without the script the canvas stays empty and the pictures stand. */
.od-spray { margin: var(--cs-gap) 0 0; }
.od-spray__wall { position: relative; overflow: hidden; background: #f4f2ee; }
.od-spray__wall img { display: block; width: 100%; height: 100%; object-fit: cover; }
.od-spray__cover { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; transition: opacity 0.6s ease; }
.od-spray-on .od-spray__cover { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg stroke='%23000' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='17' y='15' width='16' height='26' rx='3' fill='%23ff4500'/%3E%3Crect x='19' y='9' width='12' height='6' rx='1.5' fill='%23fff'/%3E%3Crect x='14' y='5' width='7' height='4' rx='1' fill='%23fff'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Ccircle cx='9' cy='5' r='1.3'/%3E%3Ccircle cx='5' cy='8' r='1'/%3E%3Ccircle cx='8' cy='10' r='0.9'/%3E%3Ccircle cx='4' cy='3' r='0.9'/%3E%3Ccircle cx='3' cy='12' r='0.7'/%3E%3C/g%3E%3C/svg%3E") 4 6, crosshair; }
.od-spray.is-clear .od-spray__cover { opacity: 0; pointer-events: none; }
.od-spray__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 12px 0 0; font-size: 14px; color: var(--od-fg-mute); }
.od-spray__all { flex: none; white-space: nowrap; padding: 0; border: 0; background: none; font: inherit; color: var(--od-fg); text-decoration: underline; text-decoration-color: var(--od-brand); text-underline-offset: 0.2em; cursor: pointer; }
.od-spray__all:hover, .od-spray__all:focus-visible { color: var(--od-brand-text); }
.od-spray.is-painted .od-spray__hint { opacity: 0; transition: opacity 0.4s ease; }
@media print { .od-spray__cover, .od-spray__bar { display: none; } }
.od-spray__size { display: flex; align-items: center; gap: 10px; margin-left: auto; white-space: nowrap; }
.od-spray__size[hidden] { display: none; }
.od-spray__size input { width: 140px; accent-color: var(--od-brand); cursor: pointer; }
@media (max-width: 600px) { .od-spray__bar { flex-wrap: wrap; } .od-spray__size { margin-left: 0; } .od-spray__size input { width: 120px; } }

/* Three figures side by side (films of one size); one under the other on phones. */
.od-cs-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: var(--cs-gap) 0 0; }
.od-cs-trio figure { margin: 0; min-height: 0; }
@media (max-width: 600px) { .od-cs-trio { grid-template-columns: minmax(0, 1fr); } }

/* Editorial layout (the owner's direction, 8 November 2026): the page uses the whole window. Every text block has a
   screen to itself, its name in the left half and its words in the right; pictures run edge to edge. */
.od-cs-hero, .od-cs-block { --cs-tile: 12px; --cs-row-pad: clamp(96px, 12vh, 160px); }
.od-cs-hero { padding: 0; }
.od-cs-hero__media { min-height: 100vh; min-height: 100svh; }
.od-cs-hero__body { max-width: none; padding-inline: var(--od-inset); }
.od-cs-facts { max-width: none; padding-inline: var(--od-inset); }

.od-cs-block { max-width: none; margin: 0; padding: 0; box-sizing: border-box; }
.od-cs-block--last { padding-bottom: 0; }
.od-cs-row { padding: var(--cs-row-pad) var(--od-inset); column-gap: var(--od-inset); }
.od-cs-block > .od-cs-row + * { margin-top: 0; }
.od-cs-block > :not(.od-cs-row, .od-cs-wide, .od-cs-pair, .od-cs-trio, .od-comp, .od-cs-mosaic, .od-mosaic, .od-spray, .od-truck3d, .od-album) { padding-inline: var(--od-inset); }

.od-cs-row > .od-label {
	justify-self: start; align-self: start; width: fit-content; padding: 0 0 10px; border-bottom: 3px solid var(--od-brand);
	font-size: clamp(24px, 2vw, 34px); line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--od-black);
}
.od-cs-row > .od-label::before, .od-cs-row > .od-label::after { content: none; display: none; animation: none; }
.od-cs-lead, .od-cs-text { text-wrap: pretty; }
.od-cs-text { margin-top: 32px; }

.od-cs-pair, .od-cs-mosaic, .od-cs-wide, .od-cs-trio { margin: var(--cs-tile) 0 0; }
.od-cs-pair, .od-cs-mosaic, .od-cs-trio { gap: var(--cs-tile); }
.od-mosaic { margin: 0; }
.od-truck3d { margin: 0; }
.od-truck3d__bar, .od-spray__bar, .od-mosaic__credit { padding-inline: var(--od-inset); }
.od-spray { margin: 0; }
.od-spray__bar { margin-top: 16px; }

@media (min-width: 1000px) {
	.od-cs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 100vh; min-height: 100svh; box-sizing: border-box; }
	.od-cs-row > .od-label { justify-self: center; align-self: center; }
	.od-cs-row__body { max-width: 620px; }
	/* A portrait picture stands whole in the window, centred, with room on either side. */
	.od-cs-wide[style*="max-width"] { max-width: 72vh !important; margin-top: var(--cs-row-pad); margin-bottom: var(--cs-row-pad); }
}
@media (max-width: 999px) {
	.od-cs-hero, .od-cs-block { --cs-tile: 8px; }
	.od-cs-row { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
}

/* Composed screen: one large piece beside two stacked ones of the same proportions (.od-comp, --flip puts the large
   one on the right). From 700 px the stack takes the height of the large piece; below it the two sit under it. */
.od-comp { margin: var(--cs-tile) 0 0; display: grid; gap: var(--cs-tile); grid-template-columns: minmax(0, 1fr); }
.od-comp figure { margin: 0; }
.od-comp__side { display: grid; gap: var(--cs-tile); grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
@media (min-width: 700px) {
	.od-comp { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
	.od-comp--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
	.od-comp--flip .od-comp__side { order: -1; }
	.od-comp__side { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
	.od-comp__side .od-media { position: relative; aspect-ratio: auto !important; min-height: 0; overflow: hidden; }
	.od-comp__side .od-media > img, .od-comp__side .od-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* Desktop frame of the project pictures (the owner's word, 8 November 2026): 30 px from the window's sides and 30 px
   between pictures. No picture is enlarged past its own file: inc/case-media.php caps each figure at the file's width. */
@media (min-width: 1000px) {
	.od-cs-hero, .od-cs-block { --cs-tile: 30px; }
	.od-cs-hero { padding: var(--od-header-h) 30px 0; }
	.od-cs-hero__media { min-height: calc(100vh - var(--od-header-h)); min-height: calc(100svh - var(--od-header-h)); }
	.od-cs-hero__body, .od-cs-facts { padding-inline: calc(var(--od-inset) - 30px); }
	.od-cs-facts { padding-inline: var(--od-inset); }
	.od-cs-block { padding-inline: 30px; }
	.od-cs-row { padding-inline: calc(var(--od-inset) - 30px); }
	.od-cs-block > :not(.od-cs-row, .od-cs-wide, .od-cs-pair, .od-cs-trio, .od-cs-mosaic, .od-comp, .od-mosaic, .od-spray, .od-truck3d, .od-album) { padding-inline: calc(var(--od-inset) - 30px); }
	.od-truck3d__bar, .od-spray__bar { padding-inline: 0; }
	.od-mosaic { --mg: 30px; }
	.od-mosaic__track { padding-inline: 30px; }
	.od-mosaic__credit { padding-inline: 30px; }
	.od-motion .od-cs-block [data-od-image-reveal] > *, .od-cs-block .od-parallax { scale: 1 !important; }
}
@media (min-width: 1000px) {
	.od-cs-block .od-media[style*="--od-cap"] { max-width: var(--od-cap); width: 100%; margin-inline: auto; }
	.od-cs-wide[style*="max-width"][style*="--od-cap"] { max-width: min(72vh, var(--od-cap)) !important; }
}
/* Section titles in sentence case (the owner's word, 8 November 2026). */
.od-cs-row > .od-label { text-transform: none; letter-spacing: 0.02em; }
.od-cs-row > .od-label { letter-spacing: var(--od-track, -0.02em); font-weight: 600; }
.od-cs-hero, .od-cs-block { --cs-row-pad: clamp(64px, 9vh, 112px); }

/* Spray wall controls at the top right of the wall, clear of the chat button (the owner's word, 8 November 2026). */
@media (min-width: 1000px) {
	.od-spray { position: relative; }
	.od-spray__bar { position: absolute; top: 24px; left: 16px; right: 16px; z-index: 2; margin: 0; padding-inline: 0 !important; pointer-events: none; }
	.od-spray__hint { color: var(--od-fg-soft); }
	.od-spray__size, .od-spray__all { pointer-events: auto; min-height: 40px; box-sizing: border-box; padding: 0 14px; background: var(--od-white); box-shadow: 0 0 0 1px var(--od-grey-200); }
	.od-spray__size { margin-left: auto; }
	.od-spray__bar { gap: 8px; }
	.od-spray__hint { margin-right: auto; }
}

/* Project dock ([data-od-dock], assets/js/case-dock.js), the owner's sketch of 8 November 2026: one quiet bar of glass at the
   foot of a case study. data-state: compact (going down), full (going up), end (the three ways out). Folded parts
   take no focus. It keeps clear of the launcher at the right and waits for the cookie notice. */
.od-dock { --dk-t: 0.5s; --dk-e: cubic-bezier(.16, 1, .3, 1); --dk-line: rgba(0, 0, 0, 0.09); --dk-soft: #6f6f6f; position: fixed; z-index: 90; left: 30px; right: 290px; bottom: 20px; font-size: 13px; line-height: 1.3; letter-spacing: -0.005em; color: var(--od-black); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); box-shadow: 0 0 0 1px var(--dk-line), 0 24px 60px rgba(0, 0, 0, 0.1); transition: opacity 0.3s ease, visibility 0.3s; }
html:has(.od-consent:not([hidden])) .od-dock, html.od-menu-open .od-dock { opacity: 0; visibility: hidden; }
.od-dock a, .od-dock button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; white-space: nowrap; transition: color 0.2s ease; }
.od-dock a:hover, .od-dock button:hover { color: var(--od-brand-text); }
.od-dock a:focus-visible, .od-dock button:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 3px; }
.od-dock__line { position: absolute; inset: 0 0 auto; height: 1px; overflow: hidden; }
.od-dock__line i { display: block; height: 100%; background: var(--od-brand); transform: scaleX(0); transform-origin: 0 50%; }
.od-dock__main, .od-dock__end, .od-dock__fold { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dk-t) var(--dk-e), opacity 0.3s ease, visibility var(--dk-t); opacity: 0; }
.od-dock__main > *, .od-dock__end > *, .od-dock__fold > * { min-height: 0; overflow: hidden; }
.od-dock[data-state="compact"] .od-dock__main, .od-dock[data-state="full"] .od-dock__main, .od-dock[data-state="full"] .od-dock__fold, .od-dock[data-state="end"] .od-dock__end { grid-template-rows: 1fr; visibility: visible; opacity: 1; }
.od-dock__grid { display: grid; grid-template-columns: 208px minmax(0, 1fr); }
.od-dock__side { padding-inline: 20px; border-right: 1px solid var(--dk-line); }
.od-dock__here { min-width: 0; padding-inline: 20px; }
.od-dock__home, .od-dock__top { display: flex; align-items: center; min-height: 46px; margin: 0; }
.od-dock__home { color: var(--od-brand-text) !important; font-weight: 500; }
.od-dock__top { gap: 14px; }
.od-dock__title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.od-dock__now { flex: none; color: var(--od-brand-text); transition: opacity 0.3s ease; }
.od-dock__now::before { content: "/"; margin-right: 14px; color: #bdbdbd; }
.od-dock__now:empty { display: none; }
.od-dock[data-state="full"] .od-dock__now { display: none; }
.od-dock__tags { display: flex; gap: 14px; margin-left: auto; color: var(--dk-soft); font-size: 12px; text-transform: lowercase; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; }
.od-dock__tags span::before { content: "#"; }
.od-dock[data-state="full"] .od-dock__tags { opacity: 1; }
.od-dock__in { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--dk-line); }
.od-dock__pn { justify-content: space-between; color: var(--dk-soft); }
.od-dock__prev::before { content: "\2190"; margin-right: 8px; color: var(--od-brand); }
.od-dock__next::after { content: "\2192"; margin-left: 8px; color: var(--od-brand); }
.od-dock__path { display: flex; align-items: center; min-width: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; color: var(--dk-soft); }
.od-dock__path::-webkit-scrollbar { display: none; }
.od-dock__path li { display: flex; align-items: center; flex: none; }
.od-dock__path li + li::before { content: ">"; margin-inline: 12px; color: #c4c4c4; }
.od-dock__path li.is-now { color: var(--od-brand-text); font-weight: 500; }
.od-dock__links { justify-content: space-between; min-height: 46px; padding-inline: 20px; border-top: 0; }
.od-dock__links span { display: flex; gap: 28px; }
html.od-stage:has(.od-dock) .od-scene__in--media { padding-bottom: 84px; }
html.od-stage:has(.od-dock) .od-cs-hero { height: calc(100vh - 76px); }
@media (max-width: 999px) {
	.od-dock { left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom); font-size: 12.5px; box-shadow: 0 -1px 0 var(--dk-line); }
	.od-dock__links { padding-inline: 14px; }
	.od-dock__links span { gap: 16px; }
	html:has(.od-dock) .od-wa, html:has(.od-dock) .od-top, html:has(.od-dock) .od-wa-card { translate: 0 -48px; }
}
@media (prefers-reduced-motion: reduce) { .od-dock, .od-dock * { transition: none !important; } }
@media print { .od-dock { display: none; } }
/* Folded rows really fold: their height comes from the line, not from a floor. */
.od-dock__fold > .od-dock__in, .od-dock__end > .od-dock__in { min-height: 0; line-height: 44px; }
.od-dock__end > .od-dock__links { line-height: 46px; }
/* Scenes stand in the window above the dock's one line. */
html.od-stage:has(.od-dock) .od-cs-row { min-height: calc(100vh - 76px); }
html.od-stage:has(.od-dock) .od-scene__in:not(.od-scene__in--media):not(:has(> .od-cs-hero)) { padding-bottom: 76px; }
/* The opening keeps its words whole in low windows. */
html.od-stage:has(.od-dock) .od-cs-hero__body { padding-block: 24px; }
html.od-stage:has(.od-dock) .od-cs-hero__titlerow { font-size: min(var(--od-fs-h1), 8.4vh); }
html.od-stage:has(.od-dock) .od-cs-facts { padding-block: 18px; row-gap: 12px; }
html.od-stage:has(.od-dock) .od-cs-facts__item { gap: 3px; }
/* Centred on the screen, and gone from Get in touch on (the owner's word, 8 November 2026). */
@media (min-width: 1000px) { .od-dock { left: 290px; right: 290px; } }
@media (min-width: 1000px) and (max-width: 1279px) { .od-dock__tags { display: none; } .od-dock__grid { grid-template-columns: 150px minmax(0, 1fr); } }
.od-dock { transition: opacity 0.3s ease, visibility 0.3s, translate 0.4s var(--dk-e); }
.od-dock[data-state="gone"] { opacity: 0; visibility: hidden; translate: 0 16px; pointer-events: none; }
.od-dock[data-state="gone"] * { visibility: hidden !important; }
@media (max-width: 999px) { html:has(.od-dock[data-state="gone"]) .od-wa, html:has(.od-dock[data-state="gone"]) .od-top, html:has(.od-dock[data-state="gone"]) .od-wa-card { translate: none; } }

/* Previous project, Back to portfolio, Next project under the form of the closing section (the owner's layout, 8 November 2026). */
.od-cs-ways { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; max-width: 1440px; margin: clamp(24px, 3.6vh, 40px) auto 0; font-size: 15px; line-height: 1.3; font-weight: 500; letter-spacing: 0.02em; }
.od-cs-ways a { color: var(--od-grey-700, #444); text-decoration: none; white-space: nowrap; transition: color 0.2s ease; }
.od-cs-ways a:hover, .od-cs-ways a:focus-visible { color: var(--od-brand-text); }
.od-cs-ways a:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 4px; }
.od-cs-ways__prev::before { content: "<"; margin-right: 10px; color: var(--od-brand); }
.od-cs-ways__next { justify-self: end; }
.od-cs-ways__next::after { content: ">"; margin-left: 10px; color: var(--od-brand); }
@media (min-width: 861px) {
	.od-cw:has(.od-cs-ways) .od-cw__in, .od-cw .od-cs-ways { width: min(100%, 76vw); }
	.od-cw:has(.od-cs-ways) .od-cw__in { grid-template-columns: minmax(0, 46fr) minmax(0, 48fr); justify-content: space-between; column-gap: 6%; }
	.od-cw:has(.od-cs-ways) .od-cw__words { gap: 18px; }
	.od-cw:has(.od-cs-ways) .od-cw__title { font-size: clamp(44px, min(5.2vw, 10.5vh), 88px); }
	.od-cw:has(.od-cs-ways) .od-cw__lead { font-size: clamp(16px, 1.25vw, 20px); }
	.od-cw:has(.od-cs-ways) .od-cw__card { padding: 24px 28px; }
	.od-cw:has(.od-cs-ways) .od-cw-fields { gap: 14px; }
	.od-cw:has(.od-cs-ways) .od-cw-grid { gap: 2px 22px; }
	.od-cw:has(.od-cs-ways) .od-cw-f input, .od-cw:has(.od-cs-ways) .od-cw-f select, .od-cw:has(.od-cs-ways) .od-cw-f textarea { padding: 20px 0 7px; font-size: 15px; }
	.od-cw:has(.od-cs-ways) .od-cw-f > span:not(.wpcf7-form-control-wrap):not(.od-sr) { top: 18px; font-size: 15px; }
	.od-cw:has(.od-cs-ways) .od-cw-f textarea { height: 62px; }
	.od-cw:has(.od-cs-ways) .od-cw-btn { padding: 13px 30px; font-size: 15px; }
	.od-cw:has(.od-cs-ways) .od-cw-send { gap: 26px; }
	.od-cw:has(.od-cs-ways) .od-cta__more { font-size: 14px; }
	.od-cw:has(.od-cs-ways) .od-form__consent { font-size: 12px; }
}
@media (max-width: 700px) {
	.od-cs-ways { grid-template-columns: 1fr 1fr; row-gap: 18px; margin-top: 36px; font-size: 14px; letter-spacing: 0; }
	.od-cs-ways__list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media print { .od-cs-ways { display: none; } }
@media (min-width: 861px) { .od-cw:has(.od-cs-ways) .od-cw-send { gap: 14px; flex-wrap: nowrap; } .od-cw:has(.od-cs-ways) .od-cw-btn { flex: none; } .od-cw:has(.od-cs-ways) .od-cta__more { font-size: 13px; } }
.od-cw:has(.od-cs-ways) .od-cta__more a { white-space: nowrap; }
/* Nothing of the dock shows until its script has chosen a state: on phones it comes in at the first section (8 November 2026). */
html.od-js:not(.od-dock-on) .od-dock { opacity: 0; visibility: hidden; }
