#work-process { pointer-events:none; }
.work-process-reveal { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:clamp(18px,3vh,32px); opacity:0; will-change:opacity,transform,filter; }
#work-process-title { margin:0; color:var(--accent); font-size:clamp(60px,6.6vw,96px); font-weight:400; line-height:1.4; }
#work-process-title img { display:block; width:auto; height:clamp(84px,12svh,120px); max-width:50vw; margin-inline:auto; object-fit:contain; transform-origin:50% 0; transform:translateY(clamp(-60px,-6.667svh,-24px)) scale(1.4); }
.work-process-perspective { width:min(66vw,900px,calc(133.333svh - 400px)); aspect-ratio:4/3; perspective:1100px; pointer-events:auto; }
.work-process-tilt,.work-process-float { width:100%; height:100%; transform-style:preserve-3d; will-change:transform; }
.work-process-canvas,.work-process-fallback { display:block; width:100%; height:100%; object-fit:contain; }
.work-process-canvas[hidden],.work-process-fallback[hidden] { display:none; }
@media(max-width:600px) { .work-process-perspective { width:min(80vw,66svh); } }
@media(max-height:500px) { #work-process-title img { transform:translateY(max(0px,calc(150px - 38svh))) scale(1.4); } .work-process-perspective { width:min(60vw,58svh); } .work-process-reveal { gap:12px; top:-24px; bottom:24px; } }
.graphic-static .work-process-reveal { position:relative; padding:100px 0; }
@media(prefers-reduced-motion:reduce) { .work-process-tilt,.work-process-float { will-change:auto; } }

/* Full scene width; only .design-hero clips at the physical viewport edges.
   The artwork width sizes individual slides, never the carousel viewport. */
.adverso-carousel { --art-width:min(60vw,800px,calc(133.333svh - 620px)); width:100%; max-width:none; margin-inline:0; flex-shrink:0; pointer-events:auto; }
.adverso-viewport { position:relative; width:100%; height:calc(var(--art-width)*.75 + 24px); overflow:visible; perspective:1400px; touch-action:pan-y; cursor:grab; user-select:none; }
.adverso-viewport.is-dragging { cursor:grabbing; }
.adverso-card { position:absolute; left:50%; top:50%; width:var(--art-width); height:calc(var(--art-width)*.75); transform-style:preserve-3d; will-change:transform,opacity; }
.adverso-content { width:100%; height:100%; display:grid; place-items:center; transition:scale .25s ease; }
/* Only side artwork fades; the centered artwork stays fully opaque. */
.adverso-content:not(.adverso-content--work-process) { --adverso-edge-fade:linear-gradient(to right,rgba(0,0,0,var(--adverso-fade-left,1)) 0%,rgba(0,0,0,var(--adverso-fade-middle,1)) 50%,rgba(0,0,0,var(--adverso-fade-right,1)) 100%); -webkit-mask-image:var(--adverso-edge-fade); mask-image:var(--adverso-edge-fade); }
.adverso-card .work-process-perspective { width:100%; height:100%; }
.adverso-art { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; max-width:75%; text-align:center; }
.adverso-art img { display:block; width:100%; max-height:100%; object-fit:contain; }
.adverso-art img[hidden],.adverso-art span[hidden],.adverso-art small[hidden] { display:none; }
.adverso-art--logo { width:65%; max-height:70%; }
/* Static studies: compensate for SVG whitespace against Finance Lab's painted
   width (~35% of the card). Keep its approved rules and animated art unchanged. */
.adverso-art--logo.adverso-art--normalized { width:calc(var(--art-width)*var(--logo-width)); height:calc(var(--art-width)*.43); max-width:65%; max-height:70%; }
.adverso-art--normalized > img { width:100%; height:100%; min-height:0; object-fit:contain; }
.adverso-content:has(.adverso-art--normalized) { grid-template:minmax(0,1fr) / minmax(0,1fr); }
.adverso-art--logo.adverso-art--versions { width:65%; height:100%; max-height:none; display:grid; grid-template-rows:repeat(2,minmax(0,1fr)); gap:12px; }
.adverso-logo-version { margin:0; width:100%; height:100%; min-width:0; min-height:0; display:grid; grid-template-rows:minmax(0,1fr) auto; justify-items:center; gap:4px; }
.adverso-logo-version img { width:calc(var(--art-width)*var(--logo-width)); max-width:100%; height:100%; min-height:0; object-fit:contain; }
.adverso-logo-version figcaption { color:#b8bcb7; font-size:11px; line-height:1.4; letter-spacing:normal; }
.adverso-placeholder { color:var(--ink); font-size:clamp(18px,2.4vw,34px); line-height:1.3; }
.adverso-art small { color:#b8bcb7; font-size:9px; letter-spacing:.12em; }
.adverso-art--poster { height:88%; width:100%; max-width:75%; min-height:0; }
.adverso-art--poster img { width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; }
.adverso-art--poster .adverso-placeholder { font-size:clamp(12px,1.2vw,18px); letter-spacing:.12em; }
/* Slides are positioning layers only. Keep artwork floating on the scene,
   without changing the Photoshop frame or anything inside an SVG image. */
.adverso-carousel,.adverso-viewport,
.adverso-card:not([data-project="work-process"]),
.adverso-card:not([data-project="work-process"]) :is(.adverso-content,.adverso-art,img) {
 background:none; border:0; outline:0; box-shadow:none; padding:0;
}
.adverso-carousel::before,.adverso-carousel::after,
.adverso-viewport::before,.adverso-viewport::after,
.adverso-card:not([data-project="work-process"])::before,
.adverso-card:not([data-project="work-process"])::after,
.adverso-card:not([data-project="work-process"]) :is(.adverso-content,.adverso-art)::before,
.adverso-card:not([data-project="work-process"]) :is(.adverso-content,.adverso-art)::after { content:none; }
.adverso-controls { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; width:100%; padding-inline:clamp(12px,3vw,48px); gap:12px; margin-top:12px; translate:0 24px; }
.adverso-controls button { width:44px; height:44px; border:0; padding:0; background:none; color:#d0d7d0; font-size:28px; cursor:pointer; }
.adverso-controls button:disabled { opacity:.2; cursor:default; }
.adverso-controls button:focus-visible { outline:1px solid var(--accent); outline-offset:3px; }
.adverso-viewport:focus-visible { outline:none; }
/* Indicate keyboard focus at the arrows instead of framing the artwork. */
.adverso-carousel:has(.adverso-viewport:focus-visible) .adverso-controls button:not(:disabled) { outline:1px solid var(--accent); outline-offset:3px; }
.adverso-drag-hint { display:grid; translate:0 6px; justify-items:center; gap:6px; font-size:11px; color:var(--ink); pointer-events:none; opacity:0; filter:blur(4px); transition:opacity .45s ease,filter .45s ease; }
.adverso-drag-hint svg { width:28px; height:28px; }
.adverso-drag-hint.is-revealed { opacity:1; filter:none; }
.adverso-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(hover:hover) and (pointer:fine) { .adverso-card.is-neighbor:hover .adverso-content { scale:1.045; } }
@media(max-width:600px) { .adverso-carousel { --art-width:54vw; } .adverso-art small { font-size:7px; } .adverso-controls { gap:16px; } }
@media(max-height:500px) { .adverso-carousel { --art-width:42svh; } .adverso-controls { margin-top:0; } .adverso-drag-hint { font-size:9px; gap:2px; } .adverso-drag-hint svg { width:20px; height:20px; } }
@media(prefers-reduced-motion:reduce) { .adverso-content,.adverso-drag-hint { transition:none; } .adverso-card { will-change:auto; } }

/* Original 800 × 600 artwork: 79px gray borders above/below the photo frame.
   Compensate added frame height in flow to retain the external title position. */
.adverso-carousel { --stage-frame-top:max(0px,calc(64px - var(--art-width)*.09875)); --stage-frame-bottom:max(0px,calc(72px - var(--art-width)*.09875)); --stage-frame-extra:calc(var(--stage-frame-top) + var(--stage-frame-bottom)); --stage-frame-before:max(0px,calc(56px - var(--art-width)*.09875)); margin-bottom:calc(var(--stage-frame-before) - var(--stage-frame-extra)); }
.adverso-viewport { height:calc(var(--art-width)*.75 + var(--stage-frame-extra) + 24px); }
.adverso-card[data-project="work-process"] { height:calc(var(--art-width)*.75 + var(--stage-frame-extra)); }
.adverso-content--work-process { align-items:start; }
.adverso-card .work-process-perspective { height:calc(100% - var(--stage-frame-extra)); }
.work-process-float { position:relative; container-type:inline-size; height:calc(100% + var(--stage-frame-extra)); padding-top:var(--stage-frame-top); padding-bottom:var(--stage-frame-bottom); box-sizing:border-box; background:#272727; }
.work-process-progress { position:absolute; inset:0; z-index:2; overflow:visible; color:#ededeb; text-align:center; pointer-events:none; }
.work-process-progress[hidden] { display:none; }
.work-process-progress-top { position:absolute; top:0; left:6%; right:6%; height:calc(var(--art-width)*.09875 + var(--stage-frame-top)); display:flex; align-items:center; justify-content:center; padding-block:8px; }
/* FiraGO's case feature supplies Georgian uppercase glyphs in the bundled font. */
.work-process-progress-description { margin:0; font-family:FiraGO,sans-serif; font-feature-settings:"case" 1; font-size:clamp(14px,3.3cqw,28px); font-weight:900; text-transform:uppercase; letter-spacing:.035em; line-height:1.45; text-wrap:balance; }
.work-process-progress-heading { position:absolute; z-index:3; bottom:calc(var(--art-width)*.09875 + var(--stage-frame-bottom) - .60em); left:3%; right:3%; display:flex; align-items:baseline; justify-content:center; gap:.18em; overflow:visible; white-space:nowrap; font-family:FiraGO,sans-serif; font-feature-settings:"case" 1,"tnum" 1; font-size:clamp(36px,16cqw,128px); font-weight:900; line-height:.95; letter-spacing:-.035em; color:#f6f5ef; -webkit-text-stroke:.012em currentColor; text-shadow:0 2px 8px #000a,0 0 1px #000; }
.work-process-progress-label,.work-process-progress-counter { flex-shrink:0; font-size:inherit; font-weight:inherit; }
.work-process-progress-label { font-size:.44em; letter-spacing:-.015em; }
.work-process-progress-counter { display:inline-flex; align-items:baseline; gap:.04em; font-variant-numeric:tabular-nums; }
.work-process-progress-current { color:var(--accent); }
.work-process-progress-total { font-size:.44em; letter-spacing:-.015em; }
.work-process-progress-track { position:absolute; left:6%; right:6%; top:calc(100% + 8px); display:grid; grid-template-columns:repeat(var(--stage-count),minmax(0,1fr)); gap:2px; pointer-events:auto; }
.work-process-progress-track button { position:relative; min-width:0; height:24px; padding:0; border:0; background:transparent; cursor:pointer; touch-action:pan-y; pointer-events:auto; }
.work-process-progress-track button::after { content:""; position:absolute; left:1px; right:1px; top:10px; height:2px; border-radius:2px; background:#62656166; transition:background-color .16s ease,transform .16s ease; }
.work-process-progress-track .is-complete::after { background:#a0aaa066; }
.work-process-progress-track .is-current::after { background:#d6f9ce99; transform:scaleY(1.35); }
.work-process-progress-track button:focus-visible { outline:1px solid #d6f9ce; outline-offset:0; border-radius:2px; }
@media(max-width:600px),(max-height:650px) {
 .adverso-carousel { --stage-frame-top:max(0px,calc(64px - var(--art-width)*.09875)); --stage-frame-bottom:max(0px,calc(88px - var(--art-width)*.09875)); }
 .work-process-progress-track { grid-template-columns:repeat(9,minmax(0,1fr)); gap:1px 2px; }

 .work-process-progress-track button { height:18px; }
 .work-process-progress-track button::after { top:8px; }
}
@media(max-width:600px),(max-height:500px) { .adverso-carousel { --stage-frame-before:76px; } }
@media(prefers-reduced-motion:reduce) { .work-process-progress-track button::after { transition:none; } }

/* GUNEBA keeps the canonical SVG proportions; labels are independent HTML. */
.adverso-art.guneba-art { position:relative; width:auto; height:76%; max-width:70%; aspect-ratio:359.1/498.3; display:block; }
.guneba-art .guneba-logo,.guneba-art > img { display:block; width:100%; height:100%; max-height:none; overflow:visible; }
.guneba-art > img[hidden] { display:none; }
.guneba-explanation { position:absolute; top:calc(100% + 24px); left:50%; translate:-50% 0; width:max-content; max-width:min(78vw,520px); text-align:center; color:#fff; font-size:clamp(12px,1.3vw,20px); line-height:1.5; pointer-events:none; }
@media(max-width:600px) { .adverso-art.guneba-art { height:68%; max-width:65%; } .guneba-explanation { top:calc(100% + 12px); font-size:11px; } }

/* IMERI's single white connector and editorial type, in the artwork frame. */
.guneba-annotation { pointer-events:none; }
.guneba-annotation line { stroke:#fff; stroke-width:1; vector-effect:non-scaling-stroke; }
/* FiraGO's case alternates are the portfolio's Georgian Mtavruli glyphs.
   Keep text-transform disabled so the quoted Cyrillic lowercase г stays intact. */
.guneba-annotation text { fill:#fff; font-family:FiraGO,sans-serif; font-feature-settings:"case" 1; text-transform:none; font-size:19px; font-weight:400; letter-spacing:.02em; line-height:1.6; }
@media(max-width:600px) { .guneba-annotation text { font-size:15px; } }

/* Original Eventive vectors, with the same editorial type and leader treatment. */
.adverso-art.eventive-art { position:relative; display:block; aspect-ratio:758.98/514.61; }
.eventive-art .eventive-logo { display:block; width:100%; height:100%; overflow:visible; }
.eventive-art > img[hidden] { display:none; }
.eventive-annotation { pointer-events:none; }
.eventive-annotation line { stroke:#fff; stroke-width:1; vector-effect:non-scaling-stroke; }
.eventive-annotation text { fill:#fff; font-family:FiraGO,sans-serif; font-feature-settings:"case" 1; text-transform:none; font-size:28px; font-weight:400; letter-spacing:.02em; line-height:1.6; }
/* Let the selected Eventive card's editorial labels and bloom extend past the
   artwork box. Side cards retain the carousel's existing edge fade. */
.adverso-card[data-project="eventive-global"][aria-hidden="false"] .adverso-content { -webkit-mask-image:none; mask-image:none; }

/* Elliot Scott keeps the full 584.25 × 403 source and registered E/S contours. */
.adverso-art.elliot-art { position:relative; display:block; aspect-ratio:584.25/403; }
.elliot-art .elliot-logo { display:block; width:100%; height:100%; overflow:visible; }
.elliot-art > img[hidden] { display:none; }
.elliot-annotation { pointer-events:none; }
.elliot-annotation text { fill:#fff; font-family:FiraGO,sans-serif; font-feature-settings:"case" 1; font-size:24px; font-weight:400; letter-spacing:.02em; }
.adverso-card[data-project="elliot-scott"][aria-hidden="false"] .adverso-content { -webkit-mask-image:none; mask-image:none; }
@media(max-width:600px) { .elliot-annotation text { font-size:31px; } }

/* AIG uses the supplied complete-logo coordinate system. */
.adverso-card[data-project="aig"] .adverso-content { grid-template: minmax(0,1fr) / minmax(0,1fr); }
.adverso-art.aig-art { position:relative; display:block; width:auto; height:64%; max-height:none; max-width:52%; aspect-ratio:372.99/644.27; }
.aig-art .aig-logo { display:block; width:100%; height:100%; max-height:none; overflow:visible; }
.aig-art > img[hidden] { display:none; }
.adverso-card[data-project="aig"][aria-hidden="false"] .adverso-content { -webkit-mask-image:none; mask-image:none; }

@media(max-width:600px) { .adverso-art.aig-art { height:60%; max-width:48%; } }


/* Stable controls flank the complete artwork box. */
.adverso-carousel { position:relative; }
.adverso-controls { position:absolute; inset:0; margin:0; padding:0; translate:none; display:block; pointer-events:none; }
.adverso-controls button { position:absolute; top:calc(var(--art-width)*.375 + 12px); translate:0 -50%; pointer-events:auto; }
.adverso-controls button:first-child { right:calc(50% + var(--art-width)*.5 + 8px); }
.adverso-controls button:last-child { left:calc(50% + var(--art-width)*.5 + 8px); }
.adverso-drag-hint { position:absolute; top:calc(100% + 36px); width:100%; justify-content:center; }
.adverso-reveal-hint { display:flex; align-items:center; justify-content:center; gap:8px; position:absolute; top:calc(100% + 10px); width:100%; color:#b8bcb7; font-size:10px; letter-spacing:.12em; opacity:.7; pointer-events:none; }
.adverso-reveal-hint[hidden] { display:none; }
@media(max-width:600px) {
 .adverso-controls button:first-child { right:calc(50% + var(--art-width)*.5 + 2px); }
 .adverso-controls button:last-child { left:calc(50% + var(--art-width)*.5 + 2px); }
}
/* Edge controls stay outside the moving Cover Flow cards. */
.adverso-controls { z-index:120; }
.adverso-controls button { width:72px; height:72px; font-size:48px; line-height:1; top:calc((var(--art-width)*.75 + var(--stage-frame-extra) + 24px)/2); }
.adverso-controls button:first-child { left:24px; right:auto; }
.adverso-controls button:last-child { right:24px; left:auto; }
.adverso-controls button:hover:not(:disabled) { color:var(--accent); }
.adverso-reveal-hint { top:calc(100% + 20px); font-size:12px; letter-spacing:normal; }
.adverso-drag-hint { top:calc(100% + 58px); }
@keyframes adverso-completion-in { from { opacity:0; } to { opacity:1; } }
@media(max-width:600px) { .adverso-controls button { width:64px; height:64px; font-size:40px; } .adverso-controls button:first-child { left:8px; } .adverso-controls button:last-child { right:8px; } .adverso-reveal-hint { font-size:11px; } }



/* Logo-only completion navigation; neither overlay participates in layout. */
.adverso-logo-completion { position:absolute; z-index:110; top:50%; left:50%; translate:-50% -50%; display:flex; align-items:stretch; justify-content:space-between; width:calc(100% - 24px); container-type:inline-size; pointer-events:none; animation:adverso-completion-in .18s ease; }
.adverso-logo-completion button { pointer-events:auto; backdrop-filter:blur(8px); }
.adverso-logo-completion[hidden],.adverso-other-brands[hidden] { display:none; }
.adverso-logo-completion button,.adverso-other-brands { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:44px; padding:10px 22px; border:1px solid #788d7c; border-radius:9999px; color:var(--ink); background:rgba(23,32,25,.9); font:inherit; font-size:13px; white-space:nowrap; cursor:pointer; transition:background .16s ease,border-color .16s ease; }
.adverso-logo-completion button { box-sizing:border-box; width:min(176px,28%); min-height:64px; flex:none; gap:10px; padding:12px 12px; font-size:15px; white-space:normal; }
.adverso-logo-completion button:hover:not(:disabled),.adverso-other-brands:hover { background:#293c2e; border-color:var(--accent); }
.adverso-logo-completion button:focus-visible,.adverso-other-brands:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.adverso-logo-completion button:disabled { opacity:.35; cursor:default; }
.adverso-other-brands { position:absolute; z-index:121; top:calc(100% + 48px); left:50%; translate:-50% 0; min-height:48px; padding:12px 34px; font-size:15px; }
/* Shared absolute cue slot: no layout change when Photoshop yields to browsing. */
.adverso-carousel[data-photoshop-stage]:not([data-photoshop-stage=""]) > :is(.adverso-reveal-hint,.adverso-other-brands) { transition:opacity .2s ease,visibility .2s ease,background .16s ease,border-color .16s ease; }
.adverso-carousel[data-photoshop-stage]:not([data-photoshop-stage=""]) > .adverso-other-brands:not(.adverso-all-posters):not(.adverso-all-logos) { top:calc(100% + 20px); left:50%; translate:-50% 0; }
.adverso-carousel > .adverso-all-posters { top:calc(100% + 20px); left:24px; translate:none; font-size:13px; padding:10px 20px; }
.adverso-carousel[data-photoshop-stage]:not([data-photoshop-stage=""]) > :is(.adverso-reveal-hint,.adverso-other-brands)[hidden] { display:flex !important; opacity:0; visibility:hidden; pointer-events:none; }
.adverso-carousel[data-photoshop-stage="posters"] .adverso-drag-hint { visibility:hidden; }
.design-hero:has(.adverso-carousel[data-photoshop-stage="posters"]) .hero-bottom { pointer-events:none; }
@media(max-width:700px) { .adverso-carousel > .adverso-all-posters { left:12px; top:calc(100% + 84px); } }
@media(prefers-reduced-motion:reduce) { .adverso-carousel[data-photoshop-stage] > :is(.adverso-reveal-hint,.adverso-other-brands) { transition:none; } }
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-drag-hint { visibility:hidden; }
@container(max-width:500px) { .adverso-logo-completion button { width:24%; flex-direction:column; gap:6px; padding:12px 4px; min-height:96px; } }
@media(max-width:600px) { .adverso-logo-completion { top:calc(100% + 8px); translate:-50% 0; width:calc(100% - 8px); } .adverso-logo-completion button { width:calc(50% - 4px); padding-inline:4px; } }
@media(prefers-reduced-motion:reduce) { .adverso-logo-completion { animation:none; } .adverso-logo-completion button,.adverso-other-brands { transition:none; } }
/* Place the scroll cue above logo artwork. */
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint { top:auto; bottom:calc(100% + 12px); }
/* Lift only the centered animated-logo artwork and its own completion controls. */
.adverso-card[aria-hidden="false"]:has(.adverso-logo-completion) { --logo-presentation-lift:60px; }
.adverso-card[aria-hidden="false"]:has(.adverso-logo-completion) > .adverso-content { translate:0 calc(-1 * var(--logo-presentation-lift)); }
.adverso-card[aria-hidden="false"] > .adverso-logo-completion { margin-top:calc(-1 * var(--logo-presentation-lift)); }
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint { box-sizing:border-box; bottom:calc(100% - 16px); gap:14px; padding-inline:16px; font-family:var(--font-family); font-size:28px; font-weight:400; line-height:1.3; text-align:center; }
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint svg { flex:none; width:32px; height:46px; }
@media(max-width:600px) {
 .adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint { bottom:calc(100% - 20px); font-size:24px; }
 .adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint svg { width:28px; height:40px; }
}
/* Extra company-title offset is visual only: preserve its size and layout slot. */
#work-process-title img { translate:0 -60px; }
/* Reduce only the scroll instruction; completion guidance retains its typography. */
.adverso-reveal-hint[data-guidance="scroll"] { font-size:9.84px; }
.adverso-reveal-hint[data-guidance="scroll"] svg { width:11.48px; height:16.4px; }
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint[data-guidance="scroll"] { font-size:22.96px; }
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint[data-guidance="scroll"] svg { width:26.24px; height:37.72px; }
@media(max-width:600px) {
 .adverso-reveal-hint[data-guidance="scroll"] { font-size:9.02px; }
 .adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint[data-guidance="scroll"] { font-size:19.68px; }
 .adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint[data-guidance="scroll"] svg { width:22.96px; height:32.8px; }
}
/* Preserve header clearance where the responsive layout leaves less title space. */
@media(min-width:601px) and (max-width:1400px) { #work-process-title img { translate:0 -36px; } }
@media(max-width:600px) and (max-height:850px) { #work-process-title img { translate:0 clamp(-60px,calc(240px - 32svh),40px); } }
@media(max-height:500px) { #work-process-title img { translate:0 max(0px,calc(150px - 25svh)); } }
/* MEGI retains the supplied complete-logo canvas and original proportions. */
.adverso-card[data-project="megi"] .adverso-content { grid-template:minmax(0,1fr) / minmax(0,1fr); }
.adverso-art.megi-art { position:relative; display:block; width:auto; height:68%; max-height:none; max-width:52%; aspect-ratio:863.1/1236.6; }
.megi-art .megi-logo { display:block; width:100%; height:100%; overflow:visible; }
.megi-art > img[hidden] { display:none; }
.adverso-card[data-project="megi"][aria-hidden="false"] .adverso-content { -webkit-mask-image:none; mask-image:none; }
.megi-explanation { position:absolute; top:calc(100% + 10px); left:50%; translate:-50% 0; margin:0; width:max-content; max-width:min(78vw,520px); color:#fff; text-align:center; pointer-events:none; font-family:FiraGO,sans-serif; font-feature-settings:"case" 1; font-weight:400; font-size:clamp(12px,1.3vw,20px); letter-spacing:.02em; line-height:1.5; }
.megi-explanation[hidden] { display:none; }
@media(max-width:600px) { .megi-explanation { font-size:11px; } }
/* Wonderbridge uses the original 520 x 505 composition and registered stroke paths. */
.adverso-card[data-project="wonderbridge"] .adverso-content { grid-template:minmax(0,1fr) / minmax(0,1fr); }
.adverso-art.wonderbridge-art { position:relative; display:block; width:auto; height:68%; max-height:none; max-width:70%; aspect-ratio:520/505; }
.wonderbridge-art .wonderbridge-logo { display:block; width:100%; height:100%; overflow:visible; }
.wonderbridge-art > img[hidden] { display:none; }
.adverso-card[data-project="wonderbridge"][aria-hidden="false"] .adverso-content { -webkit-mask-image:none; mask-image:none; }
.wonderbridge-explanation { position:absolute; top:calc(100% + 10px); left:50%; translate:-50% 0; margin:0; width:max-content; max-width:min(78vw,520px); color:#fff; text-align:center; pointer-events:none; font-family:FiraGO,sans-serif; font-feature-settings:"case" 1; font-weight:400; font-size:clamp(12px,1.3vw,20px); letter-spacing:.02em; line-height:1.5; }
.wonderbridge-explanation[hidden] { display:none; }
@media(max-width:600px) { .wonderbridge-explanation { font-size:11px; } }

/* Static-logo browse controls follow the artwork without changing its layout. */
.adverso-content:has(> .adverso-static-browse) { position:relative; }
.adverso-other-brands.adverso-static-browse { top:calc(100% + 20px); }
.adverso-content:has(.adverso-static-browse) { -webkit-mask-image:none; mask-image:none; }
@media(max-width:600px) {
 .adverso-card.adverso-static-presentation > .adverso-logo-completion { top:calc(100% + 8px + 48px + 24px); }
}

/* Separate compositor layers: Cover Flow, SVG poses and controls keep their transforms. */
.adverso-levitation { position:relative; width:100%; height:100%; min-width:0; min-height:0; display:grid; grid-template:minmax(0,1fr) / minmax(0,1fr); place-items:center; transform-style:preserve-3d; animation:adverso-levitate var(--levitation-duration) cubic-bezier(.37,0,.63,1) var(--levitation-delay) infinite; animation-play-state:paused; }
.adverso-levitation.is-levitating { animation-play-state:running; will-change:transform; }
.adverso-levitation--identity { display:block; width:auto; height:auto; }
.adverso-levitation--thumbnail { display:flow-root; height:auto; break-inside:avoid; }
.adverso-content:not(.adverso-content--work-process) { -webkit-mask-image:none; mask-image:none; }
.adverso-content:not(.adverso-content--work-process) > .adverso-levitation { -webkit-mask-image:var(--adverso-edge-fade); mask-image:var(--adverso-edge-fade); }
.adverso-card[aria-hidden="false"] > .adverso-content > .adverso-levitation { -webkit-mask-image:none; mask-image:none; }
@keyframes adverso-levitate { 0%,100% { transform:translate3d(0,calc(-1 * var(--levitation-amplitude)),0); } 50% { transform:translate3d(0,var(--levitation-amplitude),0); } }
@media(prefers-reduced-motion:reduce) { .adverso-levitation,.adverso-levitation.is-levitating { animation:none; transform:none; will-change:auto; } }

/* The fixed intro cue otherwise intercepts the replacement button. */
body:has(.design-hero[data-active-project="work-process"] .adverso-carousel[data-photoshop-stage="posters"]) > .scroll-cue--fixed { visibility:hidden; pointer-events:none; }

/* Decorative nine-square collection icon; inherits each button's text color. */
.gallery-grid-icon { display:block; width:18px; height:18px; flex:none; }


/* Independent collection access, aligned with the existing poster gallery pill. */
.adverso-carousel > .adverso-all-logos { top:calc(100% + 20px); left:24px; translate:none; font-size:13px; padding:10px 20px; }
@media(max-width:900px) { .adverso-carousel > .adverso-all-logos { left:12px; top:calc(100% + 108px); } }
.adverso-poster-viewer { overscroll-behavior:none; }
.adverso-logo-gallery { max-width:1240px; margin-inline:auto; }
.adverso-logo-gallery h2 { margin-bottom:64px; }
.adverso-logo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:72px 64px; }
.adverso-poster-viewer .adverso-logo-thumb { display:flex; flex-direction:column; align-items:center; gap:24px; min-width:0; padding:16px; border:0; background:none; color:var(--ink); font:inherit; cursor:pointer; }
.adverso-logo-image { display:flex; align-items:center; justify-content:center; width:100%; height:180px; }
.adverso-logo-image img { display:block; width:auto; height:auto; max-width:85%; max-height:150px; object-fit:contain; }
.adverso-logo-name { display:block; text-align:center; font-size:14px; line-height:1.5; color:#bfc8c3; overflow-wrap:anywhere; }
.adverso-logo-thumb:focus-visible { outline:2px solid var(--accent); outline-offset:6px; }
@media(max-width:900px) { .adverso-logo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:56px 32px; } }
@media(max-width:520px) { .adverso-logo-grid { grid-template-columns:minmax(0,1fr); gap:48px; } .adverso-logo-gallery h2 { margin-bottom:40px; } .adverso-logo-image { height:170px; } .adverso-logo-image img { max-width:min(80%,240px); max-height:140px; } }

/* Logo actions share a viewport-bottom row outside the transformed artwork. */
.adverso-logo-actions { position:absolute; inset:auto 24px max(24px,env(safe-area-inset-bottom)) ; height:48px; z-index:121; pointer-events:none; }
.adverso-logo-actions[hidden] { display:none; }
.adverso-logo-actions > .adverso-other-brands { position:absolute; top:0; left:50%; translate:-50% 0; pointer-events:auto; }
.adverso-logo-actions > .adverso-all-logos { left:0; translate:none; font-size:13px; padding:10px 20px; }
body:has(#work-process:not([hidden]) .adverso-logo-actions:not([hidden])) > .scroll-cue--fixed { display:none; }

@media(max-width:600px) {
 .adverso-logo-actions { left:12px; right:12px; }
 .adverso-logo-actions > .adverso-all-logos { width:48px; height:48px; padding:0; }
 .adverso-logo-actions > .adverso-all-logos span { display:none; }
}
@media(max-width:375px) {
 .adverso-logo-actions { display:flex; align-items:center; gap:12px; }
 .adverso-logo-actions[hidden] { display:none; }
 .adverso-logo-actions > .adverso-other-brands { position:static; translate:none; flex:none; }
 .adverso-logo-actions > .adverso-other-brands:not(.adverso-all-logos) { margin-inline:auto; }
}

/* Keep the existing edition caption above the lower logo-action row. */
.design-hero:has(#work-process:not([hidden]) .adverso-logo-actions:not([hidden])) .hero-bottom { bottom:max(88px,calc(env(safe-area-inset-bottom) + 64px)); }

/* Experience navigation belongs only to the native poster/exit stage. */
.adverso-experience-nav {position:absolute;inset:0 12px;z-index:125;pointer-events:none;}
.adverso-experience-nav[hidden]{display:none;}
.adverso-experience-action {position:absolute;left:50%;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:100%;}
.adverso-experience-action--previous {top:var(--previous-top,160px);}
.adverso-experience-action--next {bottom:max(12px,env(safe-area-inset-bottom));}
.adverso-experience-action > svg {flex:none;color:var(--ink);pointer-events:none;}
.adverso-experience-nav .adverso-other-brands{position:static;translate:none;display:inline-flex;pointer-events:auto;}
@media(max-width:600px){.adverso-experience-nav .adverso-other-brands{padding:10px 12px;font-size:12px;gap:6px;min-width:0;white-space:normal;}.adverso-experience-action > svg{width:18px;}.adverso-experience-action{gap:8px;}}

@media(max-width:700px){#work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) .adverso-all-posters{top:calc(100% + 60px);}}

@media(min-width:701px){#work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) .adverso-carousel{translate:0 44px;}}

@media(max-width:700px){#work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) .adverso-carousel{translate:0 56px;}#work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) .adverso-all-posters{translate:0 -56px;}}

@media(max-width:600px) and (max-height:740px){#work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) #work-process-title img{translate:0 calc(clamp(-60px,calc(240px - 32svh),40px) - 48px);}}

/* Keep the overview action clear of centered experience navigation on phones. */
@media(max-width:700px){
 #work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) .adverso-all-posters{width:48px;height:48px;padding:0;box-sizing:border-box;}
 #work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) .adverso-all-posters span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
}
/* Completion guidance uses the free space beneath the finished logo. */
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint[data-guidance="complete"] {
  position:fixed; left:0; top:auto; bottom:max(110px,calc(env(safe-area-inset-bottom) + 98px)); font-size:clamp(16px,2vw,24px);
}
/* Reserve arrow clearance beneath the identity rather than shifting the identity. */
@media(max-width:600px) and (max-height:740px){
 #work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) #work-process-title img {translate:none;}
}@media(max-width:600px) and (max-height:740px){#work-process:has(.adverso-experience-nav[data-mode="posters"]:not([hidden])) .adverso-carousel{translate:0 76px;}}

/* Both scroll guidance and completion use the lower free space. */
.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint[data-guidance="scroll"] {
 position:fixed; left:0; top:auto; bottom:max(110px,calc(env(safe-area-inset-bottom) + 98px));
}@media(max-width:600px){.adverso-card[aria-hidden="false"]:has(.adverso-logo-completion){--logo-presentation-lift:20px;}}
@media(max-width:600px){
 .adverso-logo-completion button {min-height:44px;flex-direction:row;font-size:12px;padding:8px;gap:6px;}
}
@media(max-width:600px) and (max-height:740px){
 #work-process:has(.adverso-experience-nav[data-mode="logos"]) #work-process-title img {translate:0 10px;}
}

/* The visible side artwork is one large navigation target; the center stays free. */
.adverso-controls[hidden] {display:none!important;}
.adverso-controls button {
 top:0; bottom:0; translate:none; height:100%;
 width:max(36px,calc((100% - var(--art-width))/2 - 12px));
 display:flex;align-items:center;padding:0 24px;box-sizing:border-box;
 touch-action:pan-y;
}
.adverso-controls button:first-child {left:0;right:auto;justify-content:flex-start;}
.adverso-controls button:last-child {right:0;left:auto;justify-content:flex-end;}
@media(max-width:600px){.adverso-controls button{padding-inline:8px;}}

/* Keep previous navigation and ADVERSO in one flow: button first, identity below. */
.adverso-identity-stack {display:flex;flex-direction:column;align-items:center;gap:42px;flex-shrink:0;}
.adverso-identity-stack .adverso-experience-action--previous {position:static;translate:none;}
/* Override the scene-wide [hidden] rule: reserve navigation space during GIF playback. */
.adverso-identity-stack .adverso-experience-action--previous[hidden] {display:flex!important;visibility:hidden;pointer-events:none;}
.adverso-identity-stack .adverso-previous-experience {position:static;translate:none;pointer-events:auto;}
#work-process .adverso-identity-stack #work-process-title img {transform:scale(1.4)!important;translate:none!important;height:clamp(84px,12svh,120px);}
.work-process-reveal:has(.adverso-identity-stack) .adverso-carousel {translate:0 calc(-24px + var(--adverso-intro-lift, -100px))!important;}

/* Stable logo offsets prevent a vertical jump at the carousel midpoint. */
.adverso-card:has(.adverso-logo-completion) {--logo-presentation-lift:60px;}
.adverso-card:has(.adverso-logo-completion) > .adverso-content {translate:0 calc(-1 * var(--logo-presentation-lift));}
.adverso-identity-stack {padding-bottom:calc(clamp(84px,12svh,120px) * .4);}
@media(max-width:600px){.adverso-card:has(.adverso-logo-completion){--logo-presentation-lift:20px;}}

.adverso-experience-action--next {bottom:max(4px,env(safe-area-inset-bottom));}

.adverso-identity-stack .adverso-experience-action--previous {min-height:78px;}

/* Fade follows continuous slide distance, including the midpoint handoff. */
.adverso-card[aria-hidden="false"] > .adverso-content:not(.adverso-content--work-process) > .adverso-levitation {-webkit-mask-image:var(--adverso-edge-fade);mask-image:var(--adverso-edge-fade);}

@media(max-width:600px){.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint:is([data-guidance="scroll"],[data-guidance="complete"]) {bottom:max(60px,calc(env(safe-area-inset-bottom) + 48px));}}

@media(min-width:601px){.adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""]) .adverso-reveal-hint:is([data-guidance="scroll"],[data-guidance="complete"]) {bottom:max(80px,calc(env(safe-area-inset-bottom) + 68px));}}

/* Intro artwork sits higher; its lift follows the carousel's eased position. */
.adverso-identity-stack #work-process-title {translate:0 calc(var(--adverso-intro-lift,-100px) * 1.3);}
/* Guidance belongs to the scene footer, outside transformed carousel layers. */
#work-process > .adverso-reveal-hint {position:absolute;top:auto;left:16px;right:16px;width:auto;bottom:max(130px,calc(env(safe-area-inset-bottom) + 118px));font-size:clamp(16px,2vw,24px);line-height:1.4;text-align:center;gap:14px;}
#work-process > .adverso-reveal-hint svg {flex:none;width:26px;height:38px;}
#work-process > .adverso-reveal-hint[data-kind="frames"] {bottom:max(42px,calc(env(safe-area-inset-bottom) + 30px));font-size:13px;}
#work-process > .adverso-reveal-hint[data-kind="frames"] svg {width:14px;height:20px;}
body:has(#work-process:not([hidden])) > .scroll-cue--fixed {visibility:hidden;pointer-events:none;}
.adverso-carousel[data-photoshop-stage="animation"] .adverso-drag-hint {visibility:hidden;}
@media(max-width:600px){#work-process > .adverso-reveal-hint {font-size:15px;bottom:max(96px,calc(env(safe-area-inset-bottom) + 84px));}#work-process > .adverso-reveal-hint svg {width:20px;height:28px;}}

/* Preserve the original drag and mouse cues in separate footer rows. */
#work-process > .adverso-drag-hint {position:absolute;top:auto;bottom:max(112px,calc(env(safe-area-inset-bottom) + 100px));left:12px;right:12px;width:auto;translate:none;display:flex;align-items:center;justify-content:center;gap:12px;visibility:visible;}
#work-process > .adverso-drag-hint[hidden] {display:none!important;}
#work-process > .adverso-reveal-hint[data-kind="frames"] {display:none;}
body:has(#work-process:not([hidden]) .adverso-carousel[data-photoshop-stage="animation"]) > .scroll-cue--fixed {visibility:visible;pointer-events:auto;}

/* Short phones retain clearance below the two-row header. */
@media(max-width:600px) and (max-height:740px){.adverso-identity-stack #work-process-title {translate:0 calc(var(--adverso-intro-lift,-100px) * .6);}}

@media(max-width:600px) and (max-height:740px){.adverso-carousel {--stage-frame-top:max(0px,calc(32px - var(--art-width)*.09875));--stage-frame-bottom:max(0px,calc(40px - var(--art-width)*.09875));}}

@media(max-width:600px) and (max-height:740px){.work-process-reveal:has(.adverso-identity-stack) .adverso-carousel {translate:0 calc(-24px + var(--adverso-intro-lift,-100px) * .6)!important;}}

/* Stable identity and edge controls; native scroll owns experience navigation. */
#work-process .work-process-reveal {gap:0;}
#work-process #work-process-title {position:absolute;top:clamp(100px,13svh,130px);left:50%;translate:-50% 0;margin:0;}
#work-process #work-process-title img {height:clamp(160px,23svh,215px);max-width:48vw;transform:none!important;translate:none!important;}
#work-process .adverso-carousel {position:absolute;top:60%;translate:0 -50%!important;}
.adverso-category {position:absolute;z-index:125;top:-52px;width:max-content;max-width:36vw;border:1px solid #ffffff40;border-radius:999px;background:#181b19e8;color:#ededeb;padding:12px 20px;font:400 14px/1.4 var(--font-family);pointer-events:auto;cursor:pointer;transition:background .2s,border-color .2s;}
.adverso-category[data-destination="logo"] {left:24px;right:auto;}
.adverso-category[data-destination="poster"] {right:24px;left:auto;}
.adverso-category:hover {background:#303630;border-color:#ffffff80;}
#work-process > .adverso-play {position:absolute;z-index:120;bottom:max(114px,calc(env(safe-area-inset-bottom) + 102px));left:50%;translate:-50% 0;width:max-content;max-width:calc(100% - 32px);border:1px solid #8de8ac;border-radius:999px;padding:12px 24px;background:rgba(18,20,17,.72);color:#8de8ac;font:500 16px/1.4 var(--font-family);box-shadow:inset 0 0 12px #8de8ac08,0 0 18px #8de8ac08;pointer-events:auto;cursor:pointer;transition:color .2s,border-color .2s,background .2s;}
#work-process > .adverso-play:hover:not(:disabled) {background:#8de8ac15;border-color:#8de8ac;color:#8de8ac;}
#work-process > .adverso-play:disabled {background:#20231f;border-color:#62665f;color:#92978d;box-shadow:none;cursor:wait;}
.adverso-category:focus-visible,.adverso-play:focus-visible {outline:2px solid #fff;outline-offset:4px;}
.adverso-category[hidden],.adverso-play[hidden] {display:none!important;}
.adverso-card:has(.adverso-content--logo) > .adverso-content {translate:0 -40px;}
#work-process > .adverso-drag-hint {bottom:max(80px,calc(env(safe-area-inset-bottom) + 68px));font-size:12px;}
#work-process > .adverso-all-posters {position:absolute;top:auto;bottom:max(24px,env(safe-area-inset-bottom));left:24px;translate:none;z-index:121;font-size:13px;padding:10px 20px;pointer-events:auto;}
body:has(.design-hero[data-active-project="work-process"]) > .scroll-cue--fixed {display:flex!important;visibility:visible!important;pointer-events:auto;}
body:has(.design-hero[data-active-project="work-process"] .adverso-carousel[data-logo-presentation]:not([data-logo-presentation=""])) > .scroll-cue--fixed > span {display:none!important;}
@media(max-width:600px){
 #work-process #work-process-title {top:130px;}
 #work-process #work-process-title img {height:clamp(120px,20svh,180px);max-width:48vw;}
 .adverso-category {top:-28px;max-width:38vw;padding:9px 12px;font-size:11px;white-space:normal;}
 .adverso-category[data-destination="logo"] {left:12px;}
 .adverso-category[data-destination="poster"] {right:12px;}
 #work-process > .adverso-play {font-size:14px;padding:11px 18px;bottom:140px;}
 #work-process > .adverso-drag-hint {font-size:11px;bottom:100px;}
 .adverso-card:has(.adverso-content--logo) > .adverso-content {translate:0 -20px;}
 #work-process > .adverso-all-posters {left:12px;width:48px;height:48px;padding:0;}
 #work-process > .adverso-all-posters span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
}

/* Shared header geometry and separate footer rows prevent label collisions. */
#work-process {--identity-top:clamp(100px,13svh,130px);--identity-height:clamp(160px,23svh,215px);}
#work-process #work-process-title {top:var(--identity-top);}
#work-process #work-process-title img {height:var(--identity-height);}
#work-process .adverso-category {top:calc(var(--identity-top) + var(--identity-height)/2);translate:0 -50%;max-width:calc((100% - var(--identity-height)*287/257)/2 - 24px);box-sizing:border-box;}
#work-process > .adverso-drag-hint {bottom:max(116px,calc(env(safe-area-inset-bottom) + 104px));line-height:1.6;}
#work-process > .adverso-play {bottom:max(164px,calc(env(safe-area-inset-bottom) + 152px));}
body:has(.design-hero[data-active-project="work-process"]) > .scroll-cue--fixed {bottom:max(12px,env(safe-area-inset-bottom));gap:12px;line-height:1.5;}
.design-hero[data-active-project="work-process"]:has(#work-process:not([hidden]) .adverso-carousel) .hero-bottom {top:auto;bottom:max(116px,calc(env(safe-area-inset-bottom) + 104px));}
#work-process .adverso-content--logo {scale:.88;}
@media(max-width:600px){
 #work-process {--identity-top:130px;--identity-height:clamp(120px,20svh,180px);}
 #work-process .adverso-category {padding:9px 8px;max-width:calc((100% - var(--identity-height)*287/257)/2 - 20px);}
 #work-process .adverso-card:has(.adverso-content--logo) > .adverso-content {translate:0 -36px;}
}
