/* Shared behavior and layout primitives for the two alternative prototypes. */
:root{--alt-ink:#080808;--alt-white:#fff;--alt-blue:#9bd7e8;--alt-line:#d6dcdd;--alt-max:1280px}
*{box-sizing:border-box}body{margin:0;font:16px/1.6 Archivo,Arial,sans-serif;color:var(--alt-ink);background:var(--alt-white)}
button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.05}p{max-width:68ch}[hidden]{display:none!important}:focus-visible{outline:3px solid #9c4300;outline-offset:5px}
html{scroll-padding-top:100px}.alt-wrap{max-width:var(--alt-max);margin-inline:auto;padding-inline:48px}.alt-skip{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:14px}.alt-skip:focus{top:10px}
.alt-header{position:sticky;top:0;z-index:40;background:white;border-bottom:1px solid #00000010;height:86px;padding:12px 38px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.alt-brand{display:block;width:185px;height:62px;overflow:hidden}.alt-brand img{width:185px;height:auto}.alt-header-actions{display:flex;align-items:center;gap:23px}
#alt-language{border:0;background:transparent;border-bottom:1px solid;padding:7px;font-weight:700;font-size:13px}#menu-toggle{display:flex;gap:15px;align-items:center;background:none;border:0;padding:12px 0 12px 12px;font-size:14px;font-weight:700}.hamburger-icon{display:flex;flex-direction:column;gap:6px;width:26px}.hamburger-icon i{display:block;height:2px;background:currentColor;width:100%}
.alt-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--alt-ink);background:var(--alt-ink);color:white;text-decoration:none;padding:14px 25px;gap:18px;font-weight:700;font-size:14px;line-height:1.4}.alt-button:hover{background:#284e5c}.alt-link{background:none;border:0;padding:0;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:5px}.alt-link:hover{color:#275360}
#site-menu{position:fixed;inset:0 0 0 auto;margin:0;width:min(510px,100%);height:100dvh;max-height:100dvh;max-width:100%;border:0;padding:32px 40px;background:white;overflow:auto}
dialog::backdrop{background:#0009}.dialog-close{background:transparent;border:0;font-size:15px;font-weight:700;display:flex;align-items:center;gap:12px;padding:10px;min-height:44px;min-width:44px}.dialog-close span[aria-hidden]{font-size:26px}.menu-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px}.menu-top>p{font-weight:900;font-size:24px}#site-menu nav{display:flex;flex-direction:column;gap:17px}#site-menu nav>a{font-size:27px;font-weight:700;line-height:1.2;letter-spacing:-.025em;text-decoration:none}#site-menu nav a:hover{text-decoration:underline;text-underline-offset:6px}.menu-strategies{padding-left:20px;display:flex;flex-direction:column;gap:10px;border-left:2px solid var(--alt-blue)}.menu-strategies a{font-size:18px;text-decoration:none}.menu-bottom{margin-top:40px;padding-top:22px;border-top:1px solid var(--alt-line);font-size:13px}
.ecosystem-controls{display:flex;align-items:end;gap:25px;justify-content:space-between;margin:28px 0 20px;flex-wrap:wrap}.ecosystem-search-label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;flex:1;max-width:380px}.ecosystem-search-label input{padding:13px 15px;border:1px solid #9aa9ae;background:white;min-width:0;width:100%;font-size:16px}.ecosystem-views{display:flex;gap:6px}.ecosystem-views button{padding:10px 16px;border:1px solid #9aa9ae;background:none;font-size:13px}.ecosystem-views button[aria-pressed=true]{background:var(--alt-ink);color:white;border-color:var(--alt-ink)}
.ecosystem-status{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:12px;margin-bottom:16px;color:#46585e}.ecosystem-results{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.ecosystem-item{min-width:0}.ecosystem-item>button{border:1px solid transparent;background:white;padding:14px;width:100%;min-height:103px;display:flex;align-items:center;justify-content:center}.ecosystem-item>button:hover,.ecosystem-item>button:focus-visible{border-color:#437c8e;background:#edf7fa}.ecosystem-item img{object-fit:contain;width:130px;height:65px;mix-blend-mode:multiply}.ecosystem-results:not(.is-list) .ecosystem-item button>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ecosystem-results.is-list{grid-template-columns:1fr;gap:0}.is-list .ecosystem-item{display:grid;grid-template-columns:1fr 1.6fr;gap:35px;padding:18px 0;border-top:1px solid var(--alt-line)}.is-list .ecosystem-item button{padding:0;min-height:0;justify-content:flex-start;gap:20px;text-align:left;font-size:16px;font-weight:700;background:transparent}.is-list .ecosystem-item img{width:70px;height:50px;flex-shrink:0}.is-list .ecosystem-item p{font-size:13px;line-height:1.5;max-width:65ch}.ecosystem-more-row{margin-top:24px;display:flex;align-items:center;gap:25px;flex-wrap:wrap}#copy-status{font-size:13px}.empty{padding:35px;grid-column:1/-1}.ecosystem-caption{font-size:12px;margin-top:20px;color:#46585e}
#partner-profile,#film-dialog{border:0;padding:32px;max-width:calc(100% - 28px);width:680px;max-height:90dvh;overflow:auto}#partner-profile>.dialog-close,#film-dialog>.dialog-close{margin:0 0 15px auto}#partner-profile-content>img{width:180px;height:90px;object-fit:contain;object-position:left}#partner-profile-content h2{font-size:32px;margin:25px 0 20px}#partner-profile-content p{font-size:17px}#partner-profile-content small{display:block;margin-top:20px;color:#586a70}#film-dialog{width:1040px;background:#111;color:white}#film-content iframe{width:100%;aspect-ratio:16/9;border:0;display:block}#film-content h2{font-size:25px;margin:20px 0 12px}#film-content>a{font-size:14px}
.alt-footer{background:#080808;color:white;padding:54px 0 25px}.alt-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:65px}.alt-footer-brand img{width:205px;height:auto;filter:brightness(0) invert(1)}.alt-footer-brand p{font-size:14px;max-width:35ch;margin-top:15px}.alt-footer h3{font-size:16px;line-height:1.4;margin-bottom:18px}.alt-footer a{display:block;font-size:13px;line-height:1.6;margin:8px 0;text-decoration:none}.alt-footer a:hover{text-decoration:underline;text-underline-offset:5px}.alt-footer-bottom{border-top:1px solid #ffffff40;padding-top:22px;margin-top:35px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:11px;color:#cbd9de}.alt-footer-bottom a{font-size:11px;margin:0}
@media(max-width:900px){.alt-wrap{padding-inline:32px}.ecosystem-results{grid-template-columns:repeat(4,minmax(0,1fr))}.alt-footer-grid{gap:30px}.alt-header{padding-inline:28px}}
@media(max-width:600px){html{scroll-padding-top:86px}.alt-wrap{padding-inline:22px}.alt-header{height:72px;padding:10px 20px}.alt-brand{width:145px;height:49px}.alt-brand img{width:145px}.alt-header-actions{gap:15px}#menu-toggle{padding-left:0}#menu-toggle>.menu-label{display:none}.alt-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.alt-footer-brand{grid-column:1/-1}.alt-footer{padding-top:38px}.ecosystem-controls{gap:15px}.ecosystem-search-label{max-width:none;flex-basis:100%}.ecosystem-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ecosystem-item>button{min-height:86px;padding:10px}.ecosystem-item img{height:55px;max-width:100%}.is-list .ecosystem-item{grid-template-columns:1fr;gap:14px;padding:22px 0}.is-list .ecosystem-item p{padding-left:0}.is-list .ecosystem-item button{gap:18px}.ecosystem-status{font-size:11px}#site-menu{padding:24px}#site-menu nav>a{font-size:25px}.ecosystem-more-row{gap:18px}#partner-profile,#film-dialog{padding:20px}#partner-profile-content h2{font-size:28px}.alt-footer-bottom{gap:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Supplied square Anansé mark needs breathing room in the detail view. */
#partner-profile-content>img[src$="movimiento-ananse-transparent.png"]{width:128px;height:128px}

/* Larger multiline wordmarks; transparent Anansé has no JPEG matte. */
.ecosystem-results:not(.is-list) .ecosystem-item>button{min-height:116px}
.ecosystem-results:not(.is-list) img.generated-logo{width:150px;height:84px;max-width:100%}
img[src$="movimiento-ananse-transparent.png"]{mix-blend-mode:normal;filter:brightness(0)}
@media(max-width:480px){.ecosystem-results:not(.is-list){grid-template-columns:repeat(2,minmax(0,1fr))}}
