/* ZAGOPE theme applied to HeroUI components throughout the page. */
:root{--accent:#e85002;--accent-foreground:#fff;--background:#f9f9f9;--foreground:#242420;--radius:14px;--font-sans:Geist,Arial,sans-serif}
.ui-island{display:contents}
.site-header{position:fixed;top:22px;left:28px;right:28px;margin:0;z-index:80;box-shadow:0 0 0 transparent;transition:box-shadow .3s,background .3s,top .3s}
.site-header.is-scrolled{background:rgb(255 255 255 / .97);box-shadow:0 8px 30px #24242018;backdrop-filter:blur(14px)}
.intro-pending .site-header{filter:blur(18px);pointer-events:none}
.small-note>span{width:44px;height:44px;flex:0 0 44px;aspect-ratio:1;padding:0;display:grid;place-items:center;border-radius:50%}
.animated-icon{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;width:auto!important;height:auto!important}
.animated-icon>div{display:flex;align-items:center;justify-content:center}
.animated-icon svg{display:block;flex-shrink:0}
.button{box-shadow:none;letter-spacing:normal;text-transform:none;flex-shrink:0}
button[data-placeholder]{cursor:default;opacity:1}
.button[data-placeholder]:active{transform:none}
.site-header nav .button{min-width:0;min-height:0;height:auto;border-radius:0;gap:0;display:inline-flex;background:transparent}
.site-header .language{height:auto;min-height:0;min-width:0;gap:7px;padding:7px 0;border-radius:8px;font-size:11px;overflow:visible}
.site-header .contact{height:auto;min-height:0;min-width:0;gap:15px;padding:12px 17px;background:var(--orange);border-radius:25px;color:white;font-size:11px}
.site-header .contact>span{margin:0;width:auto;height:auto;background:none}
.language-island{display:flex;align-items:center}
.language-popover{z-index:150;min-width:240px;padding:8px;border:1px solid #deded9;background:white;border-radius:16px;box-shadow:0 15px 45px #2222;color:#242420;font-family:Geist,Arial,sans-serif}
.language-popover .menu{padding:0}
.language-popover .menu-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;cursor:pointer;outline:none;min-height:64px}
.language-popover .menu-item[data-hovered],.language-popover .menu-item[data-focus-visible]{background:#f4eee8}
.language-popover .menu-item[data-selected]{background:#fff2e9}
.language-popover .label{font-size:13px;font-weight:550;color:#242420;display:block}
.language-popover .description{display:block;font-size:10px;color:#777;margin-top:3px}
.language-popover .menu-item__indicator{margin-left:auto;color:var(--orange)}
.language-popover img,.site-header .language img{object-fit:cover;flex-shrink:0;border-radius:2px}
footer .button{min-width:0;min-height:0;height:auto;border-radius:0;line-height:1.5;gap:5px;justify-content:start;font-weight:400}
footer .button>span{width:auto;height:auto;font-size:inherit;border-radius:0;background:transparent}
footer .button svg{width:12px;height:12px}
.card.value,.card.project-card,.card.pillar{box-shadow:none;gap:0;max-width:none;isolation:isolate;min-width:0}
.card.value{border:0}.card.pale-card{border:1px solid #e4e4dc}
.card.project-card{padding:0;display:block}
.card.pillar{border:0}
.card.brand-pillar{color:white;background:var(--orange)}
.card.image-card{color:white;background:#434438}
.card.orange-card{background:var(--orange);color:white}
.card.pale-card{background:#f0f0e9}
.card.pillar:not(.brand-pillar){background:#eeeee8}
.legacy h2 strong{font-weight:600;position:relative;display:block;width:fit-content;min-width:1.22em;font-variant-numeric:tabular-nums;transform-origin:50% 60%}
.legacy h2 strong.celebrate{animation:anniversary-celebration .9s ease-out both}
@keyframes anniversary-celebration{0%,100%{transform:scale(1);text-shadow:0 0 0 #e8500200}40%{transform:scale(1.08);text-shadow:0 0 26px #e8500260,0 0 55px #e8500225}}
@media(max-width:1100px){.site-header{left:20px;right:20px;top:20px}}
@media(max-width:850px){.site-header nav .button{font-size:14px;padding:10px;justify-content:start}.site-header .logo{width:125px}.site-header nav.open{z-index:2}}
@media(max-width:580px){.site-header{top:22px;left:22px;right:22px}.site-header.is-scrolled{top:12px}.site-header .contact{display:none}.site-header .language{font-size:10px}.site-header .logo{width:123px}.header-actions{gap:10px}}
@media(prefers-reduced-motion:reduce){.legacy h2 strong.celebrate{animation:none}.intro-pending .site-header{filter:none;pointer-events:auto}.site-header{transition:none}}
.menu-toggle>.animated-icon{background:none!important}.video-control button{display:grid;place-items:center}.hero-foot button .animated-icon{color:white}

/* Explicit auto width prevents HeroUI's shared header styles from exceeding the viewport. */
.site-header{width:auto;max-width:calc(100% - 56px);min-width:0;box-sizing:border-box;flex-wrap:nowrap}
.site-header nav{min-width:0}.header-actions{flex-shrink:0}
@media(max-width:1100px){.site-header{max-width:calc(100% - 40px)}}
@media(max-width:580px){.site-header{max-width:calc(100% - 44px)}}
/* Subtle feedback for all buttons, including the page placeholders. */
button,.button{transition:transform .22s ease,box-shadow .22s ease,filter .22s ease,background-color .22s ease!important}
@media(hover:hover){button:hover,.button:hover{transform:translateY(-2px);filter:brightness(1.035)}.button.orange:hover,.contact:hover{box-shadow:0 6px 16px #e8500225}.button.outline:hover{background:#efefe8}.site-header nav .button:hover,footer .button:hover{color:var(--orange);box-shadow:none}}
/* A white bridge masks the server-rendered language switch. */
.language-transition{position:fixed;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:2000;transition:opacity .38s cubic-bezier(.4,0,.2,1)}
.language-leaving .language-transition,.language-arriving .language-transition{opacity:1;pointer-events:auto}
.language-arriving .language-transition{transition:none}
/* Restore clean inline text and arrow rows in the contact column. */
.footer-top>div:last-child{display:flex;flex-direction:column;align-items:stretch;min-width:0}
.footer-top>div:last-child .button{display:flex;align-items:center;justify-content:space-between;width:100%;white-space:normal;gap:12px;padding:10px 0;margin:0;border-bottom:1px solid #ffffff16;font-size:11px;line-height:1.5;text-align:left}
.footer-top>div:last-child .button:first-of-type{padding-top:0}
footer .button>span{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}
.footer-top>div:last-child h3{margin-bottom:12px}
.footer-top>div:last-child .button svg{width:15px;height:15px}
html.lenis,html.lenis body{height:auto}
html.lenis.lenis-smooth{scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){button,.button{transition:none!important}button:hover,.button:hover{transform:none}.language-transition{transition:none}}
@media(min-width:851px) and (max-width:1180px){.site-header nav{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;margin:0;padding:20px;background:white;border-radius:14px;box-shadow:0 10px 25px #0002}.site-header nav.open{display:flex;flex-direction:column;gap:8px}.site-header nav .button{padding:10px;font-size:14px;justify-content:start}.header-actions{margin-left:auto}.menu-toggle{display:flex;flex-direction:column;background:none;padding:8px}}
.footer-top>div:last-child .button:first-of-type{padding-top:10px}

/* Brand scrollbar: native scrolling and keyboard support remain intact. */
:root{--scrollbar-track:#f0efeb;--scrollbar-thumb:#e85002;--scrollbar-thumb-hover:#c10801;--menu-scroll-inset:67px}
html{scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);scrollbar-width:thin}
@supports selector(::-webkit-scrollbar){
 html{scrollbar-color:auto;scrollbar-width:auto}
 ::-webkit-scrollbar{width:10px;height:10px}
 ::-webkit-scrollbar-track{background:var(--scrollbar-track)}
 ::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid var(--scrollbar-track);border-radius:999px;min-height:44px}
 ::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}
 ::-webkit-scrollbar-thumb:active{background:#f16001}
 ::-webkit-scrollbar-corner{background:var(--scrollbar-track)}
}
/* The extra 67 px inset applies to desktop only and is reversed at the top. */
.site-header{margin-inline:0;transition:margin .65s cubic-bezier(.22,1,.36,1),box-shadow .3s,background .3s,top .3s}
.site-header.is-scrolled{margin-inline:var(--menu-scroll-inset)}
@media(max-width:1100px){.site-header.is-scrolled{margin-inline:20px}}
@media(max-width:580px){.site-header.is-scrolled{margin-inline:0}}
.scroll-reveal{opacity:0;translate:0 26px;transition:opacity .7s cubic-bezier(.22,1,.36,1),translate .7s cubic-bezier(.22,1,.36,1);transition-delay:var(--reveal-delay,0ms)}
.scroll-reveal.is-revealed{opacity:1;translate:0 0}
@media(prefers-reduced-motion:reduce){.scroll-reveal{opacity:1;translate:none;transition:none}.site-header{transition:none}}
@media(forced-colors:active){html{scrollbar-color:auto}::-webkit-scrollbar-thumb{background:ButtonText}::-webkit-scrollbar-track{background:Canvas}}

/* Slow, compositor-driven gradient movement behind readable content. */
.sustainability{position:relative;overflow:hidden;isolation:isolate}
.sustainability::before{content:'';position:absolute;inset:-30%;z-index:-1;background:radial-gradient(ellipse at 28% 82%,#f16001 0%,#c10801 26%,#8a2d09 44%,#26241f 75%);animation:zagope-gradient-flow 15s ease-in-out infinite alternate;animation-play-state:paused;pointer-events:none}
.integrity-art{isolation:isolate}
.integrity-art::before{content:'';position:absolute;inset:-35%;z-index:0;background:linear-gradient(125deg,#d9c3ab 0%,#e85002 42%,#c10801 76%,#662508 100%);animation:zagope-gradient-flow 11s ease-in-out infinite alternate-reverse;animation-play-state:paused;pointer-events:none}
.integrity-art>span{position:relative;z-index:1}.integrity-art>b{z-index:1}
.gradient-running::before{animation-play-state:running}
@keyframes zagope-gradient-flow{0%{transform:translate(-5%,4%) rotate(-4deg) scale(1)}50%{transform:translate(5%,-3%) rotate(3deg) scale(1.06)}100%{transform:translate(-2%,-7%) rotate(-2deg) scale(1.12)}}
.search-island{display:contents}.header-search{position:relative;display:flex;align-items:center;gap:8px;flex-shrink:0}
.site-header .search-toggle{min-width:32px;width:32px;height:36px;min-height:36px;padding:0;background:transparent;border-radius:50%;display:grid;place-items:center;color:#333}
.site-header .search-toggle>span{background:none;width:auto;height:auto}
.header-search-slot{width:148px;height:40px;flex:0 0 148px;display:flex;align-items:center;transition:width .45s cubic-bezier(.22,1,.36,1),flex-basis .45s cubic-bezier(.22,1,.36,1)}
.header-search.is-open .header-search-slot{width:244px;flex-basis:244px}
.site-header .header-search .contact{width:100%;justify-content:space-between}
.site-header .header-search .contact>.animated-icon{margin-left:8px}
.header-search form{position:relative;width:100%;animation:search-field-in .25s ease both;height:40px}
.site-header .header-search-input{display:block;width:100%;height:40px;min-width:0;border:1px solid #e8500270;border-radius:24px;background:#fff7f0;padding:0 16px;font-family:inherit;font-size:12px;color:#242420;outline-offset:3px;box-shadow:none}
.search-results{position:absolute;top:calc(100% + 13px);right:0;width:320px;max-width:calc(100vw - 44px);max-height:min(420px,60svh);overflow:auto;background:white;color:#242420;border:1px solid #deded9;border-radius:14px;padding:12px;box-shadow:0 14px 45px #24242020;z-index:5}
.search-results>p{font-size:11px;color:#646464;margin:4px 6px 8px}
.site-header .search-result{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:auto;min-height:42px;padding:11px 8px;border-radius:8px;color:#242420;white-space:normal;text-align:left;font-size:12px;line-height:1.5;background:transparent}
.site-header .search-result:hover{background:#fff2e8}.site-header .search-result>.animated-icon{flex:0 0 15px}
.search-hit{animation:search-result-highlight 1.8s ease-out}
main h2,main h3,main p{scroll-margin-top:120px}
@keyframes search-field-in{from{opacity:0}to{opacity:1}}
@keyframes search-result-highlight{0%,40%{text-shadow:0 0 15px #e8500260}100%{text-shadow:none}}


@media(max-width:580px){.header-search-slot{display:none}.header-search.is-open .header-search-slot{display:block;position:fixed;left:22px;right:22px;top:calc(22px + 65px);width:auto;padding:12px;background:white;border:1px solid #deded9;border-radius:14px;box-shadow:0 10px 30px #24242020}.site-header.is-scrolled .header-search.is-open .header-search-slot{top:calc(12px + 65px)}.header-search .search-results{right:0;width:100%;max-width:100%;margin-top:0}.site-header .header-actions{gap:7px}.site-header .search-toggle{width:28px;min-width:28px}}
@media(prefers-reduced-motion:reduce){.sustainability::before,.integrity-art::before{animation:none}.header-search-slot{transition:none}.header-search form,.search-hit{animation:none}}

/* Native SVG cursor: hotspot coincides with the supplied arrow tip. */
@media(hover:hover) and (pointer:fine){
 html,body{cursor:url('assets/cursor-zagope.svg?v=29') 7 4,auto}
 a,button,.button,button[aria-disabled=true],[role=button],[role=menuitem],[role=menuitemradio],.menu-item{cursor:url('assets/cursor-zagope.svg?v=29') 7 4,pointer!important}
 input,textarea,[contenteditable=true]{cursor:text}
}

.hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-shrink:0;flex-wrap:wrap}
#institutional-video{display:contents}
.hero-actions .institutional-button{background:#ffffff0d;border:1px solid #ffffff80;color:#fff;text-decoration:none;gap:10px;justify-content:center;padding:9px 20px;min-height:48px}
.hero-actions .institutional-button>.institutional-play{display:grid;place-items:center;width:24px;height:24px;background:none;border-radius:50%}
.institutional-backdrop{z-index:1200;background:rgb(16 18 16 / .8);backdrop-filter:blur(10px)}
.institutional-container{width:min(1060px,calc(100vw - 40px));max-width:1060px;max-height:calc(100svh - 40px);padding:0;overflow:auto}
.institutional-dialog{width:100%;max-width:none;border-radius:18px;background:#171915;color:#f9f9f9;padding:0;overflow:hidden;box-shadow:0 20px 80px #0006;outline:none}
.institutional-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px}
.institutional-heading h2{font-size:15px;letter-spacing:0;font-weight:500;line-height:1.4;margin:0;color:#fff}
.institutional-close{position:static;display:grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;background:#ffffff14;color:#fff;border:1px solid #ffffff30;border-radius:50%}
.institutional-body{padding:0;overflow:hidden}
.institutional-frame{display:block;width:100%;aspect-ratio:16/9;height:auto;max-height:calc(100svh - 115px);border:0;background:#000}
@media(hover:hover){.hero-actions .institutional-button:hover{background:#ffffff20}}
@media(max-width:1100px){.hero-bottom{align-items:start;flex-direction:column;gap:24px}.hero-actions{justify-content:flex-start}}
@media(max-width:580px){.hero-actions{gap:10px}.hero-actions .button{font-size:11px;min-height:44px}.hero-actions .institutional-button{padding-inline:15px}.institutional-container{width:calc(100vw - 24px);max-height:calc(100svh - 24px)}.institutional-heading{padding:13px 15px}.institutional-heading h2{font-size:13px}.institutional-dialog{border-radius:14px}}

/* Clip the oversized animated gradient to its illustration, not the entire card. */
.integrity-art{overflow:hidden;flex-shrink:0}