/* Private proposal for an explicit Portfolio Brand sequence, without slug rules. */
.es-brand-sequence { width:100%; }
[data-wrapper-id="portfolio_single"]:has([data-es-brand-sequence]) .gallery-column-env { display:none; }
.es-brand-sequence .es-brand-lead { display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center;margin:32px 0 60px; }
.es-brand-sequence .es-brand-lead-copy { min-width:0; }
.es-brand-sequence .es-brand-case-study__meta { margin-top:0; }
.es-brand-sequence .es-brand-spread { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:28px 0 0; }
.es-brand-sequence .es-brand-variants { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0 0; }
.es-brand-sequence .es-brand-plate { margin:0;overflow:visible; }
.es-brand-sequence .es-brand-plate a { display:block; }
.es-brand-sequence .es-brand-plate img { display:block;width:100%;height:auto;object-fit:contain; }
.es-brand-sequence .es-brand-plate a:focus-visible { outline:3px solid #206247;outline-offset:5px; }
.es-brand-sequence .es-brand-image-caption { display:block;position:static;opacity:1;visibility:visible;margin:12px 0 0;font-size:14px;line-height:1.45;color:inherit;text-align:left; }
.es-brand-sequence .es-brand-application { margin:28px 0 0; }
.es-brand-sequence .es-brand-application img { display:block;width:100%;height:auto; }
.es-brand-sequence .es-brand-lead figure { margin:0; }
@media(max-width:760px) {
 .es-brand-sequence .es-brand-lead { grid-template-columns:1fr;gap:24px;margin:24px 0 0; }
 .es-brand-sequence .es-brand-spread { grid-template-columns:1fr;gap:28px; }
 .es-brand-sequence .es-brand-variants { grid-template-columns:1fr;gap:28px; }
}

.es-brand-sequence .es-brand-image-caption { background:none;padding:0;inset:auto;transform:none; }
.es-brand-sequence .es-brand-plate img { aspect-ratio:auto 1024 / 889;contain-intrinsic-size:none; }
.es-brand-viewer { background:#151b17;color:white;border:0;width:min(1100px,96vw);max-width:96vw;height:min(900px,94dvh);max-height:94dvh;padding:16px; }
.es-brand-viewer[open] { display:flex;flex-direction:column;gap:12px; }
.es-brand-viewer::backdrop { background:rgb(0 0 0 / .85); }
.es-brand-viewer-toolbar { display:flex;justify-content:flex-end; }
.es-brand-viewer button { color:white;background:transparent;border:1px solid #9da99f;padding:8px 16px;min-width:44px;min-height:44px; }
.es-brand-viewer button:focus-visible { outline:3px solid white;outline-offset:3px; }
.es-brand-viewer-picture { min-height:0;flex:1;display:flex;align-items:center;justify-content:center; }
.es-brand-viewer-picture img { max-width:100%;max-height:100%;object-fit:contain; }
.es-brand-viewer-footer { display:flex;align-items:center;gap:16px;justify-content:space-between; }
.es-brand-viewer-footer p { margin:0;font:14px/1.4 system-ui; }
.es-brand-viewer-open { overflow:hidden; }

/* Showcase is one authored cover, without a second application in the article. */
.es-brand-showcase { --es-editorial-cover-ratio:3/2; width:100%;max-width:1040px;margin:0 auto 28px!important; }
.es-brand-showcase [data-es-brand-full] { display:block; }
.es-brand-showcase [data-es-brand-full] img { display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:3/2;object-fit:contain!important;margin:0!important; }
.es-brand-showcase__thumbs { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 0; }
.es-brand-showcase__thumb { display:block;min-width:0;border:0!important;padding:0 0 9px!important;text-decoration:none!important;box-shadow:inset 0 -2px transparent;background:none; }
.es-brand-showcase__thumb[aria-pressed=true] { box-shadow:inset 0 -3px #206247; }
.es-brand-showcase__thumb img { display:block;width:100%!important;height:auto!important;aspect-ratio:3/2;object-fit:contain!important;margin:0 0 8px!important; }
.es-brand-showcase__thumb span { display:block;font-size:14px;line-height:1.4;color:#24332a; }
.es-brand-showcase__controls { display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0 0; }
.es-brand-showcase__status { margin:0!important;font-size:14px!important;line-height:1.45!important; }
.es-brand-showcase__reset { border:0;background:none;color:inherit;text-decoration:underline;min-height:44px;padding:6px 0;font-size:14px; }
.es-brand-showcase__reset:disabled { opacity:.45; }
.es-brand-showcase a:focus-visible,.es-brand-showcase button:focus-visible { outline:3px solid #206247;outline-offset:4px; }
.es-brand-showcase__type { display:block;margin:0 0 8px;font-size:12px;line-height:1.4;letter-spacing:.06em;text-transform:uppercase; }
body.single-portfolio .es-brand-showcase [data-es-brand-full] img,
body.single-portfolio .es-brand-showcase .es-brand-showcase__thumb img { aspect-ratio:3/2!important; }
.es-brand-sequence > .es-brand-context { margin-top:32px!important; }
@media(max-width:760px) { .es-brand-showcase__thumbs { gap:10px; } .es-brand-showcase__thumb span { font-size:12px; } .es-brand-showcase__controls { align-items:flex-start; } }

/* Explicit no-caption presentation; names and live status remain accessible. */
[data-es-brand-captions="none"] [data-es-render-status],
.es-brand-viewer--no-captions .es-brand-viewer-footer p {
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}

/* Authored static Brand cover: preserve the provided image and separate H1. */
.es-brand-static-cover { --es-editorial-cover-ratio:auto;width:100%;max-width:1040px;margin:0 auto 28px!important; }
.es-brand-static-cover > a { display:block; }
body.single-portfolio .es-brand-static-cover img { display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0!important; }
.es-brand-viewer--artwork .es-brand-viewer-picture img { background:#fff; }
.es-brand-static-cover a:focus-visible { outline:3px solid #206247;outline-offset:4px; }
