/* Agency page: "Judged by the work". The agency is shown through the five kinds of work it makes.
   Sections: the wall (five picture windows, the headline across them), what we make (five rows of one size
   and one picture frame: Brand, Websites, Products, Content, Growth), the ways out.

   Layouts, all decided here so nothing moves when the page script arrives:
   - the wall: screens of 1000 x 600 px or more, where scripts run (html.od-js);
   - the stage: a fine pointer, 1000 x 700 px or more, motion allowed, the motion script running (html.od-motion):
     the windows of the wall follow the pointer and a picture follows it over the ways out;
   - the flow: everything else (phones, touch, low windows, reduced motion, no scripts, paper).
   Nothing on this page is held. agency.js paints the wall from the scroll position through custom
   properties; a property it has not set leaves the element complete. */

.od-ag {
	--od-ag-hair: var(--od-grey-50);
	--od-ag-wait: var(--od-grey-300);
	--od-ag-u: min(1vw, 1.7vh);
	/* Width in em of the longest line of the headline as the wall sets it (second line with its indent), and of
	   the longest name of the five kinds: measure both again when a translation changes or a language is added. */
	--od-ag-h1-len: 7.7;
	--od-ag-name-len: 4.3;
	position: relative;
	overflow-x: clip;
}
.od-ag:lang(fr) { --od-ag-name-len: 5.1; }
.od-ag:lang(es) { --od-ag-h1-len: 8.3; --od-ag-name-len: 5.5; }
.od-ag:lang(de) { --od-ag-h1-len: 8.95; --od-ag-name-len: 5; }
.od-ag:lang(it) { --od-ag-name-len: 4.45; }
.od-ag:lang(pt) { --od-ag-name-len: 5.8; }
.od-ag:not(:lang(en), :lang(fr), :lang(es), :lang(de), :lang(it), :lang(pt)) { --od-ag-h1-len: 9; --od-ag-name-len: 5.8; }
.od-ag canvas { display: block; }
.od-ag-link { display: inline-flex; align-items: center; gap: 0.3em; font-weight: 600; color: var(--od-brand-text); }
.od-ag-link svg { width: 1.05em; height: 1.05em; transition: transform 0.45s var(--od-ease); }
.od-ag-link:hover svg { transform: translate(0.12em, -0.12em); }

/* Letters that wait in grey and are lit one by one (agency.js) */
.od-ag-fw { display: inline-block; white-space: nowrap; }
.od-ag-fl { color: var(--od-ag-wait); transition: color 0.3s linear; }
.od-ag-fl.od-ag-lit { color: inherit; }

/* ---------- 1. Opening ---------- */
.od-ag-open { position: relative; display: flex; flex-direction: column; gap: 18px; padding: calc(var(--od-header-h) + 20px) var(--od-gutter) 40px; }
.od-ag-h1 { font-size: clamp(44px, 15.4vw, 96px); font-weight: 700; line-height: 0.94; letter-spacing: -0.06em; overflow-wrap: break-word; }
/* Away from the wall the headline is one block of running text, so the browser counts it whole as the largest paint */
.od-ag-h1__l, .od-ag-h1__l > span { display: inline; }
.od-ag-open__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.od-ag-open__lead { max-width: 23em; font-size: var(--od-fs-b2); line-height: 1.45; color: var(--od-fg-soft); }
.od-ag-cue { display: none; align-items: center; gap: 6px; font-size: var(--od-fs-b4); font-weight: 500; }
.od-ag-wall { order: 5; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 12px; align-items: end; margin-top: 10px; }
.od-ag-win--1 { grid-area: 1 / 1 / auto / span 4; }
.od-ag-win--3 { grid-area: 1 / 5 / auto / span 2; }
/* The widest picture comes last, below the first screen of a phone: the headline stays the largest thing painted first. */
.od-ag-win--4 { grid-area: 2 / 1 / auto / span 2; }
.od-ag-win--5 { grid-area: 2 / 3 / auto / span 4; }
.od-ag-win--2 { grid-area: 3 / 1 / auto / span 6; }
.od-ag-win > a { display: block; }
.od-ag-win__pic { position: relative; display: block; overflow: hidden; background: var(--od-ag-hair); }
.od-ag-win--1 .od-ag-win__pic, .od-ag-win--5 .od-ag-win__pic { aspect-ratio: 4 / 3; }
.od-ag-win--2 .od-ag-win__pic { aspect-ratio: 16 / 9; }
.od-ag-win--3 .od-ag-win__pic, .od-ag-win--4 .od-ag-win__pic { aspect-ratio: 3 / 4; }
.od-ag-win__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.od-ag-win__pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.od-ag-win__name { display: flex; align-items: center; gap: 8px; padding-top: 8px; font-size: var(--od-fs-b4); font-weight: 600; line-height: 1.2; }
.od-ag-win__name::before { content: ">"; font-family: var(--od-mono); font-weight: 500; letter-spacing: 0; color: var(--od-brand); transition: translate 0.45s var(--od-ease); }
.od-ag-win > a:hover .od-ag-win__name::before, .od-ag-win > a:focus-visible .od-ag-win__name::before { translate: 4px 0; }
@media (min-width: 900px) {
	/* Wide, and not a wall (no scripts, paper): the five pictures stand in one row */
	.od-ag-wall { grid-template-columns: 4fr 6fr 3fr 3fr 5fr; gap: 16px; }
	.od-ag-win--1 { grid-area: 1 / 1; } .od-ag-win--2 { grid-area: 1 / 2; } .od-ag-win--3 { grid-area: 1 / 3; } .od-ag-win--4 { grid-area: 1 / 4; } .od-ag-win--5 { grid-area: 1 / 5; }
}
/* The headline is the largest element of the first screen at every width (data-od-first): it is painted
   with the first frame and only rises. Away from the wall it rises whole, as the site moves any marked
   element; on the wall its two lines rise one after the other (further down), because a white copy of it
   lies over the windows and must move with it line for line. */
