/* Everdream Labs: shared brand and company pages, layered after the accepted site styles. */
.everdream-site{--studio-blue:#2046a0;--studio-navy:#101b2c;--studio-line:#2046a02e}
html body.everdream-site>.site-header{position:fixed;top:0;inset-inline:0;width:100%;display:flex;flex-direction:row;align-items:center;gap:28px;padding:26px 5%;background:none;z-index:50;transition:background .2s ease,padding .2s ease}
html body.everdream-site>.site-header .everdream-wordmark{display:block;position:relative;width:clamp(210px,20vw,280px);max-width:none;flex:none;font-size:0;line-height:0;text-shadow:none}
.everdream-wordmark img{display:block;width:100%;height:auto;aspect-ratio:1919/378}
.everdream-wordmark .brand-white{display:none}
.brand-light:not(.is-over-content) .everdream-wordmark .brand-cobalt{display:none}
.brand-light:not(.is-over-content) .everdream-wordmark .brand-white{display:block}
html body.everdream-site .site-header nav{display:flex;gap:2px;align-items:center;padding:6px;border:1px solid #2046a025;border-radius:40px;background:#ffffffb8;color:#18202a;font:400 14px/1.4 var(--font-text);--glass-ink:#18202a;--glass-tint:rgba(255,255,255,.2)}
html body.everdream-site .site-header nav>a{display:inline-flex!important;min-height:44px;align-items:center;padding:11px 17px;font-size:14px;white-space:nowrap}
html body.everdream-site .site-header.brand-light:not(.is-over-content) nav{color:#fff;background:#0e1f4f33;border-color:#ffffff5a;--glass-ink:#fff;--glass-tint:rgba(6,19,43,.16)}
html body.everdream-site>.site-header.is-over-content{background:#f5f6f7ed;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding-block:16px;border-bottom:1px solid #2046a01a}
html body.everdream-site>.site-header.is-over-content nav.liquid-glass{--glass-ink:#18202a;--glass-tint:rgba(255,255,255,.2);text-shadow:none}
/* Reserve the measured header height in held showcases, without reducing type. */
html:has(>body.everdream-site){scroll-padding-top:calc(var(--site-header-height,100px) + 12px)}
.everdream-site.portfolio-structured .collection-toolbar{top:var(--site-header-height,100px)}
@media(max-height:550px){.everdream-site.portfolio-structured .collection-toolbar{top:0}}
.home-page.everdream-site .project-showcase .ai-work-stage{padding-top:calc(28px + var(--site-header-height,100px))}
@media(min-width:801px) and (max-height:850px){.home-page.everdream-site .project-showcase .ai-work-stage{padding-top:calc(24px + var(--site-header-height,100px))}}
@media(max-width:800px){.home-page.everdream-site .project-showcase .ai-work-stage{padding-top:calc(25px + var(--site-header-height,84px))}}
.home-page.film-pinned>.site-header>.wordmark{opacity:1}
.menu-toggle{border:1px solid currentColor;border-radius:30px;padding:10px 18px;min-height:44px;background:transparent;font-size:14px;align-items:center;gap:20px;color:var(--studio-blue)}
.menu-toggle[hidden]{display:none!important}
.brand-light:not(.is-over-content) .menu-toggle{color:white}
.everdream-site .film-copy p{font-size:clamp(16px,1.15vw,19px);max-width:490px}
.everdream-site .film-copy h1{max-width:18ch}
.everdream-site .film-copy .pill{font-size:14px}
.everdream-site .film-paper{background:#f5f6f7 url('assets/white-carrara.webp') center/cover}
.studio-marble,.studio-contact{background:#f5f6f7 url('assets/white-carrara.webp') center/cover}
.studio-intro{position:relative;padding:100px 0 75px;width:min(88%,1440px);margin:auto;scroll-margin-top:110px}
.legacy-anchor{position:absolute;top:0;left:0;scroll-margin-top:110px}
.studio-kicker{font:400 16px/1.5 var(--font-text);color:var(--studio-blue);margin-bottom:30px}
.studio-intro-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:9%;align-items:start}
.studio-intro h2{font:300 clamp(48px,5vw,76px)/1.02 var(--font-display);letter-spacing:-.035em}
.studio-intro-grid>div>p{font-size:clamp(20px,1.8vw,27px);line-height:1.55;max-width:36ch}
.studio-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:44px;padding:9px 0;border-bottom:1px solid #2046a070;color:var(--studio-blue);font:400 16px/1.5 var(--font-text)}
.studio-text-link span,.studio-button span{font-size:24px;line-height:1}
.studio-intro .studio-text-link{margin:28px 30px 0 0}
.home-page.everdream-site .work-directory{width:min(88%,1440px)}
.studio-page{background:#f5f6f7}
.studio-page-hero{background:var(--studio-blue);color:white;padding:190px 6% 86px;display:grid;grid-template-columns:1.6fr 1fr;gap:7%;align-items:end;min-height:550px}
.studio-page-hero .studio-kicker{color:#eef3ff;margin-bottom:28px}
.studio-page-hero h1{font:300 clamp(60px,6.6vw,108px)/.98 var(--font-display);letter-spacing:-.035em}
.studio-hero-deck{font-size:clamp(20px,1.7vw,26px);line-height:1.55;color:#f1f5ff;max-width:32ch;padding-bottom:8px}
.studio-service-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 6%;background:var(--studio-blue);color:#fff;border-top:1px solid #ffffff42}
.studio-service-index a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 22px 28px 0;font-size:16px;line-height:1.5;min-width:0}
.studio-service-index a+a{border-left:1px solid #ffffff42;padding-left:22px}
.studio-service-index span{font-size:22px}
.studio-service-index a:focus-visible,.studio-closing a:focus-visible{outline-color:#fff}
.studio-service{width:min(88%,1540px);margin:auto;display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:8%;padding:100px 0;scroll-margin-top:85px}
.studio-service+.studio-service{border-top:1px solid var(--studio-line)}
.studio-service:nth-child(even){grid-template-columns:1.15fr 1fr}
.studio-service:nth-child(even) .studio-service-proof{grid-row:1;grid-column:1}
.studio-service:nth-child(even) .studio-service-copy{grid-column:2}
.studio-service-copy{min-width:0}
.studio-service h2{font:300 clamp(42px,4vw,64px)/1.04 var(--font-display);letter-spacing:-.03em;margin-bottom:24px}
.studio-service-copy>.studio-service-lead{font:300 clamp(27px,2.4vw,36px)/1.2 var(--font-display);color:var(--studio-blue);margin-bottom:22px}
.studio-service-copy>p:not(.studio-service-lead){font-size:18px;line-height:1.75;color:#4d5e70;max-width:53ch}
.studio-service ul{list-style:none;padding:0;margin:26px 0 24px}
.studio-service li{padding:13px 0;border-bottom:1px solid var(--studio-line);font-size:16px;line-height:1.55}
.studio-service-proof{margin:0;min-width:0}
.studio-service-proof a{display:block}
.studio-service-proof img{display:block;width:100%;height:auto;border:1px solid #2046a026;border-radius:8px;box-shadow:0 24px 50px -25px #142a5766}
.studio-service-proof figcaption{font-size:13px;line-height:1.65;color:#526479;margin-top:19px}
.studio-closing{background:var(--studio-blue);color:#fff;padding:75px 6%;display:flex;justify-content:space-between;align-items:center;gap:40px}
.studio-closing h2{font:300 clamp(44px,4.5vw,70px)/1.08 var(--font-display);margin-bottom:20px}
.studio-closing p{font-size:18px;line-height:1.65;max-width:48ch;color:#edf2ff}
.studio-actions{display:flex;flex-direction:column;align-items:start;gap:12px;flex-shrink:0}
.studio-closing .studio-text-link{color:#fff;border:0;gap:16px}
.studio-button{display:inline-flex;align-items:center;justify-content:space-between;gap:38px;min-height:52px;border-radius:40px;padding:15px 25px;border:1px solid var(--studio-blue);background:var(--studio-blue);color:#fff;font:400 16px/1.4 var(--font-text)}
.studio-closing .studio-button{background:#fff;color:var(--studio-blue);border-color:#fff}
.studio-button:hover{background:#163884}
.studio-closing .studio-button:hover{background:#edf2ff}
.studio-belief{display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:90px 6%;background:#f5f6f7}
.studio-belief h2{font:300 clamp(44px,4vw,66px)/1.04 var(--font-display)}
.studio-belief p{font-size:20px;line-height:1.7;max-width:52ch;color:#4d5e70}
.studio-belief p+p{margin-top:24px}
.about-page .profile-section{width:min(88%,1440px);margin:auto;padding:100px 0;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.3fr);align-items:start;gap:9%;scroll-margin-top:110px}
.about-page .profile-person{padding-top:20px}
.about-page .profile-biography h2{font-size:clamp(54px,5vw,76px)}
.about-page .profile-body{font-size:18px;line-height:1.75}
.about-page .profile-introduction{font-size:clamp(25px,2.4vw,34px);line-height:1.45}
.founder-employer-label{font-size:14px;line-height:1.6;color:#526479;margin-top:27px}
.about-page .profile-employers{margin-top:15px}
.about-page .profile-education h3{font-size:16px}
.about-page .profile-name{font-size:clamp(27px,2.5vw,38px)}
.about-page .profile-role{font-size:15px}
.about-page .profile-facts span,.about-page .profile-languages{font-size:14px}
.about-page .profile-work-link{font-size:16px}
.studio-contact{display:grid;grid-template-columns:1fr 1.1fr;gap:9%;padding:180px 6% 100px;min-height:90svh}
.studio-contact h1{font:300 clamp(64px,6.5vw,104px)/1.02 var(--font-display);letter-spacing:-.035em;margin-bottom:32px}
.studio-contact-intro .studio-contact-deck{font:300 clamp(30px,2.8vw,42px)/1.2 var(--font-display);color:var(--studio-blue);max-width:22ch;margin-bottom:25px}
.studio-contact-intro>p:not(.studio-kicker):not(.studio-contact-deck){font-size:19px;line-height:1.7;max-width:36ch;color:#526479}
.studio-contact-intro .studio-text-link{margin-top:28px}
.contact-brand-symbol{display:block;width:85px;height:auto;opacity:.17;margin-top:50px}
.studio-enquiry{padding:38px;background:#ffffffbf;border:1px solid #fff;border-radius:22px;box-shadow:0 20px 55px -45px #152f59;min-width:0}
.studio-enquiry h2{font:300 clamp(38px,3.3vw,50px)/1.1 var(--font-display);margin-bottom:18px}
.contact-availability{font-size:15px;line-height:1.65;color:#526479;max-width:50ch;margin-bottom:30px}
.enquiry-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.studio-enquiry #contact-form label{font:400 15px/1.5 var(--font-text);margin-bottom:24px;display:block;color:#18202a}
.studio-enquiry #contact-form label>span{color:#526479;font-size:13px}
.studio-enquiry #contact-form :is(input,select,textarea){display:block;width:100%;max-width:100%;font:400 17px/1.6 var(--font-text);color:#18202a;background:transparent;border:0;border-bottom:1px solid #7e8ea5;padding:12px 0;resize:vertical;border-radius:0}
.studio-enquiry #contact-form textarea{min-height:150px}
.studio-enquiry #contact-form :is(input,select,textarea):focus-visible{outline:2px solid #2046a0;outline-offset:4px}
.enquiry-status{font-size:14px;line-height:1.6;color:#526479;min-height:1.6em;margin-top:20px}
.studio-enquiry #contact-form .enquiry-field-error{display:none;color:#98292f;font-size:14px;line-height:1.5;margin-top:8px}
.studio-enquiry #contact-form .enquiry-field-error[data-fs-active]{display:block}
.studio-enquiry #contact-form [aria-invalid="true"]{border-bottom-color:#98292f}
.studio-enquiry .studio-button [data-submit-label]{font:inherit}
.studio-enquiry .studio-button:disabled{opacity:.65;cursor:wait}
.enquiry-status[data-state="error"]{color:#98292f}
.enquiry-status[data-state="success"]{color:#2046a0}
html body .everdream-footer{background:#f5f6f7;padding:48px 6%;display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:32px;align-items:center;border-top:1px solid var(--studio-line)}
.everdream-footer .everdream-wordmark{display:block;width:240px;max-width:100%;font-size:0}
.footer-brand p{font-size:14px;line-height:1.6;color:#526479;margin-top:18px}
.everdream-footer nav{display:flex;gap:24px;flex-wrap:wrap;font-size:14px;line-height:1.5}
.everdream-footer nav a{display:inline-flex;align-items:center;min-height:44px}
html body .everdream-footer .footer-top{display:inline-flex;align-items:center;justify-self:end;gap:12px;min-height:44px;font:400 14px/1.5 var(--font-text);color:#526479;white-space:nowrap}
.everdream-footer .footer-top span{font-size:20px;line-height:1}
.everdream-footer :is(nav a,.footer-top):hover{color:var(--studio-blue)}
.everdream-footer :is(nav a,.footer-top):focus-visible{outline:2px solid var(--studio-blue);outline-offset:5px}
.everdream-site .case-facts dt,.everdream-site .portfolio-card-role dt{white-space:normal}
@media(max-width:1100px){
 .studio-page-hero{gap:5%;grid-template-columns:1.5fr 1fr}
 .studio-page-hero h1{font-size:72px}
 .studio-service{gap:6%;padding-block:75px}
 .studio-service h2{font-size:46px}
 .studio-service-copy>p:not(.studio-service-lead){font-size:17px}
 .studio-contact{gap:6%}
 .enquiry-pair{grid-template-columns:1fr;gap:0}
}
@media(max-width:950px){
 html body .everdream-footer{grid-template-columns:minmax(0,1fr) auto;gap:26px 24px}
 .everdream-footer .footer-brand{grid-column:1/-1}
}
@media(max-width:1000px){
 html body.everdream-site>.site-header{padding:20px 6%;flex-wrap:wrap;gap:15px}
 html body.everdream-site>.site-header .everdream-wordmark{width:220px}
 html body.everdream-site .site-header nav{width:100%;justify-content:center;flex-wrap:wrap;border-radius:18px}
 html body.everdream-site .site-header nav>a{font-size:14px;padding:12px}
 html body.everdream-site .site-header[data-nav-ready] .menu-toggle{display:inline-flex;margin-left:auto}
 html body.everdream-site .site-header[data-nav-ready] nav{position:absolute;top:calc(100% - 1px);left:6%;width:88%;flex-direction:column;align-items:stretch;box-shadow:0 20px 40px #101b2c26;padding:10px;gap:2px}
 /* Keep header frosting on a sibling layer so it cannot trap the menu's backdrop. */
 html body.everdream-site>.site-header.is-over-content{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
 html body.everdream-site>.site-header.is-over-content::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:#f5f6f7ed;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
 /* Expanded glass softens underlying page text while retaining its colour and imagery. */
 html body.everdream-site .site-header[data-nav-ready] nav.liquid-glass::before{-webkit-backdrop-filter:blur(var(--menu-glass-blur,12px)) saturate(1.18);backdrop-filter:blur(var(--menu-glass-blur,12px)) saturate(1.18)}
 html body.everdream-site .site-header[data-nav-ready] nav.liquid-glass[data-glass-optics="cursor-lens"][data-glass-material-active="true"]::before{backdrop-filter:var(--glass-filter) blur(var(--menu-glass-blur,12px)) saturate(1.18)}
 html body.everdream-site>.site-header.is-over-content nav.liquid-glass{--glass-tint:rgba(255,255,255,.36)}
 html body.everdream-site .site-header.brand-light:not(.is-over-content) nav.liquid-glass{--menu-glass-blur:6px;text-shadow:0 1px 4px rgba(3,12,31,.65)}
 html body.everdream-site .site-header[data-nav-ready] nav>a{padding:13px 18px;justify-content:flex-start;font-size:16px;border-radius:8px}
 html body.everdream-site .site-header[data-nav-ready] nav>a:hover{background:#2046a00a}
 html body.everdream-site .site-header nav[hidden]{display:none!important}
 .studio-page-hero{padding-top:155px}
}
@media(max-width:800px){
 .everdream-site .film-copy{top:132px;width:86%}
 .everdream-site .film-copy h1{font-size:clamp(42px,7.3vw,62px)}
 .everdream-site .film-copy p{font-size:16px;line-height:1.65;max-width:400px}
 .everdream-site .film-copy .pill{font-size:14px}
 .studio-intro{padding:60px 0 45px}
 .studio-intro-grid{grid-template-columns:1fr;gap:30px}
 .studio-intro h2{font-size:56px}
 .studio-intro-grid>div>p{font-size:21px}
 .studio-intro .studio-text-link{margin-top:22px}
 .studio-page-hero{display:block;min-height:0;padding:150px 6% 55px}
 .studio-page-hero h1{font-size:clamp(50px,8vw,72px)}
 .studio-hero-deck{font-size:21px;max-width:38ch;margin-top:32px;padding:0}
 .studio-service-index{grid-template-columns:1fr 1fr}
 .studio-service-index a{font-size:15px;padding:20px 14px 20px 0;gap:12px}
 .studio-service-index a+a{padding-left:14px}
 .studio-service-index a:nth-child(3){border-left:0;padding-left:0}
 .studio-service-index a:nth-child(n+3){border-top:1px solid #ffffff42}
 .studio-service,.studio-service:nth-child(even){grid-template-columns:1fr;padding-block:60px;gap:35px}
 .studio-service:nth-child(even) .studio-service-proof,.studio-service:nth-child(even) .studio-service-copy{grid-column:auto;grid-row:auto}
 .studio-service h2{font-size:48px}
 .studio-service-copy>.studio-service-lead{font-size:31px}
 .studio-service-copy>p:not(.studio-service-lead){font-size:18px}
 .studio-closing{display:block;padding:60px 6%}
 .studio-actions{margin-top:30px}
 .studio-belief{grid-template-columns:1fr;gap:30px;padding-block:60px}
 .studio-belief h2{font-size:48px}
 .studio-belief p{font-size:19px}
 .about-page .profile-section{grid-template-columns:1fr;padding:60px 0;gap:48px}
 .about-page .profile-person{max-width:420px;width:100%;margin:auto;padding-top:14px}
 .about-page .profile-portrait-frame{width:90%;max-width:340px}
 .about-page .profile-biography h2{font-size:56px}
 .about-page .profile-introduction{font-size:27px}
 .about-page .profile-body{font-size:18px}
 .about-page .profile-employers{gap:20px}
 .studio-contact{grid-template-columns:1fr;padding:145px 6% 60px;gap:40px}
 .studio-contact h1{font-size:64px}
 .contact-brand-symbol{display:none}
 .studio-enquiry{padding:28px}
 html body .everdream-footer{padding:38px 6%;column-gap:16px}
 .everdream-footer nav{display:grid;grid-template-columns:repeat(2,max-content);gap:0 20px;margin:0}
 .everdream-footer .footer-top{align-self:start}
}
@media(max-width:480px){
 html body.everdream-site>.site-header .everdream-wordmark{width:clamp(155px,50vw,190px)}
 .menu-toggle{padding:10px 14px;gap:14px}
 .studio-intro h2{font-size:49px}
 .studio-kicker{margin-bottom:23px}
 .studio-service h2{font-size:43px}
 .studio-service-index{grid-template-columns:1fr}
 .studio-service-index a+a{border-left:0;border-top:1px solid #ffffff42;padding-left:0}
 .studio-contact h1{font-size:58px}
 .studio-enquiry{padding:24px 20px}
 .studio-enquiry h2{font-size:39px}
}
@media(orientation:landscape) and (max-height:500px){
 .everdream-site .film-copy{top:29%;width:58%}
 .everdream-site .film-copy h1{font-size:42px;margin-bottom:14px}
 .everdream-site .film-copy p{display:none}
}
@media(prefers-reduced-motion:reduce){html body.everdream-site>.site-header{transition:none}}
@media(forced-colors:active){.everdream-wordmark{background:Canvas}.studio-button,.menu-toggle{border:1px solid ButtonText}.brand-white{display:none!important}.brand-cobalt{display:block!important}}
