/* Editorial continuity through the three homepage statements. */
.home-gradient-flow{background:transparent;color:var(--ink)}
.home .ai-home,.home .neoverse-home,.home .manifesto{background:transparent!important;border:0!important}
.home .ai-home{padding-bottom:66px}
.neoverse-home{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.5fr);gap:5vw;align-items:end;padding:55px var(--pad) 85px;color:var(--ink)}
.neoverse-home h2{font-size:clamp(66px,9vw,170px);margin-top:15px;line-height:1.02}
.neoverse-home h2 em{color:var(--paper)}
.neoverse-home>div:last-child{padding-bottom:9px}
.home .ai-home>div:last-child p,.home .neoverse-home>div:last-child p,.home .manifesto>div p{font:400 clamp(16px,1.1vw,22px)/1.65 DM,Arial,sans-serif;color:#302538;max-width:390px;letter-spacing:0}
.home .manifesto>div{font-size:inherit;line-height:inherit}
.home .manifesto{padding-top:70px}
.home .rail-footer{border:0}
.home .brand-controls{border:0}
.logo-neoverse img{mix-blend-mode:normal;filter:none;object-fit:contain}
.logo-neoverse.logo-wow img{max-width:165px}
.logo-neoverse.logo-valencia-basket img{max-width:110px}
.logo-neoverse.logo-laliga img{max-width:150px}

.neoverse-page{background:#11131c;color:#f7f0e6}
.neoverse-hero{position:relative;min-height:560px;height:min(76svh,950px);overflow:hidden;background:#080b16}
.neoverse-hero>img{width:100%;height:100%;object-fit:cover;object-position:center 49%}
.neoverse-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,#080b16d9 0%,#080b1666 42%,transparent 77%),linear-gradient(0deg,#080b1680,transparent 43%);pointer-events:none}
.neoverse-hero-copy{position:absolute;right:var(--pad);bottom:clamp(35px,5vw,100px);z-index:1;max-width:750px;width:48%}
.neoverse-hero-copy .eyebrow{color:#ffb96e}
.neoverse-hero-copy h1{font-size:clamp(60px,8.2vw,150px);margin:16px 0 22px}
.neoverse-hero-copy>p:last-child{font-size:clamp(18px,1.65vw,29px)}
.neoverse-intro{display:grid;grid-template-columns:minmax(340px,.8fr) minmax(0,1.2fr);gap:clamp(35px,7vw,150px);padding:clamp(70px,8vw,140px) var(--pad);align-items:center;background:linear-gradient(145deg,#151827,#2c2244 68%,#422c47)}
.neoverse-intro>div{order:2}
.neoverse-intro h2,.neoverse-sports h2,.neoverse-gallery h2,.neoverse-end h2{font-size:clamp(52px,6vw,108px);margin:18px 0 33px}
.neoverse-intro h2 em,.neoverse-sports h2 em,.neoverse-gallery h2 em,.neoverse-end h2 em{color:#ffb16b}
.neoverse-intro>div>p:not(.eyebrow){font-size:clamp(17px,1.45vw,24px);line-height:1.55;max-width:800px;color:#e9e1e9}
.neoverse-intro>div>p:not(.eyebrow)+p{margin-top:1.4em}
.neoverse-official{order:1;min-height:440px;padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:radial-gradient(circle at 50% 40%,#243239,#0b0d17 70%);border:1px solid #ffffff22;transition:transform .3s,border-color .3s}
.neoverse-official:hover{transform:translateY(-5px);border-color:#ffb16b}
.neoverse-official img{width:min(100%,390px);height:350px;object-fit:contain}
.neoverse-official span{font-size:11px;letter-spacing:.14em;font-weight:800;text-align:center}
.neoverse-sports{padding:clamp(70px,8vw,130px) var(--pad);display:grid;grid-template-columns:1.35fr .65fr;gap:8vw;background:#211c33}
.neoverse-sports p:not(.eyebrow){font-size:clamp(18px,1.55vw,25px);line-height:1.55;max-width:830px;color:#ddd1e1}
.neoverse-sports-tags{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:19px}
.neoverse-sports-tags span{font:clamp(26px,3vw,52px)/1 Anton,Impact,sans-serif;letter-spacing:.02em;color:#ffb16b}
.neoverse-gallery{padding:clamp(70px,8vw,130px) var(--pad);background:linear-gradient(180deg,#211c33,#464067 65%,#836991)}
.neoverse-gallery-heading{margin-bottom:60px}
.neoverse-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.5vw,30px)}
.neoverse-photo{margin:0;min-width:0}
.neoverse-photo img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;background:#181827}
.neoverse-photo figcaption{font-size:10px;line-height:1.4;letter-spacing:.05em;margin-top:9px;color:#f1e2ed}
.neoverse-end{padding:clamp(70px,8vw,130px) var(--pad);background:#171522}
.neoverse-end>div{display:flex;gap:40px;flex-wrap:wrap}
.neoverse-end a{font-size:12px;letter-spacing:.1em;font-weight:800;border-bottom:2px solid currentColor;padding-bottom:10px}
.neoverse-end a:hover{color:#ffb16b}
@media(max-width:900px){.neoverse-intro,.neoverse-sports{grid-template-columns:1fr}.neoverse-sports-tags{flex-direction:row;flex-wrap:wrap}.neoverse-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home .ai-home{padding-bottom:38px}.neoverse-home{display:block;padding:35px var(--pad) 62px}.neoverse-home h2{font-size:18vw}.neoverse-home>div:last-child{margin-top:25px}.home .manifesto{padding-top:45px}.home .ai-home>div:last-child p,.home .neoverse-home>div:last-child p,.home .manifesto>div p{font-size:16px;line-height:1.65}.mobile-menu{overflow-y:auto;overscroll-behavior:contain}.neoverse-hero{height:65svh;min-height:480px}.neoverse-hero>img{object-position:35% center}.neoverse-hero:after{background:linear-gradient(0deg,#080b16e6,transparent 75%)}.neoverse-hero-copy{left:var(--pad);right:var(--pad);width:auto}.neoverse-hero-copy h1{font-size:15vw}.neoverse-intro,.neoverse-sports,.neoverse-gallery,.neoverse-end{padding:65px var(--pad)}.neoverse-official{min-height:300px}.neoverse-official img{height:260px}.neoverse-photo-grid{gap:15px}.neoverse-photo figcaption{font-size:9px}}
/* Portrait reel cover: keep the original artwork intact. */
.project-cover.instagram-reel{height:min(72vw,840px);min-height:520px;background:#14131f}
.project-cover.instagram-reel>img{width:100%;height:100%;object-fit:contain}
@media(max-width:700px){
 .project-cover.instagram-reel{height:min(78svh,780px);min-height:420px}
}

/* The menu's two future-facing destinations sit together like Estudio / Service. */
.mobile-menu .menu-pair-future{margin-top:2px}
.mobile-menu .menu-pair-future>a{font-size:clamp(40px,6vw,90px);line-height:1.25}
.mobile-menu .menu-row>a,.mobile-menu .menu-row>button{transition:transform .4s cubic-bezier(.2,.9,.25,1),color .35s ease,filter .35s ease}
.mobile-menu .menu-row>a:hover,.mobile-menu .menu-row>button:hover{transform:translateY(-5px) skewX(-2deg);color:#8cb7ff;filter:drop-shadow(0 0 18px #598dff88)}
.mobile-menu .menu-row>a:hover .outline,.mobile-menu .menu-row>button:hover .outline{-webkit-text-stroke-color:#8cb7ff;color:#8cb7ff}
.mobile-menu .menu-pair-future>a:first-child:hover .outline{color:transparent}

/* Light editorial hierarchy with a deliberate offset between the two formats. */
.home .ai-home{padding-top:80px;padding-bottom:25px;align-items:start}
.home .neoverse-home{grid-template-columns:minmax(250px,.55fr) minmax(0,1.45fr);padding-top:0;padding-bottom:135px;align-items:end;min-height:490px}
.home .neoverse-home>div:first-child{grid-column:2;grid-row:1;transform:translateY(20px)}
.home .neoverse-home>div:last-child{grid-column:1;grid-row:1;align-self:end;padding-bottom:0;max-width:350px}
.home .neoverse-home h2{font-size:clamp(70px,9.5vw,180px)}
.home .manifesto{padding-top:25px}
.home .manifesto-line em,.festival-heading em,.director-biography h1{font-style:italic}

/* Festival marks follow the client rail. The note distinguishes documented work from industry references. */
.festival-section{color:var(--ink);padding:115px var(--pad) 135px;background:transparent}
.festival-heading{display:grid;grid-template-columns:1.1fr 1.9fr;gap:22px 5vw;align-items:end;margin-bottom:55px}
.festival-heading>.eyebrow{grid-column:1/-1}
.festival-heading h2{font-size:clamp(65px,8vw,155px)}
.festival-heading>p:last-child{font-size:clamp(17px,1.4vw,24px);line-height:1.55;max-width:480px}
.festival-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#241c3550;border:1px solid #241c3550}
.festival-mark{min-height:170px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#efbaae18;font:400 clamp(22px,2.6vw,47px)/.95 Anton,Impact,sans-serif;letter-spacing:-.01em;transition:background .3s,transform .3s}
.festival-mark strong{font:inherit;font-size:1.3em}.festival-mark small{font:700 9px/1.5 DM,Arial,sans-serif;letter-spacing:.1em;margin-top:8px}.festival-mark:hover{background:#fff0e066;transform:translateY(-4px)}
.festival-mark.major{font-size:clamp(27px,3.3vw,59px)}
.festival-note{font-size:11px;line-height:1.5;letter-spacing:.04em;opacity:.7;max-width:780px;margin-top:25px}

/* Director portraits and short lead bios, with the complete supplied text available on demand. */
.director-page{background:linear-gradient(180deg,#171522 0%,#392844 25%,#9a6e9a 62%,#d398a4 100%)}
.director-page .archive-section{background:transparent}
.director-profile{padding:clamp(40px,5vw,95px) var(--pad) clamp(80px,9vw,155px);display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(35px,5vw,100px);align-items:center;color:#f9eee5}
.director-portrait{height:min(72vw,760px);max-height:760px;overflow:hidden}
.director-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.director-biography h1{font-size:clamp(68px,8.3vw,155px);line-height:.92;margin:25px 0 32px}
.director-summary{font:400 clamp(20px,2vw,32px)/1.38 DM,Arial,sans-serif;max-width:720px}
.director-biography details{margin-top:38px;max-width:720px}
.director-biography summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:30px;border-top:1px solid #f9eee580;border-bottom:1px solid #f9eee580;padding:16px 0;font-size:12px;font-weight:800;letter-spacing:.13em}
.director-biography summary::-webkit-details-marker{display:none}
.director-biography details[open] summary span{transform:rotate(45deg)}
.director-full-bio{padding:25px 0;font-size:clamp(15px,1.1vw,18px);line-height:1.6;color:#f2dfe8}
.director-full-bio p+p{margin-top:1em}
.director-page .archive-section .section-heading h2{font-size:clamp(60px,8vw,145px)}

/* One continuous color journey across NEOVERSE, including its gallery and footer. */
.neoverse-page{background:linear-gradient(180deg,#0d1120 0%,#1e203f 22%,#403763 48%,#8a6b9a 75%,#c58d9d 100%)}
.neoverse-hero{background:transparent}
.neoverse-hero:after{background:linear-gradient(0deg,#14192ed9 0%,transparent 42%),linear-gradient(270deg,#080b16cc 0%,#080b1655 42%,transparent 79%)}
.neoverse-hero-copy{width:min(58%,950px);max-width:950px}
.neoverse-hero-copy h1{font-size:clamp(60px,7.7vw,145px);line-height:1.03}
.neoverse-hero-copy h1 em{color:#ffbf9f;font-style:italic}
.vision-marks{display:flex;align-items:center;gap:22px;margin-top:25px}
.vision-marks img:first-child{height:44px;width:auto}
.vision-marks img:last-child{height:52px;width:auto}
.neoverse-home .vision-marks{gap:20px;margin-top:27px}
.neoverse-home .vision-marks img{filter:brightness(0)}
.neoverse-home .vision-marks img:first-child{height:36px}
.neoverse-home .vision-marks img:last-child{height:43px}
.neoverse-feature{position:relative;padding:clamp(80px,10vw,175px) var(--pad);display:grid;grid-template-columns:1.4fr .6fr;gap:5vw;align-items:end}
.neoverse-feature img{width:100%;aspect-ratio:16/9;object-fit:cover}
.neoverse-feature h2{font-size:clamp(54px,6.5vw,115px);margin-top:22px}
.neoverse-feature h2 em{color:#ffb16b;font-style:italic}
.neoverse-intro,.neoverse-sports,.neoverse-gallery,.neoverse-end{background:transparent}
.neoverse-intro{padding-top:60px}
.neoverse-official{background:radial-gradient(circle at 50% 40%,#24323999,#0b0d1766 72%);border-color:#ffffff44}
.neoverse-gallery{padding-top:70px}
.neoverse-photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(14px,2vw,34px);align-items:start}
.neoverse-photo{grid-column:span 2;min-width:0}
.neoverse-photo:nth-child(5n+1),.neoverse-photo:nth-child(5n+2){grid-column:span 3}
.neoverse-photo:nth-child(n){margin-top:0}
.neoverse-photo img{aspect-ratio:4/5;object-fit:cover;background:transparent}
.neoverse-photo:nth-child(5n+1) img,.neoverse-photo:nth-child(5n+2) img{aspect-ratio:5/4}
.neoverse-photo figcaption{display:none}
.neoverse-page .site-footer{background:transparent}

/* The AI page uses one uninterrupted hora mágica palette through Just Ask. */
.ai-page{background:linear-gradient(180deg,#655596 0%,#9d78ac 24%,#d695a8 58%,#efa99b 78%,#c787a4 100%);color:var(--ink)}
.ai-page .ai-intro,.ai-page .ai-examples,.ai-page .site-footer{background:transparent;color:var(--ink)}
.ai-page .ai-intro{padding-bottom:90px}
.ai-page .ai-examples{padding-top:45px;padding-bottom:150px}
.ai-page .ai-example-caption>p:not(.eyebrow){color:#2d2439}
.ai-page .ai-example-media{background:transparent}
.ai-page .ai-example-media>span{background:#171522b8}
.ai-page .ai-examples em{color:#fff0df}
.ai-page .site-footer{border-top:1px solid #35243a55}
.ai-page .site-footer a,.ai-page .site-footer p,.ai-page .site-footer span{color:var(--ink)}
.ai-page .site-footer .neon img{filter:invert(1)}

@media(max-width:900px){
 .director-profile{grid-template-columns:1fr;gap:35px}.director-portrait{max-height:700px;height:80vw}.director-biography h1{margin-top:15px}
 .festival-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .neoverse-feature{grid-template-columns:1fr}.neoverse-feature h2{max-width:680px}
}
@media(max-width:700px){
 .mobile-menu .menu-pair-future{gap:17px;margin:8px 0}.mobile-menu .menu-pair-future>a{font-size:clamp(32px,8vw,58px);white-space:nowrap}
 .home .ai-home{padding-top:50px;padding-bottom:110px}.home .neoverse-home{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:0;padding-bottom:95px}.home .neoverse-home>div:first-child{align-self:flex-end;width:85%;transform:none}.home .neoverse-home>div:last-child{align-self:flex-start;width:75%;margin-top:25px}.home .neoverse-home h2{font-size:16vw}
 .festival-section{padding:65px var(--pad) 95px}.festival-heading{display:block;margin-bottom:35px}.festival-heading h2{font-size:16vw;margin:15px 0}.festival-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.festival-mark{min-height:125px;padding:14px;font-size:27px}.festival-mark.major{font-size:31px}.festival-note{font-size:10px}
 .director-profile{padding-top:35px;padding-bottom:75px}.director-portrait{height:110vw;max-height:600px}.director-biography h1{font-size:18vw}.director-summary{font-size:20px}.director-biography details{margin-top:30px}
 .neoverse-hero-copy{left:var(--pad);right:var(--pad);width:auto}.neoverse-hero-copy h1{font-size:12vw}.vision-marks img:first-child{height:32px}.vision-marks img:last-child{height:42px}.neoverse-feature{padding:65px var(--pad)}.neoverse-feature h2{font-size:14vw}.neoverse-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.neoverse-photo:nth-child(n){grid-column:span 1;margin-top:0}.neoverse-photo:first-child,.neoverse-photo:last-child{grid-column:1/-1}.neoverse-photo:nth-child(n) img{aspect-ratio:4/5}.neoverse-photo:first-child img,.neoverse-photo:last-child img{aspect-ratio:16/10}
 .ai-page .ai-examples{padding-bottom:100px}
}
@media(prefers-reduced-motion:reduce){.mobile-menu .menu-row>a,.mobile-menu .menu-row>button,.festival-mark{transition:none!important}}
.director-page .director-biography h1{color:#f9eee5!important}
.festival-heading{grid-template-columns:1.65fr 1fr}
.festival-heading h2{font-size:clamp(56px,6vw,105px)}
.festival-heading h2 em{color:#65405e}
.festival-grid{background:transparent;border:0;gap:18px 30px}
.festival-mark{background:transparent;min-height:135px}
.festival-mark:hover{background:#fff0e033}
@media(max-width:700px){.festival-heading{display:block}.festival-heading h2{font-size:14vw}.festival-grid{gap:7px}.festival-mark{min-height:120px}}
/* Carry the page palette into the contact footer rather than cutting to black. */
.home .site-footer{background:transparent;color:var(--ink);border:0}
.home .site-footer a,.home .site-footer p,.home .site-footer span{color:var(--ink)}
.home .site-footer .neon img{filter:none}
.neoverse-end{color:#171522}
.neoverse-end h2 em{color:#4d3463}
.neoverse-page .site-footer{color:#171522;border:0}
.neoverse-page .site-footer a,.neoverse-page .site-footer p,.neoverse-page .site-footer span{color:#171522}

/* v13: the contact close is the same deep visual pause on every page. */
.site-footer,.home .site-footer,.ai-page .site-footer,.neoverse-page .site-footer,.director-page .site-footer{background:#111019!important;color:#f5eddf!important;border-top:0!important}
/* Keep the Service artwork peach while matching the footer at the bottom of the page. */
body.service-page{background:#111019}
.service-page .topline,.service-page .site-header,.service-page main{background:var(--peach)}
.service-page.menu-open .site-header{background:transparent}
body .site-footer :is(a,p,span){color:inherit!important}
body .site-footer .hello span{color:var(--peach)!important}


/* Preserve the cream filled/outlined lettering and tint the letterforms on hover. */
.mobile-menu{background:rgba(22,18,31,.97);backdrop-filter:blur(12px)}
.mobile-menu .menu-row>a,.mobile-menu .menu-row>button{color:var(--paper);filter:none;transition:transform .38s cubic-bezier(.2,.9,.25,1),color .35s ease,text-shadow .35s ease}
.mobile-menu .menu-row>a:hover,.mobile-menu .menu-row>button:hover,.mobile-menu .menu-row>a:focus-visible,.mobile-menu .menu-row>button:focus-visible{transform:translateY(-3px) skewX(-1deg);color:#ffd2bb;filter:none;text-shadow:0 0 12px #f6b49a40}
.mobile-menu .menu-row :is(a,button) .outline{color:transparent;-webkit-text-stroke:1px var(--paper);transition:-webkit-text-stroke-color .35s ease}
.mobile-menu .menu-row :is(a,button):is(:hover,:focus-visible) .outline{color:transparent;-webkit-text-stroke-color:#ffd2bb}

/* NEOVERSE: keep the headset portrait beside the sports story. */
.neoverse-sports{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:clamp(35px,6vw,110px);align-items:center}
.neoverse-sports-visual{overflow:hidden}
.neoverse-sports-visual img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center}
@media(max-width:900px){.neoverse-sports{grid-template-columns:1fr}.neoverse-sports-visual img{aspect-ratio:16/10}}

/* A lighter hora mágica backdrop and an editorial name overlapping each portrait. */
.director-page{background:linear-gradient(180deg,#e98b88 0%,#f3aca0 24%,#f7d2ab 61%,#f4dcae 100%)}
.director-page .director-profile,.director-page .archive-section{color:#241b2b}
.director-profile{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(35px,5vw,100px);align-items:center}
.director-portrait{background:#d7b9aa}
.director-portrait img{object-position:center 28%}
.director-biography{position:relative;min-width:0}
.director-page .director-biography h1{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:max-content;max-width:calc(100% + 8vw);margin:18px 0 32px;transform:translateX(clamp(-120px,-7vw,-70px));font:italic 750 clamp(70px,7.2vw,132px)/.83 DM,Arial,sans-serif;letter-spacing:-.075em;color:#25192b!important;text-transform:uppercase}
.director-biography h1 span:last-child{margin-left:.3em}
.director-summary{font-size:clamp(19px,1.85vw,29px)}
.director-biography summary{border-color:#241b2b66}
.director-full-bio{color:#3c2b3f}
.director-page .archive-section .section-heading .eyebrow,.director-page .archive-section .results-line,.director-page .archive-section .card-byline{color:#49344a}
@media(max-width:900px){.director-page .director-biography h1{transform:translateX(0);max-width:100%;font-size:clamp(70px,13vw,120px)}}
@media(max-width:700px){.director-page .director-profile{gap:18px}.director-page .director-biography h1{font-size:clamp(62px,15vw,100px);margin:14px 0 28px}.director-biography h1 span:last-child{margin-left:.18em}.neoverse-sports-visual img{aspect-ratio:4/3}}

/* Original festival marks: understated scale, with incomplete rows centered. */
body.home .festival-section{position:relative;margin-top:-1px;padding:clamp(72px,7vw,115px) var(--pad) clamp(92px,8vw,135px);background:transparent;color:#241b2b}
body.home .festival-section>h2{margin:0 0 clamp(30px,4vw,55px);text-align:center;color:#5d4654;font:400 clamp(15px,1.6vw,22px)/1.3 DM,Arial,sans-serif;letter-spacing:.025em;text-transform:uppercase}
body.home .festival-grid{--award-columns:5;--award-gap:20px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:32px var(--award-gap);max-width:1160px;margin-inline:auto;padding:clamp(32px,4vw,56px) clamp(20px,3vw,42px);background:rgba(17,16,25,.88);border:1px solid #fce9e331;border-radius:4px;box-shadow:0 24px 75px #291c2e19}
body.home .festival-mark{display:flex;flex:0 0 calc((100% - (var(--award-columns) - 1)*var(--award-gap))/var(--award-columns));align-items:center;justify-content:center;min-width:0;min-height:100px;margin:0;padding:8px;color:#fff;background:transparent;text-align:center;outline-offset:3px;transition:transform .35s cubic-bezier(.2,.8,.2,1),color .3s ease}
body.home .festival-emblem{display:flex;align-items:center;justify-content:center;width:100%;height:82px;min-height:0}
body.home .festival-official-logo{display:block;width:auto;height:auto;max-width:min(100%,112px);max-height:78px;object-fit:contain;opacity:1;filter:brightness(0) invert(1);mix-blend-mode:normal;transition:filter .3s ease}
body.home .festival-mark-forque .festival-official-logo{max-width:min(100%,140px)}
body.home .festival-mark-goya .festival-official-logo{max-height:82px;max-width:96px}
body.home .festival-mark-melies .festival-official-logo{max-height:78px;max-width:82px}
body.home .festival-mark-sol .festival-official-logo{max-height:78px;max-width:72px}
body.home .festival-mark:hover,body.home .festival-mark:focus-visible,body.home .festival-mark:active{color:#ff9c60;background:transparent;transform:translateY(-4px) scale(1.035)}
body.home .festival-mark:hover .festival-official-logo,body.home .festival-mark:focus-visible .festival-official-logo,body.home .festival-mark:active .festival-official-logo{filter:brightness(0) saturate(100%) invert(68%) sepia(69%) saturate(955%) hue-rotate(326deg) brightness(101%) contrast(101%)}
@media(max-width:950px){body.home .festival-grid{--award-columns:4;gap:25px var(--award-gap)}}
@media(max-width:700px){
 body.home .festival-section{padding:65px clamp(15px,4vw,24px) 92px}
 body.home .festival-section>h2{font-size:clamp(12px,3.1vw,16px);margin-bottom:26px}
 body.home .festival-grid{--award-gap:10px;gap:18px var(--award-gap);padding:26px 15px}
 body.home .festival-mark{min-height:64px;padding:3px 0}
 body.home .festival-emblem{height:54px}
 body.home .festival-official-logo{max-width:min(100%,65px);max-height:46px}
 body.home .festival-mark-forque .festival-official-logo{max-width:min(100%,72px)}
 body.home .festival-mark-goya .festival-official-logo{max-width:min(100%,57px);max-height:49px}
 body.home .festival-mark-melies .festival-official-logo{max-width:48px;max-height:48px}
 body.home .festival-mark-sol .festival-official-logo{max-width:38px;max-height:48px}
}
@media(max-width:350px){body.home .festival-grid{--award-columns:3}}
@media(prefers-reduced-motion:reduce){body.home .festival-mark,body.home .festival-official-logo{transition:none!important}}

/* Shared, understated entrance for page content. Elements stay visible without JS. */
@media(prefers-reduced-motion:no-preference){
 .entrance{opacity:0;translate:0 20px;transition:opacity .68s ease,translate .82s cubic-bezier(.2,.8,.2,1);transition-delay:var(--entrance-delay,0ms)}
 .entrance.entered{opacity:1;translate:0 0}
 body.home .festival-mark.entrance{opacity:1;translate:0 12px;transition:translate .72s cubic-bezier(.2,.8,.2,1),transform .35s cubic-bezier(.2,.8,.2,1),color .3s ease,filter .3s ease;transition-delay:var(--entrance-delay,0ms),0s,0s,0s}
 body.home .festival-mark.entrance.entered{opacity:1;translate:0 0}
}

/* The navigation and player arrive with the same restrained movement as page content. */
.mobile-menu{opacity:0;translate:0 14px;pointer-events:none;transition:opacity .46s cubic-bezier(.2,.8,.2,1),translate .46s cubic-bezier(.2,.8,.2,1)}
.mobile-menu.is-open{opacity:1;translate:0 0;pointer-events:auto}
@media(min-width:701px){.menu-open .site-header{top:30px}}
.menu-toggle span{transition:transform .46s cubic-bezier(.2,.8,.2,1),opacity .46s ease,background-color .46s ease}
.menu-open.menu-closing .menu-toggle span:first-child,.menu-open.menu-closing .menu-toggle span:last-child{transform:none}
.menu-open.menu-closing .menu-toggle span:nth-child(2){opacity:1}
.mobile-menu .menu-row>:is(a,button){transition:transform .6s cubic-bezier(.16,1,.3,1),opacity .48s ease,color .35s ease,text-shadow .35s ease;transition-delay:0s,0s,0s,0s}
.mobile-menu.is-open .menu-row>:is(a,button){opacity:1;transition-delay:calc(var(--order,0)*60ms),calc(var(--order,0)*60ms),0s,0s}
.mobile-menu.is-open .menu-row>:is(a,button):is(:hover,:focus-visible){transition-delay:0s}
.mobile-menu.is-open .menu-row>.directors-toggle:is(:hover,:focus-visible){transform:translateY(-3px) skewX(-1deg)}
.mobile-menu .menu-email{opacity:0;translate:0 12px;transition:opacity .45s ease,translate .55s cubic-bezier(.2,.8,.2,1)}
.mobile-menu.is-open .menu-email{opacity:1;translate:0 0;transition-delay:.3s}

/* The logo and hamburger return as the panel leaves, before it is hidden. */
.home .site-header .brand{transition:transform .46s cubic-bezier(.2,.8,.2,1)}
.home.menu-open.menu-closing .site-header .brand{transform:translateY(25px)}
@media(max-width:700px){.home.menu-open.menu-closing .site-header .brand{transform:translateY(20px)}}

#player-dialog{opacity:0;transform:translateY(16px) scale(.985);transition:opacity .36s ease,transform .46s cubic-bezier(.2,.8,.2,1)}
#player-dialog.is-visible{opacity:1;transform:none}
#player-dialog::backdrop{background:rgba(8,7,13,0);transition:background .42s ease}
#player-dialog.is-visible::backdrop{background:rgba(8,7,13,.96)}
#player-container{opacity:0;transform:translateY(12px) scale(.99);transition:opacity .36s ease,transform .46s cubic-bezier(.2,.8,.2,1)}
#player-dialog.is-visible #player-container{opacity:1;transform:none;transition-delay:.08s}

@media(prefers-reduced-motion:reduce){
 .home .site-header .brand,.menu-toggle span,.mobile-menu,.mobile-menu .menu-row>:is(a,button),.mobile-menu .menu-email,#player-dialog,#player-container{transition:none!important;translate:none!important;transform:none!important}
 #player-dialog[open],#player-dialog[open] #player-container{opacity:1!important}
 #player-dialog::backdrop{background:#08070df5!important;transition:none!important}
}

/* A single curtain slides from the top and folds away before navigation. */
.mobile-menu{opacity:1;translate:0 0;transform:translate3d(0,-105%,0);pointer-events:none;transition:transform .66s cubic-bezier(.76,0,.24,1);will-change:transform;overscroll-behavior:contain}
.mobile-menu.is-open{opacity:1;transform:translate3d(0,0,0);pointer-events:auto}
.mobile-menu.is-retracting{pointer-events:none}
.mobile-menu.is-retracting .menu-row>:is(a,button){transform:translateY(0)!important;opacity:0!important;transition:opacity .24s ease!important}
.mobile-menu.is-retracting .menu-email{translate:0 0;opacity:0;transition:opacity .24s ease}
.mobile-menu.is-retracting .menu-directors{opacity:0;transition:opacity .24s ease}
.menu-open.menu-closing .site-header{background:transparent!important}
.site-header .brand,.home .site-header .brand,.menu-toggle span{transition-duration:.66s}
.menu-open .site-header{transition:top .66s cubic-bezier(.76,0,.24,1)}
@media(prefers-reduced-motion:reduce){.mobile-menu{transform:translateY(-105%)!important;transition:none!important}.mobile-menu.is-open{transform:none!important}}

/* Studio disciplines sit over one cinematic image, without separate colour cards. */
.studio-disciplines{position:relative;isolation:isolate;overflow:hidden;padding:clamp(90px,10vw,160px) var(--pad) clamp(105px,11vw,170px);color:#fff2e9;background:#17121f}
.studio-disciplines-backdrop{position:absolute;inset:-2%;z-index:-1;background:linear-gradient(90deg,#17101feF 0%,#211329d8 54%,#19101fe0 100%),url('/assets/a7fb2979a3cb1f121ee7.png') center 35%/cover no-repeat;filter:saturate(.8)}
.studio-disciplines:before,.studio-disciplines:after{content:'';position:absolute;left:0;right:0;height:110px;pointer-events:none}
.studio-disciplines:before{top:0;background:linear-gradient(#171522,transparent)}
.studio-disciplines:after{bottom:0;background:linear-gradient(transparent,#171522)}
.studio-disciplines-inner{position:relative;max-width:1540px;margin:auto}
.studio-disciplines .eyebrow{font-size:11px;letter-spacing:.16em;color:#f4b2ab}
.studio-disciplines h2{margin:18px 0 clamp(50px,6vw,88px);font:italic 800 clamp(60px,8vw,138px)/.96 Anton,Impact,sans-serif;letter-spacing:-.025em}
.studio-disciplines h2 em{color:#f8b69f}
.studio-disciplines h2 em{margin-left:.1em}
.disciplines-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(45px,6vw,95px) clamp(30px,4vw,68px)}
.disciplines-grid article{min-width:0}
.disciplines-grid h3{margin:0 0 14px;font:400 clamp(26px,2.4vw,38px)/1.02 Anton,Impact,sans-serif;letter-spacing:.015em;color:#fff3e8}
.disciplines-grid p{max-width:48ch;margin:0;font:400 clamp(15px,1.23vw,19px)/1.65 DM,Arial,sans-serif;color:#eddae6}
.disciplines-food{grid-column:span 2}
@media(max-width:900px){.disciplines-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.studio-disciplines{padding:82px var(--pad) 105px}.studio-disciplines h2{font-size:clamp(54px,15vw,86px);margin-bottom:52px}.disciplines-grid{grid-template-columns:1fr;gap:43px}.disciplines-food{grid-column:auto}.disciplines-grid h3{font-size:30px}.disciplines-grid p{font-size:16px}}

/* Reveal both director links together while the submenu makes room for them. */
.mobile-menu .menu-directors{transition:grid-template-rows .44s cubic-bezier(.2,.8,.2,1),margin .44s cubic-bezier(.2,.8,.2,1),opacity .2s ease}
.mobile-menu .menu-directors.expanded{transition-delay:0s,0s,.18s}
.mobile-menu .menu-directors>div{overflow:visible}
.mobile-menu .menu-directors a,.mobile-menu .menu-directors.expanded a{transform:none;transition:color .25s ease,border-color .25s ease}

/* The portrait stays above the complete biography on narrow screens. */
@media(max-width:900px){
 .director-page .director-profile{grid-template-columns:minmax(0,1fr);align-items:start;gap:clamp(18px,4vw,32px)}
 .director-page .director-portrait{grid-column:1;grid-row:1;justify-self:start;width:min(100%,620px);height:auto;max-height:none;aspect-ratio:4/5}
 .director-page .director-biography{grid-column:1;grid-row:2;align-self:start;width:100%}
}
@media(max-width:700px){
 .director-page .director-profile{gap:20px;padding-top:26px;padding-bottom:72px}
 .director-page .director-portrait img{object-position:center 25%}
}
@media(prefers-reduced-motion:reduce){.mobile-menu .menu-directors,.mobile-menu .menu-directors a{transition:none!important}}

/* Keep the mobile director links in their final one-column layout throughout the reveal. */
@media(max-width:700px){
 .mobile-menu .menu-directors>div{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-content:start;gap:9px;width:100%;min-width:0;overflow:hidden;opacity:0;visibility:hidden;transition:opacity .16s ease,visibility 0s linear .16s}
 .mobile-menu .menu-directors.expanded>div{opacity:1;visibility:visible;transition:opacity .16s ease .3s,visibility 0s linear .3s}
 .mobile-menu .menu-directors a{display:block;width:max-content;max-width:100%;text-align:center}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
 .mobile-menu .menu-directors>div{transition:none!important}
}

/* The approved neon composition uses the original ears, the main Bilby signature,
   and independently powered light circuits. Its frame is transparent in every footer. */
.site-footer .neon-reworked{position:relative;display:block;justify-self:center;flex:none;width:clamp(225px,22vw,340px);height:auto;aspect-ratio:1100/990;overflow:visible;isolation:isolate;container-type:inline-size;animation:none!important;transform:none!important;filter:none!important}
.neon-reworked::before,.neon-reworked::after{content:none!important}
.neon-reworked .neon-light{position:absolute;inset:0;display:block;opacity:1;will-change:opacity}
.neon-reworked .neon-ears-art,.neon-reworked .neon-eye-art{position:absolute;left:4%;top:0;width:92%;height:auto;max-width:none;filter:drop-shadow(0 0 .7692cqw #ff00d0)!important}
.neon-reworked .neon-ears-art{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 45%,transparent 52%);mask-image:linear-gradient(to bottom,#000 0%,#000 45%,transparent 52%)}
.neon-reworked .neon-eye-left{-webkit-mask-image:radial-gradient(ellipse 10% 8% at 42% 50%,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse 10% 8% at 42% 50%,#000 55%,transparent 100%)}
.neon-reworked .neon-eye-right{-webkit-mask-image:radial-gradient(ellipse 10% 8% at 58% 50%,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse 10% 8% at 58% 50%,#000 55%,transparent 100%)}
/* Preserve the original proposal's mark, proportions and light at every size. */
.neon-reworked .neon-signature-proposal{position:absolute;left:15%;top:40%;display:block;width:70%;height:38.89%;max-width:none;object-fit:contain;filter:drop-shadow(0 0 .6154cqw #ffb0ef) drop-shadow(0 0 1.6923cqw #ff00db) drop-shadow(0 0 3.3846cqw #d000d8)!important}
.neon-reworked .neon-signature-proposal.neon-proposal-glow{filter:blur(1.3846cqw) drop-shadow(0 0 2cqw #ff00df)!important;opacity:.85}
.neon-reworked .neon-signature-proposal.neon-proposal-aura{filter:blur(3.8462cqw)!important;opacity:.5}
body .site-footer .neon-reworked .neon-subtitle-proposal{position:absolute;top:83%;left:0;display:block;width:100%;height:auto;color:#fff0bf!important;font:300 4.15385cqw/1.2 Arial,sans-serif;text-align:center;white-space:nowrap;letter-spacing:.43em;text-indent:.43em;text-shadow:0 0 .3077cqw #fff,0 0 1.0769cqw #ffc23f,0 0 2.3077cqw #ff971a,0 0 4.6154cqw #fb5b08}
@media(max-width:700px){.site-footer .neon-reworked{width:clamp(140px,44vw,200px)}}
@media(max-width:650px){.site-footer .neon-reworked{aspect-ratio:1100/1000}}
@media(prefers-reduced-motion:reduce){.neon-reworked .neon-light{will-change:auto}}

/* Festival links in project credits remain legible against the dark case-study canvas. */
.project-info .award-badge{color:#f3bbcb}
.project-info .award-badge:is(:hover,:focus-visible){color:#171522;background:#f3bbcb}

/* Handwriting follows the pen: letters first, underline and arrow last. */
.site-header .brand .logo-handwriting{display:block;width:100%;height:auto;aspect-ratio:2/1;max-height:175px;overflow:visible}
.logo-handwriting .write-path{stroke-dasharray:1;stroke-dashoffset:1;animation:bilby-pen var(--pen-duration) linear var(--pen-delay) both}
.logo-handwriting .arrow-tip-path{opacity:0;stroke-linecap:butt;animation-name:bilby-arrow-pen}
.logo-handwriting .ink-finish{opacity:0;animation:bilby-ink-finish .001s linear .999s both}
@keyframes bilby-pen{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes bilby-arrow-pen{0%{stroke-dashoffset:1;opacity:0}.01%{opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@keyframes bilby-ink-finish{to{opacity:1}}
html.menu-transferred .logo-handwriting .write-path{animation:none;stroke-dashoffset:0;opacity:1}
html.menu-transferred .logo-handwriting .ink-finish{animation:none;opacity:1}
@media(max-width:700px){.site-header .brand .logo-handwriting{max-height:115px}}
@media(prefers-reduced-motion:reduce){.logo-handwriting .write-path{animation:none;stroke-dashoffset:0;opacity:1}.logo-handwriting .ink-finish{animation:none;opacity:1}}

/* Only the letterforms change colour: solid ink, without a diffuse halo. */
.mobile-menu .menu-row>:is(a,button),.mobile-menu .menu-row>:is(a,button) .outline{background:none!important;background-clip:border-box!important;filter:none!important;text-shadow:none!important}
.mobile-menu .menu-row>:is(a,button):is(:hover,:focus-visible,:active){color:#f6b49a!important;filter:none!important;text-shadow:none!important;transition-delay:0s!important}
.mobile-menu .menu-row>:is(a,button):is(:hover,:focus-visible,:active) .outline{color:#f6b49a!important;-webkit-text-fill-color:#f6b49a;-webkit-text-stroke-color:#f6b49a}

/* The same curtain survives navigation, then reveals the prepared destination. */
html.menu-arriving #mobile-menu[hidden]{display:block!important}
html.menu-arriving #mobile-menu{transform:translate3d(0,0,0);opacity:1;transition:none;pointer-events:none}
html.menu-arriving #mobile-menu .menu-row>:is(a,button),html.menu-arriving #mobile-menu .menu-email{opacity:1;transform:none;translate:none;transition:none}
.mobile-menu.is-retracting .menu-row>:is(a,button){opacity:1!important;transition:none!important}
.mobile-menu.is-retracting .menu-email,.mobile-menu.is-retracting .menu-directors{opacity:1;transition:none}


.mobile-menu .menu-directors>div{min-height:0;overflow:hidden!important}
.mobile-menu .menu-directors:not(.expanded){visibility:hidden}
.mobile-menu .menu-directors.expanded{visibility:visible}
.mobile-menu.is-retracting .menu-directors:not(.expanded){opacity:0}

/* Keep the open header geometry identical while a destination loads. */
.menu-open .site-header{height:150px}
@media(max-width:700px){.menu-open .site-header{height:112px}}

.mobile-menu:not(.is-ready) .menu-row>:is(a,button),.mobile-menu:not(.is-ready) .menu-directors a{pointer-events:none}

/* Director names share the italic, open letterforms of their biography headings. */
.team-rows .team-heading h2{display:flex;flex-direction:column;align-items:flex-start;min-width:0;margin:0;font:italic 750 clamp(48px,5.5vw,90px)/.86 DM,Arial,sans-serif;letter-spacing:-.075em;text-transform:uppercase}
.team-rows .team-heading h2 span{display:block}
.team-rows .team-heading h2 span:last-child{margin-left:.18em}
.team-rows .team-heading>b{flex:none}
@media(max-width:700px){.team-rows .team-heading h2{font-size:clamp(38px,11.6vw,62px)}.team-rows .team-heading{gap:12px}.team-rows .team-row{padding:30px 0}.team-rows .team-role-line{margin-top:18px}}

/* Keep the page's own background in the header's flow space beneath the curtain. */
.menu-open main{margin-top:0;padding-top:150px}
.home.menu-open main{margin-top:0;padding-top:125px}
@media(max-width:700px){.menu-open main{padding-top:112px}.home.menu-open main{padding-top:100px}}

/* Animate the home header's height and logo on the same timeline as the curtain. */
.home .site-header{transition:height .66s cubic-bezier(.76,0,.24,1),top .66s cubic-bezier(.76,0,.24,1)}
.home .site-header .brand{transition:transform .66s cubic-bezier(.76,0,.24,1)}
.home.menu-open.menu-closing .site-header{height:125px}
@media(max-width:700px){.home.menu-open.menu-closing .site-header{height:100px}}
@media(prefers-reduced-motion:reduce){.home .site-header{transition:none!important}}