@keyframes od-ag-rise { from { transform: translateY(0.2em); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 999px), (prefers-reduced-motion: no-preference) and (max-height: 599px) {
	html.od-js .od-ag-win__pic img { animation: od-ag-settle 1.2s var(--od-ease) both; }
}
@keyframes od-ag-settle { from { transform: scale(1.12); } to { transform: none; } }

/* The wall: five windows at different depths, the headline across them: black on the ground and, in a copy
   the script lays over the windows and cuts to their shapes, white inside every window. */
@media screen and (min-width: 1000px) and (min-height: 600px) {
	html.od-js .od-ag-open { display: block; height: 100vh; min-height: 600px; padding: 0; overflow: hidden; }
	html.od-js .od-ag-h1 { position: absolute; left: var(--od-gutter); top: 31.5%; z-index: 1; font-size: min(calc(var(--od-ag-u) * 10.4), calc((100vw - 2 * var(--od-gutter)) / var(--od-ag-h1-len))); white-space: nowrap; pointer-events: none; }
	html.od-js .od-ag-h1__l { display: block; }
	html.od-js .od-ag-h1__l > span { display: inline-block; }
	html.od-js .od-ag-h1__l + .od-ag-h1__l { padding-left: 1.08em; }
	.od-motion .od-ag-h1[data-od-first][data-od-first] { animation: none; }
	html.od-js .od-ag-h1--over { z-index: 3; color: var(--od-white); clip-path: inset(50%); }
	html.od-js .od-ag-wall { position: absolute; inset: 0; z-index: 2; display: block; margin: 0; }
	html.od-js .od-ag-win { position: absolute; grid-area: auto; will-change: transform; }
	html.od-js .od-ag-win--1 { left: 5.5%; top: 19.5%; width: calc(var(--od-ag-u) * 19); }
	html.od-js .od-ag-win--2 { left: 30.5%; top: 13.5%; width: calc(var(--od-ag-u) * 29); }
	html.od-js .od-ag-win--3 { left: 65%; top: 21.5%; width: calc(var(--od-ag-u) * 15.5); }
	html.od-js .od-ag-win--4 { left: 85%; top: 54%; width: calc(var(--od-ag-u) * 11.5); }
	html.od-js .od-ag-win--5 { left: 36.5%; top: 54%; width: calc(var(--od-ag-u) * 24); }
	html.od-js .od-ag-win--4 .od-ag-win__pic { aspect-ratio: 4 / 5; }
	html.od-js .od-ag-win--5 .od-ag-win__pic { aspect-ratio: 16 / 9; }
	html.od-js .od-ag-win__pic { clip-path: inset(calc((1 - var(--od-ag-rv, 1)) * 50%) 0); }
	html.od-js .od-ag-win__pic img { transform: scale(calc(1.28 - 0.28 * var(--od-ag-rv, 1))); }
	html.od-js .od-ag-win__pic::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.26); pointer-events: none; }
	html.od-js .od-ag-win.od-ag-glon .od-ag-win__pic { clip-path: none; background: none; }
	html.od-js .od-ag-win.od-ag-glon .od-ag-win__pic::after { content: none; }
	html.od-js .od-ag-win.od-ag-glon img { opacity: 0; }
	html.od-js .od-ag-win.od-ag-glon canvas { display: block; }
	html.od-js .od-ag-win__name { position: absolute; left: 0; top: 100%; white-space: nowrap; }
	html.od-js .od-ag-win--1 .od-ag-win__name, html.od-js .od-ag-win--2 .od-ag-win__name, html.od-js .od-ag-win--3 .od-ag-win__name { top: auto; bottom: 100%; padding: 0 0 8px; }
	html.od-js .od-ag-open__foot { position: absolute; left: var(--od-gutter); bottom: 5.2%; z-index: 4; }
	html.od-js .od-ag-open__lead { max-width: 21em; }
	html.od-js .od-ag-cue { position: absolute; right: var(--od-gutter); bottom: 5.2%; z-index: 4; display: inline-flex; }
	html.od-js .od-ag-cue svg { transition: transform 0.45s var(--od-ease); }
	html.od-js .od-ag-cue:hover svg { transform: translateY(4px); }
}
/* The wall on a phone held upright (the owner, 19 October 2026: "that cool effect on the hero" on phones too): the same
   five windows and the headline across them, black on the ground and white inside the windows, laid out for a tall
   screen. agency.js treats this as a wall (WALL). */
