:root{color-scheme:light;--ink:#171219;--accent:#392c4c;--paper:#fff;--lavender:#faf7fb;--footer:#f3f0f7;--margin:clamp(22px,2.65vw,48px);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:var(--ink);background:var(--paper);font-weight:300}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit;color:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:7px}.skip-link{position:fixed;top:-100px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}.site-header{height:102px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--margin);position:relative;z-index:10;background:white}.brand{display:grid;place-items:center;width:44px;height:44px}.brand img{width:32px;height:33px;object-fit:contain}.menu-toggle,.menu-close{border:0;background:transparent;display:grid;place-items:center;padding:8px;min-width:44px;min-height:44px}.menu-toggle img{width:34px;height:30px}.site-footer{background:var(--footer);padding:20px var(--margin);min-height:77px;font-size:14px;line-height:1.45;display:flex;align-items:center;justify-content:space-between}.site-footer a:hover{text-decoration:underline}main{min-height:calc(100svh - 179px)}main:focus{outline:none}h1{font-size:clamp(54px,6.35vw,108px);font-weight:200;letter-spacing:-.045em;line-height:1.08;margin:0 0 40px}h2,h3,p{margin-top:0}h2{font-weight:300}#index-menu{position:fixed;inset:0 0 0 auto;width:min(524px,100%);height:100dvh;max-height:none;max-width:100%;margin:0;border:0;background:var(--lavender);padding:0 var(--margin);color:var(--ink);overflow-y:auto}#index-menu::backdrop{background:rgb(255 255 255 / .12)}#index-menu[open]{animation:menu-enter .28s ease-out}#index-menu nav{display:flex;flex-direction:column;align-items:flex-end;min-height:100%;justify-content:flex-end;padding:110px 0 15vh}#index-menu nav a{font-size:clamp(44px,4.25vw,64px);line-height:1.13;font-weight:200;letter-spacing:-.05em}#index-menu nav a:hover,#index-menu nav a[aria-current=page]{text-decoration:underline;text-underline-offset:7px;color:var(--accent)}.menu-close{position:absolute;right:var(--margin);top:31px}.menu-close img{width:32px;height:32px}@keyframes menu-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}body.menu-open{overflow:hidden}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.page{padding:10px var(--margin) 0}.page-title{padding:10px var(--margin) 0;margin-bottom:30px}.image-button{display:block;background:transparent;border:0;padding:0;width:100%;text-align:inherit;cursor:zoom-in}.image-button img{width:100%;height:100%;object-fit:contain}.text-link{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:24px;font-weight:300;max-width:300px;padding:14px 0}.text-link:hover,.back-link:hover{color:var(--accent);text-decoration:underline;text-underline-offset:5px}.home{height:calc(100svh - 102px);min-height:470px;position:relative;display:grid;place-items:center;overflow:hidden}.home-stage{width:min(804px,calc(100vw - 80px));position:relative;height:400px;display:grid;place-items:center;margin-top:-45px}.film-reels{width:100%;display:grid;gap:10px}.film-strip{width:100%;overflow:hidden;padding:8px 0}.film-track{display:flex;gap:22px;width:max-content;animation:reel 38s linear infinite}.film-set{display:flex;gap:22px;flex:none}.film-set a,.film-set .film-image{width:115px;height:100px;display:block;position:relative;transition:transform .2s ease}.film-set img{width:100%;height:100%;object-fit:cover}.film-set a:hover,.film-set a:focus-visible,.film-image:hover,.film-image:focus-visible{transform:scale(1.07)}.reverse .film-track{animation-direction:reverse;animation-duration:43s}.home-logo{position:absolute;width:clamp(225px,22vw,333px);height:auto;pointer-events:none;z-index:2}.home:has(.film-set a:hover) .film-track,.home:has(.film-set a:focus-visible) .film-track,.home.paused .film-track{animation-play-state:paused}.motion-control{position:absolute;bottom:24px;right:var(--margin);font-size:14px;color:var(--accent);background:none;border:0;border-bottom:1px solid transparent;padding:8px}.motion-control:hover{border-bottom-color:currentColor}@keyframes reel{to{transform:translateX(calc(-50% - 11px))}}
.projects-page{min-height:calc(100svh - 179px);display:flex;flex-direction:column}.projects-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 15%;gap:22px;align-items:start;margin-top:clamp(65px,9vh,130px);margin-bottom:120px}.project-strip{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:20px;position:relative;isolation:isolate}.project-tile{position:relative;display:block;aspect-ratio:1/1.04;transition:transform .25s ease;min-width:0}.project-tile img{width:100%;height:100%;object-fit:cover}.project-tile span{position:absolute;top:calc(100% + 10px);left:0;width:180px;opacity:0;font-size:14px;line-height:1.3;pointer-events:none}.project-tile:hover,.project-tile:focus-visible{transform:scale(1.55);z-index:2}.project-tile:hover span,.project-tile:focus-visible span{opacity:1;background:white;padding:5px}.project-index{padding-top:clamp(110px,8vw,160px);display:flex;flex-direction:column;align-items:flex-start;font-size:16px;line-height:1.5}.project-index a:hover{text-decoration:underline;color:var(--accent);text-underline-offset:3px}
.services-page{min-height:calc(100svh - 179px)}.services-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:12px}.services-index{display:flex;flex-direction:column;align-items:flex-end;align-self:end;padding:0 0 42px;font-size:32px;line-height:1.13;font-weight:200;letter-spacing:-.04em}.services-index a{padding:4px 0}.services-index a:hover,.services-index a[aria-current=page]{text-decoration:underline;text-underline-offset:5px;color:var(--accent);font-weight:400}.services-grid{grid-column:2/4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}.service-card{position:relative;overflow:hidden;aspect-ratio:1.73}.service-card img{width:100%;height:100%;object-fit:cover}.service-card span{position:absolute;bottom:0;left:0;right:0;padding:12px 16px;background:rgb(250 247 251 / .95);font-size:20px;transform:translateY(100%);transition:transform .22s}.service-card:hover span,.service-card:focus-visible span{transform:translateY(0)}.service-visual{grid-column:2;min-width:0}.service-visual .image-button{height:100%}.service-visual img{object-fit:cover;min-height:550px;max-height:730px}.service-copy{padding:38px 14px 30px 0;font-size:16px;line-height:1.5}.service-copy>p{margin-bottom:24px}.related-projects{display:grid;gap:8px;margin:35px 0}.related-projects a{text-decoration:underline;text-underline-offset:3px}.service-gallery{grid-column:2/4;display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:25px 0 40px;align-items:start}.service-gallery img{height:auto}.service-gallery .image-button:nth-child(3n){grid-column:1/-1}
.project-detail{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:5px}.project-heading{padding:0 var(--margin)}.project-heading-inner{position:sticky;top:40px;min-height:calc(100svh - 165px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.project-heading h1{max-width:650px;margin:0;overflow-wrap:break-word}.project-meta{font-size:20px;line-height:1.25;max-width:300px;padding:45px 0 30px}.project-meta p{margin-bottom:34px}.project-meta em{font-size:16px;font-style:italic}.back-link{font-size:14px;line-height:1.5;text-decoration:underline;text-underline-offset:4px}.project-content{min-width:0}.project-cover{aspect-ratio:746/799;background:white}.project-cover img{object-fit:cover}.project-description{padding:42px var(--margin) 55px 0;font-size:18px;line-height:1.48}.project-description h2{font-size:20px;line-height:1.25;margin-bottom:35px;font-weight:400}.project-description p{margin-bottom:22px}.project-gallery{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:start}.project-gallery .image-button{overflow:hidden;align-self:stretch;background:#fff}.project-gallery img{height:auto;min-height:100%;object-fit:contain}.gallery-wide{grid-column:1/-1}.project-next{padding:60px var(--margin) 55px 0}.project-next a{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.project-next span:first-child{font-size:14px;grid-column:1/-1}.project-next strong{font-size:32px;line-height:1.1;font-weight:300}.project-next span:last-child{font-size:36px}.project-next a:hover strong{text-decoration:underline;text-underline-offset:5px}
.about-layout,.contact-layout{display:grid;grid-template-columns:2fr 1fr;gap:22px}.portrait{position:relative;min-height:600px;aspect-ratio:989/969;overflow:hidden}.portrait>img{width:100%;height:100%;object-fit:cover;object-position:center 58%}.portrait-intro{position:absolute;top:32%;left:var(--margin);max-width:25%;font-size:16px;line-height:1.4}.portrait-intro h2{font-size:36px;line-height:1.1;margin-bottom:0;font-weight:300;letter-spacing:-.04em}.portrait-intro p:nth-of-type(1){margin-bottom:30px}.about-info{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-content:center;padding:80px var(--margin) 40px 0;line-height:1.4}.about-info h2{font-size:30px;letter-spacing:-.04em}.about-info nav{display:grid;gap:8px;font-size:18px;margin-bottom:42px}.about-info nav a:hover{text-decoration:underline}.about-info .text-link{font-size:18px}.about-tools{align-self:end}.about-tools p{border:1px solid #d9d9d9;border-radius:14px;text-align:center;font-size:15px;padding:15px 10px}.about-tools strong{font-weight:400}.contact-photo{min-height:640px}.contact-photo img{width:100%;height:100%;object-fit:cover}.contact-content{padding:0 var(--margin) 35px 0;min-width:0}.contact-content h2{font-size:36px;letter-spacing:-.04em;line-height:1.15;margin-bottom:6px}.contact-content>p{font-size:16px;line-height:1.4}#contact-form{margin-top:55px;display:flex;flex-direction:column;gap:18px}#contact-form label{display:flex;flex-direction:column;gap:10px;font-size:16px}input,textarea{width:100%;border:1px solid #ccc;border-radius:0;background:white;padding:8px 10px;font-size:16px;line-height:1.45;font-weight:400}input{min-height:38px}textarea{resize:vertical}input:focus,textarea:focus{outline:2px solid #8c8bab;outline-offset:1px}.pill-button{align-self:flex-end;border:1px solid #c9c6ce;border-radius:30px;padding:9px 25px;background:white;min-width:190px;min-height:40px;transition:background .2s}.pill-button:hover{background:var(--footer)}.form-help,.form-status{font-size:14px;line-height:1.4;margin:0}.form-status:empty{display:none}.contact-email{font-size:14px;display:inline-block;margin-top:25px;text-decoration:underline;text-underline-offset:3px}.legal-page{display:flex;flex-direction:column;min-height:calc(100svh - 179px)}.legal-details{margin:150px 0 60px auto;width:60%;max-width:900px}.legal-details details{padding:20px 0}.legal-details summary{display:flex;align-items:start;justify-content:space-between;gap:25px;font-size:clamp(32px,4.25vw,64px);font-weight:200;line-height:1.15;letter-spacing:-.04em;list-style:none;cursor:pointer}.legal-details summary::-webkit-details-marker{display:none}.legal-details summary:hover,.legal-details details[open] summary{color:var(--accent)}.legal-details details p{font-size:16px;max-width:640px;line-height:1.5;margin:25px 0 0 auto}.legal-details a{text-decoration:underline}.not-found{min-height:calc(100svh - 179px);display:flex;flex-direction:column;align-items:center;justify-content:center}.not-found h1{margin:0}.not-found>a{font-size:24px;padding:15px;text-decoration:underline}.lightbox{padding:55px 30px 30px;border:0;background:var(--paper);color:var(--ink);width:96vw;max-width:1600px;height:94dvh;max-height:none;overflow:auto}.lightbox::backdrop{background:rgb(255 255 255 / .9)}.lightbox figure{margin:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}.lightbox figure>img{height:100%;width:100%;object-fit:contain}.lightbox figcaption{text-align:center;font-size:14px;line-height:1.3}.lightbox-close{position:absolute;right:25px;top:12px;min-height:35px;background:none;border:0;text-decoration:underline}.image-open{overflow:hidden}
@media(min-width:1600px){.services-grid{margin-top:10px}.services-page{display:flex;flex-direction:column}.services-layout{margin-top:auto}.project-content{max-width:1000px}.projects-stage{margin-top:15vh}}
@media(max-width:1050px){.project-strip{gap:12px}.projects-stage{grid-template-columns:minmax(0,1fr) 18%}.project-tile:hover,.project-tile:focus-visible{transform:scale(1.25)}.services-index{font-size:26px}.services-layout{gap:16px}.service-copy{padding-top:5px}.service-visual img{min-height:460px}.about-info{grid-template-columns:1fr}.about-tools{max-width:230px}.portrait-intro{max-width:35%;background:rgb(255 255 255 / .65);padding:12px;left:15px;top:22%}.project-description{font-size:16px}.project-heading h1{font-size:clamp(46px,6.35vw,84px)}}
@media(max-width:700px){:root{--margin:22px}.site-header{height:82px}.menu-close{top:20px}main{min-height:calc(100svh - 160px)}h1{font-size:58px;margin-bottom:30px}.page-title{padding-top:15px}.page{padding-top:15px}.site-footer{font-size:14px;padding:18px 22px}.home{height:calc(100svh - 82px);min-height:400px}.home-stage{width:calc(100vw - 44px);height:360px;margin-top:-45px}.home-logo{width:225px}.film-set a,.film-set .film-image{width:91px;height:88px}.film-track,.film-set{gap:15px}.film-track{animation-duration:29s}.reverse .film-track{animation-duration:35s}.film-reels{gap:14px}@keyframes reel{to{transform:translateX(calc(-50% - 7.5px))}}.motion-control{bottom:20px}#index-menu{width:100%;padding:0 24px}#index-menu nav a{font-size:56px}#index-menu nav{padding-bottom:18vh}.projects-page{min-height:calc(100svh - 160px)}.projects-stage{display:flex;flex-direction:column;margin:50px 0 70px;gap:30px}.project-strip{display:flex;gap:16px;width:calc(100% + 44px);margin-left:-22px;padding:15px 22px 25px;overflow-x:auto;scroll-snap-type:x mandatory}.project-tile{width:122px;height:137px;flex:none;scroll-snap-align:center}.project-tile span{display:none}.project-tile:hover,.project-tile:focus-visible{transform:none}.project-index{padding-top:0;align-self:flex-end;align-items:flex-end;font-size:20px;line-height:1.5}.project-index a{padding:3px 0}.services-layout{display:flex;flex-direction:column;gap:25px;margin-top:0}.services-index{order:0;align-self:stretch;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:6px 18px;font-size:24px;padding:0 0 10px;letter-spacing:-.03em}.services-grid{order:1;gap:15px;margin-bottom:25px}.service-card{aspect-ratio:1/1.18}.service-card span{transform:none;font-size:16px;padding:9px 10px}.service-visual{order:1}.service-copy{order:2;padding:0 0 12px}.service-visual img{min-height:0;max-height:600px;height:auto;object-fit:contain}.service-gallery{order:3;gap:12px;margin-top:0}.service-copy .related-projects{margin:25px 0}.project-detail{display:flex;flex-direction:column;padding-top:15px;gap:18px}.project-heading-inner{position:static;min-height:0}.project-heading h1{font-size:58px;margin-bottom:25px}.project-meta{padding:0;font-size:18px;max-width:none;width:100%;display:flex;justify-content:space-between;align-items:end;gap:15px}.project-meta p{margin:0}.back-link{white-space:nowrap}.project-cover{aspect-ratio:1/1}.project-content{width:100%}.project-description{padding:32px 22px}.project-description h2{margin-bottom:22px}.project-gallery{gap:0}.project-next{padding:38px 22px}.project-next strong{font-size:28px}.about-layout,.contact-layout{display:flex;flex-direction:column;gap:26px}.portrait{min-height:0;aspect-ratio:1/.98}.portrait-intro{top:34%;left:18px;max-width:41%;padding:8px;font-size:14px}.portrait-intro h2{font-size:28px}.portrait-intro p:nth-of-type(1){margin-bottom:15px}.portrait-intro p:last-child{margin:0}.about-info{padding:15px 22px 35px;grid-template-columns:1fr 1fr;gap:15px;align-content:start}.about-info h2{font-size:24px}.about-info nav{font-size:16px;margin-bottom:20px}.about-info .text-link{font-size:16px}.about-tools p{padding:12px 8px;font-size:14px}.contact-photo{min-height:0;aspect-ratio:1.35}.contact-photo img{height:100%;max-height:400px}.contact-content{padding:0 22px 35px}.contact-content h2{font-size:32px}#contact-form{margin-top:35px;gap:20px}.pill-button{min-height:44px}.legal-page{min-height:calc(100svh - 160px)}.legal-details{margin:75px 0 50px;width:100%}.legal-details summary{font-size:32px}.lightbox{width:100vw;height:100dvh;max-width:none;padding:60px 12px 25px}.lightbox-close{right:15px}.not-found h1{font-size:72px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-control{display:none}}

.film-image{background:none;border:0;padding:0;cursor:zoom-in}.home:has(.film-image:hover) .film-track,.home:has(.film-image:focus-visible) .film-track{animation-play-state:paused}

/* Navigation states from the supplied references; content determines page height. */
body{min-height:100svh;display:flex;flex-direction:column}
main{flex:1;min-height:0}
.site-footer{flex-shrink:0}
.projects-page,.services-page,.legal-page,.not-found{min-height:0}
.projects-stage{grid-template-columns:minmax(0,1fr) minmax(260px,29%);margin:clamp(24px,5vh,65px) 0 40px;align-items:center}
.project-strip{grid-template-columns:repeat(5,minmax(0,1fr))}
.project-index{padding-top:0;font-size:clamp(24px,2.3vw,34px);line-height:1.45;letter-spacing:-.045em;font-weight:300}
.project-index a{display:block;max-width:100%}
.project-index a:hover,.project-index a:focus-visible{color:#98c5df;text-decoration:none;font-weight:400}
.project-index a:active,.project-index a[aria-current=page]{color:var(--accent);text-decoration:underline;text-underline-offset:5px;font-weight:400}
.services-index{font-size:clamp(32px,3.2vw,48px);line-height:1.2;padding-bottom:24px}
.services-index a:hover,.services-index a:focus-visible{color:#98c5df;text-decoration:none;font-weight:400}
.services-index a:active,.services-index a[aria-current=page]{color:var(--accent);text-decoration:underline;text-underline-offset:6px;font-weight:400}
.services-layout{margin-top:12px;margin-bottom:28px}
.service-visual img{min-height:0;height:auto;max-height:560px;object-fit:contain}
.service-copy{padding-top:12px}
.portrait{min-height:0;aspect-ratio:auto;height:clamp(380px,calc(100svh - 340px),680px)}
.about-info{padding-top:24px;padding-bottom:24px}
.contact-photo{min-height:0}
.contact-content{padding-bottom:24px}
#contact-form{margin-top:24px;gap:12px}
.legal-details{margin:40px 0 40px auto}
@media(max-width:700px){
.projects-stage{display:flex;margin:20px 0 30px;gap:20px}
.project-index{font-size:28px;align-items:flex-start;align-self:stretch;line-height:1.4}
.services-index{font-size:32px;flex-direction:column;align-items:flex-end;gap:4px;padding-bottom:10px}
.portrait{height:auto;aspect-ratio:1/.98}
.about-info{padding:0 22px 24px}
.legal-details{margin:24px 0 32px;width:100%}
}

/* Smaller resting project labels, complete service artwork, drifting mockups. */
.project-index{font-size:20px;line-height:1.5;letter-spacing:-.035em}
.project-index a:hover,.project-index a:focus-visible,.project-index a:active{font-size:30px}
.services-grid{align-items:start;gap:28px 22px}
.service-card{aspect-ratio:auto;overflow:visible}
.service-card img{height:auto;object-fit:contain}
.service-card span{position:static;display:block;transform:none;background:none;padding:10px 0;font-size:18px}
.service-visual .image-button{height:auto}
.service-visual img{width:100%;height:auto;max-height:none;object-fit:contain}
.floating-home{min-height:480px}
.floating-stage{position:absolute;inset:22px 4vw 65px}
.floating-mockup{position:absolute;left:var(--x);top:var(--y);width:clamp(105px,17vw,240px);height:clamp(90px,17vh,180px);display:flex;align-items:center;justify-content:center;animation:mockup-drift var(--duration) ease-in-out var(--delay) infinite alternate;z-index:1}
.floating-mockup img{width:100%;height:100%;object-fit:contain;transition:filter .2s}
.floating-mockup:hover{z-index:4;animation-play-state:paused}
.floating-mockup:hover img{filter:drop-shadow(0 8px 10px #0002)}
.floating-stage .home-logo{left:50%;top:50%;transform:translate(-50%,-50%);width:clamp(150px,20vw,285px)}
.home.paused .floating-mockup,.home:has(.floating-mockup:focus-visible) .floating-mockup{animation-play-state:paused}
@keyframes mockup-drift{0%{transform:translate(0,0)}50%{transform:translate(var(--dx),var(--dy))}100%{transform:translate(calc(var(--dx) * -1),calc(var(--dy) * -.7))}}
@media(max-width:700px){.project-index{font-size:20px}.project-index a:hover,.project-index a:focus-visible,.project-index a:active{font-size:26px}.services-grid{grid-template-columns:1fr}.floating-stage{inset:18px 18px 64px}.floating-mockup{width:25%;height:16%}.floating-stage .home-logo{width:40%}.floating-home{min-height:430px}}
@media(pointer:fine){
body,body a,body button,body summary{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='38' viewBox='0 0 32 38'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='.7'%3E%3Cstop stop-color='%23fff'/%3E%3Cstop offset='.35' stop-color='%23e9e9ed'/%3E%3Cstop offset='.5' stop-color='%237c8088'/%3E%3Cstop offset='.7' stop-color='%23fafafa'/%3E%3Cstop offset='1' stop-color='%239da0a8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 4L25 22L16 23L20 32L15 34L11 25L5 31Z' fill='%23000' opacity='.2' transform='translate(1 2)'/%3E%3Cpath d='M4 2L24 20L15 21L19 30L14 32L10 23L4 29Z' fill='url(%23s)' stroke='%23696c74' stroke-width='.8' stroke-linejoin='round'/%3E%3Cpath d='M5 5L5 25M6 4L21 18' fill='none' stroke='white' opacity='.8'/%3E%3C/svg%3E") 4 2,auto}
input,textarea{cursor:text}
}

/* Balanced project overview and consistent service frames. */
.projects-stage{width:100%;max-width:1280px;margin:30px auto 48px;grid-template-columns:minmax(0,1fr) 230px;gap:36px}
.project-strip{gap:18px}
.project-tile{overflow:hidden;aspect-ratio:1/1.08}
.project-tile:hover,.project-tile:focus-visible{transform:none}
.project-tile img{transition:transform .25s;object-fit:contain}
.project-tile:hover img,.project-tile:focus-visible img{transform:scale(1.04)}
.project-tile span{top:auto;bottom:0;left:0;width:100%;padding:10px;background:rgb(255 255 255 / .88)}
.project-tile:hover span,.project-tile:focus-visible span{padding:10px;background:rgb(255 255 255 / .88)}
.project-index{font-size:20px}
.project-index a:hover,.project-index a:focus-visible,.project-index a:active{font-size:20px}
.service-card{aspect-ratio:4/3;overflow:hidden;background:#fafafa;display:grid;place-items:center}
.service-card img{width:100%;height:100%;object-fit:contain;min-height:0}
.service-card span{position:absolute;inset:auto 14px 14px;display:block;padding:13px 16px;background:rgb(255 255 255 / .82);backdrop-filter:blur(5px);font-size:20px;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s;pointer-events:none}
.service-card:hover span,.service-card:focus-visible span{opacity:1;transform:translateY(0)}
.photography-layout{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,3fr);gap:30px;margin-bottom:30px}
.photography-layout .services-index{align-self:start;padding-top:5px}
.photography-intro{font-size:16px;line-height:1.45;max-width:640px;margin-bottom:18px}
.photography-intro p{margin-bottom:0}
.photography-gallery{columns:2;column-gap:16px}
.photography-gallery .image-button{break-inside:avoid;margin:0 0 16px}
.photography-gallery img{width:100%;height:auto}
@keyframes mockup-drift{0%{transform:translate(0,0)}25%{transform:translate(var(--dx),var(--dy))}55%{transform:translate(var(--dx2),var(--dy2))}80%{transform:translate(calc(var(--dx) * -.6),calc(var(--dy2) * -.8))}100%{transform:translate(calc(var(--dx2) * -.5),calc(var(--dy) * -.5))}}
@media(max-width:700px){.projects-stage{margin:16px auto 32px;gap:22px}.project-strip{width:100%;margin-left:0;padding:10px 0}.project-index{align-self:stretch}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{aspect-ratio:4/3}.service-card span{inset:auto 5px 5px;padding:8px;font-size:16px}.photography-layout{display:flex;flex-direction:column;gap:14px}.photography-layout .services-index{align-self:stretch;flex-direction:row;justify-content:flex-start;gap:5px 16px;font-size:24px;padding:0}.photography-gallery{column-gap:10px}.photography-gallery .image-button{margin-bottom:10px}}
@media(hover:none){.service-card span{opacity:1;transform:none}}

/* PDF de VQ Estudi: composició més plena, imatges originals i graelles compactes. */
html{min-height:100%;background:#fff}
body{min-height:100dvh}
main{min-height:0}
.site-footer{margin-top:auto}
#contact-form .required{font-size:.85em;font-weight:400}
#index-menu .menu-close:focus{outline:none}
#index-menu .menu-close:focus-visible{box-shadow:inset 0 -2px var(--accent)}
.projects-stage{grid-template-columns:minmax(0,1fr) minmax(195px,245px);max-width:1510px;margin:clamp(20px,4vh,55px) auto 38px;gap:30px}
.project-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch}
.project-tile{aspect-ratio:1/1;overflow:hidden;background:#fff}
.project-tile img{height:100%;width:100%;object-fit:cover}
.project-index{font-size:16px;line-height:1.65;letter-spacing:-.02em}
.project-index a:hover,.project-index a:focus-visible,.project-index a:active{font-size:26px}
.floating-stage{inset:18px 2.2vw 38px}
.floating-mockup{width:clamp(150px,23vw,430px);height:clamp(140px,34vh,310px);z-index:var(--layer);animation:drift-gentle var(--duration) ease-in-out var(--delay) infinite alternate}
.floating-mockup img{object-fit:cover;height:100%;width:100%}
.floating-stage .home-logo{z-index:9;width:clamp(185px,18vw,280px);padding:12px;filter:drop-shadow(0 1px 5px #fff)}
.floating-mockup:focus-visible{z-index:10}
@keyframes drift-gentle{from{transform:translate3d(0,0,0) rotate(-1.2deg)}to{transform:translate3d(var(--dx),var(--dy),0) rotate(1deg)}}
.project-cover{aspect-ratio:auto;background:#fff}
.project-cover img{height:auto;min-height:0;max-height:82vh;object-fit:contain}
.project-gallery{display:block;columns:2;column-gap:12px}
.project-gallery .image-button{display:block;break-inside:avoid;page-break-inside:avoid;margin:0 0 12px;width:100%;height:auto;background:#fff}
.project-gallery img{display:block;width:100%;height:auto;min-height:0;object-fit:contain}
.museum-identity{display:grid;gap:16px;padding:0 8px 20px}
.museum-identity .image-button{height:auto}
.museum-identity img{width:100%;height:auto;min-height:0;object-fit:contain}
.museum-identity .image-button:nth-child(2){width:min(48%,380px);justify-self:center}
.project-video{position:relative;aspect-ratio:16/9;margin:14px 0}
.project-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.cv-section{padding:45px var(--margin) 70px;max-width:1100px;margin:0 auto}
.cv-section h2{font-size:clamp(28px,3.5vw,48px);letter-spacing:-.035em;margin:25px 0 15px}
.cv-section ol{margin:0;padding:0;list-style:none;border-top:1px solid #d4d0d8}
.cv-section li{display:grid;grid-template-columns:minmax(150px,.42fr) 1fr;gap:8px 25px;padding:16px 0;border-bottom:1px solid #d4d0d8;line-height:1.4}
.cv-section li time{color:#625e67}
.cv-section li strong{font-weight:400}
.cv-section li p{grid-column:2;margin:0}
.loading-screen{position:fixed;inset:0;z-index:1000;background:#fff;display:grid;place-items:center;transition:opacity .45s ease,visibility .45s ease}
.loading-screen video{width:min(440px,65vw);height:min(440px,65vh);object-fit:contain}
.loading-screen.is-finished{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:1050px){.projects-stage{grid-template-columns:minmax(0,1fr) minmax(175px,23%);gap:14px}.project-strip{gap:8px}.project-index{font-size:16px}.project-index a:hover,.project-index a:focus-visible{font-size:19px}.floating-mockup{width:25vw;height:25vh}}
@media(max-width:700px){.projects-stage{display:flex;gap:16px}.project-strip{width:100%;margin:0;padding:0 0 8px;display:flex;gap:12px}.project-tile{width:clamp(140px,48vw,245px);height:clamp(140px,48vw,245px)}.project-index{font-size:16px;line-height:1.6;align-self:flex-start}.project-index a:hover,.project-index a:focus-visible{font-size:20px}.floating-stage{inset:14px 8px 60px}.floating-mockup{width:40%;height:25%;object-fit:cover}.floating-mockup:nth-child(2n){width:34%}.floating-stage .home-logo{width:42%;padding:6px}.project-gallery{column-gap:8px}.project-gallery .image-button{margin-bottom:8px}.museum-identity{padding:0 5px 14px}.cv-section{padding:22px var(--margin) 45px}.cv-section li{grid-template-columns:1fr;gap:4px}.cv-section li p{grid-column:1}.loading-screen video{width:70vw}}
@media(prefers-reduced-motion:reduce){.loading-screen{display:none!important}.floating-mockup{animation:none!important}}
.editor-page{max-width:1180px;margin:0 auto;padding-bottom:70px}
.editor-page>p{max-width:760px;font-size:17px;line-height:1.5}
.editor-page>section{padding:20px 0 35px;border-top:1px solid #d8d4dd}
.editor-page h1{font-size:clamp(48px,6vw,78px);margin-bottom:12px}
.editor-page h2{font-size:clamp(27px,3vw,42px);margin:0 0 15px}
.editor-page section>p{line-height:1.45}
.editor-tabs{display:flex;gap:12px 25px;flex-wrap:wrap;padding:18px 0;margin:25px 0}
.editor-tabs a,.editor-actions a{text-decoration:underline;text-underline-offset:4px}
.editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}
.editor-actions button,.editor-item>button,.editor-page section>button{border:1px solid #696276;background:#fff;padding:9px 15px;font-size:16px;min-height:43px}
.editor-actions button:first-child{background:var(--accent);color:#fff}
#editor-status:not(:empty){background:#f4f1f9;padding:12px 16px;margin:10px 0}
.editor-item{position:relative;border:1px solid #d7d4dc;margin:14px 0;padding:17px;min-width:0}
.editor-item summary{cursor:pointer;font-size:22px;min-height:34px}
.editor-item summary .editor-move{float:right}
.editor-move{display:inline-flex;gap:5px;margin:0 12px 12px 0}
.editor-move button{min-width:40px;min-height:40px;border:1px solid #ccc;background:#fff}
.editor-fields{display:grid;gap:15px;padding-top:20px}
.editor-page label{display:grid;gap:7px;font-size:16px;line-height:1.4;max-width:760px}
.editor-page label:has(input[type=checkbox]){display:flex;align-items:center}
.editor-page input[type=checkbox]{width:20px;height:20px;min-height:0}
.editor-image-field{padding:14px 0;border-top:1px solid #eee}
.editor-image-field img{max-width:220px;max-height:160px;object-fit:contain;background:#f7f7f7}
.editor-image-field select{min-height:44px;width:100%;max-width:500px;border:1px solid #bbb;background:#fff;padding:8px}
.editor-upload{display:grid;gap:5px}
.editor-page input[type=file]{max-width:500px;border:0;padding:5px 0}
.editor-gallery-item{display:inline-flex!important;align-items:center;vertical-align:top;width:110px;min-height:125px;margin:8px;gap:4px!important;font-size:13px!important}
.editor-gallery-item img{height:70px;max-width:100%;object-fit:contain}
.editor-page textarea{min-height:120px}
@media(max-width:700px){.editor-page{padding-inline:22px}.editor-page h1{font-size:48px}.editor-item summary{font-size:18px}.editor-gallery-item{width:94px;margin:5px}}
/* Retalls de servei triats segons el subjecte de cada original. */
.service-card{background:none}
.service-card img{object-fit:cover}
.service-card:nth-child(1) img{object-position:50% 61%}
.service-card:nth-child(2) img{object-position:50% 53%}
.service-card:nth-child(3) img{object-position:50% 42%}
.service-card:nth-child(4) img{object-position:50% 50%}
.floating-mockup img{object-fit:contain}
#index-menu .editor-menu-link{font-size:18px;margin-top:24px;letter-spacing:0}
.editor-gallery-row{border-top:1px solid #ddd;padding:10px 0;margin:0}
.editor-gallery-row summary{display:flex;align-items:center;gap:15px;font-size:16px}
.editor-gallery-row summary img{width:90px;height:65px;object-fit:contain}
.editor-gallery-row .editor-image-field{max-width:570px}
.editor-gallery-row .editor-move{margin-top:12px}
/* La portada segueix l'esbós de mides canviants i capes superposades. */
.floating-stage{inset:12px 2.6vw 105px;overflow:visible}
.floating-item{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:auto;z-index:var(--layer);animation:collage-drift var(--duration) ease-in-out var(--delay) infinite alternate;will-change:transform}
.floating-item.is-active{z-index:10;animation-play-state:paused}
.floating-mockup,.floating-mockup:hover,.floating-mockup:focus-visible{position:relative;left:auto;top:auto;display:block;width:100%;height:auto;z-index:auto;animation:none;transform:translate(var(--push-x,0px),var(--push-y,0px));transition:transform .95s cubic-bezier(.2,.7,.2,1)}
.floating-mockup img,.floating-mockup:hover img{display:block;width:100%;height:auto;object-fit:contain;filter:none}
.home.paused .floating-item,.home:has(.floating-mockup:focus-visible) .floating-item{animation-play-state:paused}
.home-wordmark{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);z-index:20;white-space:nowrap;color:var(--ink);background:none;padding:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;font-synthesis:none;font-size:clamp(42px,6vw,106px);line-height:1;letter-spacing:-.05em;text-shadow:none;pointer-events:none}
@keyframes collage-drift{from{transform:translate3d(calc(var(--dx) * -.5),calc(var(--dy) * -.5),0)}to{transform:translate3d(calc(var(--dx) * .5),calc(var(--dy) * .5),0)}}
.loading-screen .loading-mark{display:block;width:min(250px,38vw);height:auto;clip-path:inset(0 100% 0 0);animation:draw-mark 1.45s ease-in-out forwards}
@keyframes draw-mark{0%{clip-path:inset(0 100% 0 0);opacity:.65}100%{clip-path:inset(0 0 0 0);opacity:1}}
@media(max-width:700px){
 .floating-stage{inset:12px 12px 100px}
 .floating-item:nth-child(1){left:-5%;top:4%;width:68%;height:auto}
 .floating-item:nth-child(2){left:43%;top:1%;width:55%;height:auto}
 .floating-item:nth-child(3){left:69%;top:28%;width:38%;height:auto}
 .floating-item:nth-child(4){left:-7%;top:34%;width:57%;height:auto}
 .floating-item:nth-child(5){left:27%;top:48%;width:62%;height:auto}
 .floating-item:nth-child(6){left:-5%;top:63%;width:55%;height:auto}
 .floating-item:nth-child(7){left:58%;top:64%;width:48%;height:auto}
 .floating-item:nth-child(n+8){display:none}
 .home-wordmark{top:48%;font-size:clamp(34px,8vw,62px)}
 .loading-screen .loading-mark{width:min(220px,54vw)}
}
@media(prefers-reduced-motion:reduce){.loading-screen{display:none!important}.floating-mockup{animation:none!important}}
/* Tauleta: les pàgines curtes respiren i les llistes mantenen una mida llegible. */
@media(min-width:701px) and (max-width:1100px){
 .projects-stage{display:flex;flex-direction:column;gap:28px;margin:24px auto 45px}
 .project-strip{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 .project-index{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px;align-items:start;padding:0;font-size:20px}
 .services-layout{display:flex;flex-direction:column;gap:20px;margin-top:10px}
 .services-index{align-self:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:8px 25px;padding:0 0 14px;font-size:24px}
 .services-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .services-layout.detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:20px}
 .services-layout.detail .services-index{grid-column:1/-1;grid-row:1}
 .service-visual{grid-column:1;grid-row:2}
 .service-visual img{width:100%;height:auto;min-height:0;max-height:none;object-fit:contain}
 .service-copy{grid-column:2;grid-row:2;padding:0 0 20px}
 .service-gallery{grid-column:1/-1}
 .photography-layout{display:flex;flex-direction:column;gap:16px}
 .photography-layout .services-index{align-self:stretch}
 .project-detail{display:block}
 .project-heading-inner{position:static;min-height:0;display:flex;flex-direction:row;align-items:end;gap:25px;padding-bottom:25px}
 .project-heading h1{font-size:clamp(54px,8vw,86px);max-width:70%;margin:0}
 .project-meta{padding:0 0 6px;min-width:150px}
 .project-content{max-width:none}
 .project-description{padding:30px var(--margin)}
 .about-layout,.contact-layout{display:flex;flex-direction:column;gap:22px}
 .portrait{min-height:0;aspect-ratio:1.5}
 .about-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;padding:18px var(--margin) 30px}
 .contact-photo{min-height:0;aspect-ratio:1.7}
 .contact-content{padding:0 var(--margin) 35px}
}
@media(min-width:701px) and (max-width:1100px) and (orientation:portrait){
 .floating-stage{inset:22px 2vw 105px}
 .floating-item:nth-child(1){left:-3%;top:6%;width:49%}
 .floating-item:nth-child(2){left:34%;top:1%;width:44%}
 .floating-item:nth-child(3){left:72%;top:18%;width:30%}
 .floating-item:nth-child(4){left:66%;top:36%;width:42%}
 .floating-item:nth-child(5){left:-2%;top:43%;width:46%}
 .floating-item:nth-child(6){left:28%;top:51%;width:49%}
 .floating-item:nth-child(7){left:59%;top:60%;width:42%}
 .floating-item:nth-child(8){left:3%;top:62%;width:22%}
 .home-wordmark{top:45%;font-size:clamp(50px,7.5vw,76px)}
}
@media(prefers-reduced-motion:reduce){.floating-item{animation:none!important}.floating-mockup{transition:none!important}}
/* El menú modal conserva la fletxa platejada del cursor del lloc web. */
#index-menu{cursor:inherit}
/* Barra visible en totes les pàgines. */
body{padding-top:102px}
.site-header{position:fixed;inset:0 0 auto;z-index:50;width:100%}
#index-menu{z-index:100}
@media(max-width:700px){body{padding-top:82px}.site-header{height:82px}}
/* Les fotografies s'amplien quan s'assenyala el nom corresponent. */
.project-strip{isolation:isolate}
.project-tile{transition:transform .48s cubic-bezier(.2,.7,.2,1);transform-origin:center center}
.project-tile.is-preview{transform:scale(1.38);z-index:8;overflow:visible}
.project-tile.is-preview img{transform:none}
.project-tile img,.project-tile.is-preview img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(var(--image-scale,1))}
@media(hover:none){.project-tile.is-preview{transform:none}}
/* Columna de títol fixa des del primer píxel de desplaçament. */
@media(min-width:701px){
 .project-detail{display:grid;grid-template-columns:1fr 1fr;gap:20px}
 .project-heading-inner{position:fixed;left:var(--margin);top:calc(102px + 12px);width:calc(50vw - var(--margin) - 16px);height:calc(100svh - 130px);min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:24px}
 .project-meta{padding-bottom:0}
}
@media(min-width:701px) and (max-width:1100px){
 .projects-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,31%);gap:18px;align-items:start}
 .project-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .project-index{position:sticky;top:120px;display:flex;flex-direction:column;align-items:flex-start;padding:0;font-size:18px;line-height:1.45}
 .project-detail{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);gap:8px}
 .project-heading-inner{width:calc(43vw - var(--margin) - 10px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:22px}
 .project-heading h1{max-width:100%;font-size:clamp(40px,5.5vw,64px);overflow-wrap:anywhere}
 .project-meta{min-width:0;padding:0 0 10px}
 .project-description{padding:30px var(--margin) 40px 0}
}
@media(max-width:700px){
 .projects-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(135px,42%);gap:12px;align-items:start;margin:15px 0 30px}
 .project-strip{display:grid;grid-template-columns:1fr;gap:12px;width:100%;margin:0;padding:0;overflow:visible}
 .project-tile{width:100%;height:auto;aspect-ratio:1.3;scroll-snap-align:none}
 .project-index{position:sticky;top:96px;display:flex;flex-direction:column;align-items:flex-start;align-self:start;width:100%;padding:0;font-size:16px;line-height:1.35}
 .project-index a{overflow-wrap:anywhere}
 .project-detail{display:flex;flex-direction:column}
 .project-heading-inner{position:static;min-height:0}
}
/* Ajustos visuals guardats des de l'editor, sense modificar els originals. */
.floating-mockup img,.project-cover img,.project-gallery .image-button img,.service-card img,.service-visual .image-button img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(var(--image-scale,1));transform-origin:center;transition:transform .25s ease}
.project-cover,.project-gallery .image-button,.service-visual .image-button{overflow:hidden}
.editor-position{border:1px solid #d6d3da;padding:12px 16px;max-width:540px}
.editor-position summary{cursor:pointer;font-size:16px;min-height:28px}
.editor-range{margin:12px 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 15px}
.editor-range input{grid-column:1/-1;width:100%;padding:0;min-height:25px;accent-color:var(--accent)}
.editor-range output{grid-column:2;grid-row:1;font-variant-numeric:tabular-nums}
/* Dues sèries diferenciades dins de Fotografia. */
.photo-nav{display:flex;flex-wrap:wrap;gap:10px 28px;margin:25px 0 15px}
.photo-nav a{text-decoration:underline;text-underline-offset:5px}
.photo-collection{scroll-margin-top:120px;margin:22px 0 70px}
.photo-collection h2{font-size:clamp(32px,4vw,62px);font-weight:200;letter-spacing:-.045em;margin:0 0 10px}
.photo-collection>p{max-width:680px;line-height:1.45;margin:0 0 20px}
.photo-collection .photography-gallery{columns:2}
@media(max-width:700px){.photo-collection{scroll-margin-top:100px;margin-bottom:38px}.photo-collection .photography-gallery{columns:1}.photo-nav{gap:8px 18px}}
.home-wordmark{color:#fff;text-shadow:0 2px 12px rgb(0 0 0 / .54)}
.photography-gallery .image-button{overflow:hidden}
.photography-gallery .image-button img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(var(--image-scale,1));transform-origin:center}
.editor-photo{display:grid;grid-template-columns:90px 1fr;gap:8px 12px;border-top:1px solid #e7e5ea;padding:12px 0;align-items:start}
.editor-photo>img{width:90px;height:70px;object-fit:contain;grid-row:span 2}
.editor-photo>.editor-position{grid-column:2}
@media(min-width:701px) and (max-width:1100px) and (orientation:portrait){.floating-stage .floating-item{left:var(--tablet-x);top:var(--tablet-y);width:var(--tablet-w)}}
@media(max-width:700px){.floating-stage .floating-item{left:var(--mobile-x);top:var(--mobile-y);width:var(--mobile-w)}.floating-stage .floating-item:nth-child(n+8){display:block}}
/* Llegibilitat de la marca amb els mockups clars situats al centre. */
.home-wordmark{color:#171219;text-shadow:none}
.language-switch{display:flex;align-items:center;gap:8px;margin-top:26px;font-size:18px;font-weight:400;letter-spacing:0}
#index-menu nav .language-switch a{font-size:18px;font-weight:400;letter-spacing:0;line-height:1.5}
#index-menu nav .language-switch a[aria-current="true"]{text-decoration:underline;text-underline-offset:5px}
.photography-page .collection-link{display:inline-block;margin-top:12px;font-size:16px;text-decoration:underline;text-underline-offset:4px}
.legal-copy{max-width:860px;margin:12px 0 70px auto;font-size:17px;line-height:1.55}
.legal-copy h2{font-size:clamp(26px,3vw,38px);margin:34px 0 12px}
.legal-copy p{margin:0 0 14px}.legal-copy a,.form-privacy a{text-decoration:underline;text-underline-offset:3px}
.form-privacy{font-size:14px;line-height:1.45;margin:4px 0 0}
.video-consent{width:100%;min-height:170px;background:#f3f0f7;border:0;text-decoration:underline;font-size:17px}
.editor-live-preview{position:sticky;top:108px;float:right;width:min(47%,545px);margin:0 0 24px 24px;z-index:6;background:white;border:1px solid #d8d4dd;padding:12px;box-shadow:0 12px 34px rgb(30 25 35 / .1)}
.preview-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;margin-bottom:10px}
.preview-header label{display:flex;align-items:center;gap:5px;font-size:14px;white-space:nowrap}
.preview-header select{max-width:145px;min-height:34px;background:white;border:1px solid #aaa;padding:4px}
.preview-viewport{position:relative;width:100%;height:360px;overflow:auto;background:#eee}
.preview-viewport iframe{display:block;border:0;background:white;transform-origin:top left;pointer-events:auto}
.editor-page .editor-item,.editor-page>section{min-width:0}
@media(min-width:701px){.project-heading-inner{position:sticky;top:107px;left:auto;width:auto;height:min(calc(100svh - 158px),750px);justify-content:flex-start;gap:clamp(18px,5vh,54px);overflow-y:visible}.project-meta{padding-top:0}.project-heading h1{margin-bottom:0}.project-detail{min-height:calc(100svh - 102px)}.project-heading{align-self:stretch}}
@media(min-width:701px) and (max-height:660px){.project-heading-inner{gap:12px}.project-heading h1{font-size:clamp(44px,5vw,76px)}.project-meta p{margin-bottom:14px}}
@media(max-width:1100px){.project-heading-inner{justify-content:flex-start;gap:12px}.project-meta{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0}.project-meta p{margin:0}.back-link{display:inline-block}.project-heading h1{margin-bottom:0}}
@media(max-width:700px){.editor-live-preview{float:none;width:100%;top:83px;margin:12px 0 22px}.preview-viewport{max-height:300px}.legal-copy{margin:15px 0 45px}.project-heading-inner{display:block}.project-meta{display:flex;flex-direction:row;align-items:flex-start;margin:10px 0 0;gap:15px}.project-heading h1{margin:0}}
.preview-page-label{display:grid;gap:5px;font-size:14px;margin-bottom:10px}
.preview-page-label select{min-height:36px;max-width:100%;border:1px solid #aaa;background:white;padding:4px 8px;font-size:14px}
.preview-help{font-size:14px;line-height:1.35;margin:0 0 8px}
.preview-tools{display:flex;align-items:center;gap:6px;margin-bottom:10px}
.preview-selection{font-size:13px;line-height:1.25;flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.preview-tools button{background:white;border:1px solid #b7b3bc;min-width:34px;min-height:34px;font-size:22px;line-height:1}
.preview-tools button:disabled{opacity:.35;cursor:default}
.editor-range output{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.editor-range .editor-number{grid-column:2;grid-row:1;width:86px;min-height:34px;padding:4px 6px;text-align:right;font-size:15px}
.editor-preview [data-edit-section]{cursor:grab;touch-action:none}
.editor-preview [data-edit-section]:active{cursor:grabbing}
.editor-preview .floating-item{animation:none!important}
.editor-preview .floating-mockup{transition:none!important;transform:none!important}
.editor-preview .project-tile.is-preview{transform:none}

/* Galeries i peus de marca. */
.project-gallery .project-figure{break-inside:avoid;page-break-inside:avoid;margin:0 0 16px;width:100%}
.project-gallery .project-figure .image-button{margin-bottom:0}
.project-figure figcaption{font-size:14px;line-height:1.4;color:#5f5b64;padding:8px 2px 2px}
.museum-identity .project-figure:nth-child(2){width:min(48%,380px);justify-self:center}
.museum-identity .project-figure:nth-child(2) .image-button{width:100%}
.project-video-link{margin:20px 0 30px;font-size:17px}
.project-video-link a{text-decoration:underline;text-underline-offset:4px}
/* Amplia la imatge dins dels mateixos marges de la pàgina. */
.lightbox{width:calc(100vw - 2 * var(--margin));max-width:1400px;height:calc(100dvh - 2 * var(--margin));max-height:none;margin:auto;padding:54px 28px 24px;box-sizing:border-box}
.lightbox figure{min-height:0}
.lightbox figure>img{max-width:100%;max-height:100%;min-height:0}
@media(max-width:700px){.lightbox{width:calc(100vw - 2 * var(--margin));height:calc(100dvh - 2 * var(--margin));padding:54px 12px 22px}.project-gallery .project-figure{margin-bottom:12px}}
/* El retrat es pot enquadrar des de l'editor. */
.portrait>img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(var(--image-scale,1));transform-origin:center}
.editor-preview .portrait{touch-action:none}
.editor-photo .editor-image-field{min-width:0}
.photo-nav a[aria-current="page"]{color:var(--accent)}
/* La fotografia i el text comparteixen una mateixa amplada dins de cada projecte. */
@media(min-width:701px){
 .project-content{max-width:none;padding:0 var(--margin)}
 .project-description{padding:42px 0 55px}
 .project-next{padding-right:0}
}
.project-cover,.project-gallery,.museum-identity{width:100%}
.project-cover img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.project-gallery{columns:1;column-count:1;display:block;gap:0}
.project-gallery .project-figure{width:100%;margin:0 0 20px;break-inside:avoid}
.project-gallery .project-figure .image-button{width:100%;height:auto}
.project-gallery .project-figure img{display:block;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain}
.project-figure figcaption{text-align:center;max-width:100%;margin:0 auto;padding:12px 10px 20px}
.museum-identity{padding:0 0 20px;gap:14px}
.museum-identity .project-figure{width:100%;margin:0}
.museum-identity .project-figure:nth-child(2){width:100%;max-width:none;justify-self:stretch}
.museum-identity .project-figure:nth-child(2) .image-button{height:min(72vw,740px);overflow:hidden}
.museum-identity .project-figure:nth-child(2) img{height:100%;width:100%;object-fit:cover;transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(calc(var(--image-scale,1) * 1.08))}
.project-video{aspect-ratio:16/9;margin:18px 0 36px;background:#171717}
.project-video iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0}
.editor-tabs{position:sticky;top:102px;z-index:7;background:#fff;border-bottom:1px solid #ddd;padding:12px 0;scroll-margin-top:108px}
.editor-tabs a[aria-current=page]{font-weight:600;text-decoration-thickness:2px}
.editor-add{display:inline-block;margin:10px 0 16px;padding:10px 16px;border:1px solid #28242e;background:#fff;color:#28242e;cursor:pointer;font-size:16px}
.editor-add:hover,.editor-add:focus-visible{background:#f2edf5}
@media(max-width:700px){
 .project-content{padding:0 var(--margin)}
 .project-description{padding:28px 0 35px}
 .project-next{padding:38px 0}
 .museum-identity .project-figure:nth-child(2) .image-button{height:clamp(360px,95vw,620px)}
 .editor-tabs{top:82px}
}
/* Logos: cap retall ni ampliació addicional del fitxer original. */
.museum-identity .project-figure .image-button{height:auto;aspect-ratio:auto;overflow:visible}
.museum-identity .project-figure .image-button img,
.museum-identity .project-figure:nth-child(2) img{
 display:block;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;
 transform:none!important;
}
.museum-identity .project-figure:nth-child(2){width:min(78%,680px);justify-self:center}
.museum-identity .project-figure:nth-child(2) .image-button{height:auto;overflow:visible}
.project-gallery .project-figure img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(clamp(.6,var(--image-scale,1),1.5))}
/* L'enquadrament de serveis i retrat respon als controls en pantalla. */
.service-card:nth-child(n) img{
 object-position:calc(50% + var(--image-x,0%)) calc(50% + var(--image-y,0%));
 transform:scale(clamp(1,var(--image-scale,1),2));
}
.service-visual .image-button{width:100%;aspect-ratio:3/4;height:auto;overflow:hidden}
.service-visual .image-button img{
 display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;
 object-position:calc(50% + var(--image-x,0%)) calc(50% + var(--image-y,0%));
 transform:scale(clamp(1,var(--image-scale,1),2));
}
.portrait>img{
 object-position:calc(50% + var(--image-x,0%)) calc(58% + var(--image-y,0%));
 transform:scale(clamp(1,var(--image-scale,1),2));
}
.editor-crop-frame{display:block;position:relative;width:min(100%,340px);aspect-ratio:4/3;overflow:hidden;background:#fafafa;margin:8px 0 14px}
.editor-crop-frame img,.editor-image-field .editor-crop-frame img{
 display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;
 object-position:calc(50% + var(--image-x,0%)) calc(50% + var(--image-y,0%));
 transform:scale(clamp(1,var(--image-scale,1),2));
}
.editor-portrait-frame{aspect-ratio:1/1}
.editor-position button[data-reset-image]{margin:12px 0 2px;padding:8px 12px;border:1px solid #aaa;background:#fff;cursor:pointer}
@media(max-width:700px){.museum-identity .project-figure:nth-child(2){width:min(100%,520px)}}

/* Els dos envasos de la identitat anterior són una comparativa discreta. */
.priorat-originals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,3vw,30px);align-items:center;max-width:720px;margin:12px auto 30px}
.priorat-originals .project-figure{width:100%;margin:0}
.priorat-originals .image-button{display:block;width:100%;height:auto;overflow:visible}
.priorat-originals img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;transform:none!important}
@media(max-width:700px){.priorat-originals{max-width:100%;gap:10px;margin:8px auto 24px}.priorat-originals img{max-height:260px}}

/* Projectes segueix la mateixa composició de targetes i índex que Serveis. */
.projects-page .projects-stage.services-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start;max-width:none;margin:12px 0 48px}
.projects-page .project-index.services-index{grid-column:1;display:flex;flex-direction:column;align-items:flex-end;align-self:start;position:sticky;top:120px;width:auto;padding:0 8px 0 0;font-size:clamp(20px,2.15vw,30px);line-height:1.18;letter-spacing:-.035em}
.projects-page .project-index.services-index a{font-size:inherit;text-align:right;padding:5px 0;line-height:inherit;overflow-wrap:normal}
.projects-page .project-index.services-index a:hover,.projects-page .project-index.services-index a:focus-visible{font-size:inherit;color:var(--accent);text-decoration:underline;text-underline-offset:5px}
.projects-page .project-strip.services-grid{grid-column:2/4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:18px 22px;padding:0;margin:0;overflow:visible;isolation:auto}
.projects-page .project-card.service-card{display:block;position:relative;width:100%;height:auto;aspect-ratio:4/3;overflow:hidden;background:#fafafa;transform:none}
.projects-page .project-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .38s ease;transform-origin:center}
.projects-page .project-card.is-preview img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(clamp(1.06,calc(var(--image-scale,1) * 1.07),1.5))}
.projects-page .project-card.is-preview span{opacity:1;transform:translateY(0)}
@media(min-width:701px) and (max-width:1100px){
 .projects-page .projects-stage.services-layout{display:flex;flex-direction:column;gap:20px}
 .projects-page .project-index.services-index{position:static;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:3px 18px;width:100%;font-size:22px}
 .projects-page .project-index.services-index a{text-align:left}
 .projects-page .project-strip.services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(max-width:700px){
 .projects-page .projects-stage.services-layout{display:flex;flex-direction:column;gap:15px;margin:4px 0 32px}
 .projects-page .project-index.services-index{position:static;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:2px 12px;width:100%;font-size:16px;padding:0}
 .projects-page .project-index.services-index a{text-align:left;padding:3px 0}
 .projects-page .project-strip.services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .projects-page .project-card.service-card{aspect-ratio:4/3}
}

/* Retrat: el control vertical mou el punt d'enquadrament sense retallar el cap. */
.portrait>img,
.editor-image-field .editor-portrait-frame img{
 position:absolute;top:0;left:-6%;width:112%;height:100%;max-width:none;
 object-fit:cover;
 object-position:50% clamp(0%,calc(83% - var(--image-y,0%)),100%);
 transform:translateX(var(--image-x,0%)) scale(clamp(1,var(--image-scale,1),2));
 transform-origin:center center;
}
.editor-portrait-frame{aspect-ratio:1.5}
@media(max-width:700px){.editor-portrait-frame{aspect-ratio:1/.98}}

/* El desplaçament és visible també quan l'object-fit no deixa marge horitzontal. */
.service-card:nth-child(n) img,
.service-visual .image-button img,
.editor-image-field .editor-crop-frame:not(.editor-portrait-frame) img{
 transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(clamp(1.22,var(--image-scale,1),2));
}

.project-context{display:inline-block;margin-top:10px;font-size:14px;font-weight:400}
.project-credit{font-size:15px;color:#54515a;margin-top:30px}
@media(max-width:700px){.project-context{font-size:13px}}
/* La fotografia base continua visible si una versió local no es carrega. */
.portrait{min-height:380px;background:#ececec url('/assets/original-783d66811b75c4.jpeg') 50% 74%/cover no-repeat}
.portrait>img{z-index:0}
.portrait-intro{z-index:1}
.form-result:not([hidden]){display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:18px;min-height:320px;margin-top:24px;padding:clamp(26px,4vw,54px);border:1px solid #c9c6ce;background:#faf7fb}
.form-result h2{font-size:clamp(30px,3vw,46px);line-height:1.1;margin:0}
.form-result p{font-size:18px;line-height:1.45;margin:0}
.form-result .pill-button{align-self:flex-start;min-height:48px}
@media(max-width:700px){.portrait{min-height:380px}.form-result:not([hidden]){min-height:260px;padding:24px}}

/* Etiquetes només en dispositius amb hover real. */
@media(hover:none),(pointer:coarse){.services-page .services-grid .service-card span,.projects-page .project-strip .project-card span{display:none!important}}
.priorat-originals-caption{grid-column:1/-1;text-align:center;font-size:15px;line-height:1.4;color:#615d68;margin:0 0 14px}

/* Display-only crop: retain the original lettering files and all painted pixels. */
.project-gallery .project-figure .image-button[data-image="x-la-sombra-3.png"]{position:relative;aspect-ratio:1107/1312;overflow:hidden}
.project-gallery .project-figure .image-button[data-image="x-la-sombra-3.png"] img{position:absolute;width:108.401084%;height:auto!important;max-width:none;left:-5.691057%;top:-5.792683%;transform:none!important}
.project-gallery .project-figure .image-button[data-image="x-la-sombra-4.png"]{position:relative;aspect-ratio:902/654;overflow:hidden}
.project-gallery .project-figure .image-button[data-image="x-la-sombra-4.png"] img{position:absolute;width:133.037694%;height:auto!important;max-width:none;left:-17.184035%;top:-77.217125%;transform:none!important}

/* Mobile project overview follows the services overview. */
@media(max-width:700px){
 .projects-page .projects-stage.services-layout{gap:25px;margin:12px 0 28px}
 .projects-page .project-index.services-index{position:static;flex-direction:column;flex-wrap:nowrap;align-items:flex-end;align-self:stretch;justify-content:flex-start;gap:4px;width:100%;padding:0 0 10px;font-size:32px;font-weight:200;line-height:1.2;letter-spacing:-.03em}
 .projects-page .project-index.services-index a{max-width:100%;text-align:right;padding:4px 0;font-size:inherit;line-height:inherit;overflow-wrap:normal}
 .projects-page .project-strip.services-grid{gap:28px 22px;margin-bottom:25px}
}

.editor-actions{flex-wrap:wrap}.editor-actions [data-editor-action="publish"]{background:#302747;color:white;border-color:#302747}.editor-actions button:disabled{opacity:.45;cursor:not-allowed}.editor-page #editor-status{position:sticky;top:102px;z-index:30;background:#fff;padding:12px;min-height:44px;white-space:normal}.section-editor-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.section-editor-images img{width:100%;height:140px;object-fit:contain}.custom-section{max-width:1100px;margin:auto;padding-bottom:40px}.custom-section>p{font-size:20px;line-height:1.5}.custom-section .image-button img{width:100%;height:auto}.custom-section-gallery{display:grid;gap:20px;margin-top:20px}.custom-section>.image-button{overflow:hidden}.custom-section>.image-button img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(var(--image-scale,1))}@media(max-width:700px){.editor-page #editor-status{top:80px}.section-editor-images{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Gallery navigation: one-finger swipe; preserve vertical movement and pinch zoom. */
.lightbox{padding-bottom:76px;touch-action:pan-y pinch-zoom}
.lightbox-navigation{position:absolute;bottom:14px;left:12px;right:12px;display:flex;align-items:center;justify-content:center;gap:24px}
.lightbox-navigation button{width:44px;height:44px;border:1px solid #ccc;border-radius:50%;background:white;font-size:24px;line-height:1}
.lightbox-navigation button:disabled{opacity:.3;cursor:default}
.lightbox-count{font-size:14px;min-width:64px;text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:700px){.lightbox{padding-bottom:76px}}

/* Native square animations retain the complete original composition. */
.native-project-video{margin:0;min-width:0;background:#fff}
.native-project-video video{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.native-video-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 24px}
@media(max-width:700px){.native-video-gallery{grid-template-columns:1fr;gap:16px}}

/* La columna del projecte roman fixa durant tot el desplaçament. */
@media(min-width:701px){.project-heading-inner{position:fixed;top:114px;left:var(--margin);width:calc(50vw - var(--margin) - 16px);height:calc(100svh - 138px);min-height:0;overflow:visible;padding-bottom:0}}
@media(min-width:701px) and (max-width:1100px){.project-heading-inner{width:calc(43vw - var(--margin) - 10px)}}

/* VQ Estudi — índexs editorials: dues columnes, imatges i tipografia. */
.home-wordmark{color:#fff;text-shadow:none;font-family:"HelveticaNeue-UltraLight","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:100;font-synthesis:none}
.catalog-page{padding:26px var(--margin) 72px}
.catalog-header{display:flex;align-items:baseline;justify-content:space-between;gap:24px;padding-bottom:34px;border-bottom:1px solid #d9d6dc;margin-bottom:32px}
.catalog-header h1{font-size:clamp(66px,8.3vw,132px);font-weight:200;line-height:.98;margin:0;letter-spacing:-.055em}
.catalog-total{font-size:16px;font-variant-numeric:tabular-nums}
.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px clamp(20px,2.8vw,44px);align-items:start}
.work-entry{min-width:0}
.work-entry:nth-child(even){padding-top:0}
.work-link{display:block}
.work-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:#f7f7f7}
.work-image img{display:block;width:100%;height:100%;object-fit:cover;transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(var(--image-scale,1));transform-origin:center;transition:transform .7s cubic-bezier(.2,.65,.3,1)}
.work-entry .work-image{aspect-ratio:4/3}
.work-entry:last-child .work-image img{object-fit:contain}
.work-caption{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 18px;padding:16px 0 18px;border-bottom:1px solid #d9d6dc}
.work-caption h2{font-size:clamp(23px,1.9vw,30px);line-height:1.12;letter-spacing:-.035em;font-weight:300;margin:0}
.work-caption p{grid-column:1;font-size:15px;line-height:1.4;color:#625c65;margin:0}
.work-number{font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}
.work-caption .work-number{padding-top:4px}
.service-editorial-list{display:grid;gap:32px}
.service-entry{border-bottom:1px solid #d9d6dc;padding-bottom:32px}
.service-entry:last-child{border:0;padding-bottom:0}
.service-editorial-link{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,4vw,72px);align-items:center}
.service-editorial-copy{max-width:510px;padding:12px 0}
.service-editorial-copy h2{font-size:clamp(46px,6vw,90px);font-weight:200;line-height:1;letter-spacing:-.045em;margin:18px 0 24px}
.service-editorial-copy p{font-size:clamp(17px,1.55vw,22px);line-height:1.48;margin:0;max-width:42ch}
@media(hover:hover){.work-link:hover .work-image img,.work-link:focus-visible .work-image img,.service-editorial-link:hover .work-image img,.service-editorial-link:focus-visible .work-image img{transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(calc(var(--image-scale,1) * 1.025))}.work-link:hover h2,.service-editorial-link:hover h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}}
@media(min-width:701px) and (max-width:1100px){.catalog-page{padding-top:20px}.work-grid{gap:34px 24px}.work-entry:nth-child(even){padding-top:0}.service-editorial-link{gap:24px}.service-editorial-copy h2{font-size:clamp(38px,6vw,65px)}}
@media(max-width:700px){.catalog-page{padding-top:20px;padding-bottom:40px}.catalog-header{padding-bottom:23px;margin-bottom:24px}.catalog-header h1{font-size:clamp(60px,11vw,82px)}.work-grid{gap:30px 18px}.work-entry:nth-child(even){padding-top:0}.work-caption h2{font-size:23px}.work-caption p{font-size:14px}.service-editorial-link{grid-template-columns:1fr;gap:12px}.service-editorial-copy{padding:0}.service-editorial-copy h2{font-size:48px;margin:8px 0 14px}.service-editorial-copy p{font-size:17px}.service-editorial-list{gap:26px}.service-entry{padding-bottom:26px}}
@media(max-width:560px){.work-grid{grid-template-columns:1fr;gap:30px}.work-entry:nth-child(even){padding-top:0}.work-entry:nth-child(3n) .work-image{aspect-ratio:4/3}.work-caption h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.work-image img{transition:none}}

/* Contraste du logotip sense fons ni contorn sobre la composició. */
.home-wordmark{mix-blend-mode:difference}
.projects-catalog .work-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.projects-catalog .work-entry{margin:0;padding:0!important;min-width:0;align-self:start}
.projects-catalog .work-image{aspect-ratio:4/3;width:100%;height:auto;margin:0}
.projects-catalog .work-image img{position:absolute;inset:0;max-width:none;width:100%;height:100%}
@media(max-width:700px){.catalog-page{padding:18px 22px 40px}.catalog-header{margin-bottom:22px}.catalog-header h1{font-size:clamp(52px,10vw,70px)}.projects-catalog .work-grid{grid-template-columns:1fr;gap:28px}.work-caption{padding:13px 0 16px}.work-caption h2{font-size:27px}.work-caption p{font-size:15px}.service-editorial-link{grid-template-columns:1fr;gap:15px}.service-editorial-copy h2{font-size:40px;margin:6px 0 13px}.service-editorial-copy p{font-size:17px}.service-editorial-copy .work-number{display:none}}


/* Portada a l'esquerra; els lloms dels altres projectes es despleguen a la dreta. */
.record-catalog{min-height:calc(100svh - 179px)}
.record-scroll-track{--record-size:min(38vw,calc(100svh - 320px),440px);--record-strip:clamp(14px,2vw,26px);height:calc((var(--record-count) - 1) * 48svh + 620px);position:relative}
.record-pin{position:sticky;top:122px;width:min(100%,720px);margin:0 auto;padding:18px 0 26px}
.record-shelf{position:relative;width:calc(var(--record-size) + (var(--record-count) - 1) * var(--record-strip));height:var(--record-size);margin:0 auto 28px;isolation:isolate}
.record-cover{position:absolute;top:0;left:calc(var(--record-slot,0) * var(--record-strip));display:block;width:var(--record-size);height:var(--record-size);padding:0;margin:0;border:0;background:none;cursor:pointer;transition:left .65s cubic-bezier(.2,.65,.3,1)}
.record-artwork{position:relative;width:100%;height:100%;overflow:hidden;background:#fff;box-shadow:3px 0 8px rgb(23 18 25 / .13)}
.record-artwork img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;transform:translate(var(--image-x,0%),var(--image-y,0%)) scale(var(--image-scale,1))}
.record-cover:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.record-details{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-top:18px;border-top:1px solid #d9d6dc}
.record-details h2{font-size:clamp(27px,3vw,40px);font-weight:200;line-height:1.12;letter-spacing:-.035em;margin:0 0 8px}
.record-details p{font-size:16px;line-height:1.4;margin:0;color:#625c65}
.record-open{font-size:17px;white-space:nowrap;text-decoration:underline;text-underline-offset:5px;padding:8px 0;min-height:44px}
.record-controls{display:flex;justify-content:space-between;margin-top:18px;gap:16px}
.record-controls button{border:0;background:none;padding:8px 0;min-height:44px;font-size:15px;text-decoration:underline;text-underline-offset:4px}
.record-controls button:disabled{opacity:.3;cursor:default;text-decoration:none}
@media(max-width:1100px){.record-scroll-track{--record-size:min(48vw,calc(100svh - 320px),420px)}}
@media(max-width:700px){.record-scroll-track{--record-size:min(62vw,calc(100svh - 300px),350px);--record-strip:15px;height:calc((var(--record-count) - 1) * 42svh + 520px)}.record-pin{top:94px;padding-top:12px}.record-shelf{margin-bottom:22px}.record-details{flex-direction:column;gap:9px}.record-details h2{font-size:28px}.record-details p{font-size:15px}.record-open{font-size:16px;padding-top:5px}.record-controls{margin-top:8px}.record-catalog .catalog-header{margin-bottom:12px}}
@media(max-width:360px){.record-scroll-track{--record-size:59vw;--record-strip:12px}}
@media(prefers-reduced-motion:reduce){.record-cover{transition:none}}

/* Formats bas: la portada i els controls continuen dins de la pantalla. */
@media(max-height:650px){.record-scroll-track{--record-size:min(36vw,calc(100svh - 300px))}.record-pin{padding:8px 0}.record-shelf{margin-bottom:14px}.record-details h2{font-size:26px}.record-details{padding-top:12px}.record-controls{margin-top:5px}}
@media(max-width:700px) and (max-height:650px){.record-scroll-track{--record-size:min(62vw,calc(100svh - 340px))}.record-details h2{font-size:24px}.record-open{min-height:36px}.record-controls button{min-height:36px}}

/* Retrat amb el cap complet, conservant el control d'enquadrament. */
.portrait>img,.editor-image-field .editor-portrait-frame img{left:0;width:100%;object-position:50% clamp(0%,calc(35% - var(--image-y,0%)),100%)}
@media(max-width:700px){body.record-mobile-page{height:100svh;overflow:hidden}.record-mobile-page main{height:calc(100svh - 159px);min-height:0}.record-mobile-page .record-catalog{height:100%;min-height:0;padding-top:12px;padding-bottom:12px;display:flex;flex-direction:column}.record-mobile-page .catalog-header{flex:none;padding-bottom:14px;margin-bottom:10px}.record-mobile-page .catalog-header h1{font-size:48px}.record-mobile-page .record-scroll-track{height:auto;flex:1;min-height:0;--record-size:min(56vw,calc(100svh - 440px))}.record-mobile-page .record-pin{position:static;top:auto;padding:8px 0 0}.record-mobile-page .record-shelf{margin-bottom:15px}.record-mobile-page .record-details{padding-top:12px;gap:5px}.record-mobile-page .record-details h2{font-size:24px;margin-bottom:5px}.record-mobile-page .record-open{min-height:36px;padding:5px 0}.record-mobile-page .record-controls{margin-top:5px}.record-mobile-page .record-controls button{min-height:36px}.record-mobile-page .site-footer{height:77px;min-height:77px;padding-top:12px;padding-bottom:12px}}

/* Composició del text: finals de línia equilibrats sense tallar paraules. */
main p,main figcaption,.legal-copy li{text-wrap:pretty;word-break:normal;overflow-wrap:break-word;hyphens:none}
main h1,main h2,main h3{text-wrap:balance;word-break:normal;overflow-wrap:normal;hyphens:none;max-width:100%}
.record-details>div,.project-meta,.photography-content,.service-copy,.legal-copy{min-width:0}
.record-open,.back-link{white-space:normal;text-wrap:balance}
.record-artwork img{min-width:100%;min-height:100%;object-position:center;transform-origin:center}
@media(max-width:1100px){.project-heading h1{font-size:clamp(42px,6.5vw,90px);line-height:1.06}.project-meta{flex-wrap:wrap}.record-details h2{line-height:1.15}}
@media(max-width:700px){.project-heading h1{font-size:clamp(40px,11vw,58px)}.record-details h2{font-size:clamp(21px,5.8vw,24px)}.site-footer{flex-wrap:wrap;gap:5px 14px}.record-mobile-page .site-footer{height:auto;min-height:77px}.photography-page h1{font-size:clamp(40px,11vw,58px)}.record-mobile-page .record-scroll-track{--record-size:min(56vw,max(100px,calc(100svh - 455px)))}}

.editor-menu-link[hidden]{display:none!important}
/* Retrat complet: proporcions originals, sense zoom ni retall. */
.portrait{height:auto;min-height:0;aspect-ratio:4/5;background:#ececec;overflow:hidden}
.portrait>img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none}
.editor-portrait-frame{aspect-ratio:4/5}
@media(max-width:700px){
 body.record-mobile-page{height:auto;overflow-x:hidden;overflow-y:auto}
 .record-mobile-page main{height:auto;min-height:calc(100svh - 82px)}
 .record-mobile-page .record-catalog{height:auto;min-height:calc(100svh - 82px);padding:16px 22px 30px;display:flex;flex-direction:column;justify-content:flex-start}
 .record-mobile-page .record-scroll-track{height:auto;flex:none;--record-strip:12px;--record-size:min(calc(100vw - 104px),max(150px,calc(100svh - 385px)))}
 .record-mobile-page .record-pin{position:static;padding:8px 0 0;width:100%}
 .record-mobile-page .record-details p{display:none}
 .record-mobile-page .record-shelf{touch-action:pan-y pinch-zoom;margin-bottom:22px}
 .record-mobile-page .record-details{padding-top:16px;gap:10px}
 .record-mobile-page .record-details h2{font-size:clamp(24px,6vw,30px)}
 .record-mobile-page .record-controls{margin-top:20px}
 .record-mobile-page .site-footer{height:auto;min-height:77px;position:static}
 .portrait{height:auto;min-height:0;aspect-ratio:4/5}
}

@media(max-width:700px){.record-mobile-page .catalog-header{position:sticky;top:82px;z-index:210;background:var(--paper);padding-top:8px}}

/* Sobre mi en ordinador: menys aire superior i retrat dins de la primera pantalla. */
@media(min-width:1101px){
 .about-page>.page-title{padding-top:0;margin-bottom:18px}
 .about-page .portrait{height:clamp(360px,calc(100svh - 285px),650px);min-height:0;aspect-ratio:auto}
 .about-page .portrait>img{object-fit:cover;object-position:50% 28%;transform:none}
 .about-page .portrait-intro{top:27%}
 .about-page .about-info{padding-top:32px;padding-bottom:24px;align-content:center}
}

@media(min-width:1101px){.about-page .portrait{height:var(--portrait-screen-height,calc(100svh - 240px));max-height:none}}

/* Noms de programari íntegres, amb salts entre eines i no dins dels noms. */
.software-list{display:block;margin:8px 0 12px;line-height:1.5;text-wrap:pretty}
.software-list>span{white-space:nowrap;display:inline-block}
.about-tools em{text-wrap:pretty}
.cv-section li>*{min-width:0}
@media(min-width:1101px) and (max-width:1500px){.about-info{grid-template-columns:1fr}.about-tools{align-self:start;max-width:100%}}
@media(max-width:380px){.about-info{grid-template-columns:1fr}.about-tools{max-width:100%}}

/* Keep gallery controls within the viewport even on small screens. */
.lightbox[open]{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:14px;overflow:hidden;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.lightbox[open] figure{height:auto;min-height:0;overflow:hidden}
.lightbox .lightbox-navigation{position:relative;inset:auto;z-index:2;flex-shrink:0;min-height:44px;margin:0;touch-action:manipulation}
.lightbox .lightbox-navigation[hidden]{display:none}
.lightbox-navigation button{flex:none;cursor:pointer;touch-action:manipulation}

/* Language selection follows the existing restrained header typography. */
.header-languages{position:fixed;top:32px;right:94px;display:flex;align-items:center;gap:8px;font-size:13px;line-height:32px;z-index:101}
.header-languages a{color:inherit;text-decoration:none;padding:0 3px;min-width:25px;text-align:center}
.header-languages a[aria-current="true"]{text-decoration:underline;text-underline-offset:4px}
.header-languages a:focus-visible{outline:1px solid currentColor;outline-offset:3px}
.identity-motion{margin:80px auto;max-width:580px;width:calc(100% - 48px)}
.identity-motion figcaption{font-size:14px;margin-bottom:16px}
.identity-motion video{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;transform:none;filter:none;background:#111}
@media(max-width:700px){.header-languages{top:24px;right:78px;gap:5px}.identity-motion{margin:48px auto;width:calc(100% - 40px)}}
.animations-page>h1{font-size:clamp(48px,7vw,100px);font-weight:400;letter-spacing:-.055em;line-height:1.05;margin:0 0 40px}
.animations-page>.services-index{position:static;display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 32px}
.animations-content{max-width:1000px;margin:auto}
.animations-content .identity-motion{margin:0 auto 72px}
.campaign-animations>p{max-width:720px;line-height:1.6}
.campaign-animations .native-video-gallery{margin-top:32px}
.record-artwork video{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.animations-content .identity-motion{width:100%;margin-bottom:48px}}
.animations-page>h1{font-weight:200}
.animations-page>.services-index{flex-direction:row;align-items:center;align-self:stretch;justify-content:flex-start;padding:0;font-size:24px;line-height:1.25}
@media(max-width:700px){.animations-page>.services-index{font-size:18px;gap:8px 18px}}
/* The animated service cover fills the same frame as the other service covers. */
.record-artwork video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.recovered-animation-section{margin:0 0 72px}.recovered-animation-section h2{font-size:32px;font-weight:300;letter-spacing:-.03em;margin:0 0 24px}.recovered-animation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.recovered-animation-grid.is-landscape{grid-template-columns:1fr}.recovered-animation-grid figure{margin:0;min-width:0}.recovered-animation-grid figcaption{font-size:14px;margin-bottom:12px}.recovered-animation-grid video{display:block;width:100%;height:auto;object-fit:contain;background:#111}.recovered-animation-grid:not(.is-landscape){max-width:850px;margin:auto}@media(max-width:700px){.recovered-animation-grid{grid-template-columns:1fr;gap:32px}.recovered-animation-section{margin-bottom:48px}}
/* Animation collections use the same layout and spacing as the other services. */
.animation-service-page .animation-piece{display:inline-block;width:100%;margin:0 0 22px;vertical-align:top;break-inside:avoid}
.animation-service-page .animation-piece video{display:block;width:100%;height:auto;object-fit:contain}
.animation-service-page .photography-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));columns:auto;gap:22px;align-items:start}
.animation-service-page .animation-piece{margin:0}
@media(max-width:700px){.animation-service-page .photography-gallery{grid-template-columns:1fr;gap:10px}}
/* Give collection headings room above the video galleries. */
.animation-service-page .photo-collection h2{line-height:1.2;margin-bottom:28px}
@media(max-width:700px){.animation-service-page .photo-collection h2{margin-bottom:20px}}
.animation-service-page .photo-collection{margin-top:36px}
@media(max-width:700px){.animation-service-page .photo-collection{margin-top:30px}}
.marcos-project-animations{margin:40px 0}
.marcos-project-animations>h2{font-size:clamp(28px,3vw,44px);font-weight:200;line-height:1.2;margin:0 0 28px}