@media screen and (max-width: 999px) and (orientation: portrait) and (min-height: 560px) {
	html.od-js .od-ag-open { display: block; position: relative; height: 100vh; height: 100svh; min-height: 560px; padding: 0; overflow: hidden; }
	html.od-js .od-ag-h1 { position: absolute; left: var(--od-gutter); top: 35%; z-index: 1; margin: 0; font-size: calc((100vw - 2 * var(--od-gutter)) / var(--od-ag-h1-len)); white-space: nowrap; pointer-events: none; }
	html.od-js .od-ag-h1__l { display: block; }
	html.od-js .od-ag-h1__l > span { display: inline-block; }
	html.od-js .od-ag-h1__l + .od-ag-h1__l { padding-left: 1.08em; }
	.od-motion .od-ag-h1[data-od-first][data-od-first] { animation: none; }
	html.od-js .od-ag-h1--over { z-index: 3; color: var(--od-white); clip-path: inset(50%); }
	html.od-js .od-ag-wall { position: absolute; inset: 0; z-index: 2; display: block; margin: 0; }
	html.od-js .od-ag-win { position: absolute; grid-area: auto; margin: 0; will-change: transform; }
	html.od-js .od-ag-win--1 { left: 5%; top: 13%; width: 44vw; }
	html.od-js .od-ag-win--2 { left: 54%; top: 18%; width: 41vw; }
	html.od-js .od-ag-win--3 { left: 67%; top: 51%; width: 28vw; }
	html.od-js .od-ag-win--4 { left: 5%; top: 54%; width: 25vw; }
	html.od-js .od-ag-win--5 { left: 35%; top: 57%; width: 28vw; }
	html.od-js .od-ag-win__pic { aspect-ratio: 4 / 3; }
	html.od-js .od-ag-win--3 .od-ag-win__pic, html.od-js .od-ag-win--4 .od-ag-win__pic { aspect-ratio: 4 / 5; }
	html.od-js .od-ag-win__pic { clip-path: inset(calc((1 - var(--od-ag-rv, 1)) * 50%) 0); }
	html.od-js .od-ag-win__pic img { transform: scale(calc(1.28 - 0.28 * var(--od-ag-rv, 1))); animation: none; }
	html.od-js .od-ag-win__pic::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.26); pointer-events: none; }
	html.od-js .od-ag-win__name { position: absolute; left: 0; top: 100%; white-space: nowrap; font-size: 13px; padding-top: 5px; }
	html.od-js .od-ag-win--1 .od-ag-win__name, html.od-js .od-ag-win--2 .od-ag-win__name { top: auto; bottom: 100%; padding: 0 0 5px; }
	html.od-js .od-ag-open__foot { position: absolute; left: var(--od-gutter); right: var(--od-gutter); bottom: 4%; z-index: 4; }
	html.od-js .od-ag-cue { display: none; }
}
@media screen and (max-width: 999px) and (orientation: portrait) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
	html.od-js .od-ag-h1__l > span { animation: od-ag-rise 0.95s var(--od-ease) both; }
	html.od-js .od-ag-h1__l + .od-ag-h1__l > span { animation-delay: 0.09s; }
	html.od-js .od-ag:not(.od-ag-ready) .od-ag-win__pic { clip-path: inset(50% 0); animation: od-ag-late 0.6s var(--od-ease) 4s forwards; }
}
/* The windows wait closed until the script opens them; if it never arrives they open by themselves. */
@media screen and (min-width: 1000px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
	html.od-js .od-ag-h1__l > span { animation: od-ag-rise 0.95s var(--od-ease) both; }
	html.od-js .od-ag-h1__l + .od-ag-h1__l > span { animation-delay: 0.09s; }
	html.od-js .od-ag:not(.od-ag-ready) .od-ag-win__pic { clip-path: inset(50% 0); animation: od-ag-late 0.6s var(--od-ease) 4s forwards; }
}
@keyframes od-ag-late { to { clip-path: inset(0); } }

/* ---------- 2. What we make: five rows of one size, one frame ----------
   The five kinds of work stand as five rows: number (a CSS counter, never a dictionary string), name, one
   sentence, the services as links. Each row carries its own picture, cut from a project (5:4, the subject in the middle). From 1000 px the five pictures lie in
   one frame beside the list and the lit row (.is-on: the first at rest, then the row under the pointer or
   the focus, agency.js) shows its own; below that every row shows a small picture beside its name.
   Nothing is held and nothing follows the scroll: on a wide window the section is one window high. */
.od-ag-make { padding: calc(var(--od-header-h) + 12px) var(--od-gutter) clamp(48px, 12vw, 72px); scroll-margin-top: 0; }
.od-ag-make__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.od-ag-make__h { max-width: 16em; font-size: clamp(28px, 7.6vw, 40px); font-weight: 600; line-height: 1.06; letter-spacing: -0.05em; text-wrap: balance; }
.od-ag-make__lead { max-width: 31em; font-size: var(--od-fs-b2); line-height: 1.45; color: var(--od-fg-soft); text-wrap: pretty; }
.od-ag-make .od-ag-kinds { position: relative; counter-reset: od-ag-kind; margin: clamp(24px, 6vw, 36px) 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--od-ag-hair); }
.od-ag-kind { counter-increment: od-ag-kind; display: grid; grid-template-columns: auto minmax(0, 1fr) 104px; align-items: center; column-gap: 12px; padding: 18px 0 20px; border-top: 1px solid var(--od-ag-hair); }
.od-ag-kind::before { content: counter(od-ag-kind, decimal-leading-zero); grid-area: 1 / 1; font-family: var(--od-mono); font-size: 13px; font-weight: 500; line-height: 1; color: var(--od-fg-mute); }
.od-ag-kind__name { grid-area: 1 / 2; font-size: clamp(34px, 10.4vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -0.06em; }
.od-ag-kind__pic { grid-area: 1 / 3; position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--od-ag-hair); }
.od-ag-kind__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.od-ag-kind__say { grid-area: 2 / 1 / auto / -1; max-width: 30em; margin-top: 14px; font-size: var(--od-fs-b3); font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; text-wrap: pretty; }
.od-ag-kind__svc { grid-area: 3 / 1 / auto / -1; display: flex; flex-wrap: wrap; gap: 2px 0; margin-top: 8px; font-size: var(--od-fs-b4); font-weight: 500; line-height: 1.5; color: var(--od-fg-mute); }
.od-ag-kind__svc a { color: var(--od-fg-soft); }
.od-ag-kind__svc a:not(:last-child)::after { content: "/"; display: inline-block; margin: 0 0.55em; font-family: var(--od-mono); color: var(--od-fg-mute); }
.od-ag-kind__svc a:hover, .od-ag-kind__svc a:focus-visible { color: var(--od-brand-text); }
@media (min-width: 1000px) {
	.od-ag-make {
		/* The share of the width the frame takes, and the share the lead takes beside the heading (both per language,
		   below: longer names and sentences get a narrower frame); the size of the names follows the window, the shorter side first,
		   and the room the longest name has (--od-ag-name-len, per language). */
		--od-ag-frame: 45%;
		--od-ag-lead: 45%;
		--od-ag-kind-fs: clamp(32px, min(3.5vw, 6.4vh), 72px);
		/* The top clears the bar, so the section stands whole in one window with the bar on screen or away. */
		padding-block: max(calc(var(--od-header-h) + 14px), 9.5vh) clamp(28px, 5vh, 80px);
	}
	.od-ag-make__head { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--od-ag-lead) - var(--od-gutter)); column-gap: var(--od-gutter); align-items: start; row-gap: clamp(8px, 1.6vh, 16px); }
	.od-ag-make__head .od-label { grid-area: 1 / 1 / auto / -1; justify-self: start; }
	.od-ag-make__h { grid-area: 2 / 1; font-size: clamp(28px, min(3.1vw, 5.6vh), 58px); }
	.od-ag-make__lead { grid-area: 2 / 2; max-width: 27em; padding-top: 0.3em; }
	.od-ag-make .od-ag-kinds { margin-top: clamp(18px, 3.6vh, 44px); padding-right: var(--od-ag-frame); border-bottom: 0; }
	.od-ag-kind { grid-template-columns: 3.3em calc(var(--od-ag-kind-fs) * var(--od-ag-name-len)) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(16px, 1.8vw, 32px); align-content: center; min-height: clamp(80px, 11.6vh, 132px); padding: clamp(6px, 1.2vh, 18px) 0; }
	.od-ag-kind:last-child { border-bottom: 1px solid var(--od-ag-hair); }
	.od-ag-kind::before { content: ">\00a0" counter(od-ag-kind, decimal-leading-zero); grid-area: 1 / 1 / span 2; align-self: center; font-size: 14px; white-space: pre; background: linear-gradient(90deg, transparent 1.6ch, var(--od-fg-mute) 0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
	.od-ag-kind.is-on::before { background-image: linear-gradient(90deg, var(--od-brand-text) 1.6ch, var(--od-black) 0); }
	.od-ag-kind__name { grid-area: 1 / 2 / span 2; align-self: center; font-size: var(--od-ag-kind-fs); white-space: nowrap; transition: color 0.25s; }
	.od-ag-kind.is-on .od-ag-kind__name { color: var(--od-brand); }
	.od-ag-kind__say { grid-area: 1 / 3; align-self: end; margin: 0; font-size: clamp(15px, min(1.2vw, 2.1vh), 20px); line-height: 1.34; }
	.od-ag-kind__svc { grid-area: 2 / 3; align-self: start; margin-top: clamp(3px, 0.7vh, 8px); font-size: clamp(13px, min(1vw, 1.75vh), 16px); line-height: 1.4; }
	/* One frame: the five pictures lie in it, the lit row's on top. */
	.od-ag-kind__pic { position: absolute; right: 0; top: 0; bottom: 0; width: calc(var(--od-ag-frame) - var(--od-gutter)); aspect-ratio: auto; opacity: 0; transition: opacity 0.4s linear; }
	.od-ag-kind.is-on .od-ag-kind__pic { opacity: 1; z-index: 1; }
	.od-ag-kind__pic img, .od-ag-kind__pic canvas { transform: scale(1.05); transition: transform 1.1s var(--od-ease); }
	.od-ag-kind.is-on .od-ag-kind__pic img, .od-ag-kind.is-on .od-ag-kind__pic canvas { transform: none; }
	/* On the stage the script draws each picture into a canvas of the same box, so the lit one answers the pointer (agency.js). */
	.od-ag-kind__pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
	.od-ag-kind__pic.od-ag-glon img { opacity: 0; }
	.od-ag-kind__pic.od-ag-glon canvas { display: block; }
	.od-ag-kinds::before, .od-ag-kinds::after { content: ""; position: absolute; z-index: 2; width: 26px; height: 26px; color: var(--od-white); background: var(--od-corner); filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6)); pointer-events: none; }
	/* Two slipped corners on the frame, top right and bottom left: the bottom right of a window belongs to the chat and the way back up. */
	.od-ag-kinds::before { right: 14px; top: 14px; transform: scaleX(-1); }
	.od-ag-kinds::after { right: calc(var(--od-ag-frame) - var(--od-gutter) - 40px); bottom: 14px; transform: scaleY(-1); }
	/* A name of the wall, or a row's own address, lands on the whole section (the script measures how far up that is). */
	html.od-js .od-ag-kind { scroll-margin-top: var(--od-ag-up, 0px); }
}
/* Measure the section again in every language after a change to its words or a translation:
   node design/qa/agency-live/scripts/section.mjs <address of the language> <folder> <tag> 1440x900,1280x720 */
@media (min-width: 1000px) {
	.od-ag:lang(fr) .od-ag-make, .od-ag:lang(pt) .od-ag-make { --od-ag-frame: 38%; --od-ag-lead: 50%; }
	.od-ag:lang(fr) .od-ag-make__lead, .od-ag:lang(pt) .od-ag-make__lead { max-width: none; }
	.od-ag:lang(es) .od-ag-make, .od-ag:lang(de) .od-ag-make { --od-ag-frame: 38%; }
}
@media (min-width: 1000px) and (max-width: 1179px) { .od-ag-make { --od-ag-frame: 38%; } }
/* Low windows (a laptop with its browser bars): the rows close up so the section still stands in one window. */
@media (min-width: 1000px) and (max-height: 719px) {
	.od-ag-make { padding-block: calc(var(--od-header-h) + 6px) 20px; }
	.od-ag-make .od-ag-kinds { margin-top: 14px; }
	.od-ag-kind { min-height: 72px; padding-block: 4px; }
}
@media (min-width: 1000px) and (prefers-reduced-motion: reduce) {
	.od-ag-kind__pic, .od-ag-kind__pic img, .od-ag-kind__name { transition: none; }
	.od-ag-kind__pic img { transform: none; }
}

/* ---------- 4. The ways out ---------- */
.od-ag-close { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.4vw, 32px); padding: var(--od-section) var(--od-gutter) var(--od-section); }
.od-ag-close__h { max-width: 10.5em; padding-inline: calc(var(--od-inset) - var(--od-gutter)); font-size: clamp(38px, 6.4vw, 108px); font-weight: 700; line-height: 0.98; letter-spacing: -0.06em; }
.od-ag-close__fixed { display: flex; align-items: center; gap: 12px; padding-inline: calc(var(--od-inset) - var(--od-gutter)); font-size: var(--od-fs-h5); font-weight: 500; line-height: 1.2; }
.od-ag-ways { align-self: stretch; margin-top: clamp(12px, 2vw, 32px); border-bottom: 1px solid var(--od-black); }
.od-ag-ways a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; padding: clamp(12px, 1.6vw, 22px) 0; border-top: 1px solid var(--od-black); transition: padding 0.55s var(--od-ease), color 0.3s; }
.od-ag-ways__word { font-size: clamp(40px, 6.6vw, 112px); font-weight: 700; line-height: 1; letter-spacing: -0.06em; }
.od-ag-ways__text { grid-column: 1; font-size: var(--od-fs-b2); color: var(--od-fg-soft); }
.od-ag-ways a svg { grid-column: 2; grid-row: 1 / span 2; width: clamp(34px, 4.6vw, 70px); height: clamp(34px, 4.6vw, 70px); color: var(--od-brand); transition: transform 0.55s var(--od-ease); }
.od-ag-ways a:hover, .od-ag-ways a:focus-visible { padding-left: clamp(8px, 1.6vw, 28px); }
.od-ag-ways a:hover svg, .od-ag-ways a:focus-visible svg { transform: translate(6%, -6%) rotate(45deg); }
@media (min-width: 900px) {
	.od-ag-ways a { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) auto; }
	.od-ag-ways__text { grid-column: 2; }
	.od-ag-ways a svg { grid-column: 3; grid-row: 1; }
}
.od-ag-follow { display: none; }

/* ---------- The stage (a fine pointer, a wide window, motion allowed) ---------- */
@media screen and (hover: hover) and (pointer: fine) and (min-width: 1000px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
	/* A picture follows the pointer over the ways out */
	.od-motion .od-ag-follow { display: block; position: fixed; left: 0; top: 0; z-index: 40; width: clamp(200px, 19vw, 320px); aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; clip-path: inset(50% 0); transition: clip-path 0.5s var(--od-ease); will-change: transform; }
	.od-motion .od-ag-follow.is-on { clip-path: inset(0); }
	.od-motion .od-ag-follow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 0.35s, transform 0.9s var(--od-ease); }
	.od-motion .od-ag-follow img.is-on { opacity: 1; transform: none; }
}

/* ---------- Print: paper has no scroll position ----------
   The wall and the stage are layouts for screens, so paper gets the flow; whatever the script painted for the
   current position is overruled. */
@media print {
	.od-ag-follow, .od-ag-cue, .od-ag canvas, .od-ag-h1--over { display: none !important; }
	.od-ag * { clip-path: none !important; transform: none !important; opacity: 1 !important; animation: none !important; }
	.od-ag-fl { color: inherit !important; }
	.od-ag-win, .od-ag-kind { break-inside: avoid; }
	.od-ag-kind__pic { position: relative !important; width: 104px !important; }
}

/* ---------- Why Odduel (theme 1.3.264, the owner's approval of 18 October 2026): one screen on white after the wall ---------- */
.od-ag-why { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: calc(var(--od-header-h) + 2vh) var(--od-gutter) 4vh; box-sizing: border-box; background: var(--od-white); color: var(--od-black); }
.od-ag-why__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4vw; margin-bottom: 4vh; }
.od-ag-why__lb { margin-bottom: 2.4vh; }
.od-ag-why__st { margin: 0; max-width: 28ch; font-size: clamp(28px, min(3vw, 5vh), 54px); font-weight: 400; line-height: 1.12; letter-spacing: -0.035em; color: #555; }
.od-ag-why__st b { font-weight: 700; color: var(--od-black); }
.od-ag-why__st em { display: block; margin-top: 0.15em; font-style: normal; font-weight: 800; letter-spacing: -0.045em; color: var(--od-brand); }
.od-ag-why__side { margin: 0; font: 13px/1.6 var(--od-mono); color: var(--od-black); white-space: nowrap; }
.od-ag-why__row { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.od-ag-why__p { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: clamp(18px, 2vw, 30px); overflow: hidden; border-radius: 6px; background: #111; color: var(--od-white); }
.od-ag-why__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transform: scale(1.04); transition: opacity 0.6s, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.od-ag-why__p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.9)); }
.od-ag-why__p:hover img { opacity: 0.85; transform: scale(1); }
.od-ag-why__p > :not(img) { position: relative; z-index: 1; }
.od-ag-why__n { margin-bottom: auto; font: 13px var(--od-mono); color: var(--od-brand); }
.od-ag-why__p h3 { margin: 0 0 1.2vh; font-size: clamp(24px, min(2.3vw, 4vh), 40px); line-height: 1; letter-spacing: -0.04em; }
.od-ag-why__p p { max-width: 34ch; margin: 0; font-size: clamp(14px, min(1.1vw, 2vh), 18px); line-height: 1.45; color: #ddd; }
@media (max-width: 760px) {
	.od-ag-why { min-height: 0; }
	.od-ag-why__top, .od-ag-why__row { grid-template-columns: 1fr; }
}

/* ---------- The end (theme 1.3.264): the headline is held while a black ground rises over it, into the contact section ---------- */
.od-ag-end { position: relative; height: 200vh; }
.od-ag-end__in { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.od-ag-end__l { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--od-gutter); }
.od-ag-end__l--w { background: var(--od-white); color: var(--od-black); }
.od-ag-end__l--k { background: #050505; color: var(--od-white); clip-path: inset(calc(100% - var(--od-p, 0) * 100%) 0 0 0); }
.od-ag-end__h { max-width: 13ch; margin: 0; font-size: clamp(56px, 8.6vw, 170px); font-weight: 800; line-height: 0.9; letter-spacing: -0.06em; }
.od-ag-end__h em { font-style: normal; color: var(--od-brand); }
.od-ag-end__fx { margin: 4vh 0 0; font: 400 clamp(16px, 1.4vw, 22px) var(--od-mono); }
.od-ag-end__fx::before { content: "> "; color: var(--od-brand); }
.od-ag-end__l--k .od-ag-end__fx::after { content: "\2588"; margin-left: 6px; color: var(--od-brand); animation: od-ag-end-blink 1s steps(1) infinite; }
@keyframes od-ag-end-blink { 50% { opacity: 0; } }
html:not(.od-js) .od-ag-end, .od-ag-end.is-flat { height: auto; }
html:not(.od-js) .od-ag-end__in, .od-ag-end.is-flat .od-ag-end__in { position: relative; height: auto; padding: 16vh 0; }
html:not(.od-js) .od-ag-end__l--w, .od-ag-end.is-flat .od-ag-end__l--w { position: relative; }
html:not(.od-js) .od-ag-end__l--k, .od-ag-end.is-flat .od-ag-end__l--k { display: none; }
@media print { .od-ag-end { height: auto; } .od-ag-end__in { position: static; height: auto; } .od-ag-end__l--w { position: static; } .od-ag-end__l--k { display: none; } }
.od-ag-why--live .od-ag-why__w { display: inline-block; will-change: opacity, transform; }
.od-ag-why--live .od-ag-why__p { will-change: transform, clip-path; }
@media print { .od-ag-why__w, .od-ag-why__p { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* The headline over the wall is off the page at the owner's word (8 November 2026); it stays for search engines and screen readers as the page's H1. */
.od-ag-h1, html.od-js .od-ag-h1 { position: absolute !important; left: 0 !important; top: 0 !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
html.od-js .od-ag-h1--over { display: none !important; }

/* The closing statement stands as one compact black band, finished, with no extra screen of scrolling (8 November 2026). */
.od-ag-end, html.od-js .od-ag-end { height: auto !important; }
.od-ag-end__in { position: relative !important; top: auto; height: auto !important; overflow: visible; }
.od-ag-end__l--w { position: absolute !important; inset: auto !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.od-ag-end__l--k { position: relative !important; inset: auto !important; display: flex !important; clip-path: none !important; padding-block: clamp(64px, 7vw, 104px); }

/* The opening as a deck of cards on a dark band, in the manner of the home page's hero (the owner's mock-up, 10 November 2026).
   A card comes out of the deck under the pointer or the focus, its picture darkens and its words appear; it leads to its
   service. agency-deck.js chooses the card by the pointer's angle. Phones: a row that slides sideways under the band. */
.od-ag-band { position: relative; height: 280px; background: #2b333c url(../../img/agency-hero-ground-c-2560.webp) center / cover no-repeat; }
.od-ag-corner { position: absolute; width: 26px; height: 26px; color: var(--od-white); background: var(--od-corner); }
.od-ag-corner--tl { left: 7%; top: 12%; }
.od-ag-corner--tr { right: 7%; top: 12%; transform: scaleX(-1); }
.od-ag-corner--bl { left: 7%; bottom: 12%; transform: scaleY(-1); }
.od-ag-corner--br { right: 7%; bottom: 12%; transform: scale(-1); }
.od-ag-tag { position: absolute; z-index: 2; left: 50%; top: calc(var(--od-header-h) + 86px); width: max-content; margin: 0; transform: translateX(-50%); color: var(--od-white); font-size: clamp(24px, 7vw, 34px); line-height: 1.25; font-weight: 400; letter-spacing: 0.03em; }
.od-ag-tag span { display: block; }
.od-ag-tag span + span { text-align: right; }
.od-ag-tag span:first-child::before { content: ">"; margin-right: 0.45em; font-size: 0.62em; vertical-align: 0.14em; color: var(--od-brand); }
.od-ag-bk { --h: 88px; --w: 24px; --s: 8px; --slip: 8px; position: absolute; z-index: 2; top: calc(var(--od-header-h) + 76px); }
.od-ag-bk--l { left: 7%; }
.od-ag-bk--r { right: 7%; }

.od-ag-open, html.od-js .od-ag-open { position: relative; display: block; height: auto; min-height: 0; padding: var(--od-header-h) 0 32px; overflow: hidden; }
.od-ag-wall, html.od-js .od-ag-wall { position: relative; inset: auto; z-index: 3; display: flex; align-items: stretch; gap: 10px; margin: -64px 0 24px; padding: 0 var(--od-gutter) 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.od-ag-wall::-webkit-scrollbar { display: none; }
.od-ag-open .od-ag-win, html.od-js .od-ag-open .od-ag-win { position: relative; inset: auto; left: auto; top: auto; flex: 0 0 62vw; width: auto; height: 90vw; max-height: 62vh; margin: 0; transform: none; will-change: auto; scroll-snap-align: center; }
.od-ag-open .od-ag-win > a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 20px; color: var(--od-white); text-decoration: none; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }
.od-ag-open .od-ag-win__pic, html.od-js .od-ag-open .od-ag-win__pic { position: absolute; inset: 0; aspect-ratio: auto !important; clip-path: none !important; }
.od-ag-open .od-ag-win__pic img, html.od-js .od-ag-open .od-ag-win__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: none; animation: none; }
.od-ag-open .od-ag-win__pic canvas { display: none !important; }
.od-ag-open .od-ag-win__pic::after, html.od-js .od-ag-open .od-ag-win__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 42%); pointer-events: none; }
.od-ag-win--1 img { object-position: 41% 50%; }
.od-ag-win--2 img { object-position: 20% 50%; }
.od-ag-win--5 img { object-position: 31% 50%; }
.od-ag-win__info { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.od-ag-open .od-ag-win .od-ag-win__name, html.od-js .od-ag-open .od-ag-win .od-ag-win__name { position: static; padding: 0; color: var(--od-white); font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.od-ag-win__say { display: none; font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, 0.9); text-wrap: pretty; }
.od-ag-open__foot, html.od-js .od-ag-open__foot { position: static; padding-inline: var(--od-gutter); }
.od-ag-open .od-ag-cue { display: none; }

@media (min-width: 1000px) and (min-height: 600px) {
	.od-ag-open, html.od-js .od-ag-open { --dk-h: min(62.5svh, 31.2vw); --dk-w: calc(var(--dk-h) * 0.47); display: block; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
	.od-ag-band { position: absolute; left: 0; right: 0; top: var(--od-header-h); bottom: 23%; height: auto; }
	.od-ag-corner--tl, .od-ag-corner--bl { left: 13%; }
	.od-ag-corner--tr, .od-ag-corner--br { right: 13%; }
	.od-ag-corner--tl, .od-ag-corner--tr { top: 14%; }
	.od-ag-corner--bl, .od-ag-corner--br { bottom: 10%; }
	/* The phrase stays clear of the front card on narrow windows; the bracket always closes it at the same distance. */
	.od-ag-open { --tag-l: max(calc(65% - 80px), calc(42% + var(--dk-h) * 0.54 + 12px)); }
	.od-ag-tag { left: var(--tag-l); top: 48%; transform: translateY(-50%); font-size: min(2.6vw, 5.4svh); }
	.od-ag-bk { --h: min(11svh, 5.6vw); --w: calc(var(--h) * 0.29); --s: calc(var(--h) * 0.1); --slip: calc(var(--h) * 0.1); top: calc(48% - var(--h) / 2); }
	.od-ag-bk--l { left: calc(12% + 80px); }
	.od-ag-bk--r { right: auto; left: calc(var(--tag-l) + min(2.6vw, 5.4svh) * 7.55 + 16px); }

	.od-ag-wall, html.od-js .od-ag-wall { position: absolute; left: calc(42% - var(--dk-w) / 2); top: calc(58% - var(--dk-h) / 2 - 80px); display: block; width: var(--dk-w); height: var(--dk-h); margin: 0; padding: 0; overflow: visible; }
	.od-ag-open .od-ag-win, html.od-js .od-ag-open .od-ag-win { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; max-height: none; flex: none; z-index: var(--z); transform-origin: 50% 118%; transform: rotate(calc(var(--a) + var(--sp, 0deg))) translateY(calc((1 - var(--sc, 1)) * -68%)) scale(var(--sc, 1)); transition: transform 0.85s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
	.od-ag-win--1 { --a: -36deg; --z: 1; --sc: 0.68; }
	.od-ag-win--2 { --a: -22.5deg; --z: 2; --sc: 0.76; }
	.od-ag-win--4 { --a: -9deg; --z: 3; --sc: 0.84; }
	.od-ag-win--5 { --a: 4.5deg; --z: 4; --sc: 0.92; }
	.od-ag-win--3 { --a: 18deg; --z: 5; --sc: 1; }
	.od-ag-open .od-ag-win > a { border-radius: calc(var(--dk-h) * 0.043); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
	.od-ag-win__info { left: calc(var(--dk-w) * 0.07); right: calc(var(--dk-w) * 0.07); bottom: calc(var(--dk-w) * 0.08); gap: 10px; }
	.od-ag-open .od-ag-win .od-ag-win__name, html.od-js .od-ag-open .od-ag-win .od-ag-win__name { font-size: calc(var(--dk-w) * 0.105); font-weight: 600; opacity: 0; transition: opacity 0.6s ease; }
	.od-ag-open .od-ag-win--3 .od-ag-win__name, html.od-js .od-ag-open .od-ag-win--3 .od-ag-win__name { opacity: 1; }
	.od-ag-win__say { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: max(13px, calc(var(--dk-w) * 0.056)); transition: max-height 0.85s cubic-bezier(.22, 1, .36, 1), opacity 0.6s ease; }
	html.od-js .od-ag-open .od-ag-win__pic::after { transition: background-color 0.7s ease; }
	.od-ag-wall.has-out .od-ag-win--3:not(.is-out) .od-ag-win__name, html.od-js .od-ag-open .od-ag-wall.has-out .od-ag-win--3:not(.is-out) .od-ag-win__name { opacity: 0; }

	html.od-js .od-ag-open .od-ag-win.is-out, html.od-js .od-ag-open .od-ag-win:focus-within, html:not(.od-deck-live) .od-ag-open .od-ag-win:hover { z-index: 20; transform: rotate(calc(var(--a) * 0.6)) translateY(-11%) scale(1.05); }
	html.od-js .od-ag-open .od-ag-win.is-out .od-ag-win__pic::after, html.od-js .od-ag-open .od-ag-win:focus-within .od-ag-win__pic::after, html:not(.od-deck-live) .od-ag-open .od-ag-win:hover .od-ag-win__pic::after { background: rgba(0, 0, 0, 0.58); }
	html.od-js .od-ag-open .od-ag-win.is-out .od-ag-win__name, html.od-js .od-ag-open .od-ag-win:focus-within .od-ag-win__name, html:not(.od-deck-live) .od-ag-open .od-ag-win:hover .od-ag-win__name { opacity: 1; }
	html.od-js .od-ag-open .od-ag-win.is-out .od-ag-win__say, html.od-js .od-ag-open .od-ag-win:focus-within .od-ag-win__say, html:not(.od-deck-live) .od-ag-open .od-ag-win:hover .od-ag-win__say { max-height: 9em; opacity: 1; }

	html.od-js .od-ag-open__foot, .od-ag-open__foot { position: absolute; left: 30px; bottom: 26px; z-index: 4; padding: 0; }
	html.od-js .od-ag-open .od-ag-cue, .od-ag-open .od-ag-cue { position: absolute; right: 30px; bottom: 26px; display: inline-flex; }
}
/* Other projects floating around the deck at different depths (the owner's word, 10 November 2026): the further (--d, 0 near to
   1 far) the smaller, softer and darker. Under the pointer one comes into focus and says its name; it leads to its case study. */
.od-ag-float { display: none; }
@media (min-width: 1000px) and (min-height: 600px) {
	.od-ag-float { position: absolute; inset: 0; z-index: 1; display: block; pointer-events: none; }
	.od-ag-fl { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); --fw: calc(2.6 + (1 - var(--d)) * 8); width: min(calc(var(--fw) * 1vw), calc(var(--fw) * 1.9svh)); aspect-ratio: 47 / 100; pointer-events: auto; color: var(--od-white); text-decoration: none; transform: translate3d(calc(var(--mx, 0) * (1 - var(--d)) * 30px), calc(var(--my, 0) * (1 - var(--d)) * 20px), 0); z-index: calc(10 - var(--d) * 10); }
	.od-ag-fl:hover, .od-ag-fl:focus-visible { z-index: 12; }
	.od-ag-fl__c { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 9.15% / 4.3%; opacity: calc(1 - var(--d) * 0.4); filter: blur(calc(var(--d) * 3.2px)) brightness(calc(1 - var(--d) * 0.38)); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26); transition: filter 0.7s ease, opacity 0.7s ease, scale 0.85s cubic-bezier(.22, 1, .36, 1); animation: od-ag-float var(--t, 11s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
	.od-ag-fl__c img { display: block; width: 100%; height: 100%; object-fit: cover; }
	.od-ag-fl__c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 55%); opacity: 0; transition: opacity 0.6s ease; }
	.od-ag-fl__n { position: absolute; left: 10%; right: 8%; bottom: 8%; z-index: 2; font-size: clamp(12px, 0.85vw, 15px); line-height: 1.2; font-weight: 600; opacity: 0; transition: opacity 0.6s ease; }
	.od-ag-fl:hover .od-ag-fl__c, .od-ag-fl:focus-visible .od-ag-fl__c { opacity: 1; filter: none; scale: 1.28; animation-play-state: paused; }
	.od-ag-fl:focus-visible { outline: 2px solid var(--od-brand); outline-offset: 4px; }
}
@keyframes od-ag-float { from { translate: 0 -9px; rotate: calc(var(--r, 0deg) - 1.5deg); } to { translate: 0 9px; rotate: calc(var(--r, 0deg) + 1.5deg); } }
@media (prefers-reduced-motion: reduce) { .od-ag-fl__c { animation: none !important; rotate: var(--r, 0deg); } }
@keyframes od-ag-fan { from { transform: rotate(0deg) translateY(4%); opacity: 0; } }
@media (min-width: 1000px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
	.od-ag-open .od-ag-win { animation: od-ag-fan 1.5s cubic-bezier(.22, 1, .36, 1) backwards; }
	.od-ag-win--2 { animation-delay: 0.05s; } .od-ag-win--4 { animation-delay: 0.1s; } .od-ag-win--5 { animation-delay: 0.15s; } .od-ag-win--3 { animation-delay: 0.2s; }
}
@media (prefers-reduced-motion: reduce) { .od-ag-open .od-ag-win, .od-ag-win__say, .od-ag-open .od-ag-win .od-ag-win__name { transition: none !important; animation: none !important; } }
