:root{--bg:#e6f2fb;--ink:#1c2630;--mute:#9aa7b2;--card:#d5e7f5;--sans:"Inter Tight","Helvetica Neue",Arial,sans-serif;--serif:"EB Garamond",Georgia,serif}
*{box-sizing:border-box;margin:0;padding:0}
@view-transition{navigation:auto}
body{background:var(--bg);color:var(--ink);font:400 18px/24px var(--sans);letter-spacing:-.02em;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{display:flex;align-items:flex-start;min-height:100vh}

/* sidebar */
.side{width:410px;flex:none;padding:50px 30px 60px 60px}
.logo{display:block;font:400 64px/64px "Mrs Saint Delafield","Homemade Apple",cursive;letter-spacing:0;white-space:nowrap;width:280px;height:64px;color:var(--ink)}
.side nav{margin-top:70px;padding-left:17px}
.side nav a{display:block;font-size:17px;line-height:19px;font-weight:400;color:var(--mute);margin-bottom:9.5px;transition:color .2s}
.side nav a:hover{color:var(--ink)}
.side nav a.cur{color:var(--ink);font-weight:500}
.side nav .top{font-weight:700;margin-bottom:15px}
.side nav .home-cur{color:var(--mute)}
.side nav .sec{font-weight:700;font-size:17px;margin-top:25px;margin-bottom:0;line-height:20px;padding-bottom:15px}
.side nav .sec:first-of-type{margin-top:26px}

/* content */
.main{flex:1;min-width:0;padding:108px 62px 120px 0}
.intro{max-width:730px;margin:0 auto 92px;text-align:center;font:400 34px/37px var(--serif);letter-spacing:0}
.page-title{font:700 32px/36px var(--sans);letter-spacing:-.035em;text-align:center;margin:12px 0 74px}
.grid{display:flex;flex-wrap:wrap;gap:3px}
.card{position:relative;width:calc(50% - 1.5px);aspect-ratio:16/9;background:var(--card);overflow:hidden;display:block}
.card img{width:100%;height:100%;object-fit:cover}
.card .ov{position:absolute;inset:0;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;opacity:0;transition:opacity .25s}
.card:hover .ov,.card:focus-visible .ov{opacity:1}
.ov i{font:italic 500 17px/20px var(--sans);margin-bottom:6px}
.ov b{font:700 25px/28px var(--sans);letter-spacing:-.03em}

/* project */
.stack img{width:100%;height:auto}
.lead{max-width:730px;margin:60px auto 0;text-align:center;font-size:18px;line-height:24px}
.lead small{display:block;font:italic 500 17px var(--sans);margin-bottom:6px;color:var(--mute)}
.nextp{display:block;text-align:center;margin:90px 0 0;font:700 22px/26px var(--sans);letter-spacing:-.03em}
.nextp img{display:block;width:min(195px,60vw);aspect-ratio:16/9;object-fit:cover;margin:0 auto 18px;border-radius:6px}
.nextp span{display:block;font:400 15px var(--sans);color:var(--mute);margin-bottom:6px}

/* about / contact */
.col{max-width:725px;margin:0 auto}
.col h2{font:400 34px/37px var(--serif);letter-spacing:0;margin:46px 0 34px}
.col h2 em{display:block;font-style:italic}
.col p{margin-bottom:18px}
.col a{border-bottom:1px solid var(--mute)}
.col a:hover{border-color:var(--ink)}
.col img.me{width:100%;max-width:420px;aspect-ratio:4/5;object-fit:cover;margin:0 0 34px}

/* back to top */
.up{position:fixed;right:55px;bottom:40px;width:50px;height:50px;background:rgba(150,185,215,.28);display:flex;align-items:center;justify-content:center;color:var(--mute);font:400 26px/1 var(--sans);transition:background .2s}
.up:hover{background:rgba(150,185,215,.5);color:var(--ink)}

@media(max-width:900px){
 .wrap{display:block}
 .side{width:auto;padding:24px 24px 10px}
 .logo{font-size:48px;height:48px;line-height:48px}
 .side nav{margin-top:28px;padding-left:0}
 .main{padding:30px 24px 100px}
 .intro{font-size:26px;line-height:30px;margin-bottom:44px}
 .card{width:100%}
 .up{right:16px;bottom:16px}
}

/* animaciones */
.side nav a{transition:color .25s,transform .3s cubic-bezier(.2,.7,.2,1);transform-origin:left center}
.side nav a:hover{transform:translateX(8px)}
.side nav a.cur{transform:translateX(4px)}
.logo{transition:transform .4s cubic-bezier(.2,.7,.2,1),letter-spacing .4s}
.logo:hover{transform:rotate(-2deg) scale(1.04)}
.card img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.card:hover img{transform:scale(1.07)}
.card .ov i,.card .ov b{transform:translateY(14px);opacity:0;transition:transform .45s cubic-bezier(.2,.7,.2,1),opacity .45s}
.card:hover .ov i,.card:hover .ov b{transform:none;opacity:1}
.card:hover .ov b{transition-delay:.06s}
.up{transition:transform .3s cubic-bezier(.2,.7,.2,1),background .2s,color .2s}
.up:hover{transform:translateY(-5px)}
.up:active{transform:translateY(-2px) scale(.94)}
.nextp{transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.nextp::after{content:" \2192";display:inline-block;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.nextp:hover{transform:translateX(10px)}
.nextp:hover::after{transform:translateX(8px)}
.col a{border-bottom:0;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size .35s cubic-bezier(.2,.7,.2,1)}
.col a:hover{background-size:0 1px;background-position:100% 100%}
.stack img{transition:opacity .6s}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

body{transition:background-color .5s}

/* menu fijo + compacto al hacer scroll */
.side{position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:none}
.side::-webkit-scrollbar{display:none}
.logo,.side nav,.side nav a,.side nav .sec{transition:all .4s cubic-bezier(.2,.7,.2,1)}
.scrolled .side{padding-top:24px}
.scrolled .logo{font-size:40px;height:40px;line-height:40px;width:175px}
.scrolled .side nav{margin-top:22px}
.scrolled .side nav a{font-size:14px;line-height:16px;margin-bottom:6px}
.scrolled .side nav .top{margin-bottom:10px}
.scrolled .side nav .sec{font-size:14px;line-height:16px;margin-top:14px;padding-bottom:6px}
.scrolled .side nav a:not(.cur){opacity:.8}
@media(max-width:900px){.side{position:static;height:auto;overflow:visible}.scrolled .logo{font-size:48px;height:48px;line-height:48px;width:auto}}

/* espaciado entre imagenes */
:root{--gap:16px}
.grid{gap:var(--gap)}
.card{width:calc(50% - var(--gap)/2)}
.stack{display:flex;flex-direction:column;gap:var(--gap)}
@media(max-width:900px){:root{--gap:12px}.card{width:100%}}

/* idiomas, firma, subtitulos */
.lang{margin-top:26px;font-size:13px;line-height:16px;font-weight:500;letter-spacing:.02em;display:flex;gap:7px;color:var(--mute)}
.lang a{display:inline;margin:0;font-size:13px;line-height:16px;font-weight:500;transform:none!important}
.lang a:hover{color:var(--ink)}
.lang a.cur{color:var(--ink);font-weight:700}
.scrolled .lang{margin-top:12px}
.scrolled .lang a{font-size:12px}
.col .sign{font:italic 400 26px/30px var(--serif);letter-spacing:0;margin:30px 0 56px}
.col h3{font:700 17px/20px var(--sans);letter-spacing:-.02em;margin:0 0 10px}

/* lamina de texto en HTML (1920x784, misma que la imagen original) */
.sheet{position:relative;width:100%;aspect-ratio:var(--w)/var(--h);overflow:hidden;background:#FBF7E9;color:#36373A;font-family:'Inter',sans-serif;letter-spacing:0;-webkit-font-smoothing:antialiased}
.sheet .s{position:absolute;left:0;top:0;width:calc(var(--w)*1px);height:calc(var(--h)*1px);transform-origin:0 0}
.sheet .label{font-weight:600;font-size:19px;letter-spacing:.16em;text-transform:uppercase}
.sheet .sh1{position:absolute;left:120px;top:108px;font-weight:500;font-size:82px;line-height:normal;letter-spacing:-.035em}
.sheet .sh2{position:absolute;left:122px;top:205px;font-weight:400;font-size:50px;line-height:1.18;letter-spacing:-.03em}
.sheet .blk{position:absolute;left:124px}.sheet .b1{top:388px}.sheet .b2{top:518px}.sheet .b3{top:593px}
.sheet .blk p,.sheet .blk li{font-size:21px;line-height:1.3;margin:0}
.sheet ul{list-style:none;columns:2;column-gap:60px;width:540px;margin-top:4px}
.sheet li{display:flex;align-items:center;gap:8px}.sheet li i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}
.sheet .sc{position:absolute;left:912px;width:900px}.sheet .sc p{font-size:22px;line-height:1.3;margin:6px 0 0}
.sheet .c1{top:120px}.sheet .c2{top:400px}

/* lamina paleta + tipografia */
.sheet .sw{position:absolute;width:229px;height:224px}
.sheet .sw .n{position:absolute;right:14px;top:14px;font-size:20px;line-height:normal}
.sheet .sw .c{position:absolute;right:14px;bottom:12px;font-size:13px;text-align:right;line-height:1.35}
.sheet .acc{position:absolute;left:103px;top:740px;display:flex;gap:18px}
.sheet .ac{width:170px;height:70px;padding:10px 14px;display:flex;justify-content:space-between;align-items:flex-end;font-size:18px;line-height:normal}
.sheet .ac small{font-size:13px}
.sheet .l{position:absolute;left:1143px}.sheet .l1{top:325px}.sheet .l2{top:476px}
.sheet .d{position:absolute;left:1433px;top:300px;font-family:'Libre Caslon Text',serif;font-size:60px;line-height:1.1}
.sheet .d i{font-style:italic}
.sheet .b{position:absolute;left:1433px;top:478px;font-size:22px;line-height:1.95}

/* lamina Puffy (Fraunces + DM Sans) */
.sheet.pf{background:#F7F3EB;color:#2B2A28;font-family:'DM Sans',sans-serif}
.sheet .a{position:absolute}
.sheet .pt{font-family:Fraunces,serif;font-weight:300;letter-spacing:-.02em}
.sheet .pt i{font-weight:300}
.sheet .k{font-weight:600;font-size:19px;letter-spacing:.2em;text-transform:uppercase;line-height:normal}
.sheet .tm{font-family:Fraunces,serif;font-weight:300;font-size:30px;font-variant-numeric:tabular-nums;letter-spacing:.02em;line-height:normal}
.sheet.pf p{font-size:25px;line-height:1.5;margin:0}
.sheet .sheettag{font-size:16px;letter-spacing:.18em;opacity:.7}
.conceptnote{max-width:730px;margin:14px auto 0;text-align:center;font:300 13px/1.5 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--mute)}
.concepttag{margin:14px 0 0;text-align:center;font:600 13px/1.5 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--mute)}

/* lamina Fruta Ya! (Familjen Grotesk) */
.sheet.fy{background:#FBF3E4;color:#2A1430;font-family:'Familjen Grotesk',sans-serif}
.sheet.fy .c1{top:150px}.sheet.fy .c2{top:420px}.sheet.fy .sc p{line-height:1.26}
/* Trabajos web: collapsible sidebar group + video cards */
.side nav .webnav{margin-top:6px}
.side nav .webnav summary{display:block;cursor:pointer;list-style:none;font-size:17px;line-height:19px;color:var(--mute);margin-bottom:9.5px}
.side nav .webnav summary::-webkit-details-marker{display:none}
.side nav .webnav summary::after{content:" +";font-weight:400}
.side nav .webnav[open] summary{color:var(--ink);margin-bottom:15px}
.side nav .webnav[open] summary::after{content:" \2212"}
.side nav .webnav summary:hover,.side nav .webnav summary:focus-visible{color:var(--ink)}
.scrolled .side nav .webnav summary{font-size:14px;line-height:16px;margin-bottom:6px}
.card video{width:100%;height:100%;object-fit:cover;display:block}
.webvid{width:100%;height:auto;display:block;background:var(--card)}
.webmeta{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 40px;margin:28px auto 0;max-width:730px;text-align:center}
.webmeta dt{font:italic 500 15px var(--sans);color:var(--mute)}
.webmeta dd{margin:4px 0 0;font-size:17px}
.card:has(video),.webvid{border-radius:6px;overflow:hidden}
.card:has(video):hover .ov,.card:has(video):focus-visible .ov{opacity:.8}
.webgrid{row-gap:calc(var(--gap) * 2)}
.webgrid .card .ov{background:var(--ov);color:#fff}.webgrid .card:hover .ov,.webgrid .card:focus-visible .ov{opacity:1}.webgrid .card .ov i{color:rgba(255,255,255,.75)}
.side nav a small{display:block;font-size:.72em;line-height:1.25;color:var(--mute);margin-top:1px}
.side nav:has(.webnav[open]) a.proj{display:none}
.side nav .webnav summary a{color:inherit;display:inline}
.webpn{display:flex;gap:var(--gap);margin:90px 0 0}
.webpn a{flex:1;display:block}
.webpn video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:6px}
.webpn span{display:block;font:400 15px var(--sans);color:var(--mute);margin:12px 0 4px}
.webpn b{font:700 20px/24px var(--sans);letter-spacing:-.03em}
.webpn .next{text-align:right}
.webpn .prev span::before{content:"\2190  "}.webpn .next span::after{content:"  \2192"}
.webpn{justify-content:space-between}.webpn a{flex:0 0 calc(25% - var(--gap)/2)}
.webpn{justify-content:center;gap:calc(var(--gap) * 2)}
.webpn small{display:block;font-size:14px;line-height:18px;color:var(--mute);margin-top:2px}
.webpn .prev span::before,.webpn .next span::after{content:none}
.webpn a{position:relative}
.webpn a::before{position:absolute;top:0;margin-top:28.125%;transform:translateY(-50%);font:400 34px/1 var(--sans);color:var(--ink);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.webpn .prev::before{content:"\2190";right:calc(100% + 14px)}
.webpn .next::before{content:"\2192";left:calc(100% + 14px)}
.webpn .prev:hover::before{transform:translate(-6px,-50%)}
.webpn .next:hover::before{transform:translate(6px,-50%)}
/* light / dark */
html[data-theme=dark] body{--bg:#0e1317!important;--ink:#e9eef2!important;--mute:#7f8b95!important;--card:#192127!important}
html[data-theme=dark]{color-scheme:dark}
.theme{position:fixed;top:24px;right:28px;z-index:50;width:44px;height:44px;border-radius:50%;border:1px solid var(--mute);background:var(--bg);color:var(--ink);font:400 20px/1 var(--sans);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .3s,background .2s}
.theme:hover{transform:rotate(20deg)}
.theme .sun{display:none}
html[data-theme=dark] .theme .sun{display:inline}html[data-theme=dark] .theme .moon{display:none}
@media(max-width:900px){.theme{top:14px;right:14px;width:38px;height:38px}}
/* section buttons */
.side nav a.top,.side nav .webnav summary{display:inline-block;padding:7px 14px;border-radius:999px;background:#e8d5c0;color:#5a3d2b;font-weight:500;transition:background .2s,transform .2s}
.side nav a.top:hover,.side nav .webnav summary:hover{background:#dcc0a3;color:#4a2f1f}
.side nav a.top.cur,.side nav .webnav[open] summary{background:#c9a483;color:#fff}
.side nav .webnav summary::after{content:none}
.side nav .webnav summary a{color:inherit;margin:0}
html[data-theme=dark] .side nav a.top,html[data-theme=dark] .side nav .webnav summary{background:#4a3a2e;color:#f0dcc6}
html[data-theme=dark] .side nav a.top.cur,html[data-theme=dark] .side nav .webnav[open] summary{background:#8a6a50;color:#fff}
.side nav a.top::after,.side nav .webnav summary::after{content:"";display:inline-block;width:6px;height:6px;margin-left:9px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform .25s}
.side nav a.top.cur::after,.side nav .webnav[open] summary::after{transform:translateY(0) rotate(-135deg)}
.side nav a.top,.side nav .webnav summary{box-shadow:0 2px 0 rgba(90,61,43,.25)}
.side nav a.top:active,.side nav .webnav summary:active{transform:translateY(1px);box-shadow:none}
/* plain text section labels (override pill) */
.side nav a.top,.side nav .webnav summary,html[data-theme=dark] .side nav a.top,html[data-theme=dark] .side nav .webnav summary{display:block;padding:0;border-radius:0;background:none!important;box-shadow:none!important;color:#a0714f;font-weight:500}
.side nav a.top:hover,.side nav .webnav summary:hover{color:#7a5236}
.side nav a.top.cur,.side nav .webnav[open] summary{color:#7a5236}
html[data-theme=dark] .side nav a.top,html[data-theme=dark] .side nav .webnav summary{color:#d9b48f}
html[data-theme=dark] .side nav a.top.cur,html[data-theme=dark] .side nav .webnav[open] summary{color:#f0d2b0}
.side nav a.top:active,.side nav .webnav summary:active{transform:none}
/* final: plain bold dark-brown labels, no arrow */
.side nav a.top::after,.side nav .webnav summary::after{content:none!important}
.side nav a.top,.side nav .webnav summary,.side nav a.top.cur,.side nav .webnav[open] summary,.side nav a.top:hover,.side nav .webnav summary:hover{color:#5a3a24;font-weight:650}
html[data-theme=dark] .side nav a.top,html[data-theme=dark] .side nav .webnav summary,html[data-theme=dark] .side nav a.top.cur,html[data-theme=dark] .side nav .webnav[open] summary{color:#e2c3a2}
/* active section underline */
.side nav a.top,.side nav .webnav summary a{text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:2px;text-underline-offset:5px;transition:text-decoration-color .25s}
.side nav:not(:has(.webnav[open])) a.top,.side nav .webnav[open] summary a{text-decoration-color:currentColor}
.side nav .webnav summary a{display:inline-block;transition:transform .35s cubic-bezier(.2,.7,.2,1),text-decoration-color .25s}.side nav .webnav summary:hover a{transform:translateX(8px)}
/* Diseño Web: tech display font for headings */
.websec{--tech:"Space Grotesk","Inter Tight",sans-serif}
.websec .page-title,.websec .card .ov b,.websec .webpn b,.websec .webmeta dd{font-family:var(--tech);letter-spacing:-.01em}
.websec .page-title{font-weight:700}
.websec .card .ov i,.websec .webmeta dt,.websec .webpn span{font-family:var(--tech);font-style:normal;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
/* Diseño Web: Plus Jakarta Sans (from juliotello.tech main site) */
.websec{--tech:"Plus Jakarta Sans",system-ui,sans-serif}
.websec .page-title,.websec .card .ov b,.websec .webpn b{font-weight:600;letter-spacing:-.02em}
.websec .lead,.websec .webmeta dd{font-family:var(--tech)}
.side nav .social{display:flex;gap:14px;margin-top:16px}
.side nav .social a{display:block;width:18px;height:18px;margin:0;color:var(--mute)}
.side nav .social a:hover{color:var(--ink);transform:translateY(-2px)}
.side nav .social svg{width:100%;height:100%;fill:currentColor;display:block}
.webvid{border-radius:16px}.webpn video{border-radius:12px}
/* Diseño Web cards: grow + rotating metallic border (from juliotello.tech video-card) */
@property --metal-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes metal-rotate{to{--metal-angle:360deg}}
.webgrid .card{z-index:0;transform:translate3d(0,0,0) scale(1);transition:transform .9s cubic-bezier(.16,1,.3,1),box-shadow .9s cubic-bezier(.16,1,.3,1)}
.webgrid .card:hover{z-index:2;transform:translate3d(0,-6px,0) scale(1.06);box-shadow:0 30px 60px -28px rgba(31,81,255,.55)}
.webgrid .card::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;padding:2.5px;pointer-events:none;background:conic-gradient(from var(--metal-angle),rgba(31,81,255,.15) 0deg,#9aa6c4 60deg,#fff 95deg,#6f8cff 125deg,rgba(31,81,255,.15) 190deg,rgba(31,81,255,.15) 300deg,#9aa6c4 345deg,rgba(31,81,255,.15) 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .6s ease;animation:metal-rotate 5s linear infinite;animation-play-state:paused}
.webgrid .card:hover::after{opacity:1;animation-play-state:running}
@media (prefers-reduced-motion:reduce){.webgrid .card,.webgrid .card:hover{transform:none}.webgrid .card::after{animation:none}}
.js .webgrid .card.in{transition:opacity .9s ease,transform .9s cubic-bezier(.16,1,.3,1),box-shadow .9s cubic-bezier(.16,1,.3,1);transition-delay:0s!important}
.js .webgrid .card.in:hover{transform:translate3d(0,-6px,0) scale(1.06)}
/* Diseño Web card caption (glass box, as juliotello.tech dc-caption, centered) */
.webgrid .card .cap{position:absolute;left:14px;right:14px;bottom:14px;z-index:2;padding:12px;border:1px solid rgba(255,255,255,.45);border-radius:8px;background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;text-align:center}
.webgrid .card .cap b{display:block;font:700 20px/.95 var(--tech);letter-spacing:-.03em;text-transform:uppercase;margin-bottom:6px}
.webgrid .card .cap small{display:block;font:600 11.5px/1.3 var(--tech)}
.webgrid{--gap:44px;column-gap:var(--gap);row-gap:56px}
@media(max-width:900px){.webgrid{--gap:12px;row-gap:40px}}
.card:has(video){border-radius:10px}
.wi{width:1em;height:1em;display:inline-block;vertical-align:-.15em;margin-right:.4em;flex:none}
.side nav .webnav a .wi{width:15px;height:15px}
.webgrid .card .cap b .wi{width:18px;height:18px;vertical-align:-3px}
/* Mobile: top bar + full-screen menu sheet */
.mbtn{display:none}
@media(max-width:900px){
 html body .side{position:fixed;inset:0 0 auto 0;z-index:40;height:64px;padding:0 66px 0 18px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;background:color-mix(in srgb,var(--bg) 88%,transparent);border-bottom:1px solid color-mix(in srgb,var(--mute) 25%,transparent);overflow:visible}
 html body .side .logo,.scrolled .side .logo{width:132px;height:38px;font-size:38px;line-height:38px;flex:none}
 .side .logo svg{width:100%;height:100%}
 .main{padding-top:96px!important}
 .theme{top:13px!important;right:14px!important;width:38px;height:38px;z-index:60}
 .mbtn{flex:none;display:inline-flex;align-items:center;gap:9px;margin-left:auto;height:38px;padding:0 15px 0 13px;border:1px solid var(--mute);border-radius:999px;background:var(--bg);color:var(--ink);font:500 14px/1 var(--sans);letter-spacing:-.01em;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .mbars,.mbars::before,.mbars::after{display:block;width:16px;height:1.5px;background:currentColor;border-radius:2px;transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .2s}
 .mbars{position:relative}.mbars::before,.mbars::after{content:"";position:absolute;left:0}
 .mbars::before{top:-5px}.mbars::after{top:5px}
 .menu-open .mbars{background:transparent}
 .menu-open .mbars::before{transform:translateY(5px) rotate(45deg)}
 .menu-open .mbars::after{transform:translateY(-5px) rotate(-45deg)}
 .menu-open .mbtn{background:var(--ink);color:var(--bg);border-color:var(--ink)}
 html body .side nav{position:fixed;inset:64px 0 0 0;margin:0;padding:26px 24px 110px;background:var(--bg);overflow-y:auto;overscroll-behavior:contain;opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .3s ease,transform .4s cubic-bezier(.2,.7,.2,1),visibility 0s .4s}
 html body.menu-open .side nav{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease,transform .4s cubic-bezier(.2,.7,.2,1)}
 body.menu-open{overflow:hidden}
 html body .side nav a,html body .side nav .webnav summary{transform:none!important;opacity:1!important}
 html body .side nav a.top,html body .side nav .webnav summary,html body .side nav a.sec{font-size:30px;line-height:34px;font-weight:650;letter-spacing:-.035em;margin:0;padding:14px 0;border-bottom:1px solid color-mix(in srgb,var(--mute) 30%,transparent)}
 html body .side nav .webnav{margin:0}
 html body .side nav .webnav summary a{font:inherit;letter-spacing:inherit}
 html body .side nav a.sec{color:var(--ink)}
 html body .side nav a.proj,html body .side nav .webnav>a{font-size:18px;line-height:22px;margin:0;padding:11px 0 11px 2px;color:var(--ink)}
 html body .side nav a.proj:first-of-type,html body .side nav .webnav summary+a{padding-top:16px}
 html body .side nav a.cur:not(.top){font-weight:650}
 html body .side nav a.cur:not(.top)::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin:0 9px 2px 0;vertical-align:middle}
 html body .side nav a small{font-size:13px;line-height:17px;margin-top:2px}
 html body .side nav .lang{margin-top:34px;gap:10px}
 html body .side nav .lang a{font-size:15px;line-height:20px;padding:8px 14px;border:1px solid color-mix(in srgb,var(--mute) 45%,transparent);border-radius:999px}
 html body .side nav .lang a.cur{background:var(--ink);color:var(--bg);border-color:var(--ink)}
 html body .side nav .lang span{display:none}
 html body .side nav .social{gap:22px;margin-top:26px}
 html body .side nav .social a{width:24px;height:24px}
 .side .copy{display:none}
 .menu-open .side .copy{display:block;position:fixed;left:24px;bottom:24px;z-index:41;font-size:13px;color:var(--mute)}
 .up{z-index:30}
 .menu-open .up{display:none}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){html body .side nav{transform:none}}
/* Project pages: sidebar morphs into a top bar (cross-document view transition) */
.side{view-transition-name:side}.logo{view-transition-name:logo}.main{view-transition-name:main}
::view-transition-group(side),::view-transition-group(logo){animation-duration:.6s;animation-timing-function:cubic-bezier(.7,0,.2,1)}
::view-transition-old(side),::view-transition-new(side){height:100%;object-fit:none;object-position:left top}
@media(min-width:901px){
 .projpage .wrap{display:block}
 .projpage .side{position:sticky;top:0;z-index:40;width:auto;height:auto;overflow:visible;display:flex;align-items:center;gap:40px;padding-left:60px;padding-right:100px;background:var(--bg)}
 html body.projpage .side{flex-direction:row;padding-top:50px;padding-bottom:20px}
 .projpage.scrolled .side{padding-top:24px;padding-bottom:16px}
 .projpage .side .logo{flex:none}
 .projpage .side nav,.projpage.scrolled .side nav{margin:0 0 0 auto;padding:0;display:flex;align-items:center;gap:22px}
 .projpage .side nav a.proj,.projpage .side nav .webnav>a,.projpage .side nav .social,.projpage .side .copy{display:none}
 .projpage .side nav a,.projpage .side nav .sec,.projpage .side nav .webnav,.projpage .side nav .webnav summary,.projpage .side nav .lang{margin:0;padding-bottom:0;font-size:15px;line-height:18px}
 .projpage .side nav a.top,.projpage .side nav .webnav summary{padding:7px 14px}
 .projpage .side nav a:hover,.projpage .side nav a.cur{transform:none}
 .projpage .main{padding:60px 60px 120px}
}
/* Web project header (Clay-style): big left-aligned name, description, then video */
.wphead{max-width:1000px;margin:70px 0 80px}
.wphead h1{font:700 clamp(48px,7vw,104px)/1 var(--tech,var(--sans));letter-spacing:-.04em;margin:0 0 40px}
.wphead p{font:400 clamp(20px,2vw,34px)/1.4 var(--tech,var(--sans));max-width:880px;margin:0}
@media(max-width:900px){.wphead{margin:40px 0 40px}.wphead h1{margin-bottom:20px}}
/* Web project: full-bleed scene with the video placed inside the screen */
.wpframe{position:relative;width:100vw;margin-left:calc(50% - 50vw);aspect-ratio:1920/1080;overflow:hidden}
.wpframe>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.wpframe>video.webvid{position:absolute;left:12.93%;top:13.11%;width:74.15%;height:73.71%;object-fit:cover;border-radius:1.2vw;margin:0;max-width:none}
.projpage{overflow-x:clip}
/* Web project: detail text + technologies, then mockup image */
.wpinfo{display:grid;grid-template-columns:minmax(0,680px) auto;justify-content:space-between;gap:60px;margin:110px 0 120px}
.wptext p{font:400 clamp(18px,1.6vw,24px)/1.55 var(--tech,var(--sans));margin:0 0 1.2em}
.wptech ul{list-style:none;margin:0;padding:0}
.wptech li{font:600 clamp(17px,1.4vw,22px)/1.3 var(--tech,var(--sans));margin-bottom:14px}
.wpurl{display:inline-block;margin-top:26px;font:400 20px/1.4 var(--tech,var(--sans));border-bottom:1px solid var(--mute);padding-bottom:4px}
.wpurl:hover{border-color:var(--ink)}
.wpmock{margin:0 auto 100px;max-width:1500px}
.wpmock img{display:block;width:100%;height:auto;border-radius:12px}
@media(max-width:900px){.wpinfo{grid-template-columns:1fr;gap:30px;margin:60px 0}}
.wpmock{width:100vw;max-width:none;margin:0 0 100px calc(50% - 50vw)}
.wpmock img{border-radius:0}
/* Fix: fixed top bar so its height change on scroll never shifts the page (caused flicker loop) */
@media(min-width:901px){
 html body.projpage .side{position:fixed;top:0;left:0;right:0;transition:padding .3s ease}
 .projpage .main{padding-top:190px}
}
/* Web project: complementary videos */
.wpextra{display:grid;gap:24px;max-width:1500px;margin:0 auto 110px}
.wpextra video{display:block;width:100%;height:auto;border-radius:12px;background:var(--card)}
.wptall{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
@media(max-width:900px){.wptall{grid-template-columns:1fr}}
.wptall{display:flex;justify-content:center;gap:24px}
.wptall video{width:auto;height:min(720px,70vw);max-width:100%}
@media(max-width:900px){.wptall{flex-direction:column;align-items:center}.wptall video{height:auto;width:100%}}
/* Mockup screens: videos fitted into the desktop and phone screens of mockup.jpg (2560x1268) */
.wpmock{position:relative}
.wpmock video{position:absolute;object-fit:cover;object-position:top;display:block;margin:0}
.wpmock .mv-desk{left:15.08%;top:15.77%;width:57.73%;height:64.67%;border-radius:.8vw;z-index:1}
.wpmock .mv-phone{left:67.03%;top:39.43%;width:15.78%;height:59.1%;border-radius:1.6vw 1.6vw 0 0;z-index:2}
/* New mockup (4504x2232): screen positions */
.wpmock .mv-desk{left:15.72%;top:11.12%;width:58.15%;height:65.08%;border-radius:1vw}
.wpmock .mv-phone{left:68.01%;top:35.2%;width:16.03%;height:59.16%;border-radius:2.6vw 2.6vw .4vw .4vw}
/* Custom background without a built-in screen: video floats centered as a rounded screen */
.wpbg{aspect-ratio:auto;padding:7vw 0}
.wpbg>img{z-index:0}
.wpbg>video.webvid{position:relative;left:auto;top:auto;display:block;width:64.8%;height:auto;aspect-ratio:16/9;margin:0 auto;border-radius:1.2vw;box-shadow:0 30px 80px rgba(0,0,0,.55);z-index:1}
/* Top bar: one consistent style for the four menu links */
@media(min-width:901px){
 html body.projpage .side nav a.top,html body.projpage .side nav .webnav summary,html body.projpage .side nav .webnav summary a,html body.projpage .side nav a.sec{font:500 15px/18px var(--sans);letter-spacing:0;color:var(--mute)!important;padding:0;background:none!important;box-shadow:none;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:2px;text-underline-offset:6px}
 html body.projpage .side nav a.top:hover,html body.projpage .side nav .webnav summary a:hover,html body.projpage .side nav a.sec:hover{color:var(--ink)!important}
 html body.projpage .side nav .webnav summary a.cur,html body.projpage .side nav .webnav[open] summary a{color:var(--ink)!important;text-decoration-color:currentColor}
 html body.projpage .side nav a.top{text-decoration-color:transparent}
 html body.projpage .side nav .webnav summary:hover a{transform:none}
 html body.projpage .side nav{gap:32px}
}
/* Menu takes the project brand color */
@media(min-width:901px){
 html body.projpage .side nav a.top,html body.projpage .side nav .webnav summary a,html body.projpage .side nav a.sec,html body.projpage .side nav .lang a{color:color-mix(in srgb,var(--brand,var(--ink)) 60%,transparent)!important}
 html body.projpage .side nav a:hover,html body.projpage .side nav .webnav summary a:hover,html body.projpage .side nav .webnav[open] summary a,html body.projpage .side nav .lang a.cur{color:var(--brand,var(--ink))!important}
}
/* Dark metallic 3pt frame around the floating video */
.wpbg>video.webvid{border:3pt solid transparent;background:linear-gradient(135deg,#5a5f66 0%,#1c1f23 22%,#8a9097 45%,#2a2d31 62%,#6b7178 82%,#16181b 100%) border-box;box-sizing:border-box}
/* Same dark metallic frame on the mockup videos; phone fully rounded */
.wpmock .mv-desk,.wpmock .mv-phone{border:3pt solid transparent;background:linear-gradient(135deg,#5a5f66 0%,#1c1f23 22%,#8a9097 45%,#2a2d31 62%,#6b7178 82%,#16181b 100%) border-box;box-sizing:border-box}
.wpmock .mv-phone{border-radius:2.6vw}
.wpmock .mv-phone{left:68.48%;top:36.2%;width:15.1%;height:55.8%}
/* Complementary videos: 2x2 grid */
.wpextra{grid-template-columns:1fr 1fr}
.wptall{display:contents}
.wpextra video,.wptall video{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;max-width:none}
@media(max-width:900px){.wpextra{grid-template-columns:1fr}}
.wpmock .mv-phone{left:67.6%;top:35%;width:16.85%;height:61%;border-radius:2.6vw 2.6vw 1.2vw 1.2vw}
/* Square video shown whole inside a 16:9 cell; background image goes behind (extra.bg) */
.wpsq{aspect-ratio:16/9;border-radius:12px;background:var(--card) center/cover no-repeat;display:flex;align-items:center;justify-content:center;overflow:hidden}
.wpextra .wpsq video{width:auto!important;height:82%!important;aspect-ratio:1/1!important;object-fit:cover;border:3pt solid transparent;background:linear-gradient(135deg,#5a5f66 0%,#1c1f23 22%,#8a9097 45%,#2a2d31 62%,#6b7178 82%,#16181b 100%) border-box;box-sizing:border-box;border-radius:14px}
/* Main video controls: neon progress bar + sound toggle */
.vctl{position:relative;z-index:1;width:64.8%;margin:18px auto 0;display:flex;align-items:center;gap:16px}
.vbar{flex:1;height:6px;border-radius:99px;background:rgba(255,255,255,.12);cursor:pointer;overflow:hidden}
.vbar i{display:block;height:100%;width:0;border-radius:inherit;background:var(--brand,#C6F432);box-shadow:0 0 8px var(--brand,#C6F432),0 0 18px var(--brand,#C6F432)}
.vbar:focus-visible{outline:2px solid var(--brand,#C6F432);outline-offset:4px}
.vmute{flex:none;width:42px;height:42px;border-radius:50%;border:1.5px solid var(--brand,#C6F432);background:rgba(0,0,0,.55);color:var(--brand,#C6F432);cursor:pointer;display:grid;place-items:center;box-shadow:0 0 12px color-mix(in srgb,var(--brand,#C6F432) 45%,transparent)}
.vmute svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vmute svg path:first-child{fill:currentColor}
.vmute .on{display:none}.vmute[aria-pressed=true] .on{display:inline}.vmute[aria-pressed=true] .off{display:none}
/* Light mode: darker variant of the brand color so the menu stays legible on white */
@media(min-width:901px){
 html[data-theme=light] body.projpage .side nav a.top,html[data-theme=light] body.projpage .side nav .webnav summary a,html[data-theme=light] body.projpage .side nav a.sec,html[data-theme=light] body.projpage .side nav .lang a{color:color-mix(in srgb,var(--brand,var(--ink)) 30%,#666)!important}
 html[data-theme=light] body.projpage .side nav a:hover,html[data-theme=light] body.projpage .side nav .webnav summary a:hover,html[data-theme=light] body.projpage .side nav .webnav[open] summary a,html[data-theme=light] body.projpage .side nav .lang a.cur{color:color-mix(in srgb,var(--brand,var(--ink)) 48%,#000)!important}
}
html[data-theme=light] .vmute{color:color-mix(in srgb,var(--brand) 50%,#000);border-color:currentColor;background:rgba(255,255,255,.7)}
.vplay{flex:none;width:42px;height:42px;border-radius:50%;border:1.5px solid var(--brand,#C6F432);background:rgba(0,0,0,.55);color:var(--brand,#C6F432);cursor:pointer;display:grid;place-items:center;box-shadow:0 0 12px color-mix(in srgb,var(--brand,#C6F432) 45%,transparent)}
.vplay svg{width:18px;height:18px;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;fill:none}
.vplay .pl{fill:currentColor;stroke-width:1.5;stroke-linejoin:round;display:none}
.vplay[aria-pressed=false] .pl{display:inline}.vplay[aria-pressed=false] .pa{display:none}
html[data-theme=light] .vplay{color:color-mix(in srgb,var(--brand) 50%,#000);border-color:currentColor;background:rgba(255,255,255,.7)}
/* Top bar: align every item on one baseline; active item a bit bolder */
@media(min-width:901px){
 html body.projpage .side nav{align-items:baseline}
 html body.projpage .side nav>*,html body.projpage .side nav .webnav,html body.projpage .side nav .webnav summary{margin:0!important;padding:0!important;line-height:18px;display:inline-flex;align-items:baseline;transform:none!important;border:0}
 html body.projpage .side nav .webnav summary a{display:inline;line-height:18px}
 html body.projpage .side nav a.cur,html body.projpage .side nav .webnav[open] summary a,html body.projpage .side nav .lang a.cur{font-weight:700}
}
/* Top bar hides while the project media is on screen */
@media(min-width:901px){
 html body.projpage .side{transition:transform .45s cubic-bezier(.2,.7,.2,1),opacity .35s,padding .3s ease}
 html body.projpage.navhide .side{transform:translateY(-110%);opacity:0;pointer-events:none}
}
/* Complementary project text after the mockup */
.wpnote{max-width:880px;margin:110px 0 120px}
.wpnote p{font:400 clamp(20px,1.9vw,30px)/1.45 var(--tech,var(--sans));margin:0 0 1.1em}
@media(max-width:900px){.wpnote{margin:60px 0}}
.wplabel{display:block;font:500 12px/1 var(--tech,var(--sans));text-transform:uppercase;letter-spacing:.14em;color:var(--mute);margin-bottom:22px}
.wptech li{display:flex;align-items:center;gap:12px}
.wptech li svg{width:22px;height:22px;flex:none;color:var(--brand,var(--ink))}
html[data-theme=light] .wptech li svg{color:color-mix(in srgb,var(--brand,var(--ink)) 50%,#000)}
/* Pull the text + technologies block slightly toward the center */
@media(min-width:901px){.wpinfo{padding:0 6vw}}
/* Project-end call to action */
.wpcta{text-align:center;margin:120px auto 110px;max-width:900px;padding:70px 30px;border-top:1px solid color-mix(in srgb,var(--mute) 35%,transparent);border-bottom:1px solid color-mix(in srgb,var(--mute) 35%,transparent)}
.wpcta .wplabel{margin-bottom:18px}
.wpcta h2{font:600 clamp(28px,3.4vw,52px)/1.1 var(--tech,var(--sans));letter-spacing:-.03em;margin:0 0 36px}
.wpcta div{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.wpbtn,.wpbtn2{display:inline-block;padding:15px 28px;border-radius:999px;font:600 16px/1 var(--tech,var(--sans));transition:transform .2s,box-shadow .2s}
.wpbtn{background:var(--brand,var(--ink));color:#0c0f12;box-shadow:0 0 18px color-mix(in srgb,var(--brand,var(--ink)) 40%,transparent)}
.wpbtn:hover,.wpbtn2:hover{transform:translateY(-2px)}
.wpbtn2{border:1.5px solid var(--brand,var(--ink));color:var(--brand,var(--ink))}
html[data-theme=light] .wpbtn{background:color-mix(in srgb,var(--brand,var(--ink)) 55%,#000);color:#fff}
html[data-theme=light] .wpbtn2{color:color-mix(in srgb,var(--brand,var(--ink)) 50%,#000);border-color:currentColor}
/* First section without a custom background image: dark brand-tinted backdrop */
.wpbg{background:radial-gradient(120% 90% at 50% 40%,color-mix(in srgb,var(--brand,#333) 22%,#0b0d10) 0%,#07090b 75%)}

/* Web project pages: full-bleed white footer ported from the main site (kept white in both themes) */
.projpage .main{padding-bottom:0}
.projpage .foot{--f-ink:#000;--f-line:rgba(0,0,0,.14);--f-mute:rgba(0,0,0,.42);
  position:relative;width:100vw;margin:110px 0 0 calc(50% - 50vw);background:#fff;color:var(--f-ink);
  border-radius:60px 60px 0 0;padding:clamp(4rem,11vh,9rem) 0 5rem;font-family:var(--sans);text-align:left}
.projpage .foot-in{max-width:1500px;margin:0 auto;padding:0 clamp(24px,5vw,60px)}
.projpage .foot a{color:inherit}
.projpage .foot .eyebrow{display:block;font:600 .875rem/1.3 var(--sans);letter-spacing:.15em;text-transform:uppercase;color:var(--f-mute)}
.projpage .foot-top{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;flex-wrap:wrap;padding-bottom:2rem;border-bottom:1px solid var(--f-line);margin-bottom:clamp(2rem,6vh,4rem)}
.projpage .foot-id b{display:block;font:500 1rem/1.4 var(--sans);letter-spacing:0;margin-top:.45rem}
.projpage .foot .avatar{width:96px;height:96px;flex:0 0 96px;border-radius:50%;overflow:hidden;background:#dedcd8}
.projpage .foot .avatar img{width:100%;height:100%;object-fit:cover}
.projpage .foot .big{font:300 clamp(3rem,8.92vw,8.92rem)/1 var(--sans);letter-spacing:-.03em;display:flex;align-items:flex-end;flex-wrap:wrap;gap:clamp(1.2rem,3vw,2.4rem)}
.projpage .foot .big span{display:block}
.projpage .foot .big .redes{display:flex;align-items:center;gap:.35rem;padding-bottom:clamp(.5rem,1.2vw,1.2rem)}
.projpage .foot .big .redes a{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid var(--f-line);color:var(--f-ink);transition:background-color .3s,color .3s,border-color .3s,transform .3s}
.projpage .foot .big .redes a:hover{background:#000;color:#fff;border-color:#000;transform:translateY(-2px)}
.projpage .foot .big .redes svg{width:17px;height:17px;fill:currentColor;display:block}
.projpage .foot .contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1.6rem;margin-top:clamp(2.5rem,7vh,4.5rem)}
.projpage .foot .contact-grid .eyebrow{margin-bottom:.5rem}
.projpage .foot .contact-grid a,.projpage .foot .contact-grid span.v{display:inline-flex;align-items:center;min-height:44px;font:500 1rem/1.3 var(--sans);letter-spacing:0;border-bottom:1px solid transparent;transition:border-color .3s}
.projpage .foot .contact-grid a:hover{border-color:#000}
.projpage .foot-bar{display:flex;justify-content:space-between;gap:1.4rem;flex-wrap:wrap;margin-top:clamp(2.5rem,7vh,5rem);padding-top:1.5rem;border-top:1px solid var(--f-line);font:400 .875rem/1.4 var(--sans);letter-spacing:0;color:rgba(0,0,0,.5)}
.projpage .foot-bar a:hover{color:#000}
@media(max-width:620px){.projpage .foot{border-radius:32px 32px 0 0}.projpage .foot .big .redes a{width:42px;height:42px}.projpage .foot .big .redes svg{width:16px;height:16px}}
/* Empty main screen (main video not delivered yet) */
.wpbg>.webvid.wpempty{position:relative;display:block;width:64.8%;aspect-ratio:16/9;margin:0 auto;border-radius:1.2vw;border:3pt solid transparent;background:linear-gradient(#0b0d10,#0b0d10) padding-box,linear-gradient(135deg,#5a5f66 0%,#1c1f23 22%,#8a9097 45%,#2a2d31 62%,#6b7178 82%,#16181b 100%) border-box;box-sizing:border-box;box-shadow:0 30px 80px rgba(0,0,0,.55);z-index:1}
/* Sound toggle sits on top of the main video (top-right corner) */
.wpbg .vctl{position:relative}
.wpbg .vmute{position:absolute;z-index:3;top:-36.45vw;right:18px;backdrop-filter:blur(6px)}
@media(max-width:900px){.wpbg .vmute{top:-36.45vw;right:10px;width:36px;height:36px}}
/* About: emphasised English title + subtle "Vibe coding" */
.ai-tag{font-weight:700;padding:.05em .4em;border-radius:.3em;background:linear-gradient(90deg,#c9a483,#e8c27a);color:#1a120c;white-space:nowrap}
.vibe{opacity:.55;font-style:italic}
/* Performance: no live blur over playing videos, no full-page snapshot on navigation, no "transition: all" on the menu */
.webgrid .card .cap,.wpbg .vmute,.vmute,.vplay{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.webgrid .card .cap{background:rgba(0,0,0,.6)}
.main{view-transition-name:none}
.logo,.side nav,.side nav a,.side nav .sec{transition:color .25s,opacity .25s,transform .3s}
video{will-change:auto}
/* Art-direction loop video in a project stack */
.stack .loopv{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#000}
/* Frutaya palette sheet */
.sheet.fpal{background:#FBF3E3;color:#2A1A33}
.sheet.fpal .label.fl{position:absolute;left:1143px;font-size:18px;letter-spacing:.18em}
.sheet.fpal .fd1{position:absolute;left:1433px;top:225px;font-family:'Pacifico',cursive;font-size:88px;line-height:1.3;color:#4B1F5C;white-space:nowrap}
.sheet.fpal .fd2{position:absolute;left:1433px;top:383px;font-family:'Anton',sans-serif;font-size:84px;line-height:.98;text-transform:uppercase;color:#2A1430}
.sheet.fpal .fd3{position:absolute;left:1433px;top:600px;font-family:'Familjen Grotesk',sans-serif;font-size:21px}
.sheet.fpal .fd3 p{margin:0 0 17px;line-height:25px}
.sheet.fhero{background:#4A1D5D;color:#FBF3E3}
.sheet.fhero .fh-img{position:absolute;left:0;top:0;width:2000px;height:1250px}
.sheet.fhero .fh-panel{position:absolute;left:1000px;top:0;width:1000px;height:1250px;background:#4A1D5D}
.sheet.fhero .fh-wave{position:absolute;left:100px;top:330px;width:800px;height:440px;overflow:visible}
.sheet.fhero .fh-wave text{font-family:'Pacifico',cursive;font-size:190px;fill:#FBF3E3;fill-opacity:1;stroke:#FBF3E3;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:4000;stroke-dashoffset:0;animation:fhdraw 7s ease-in-out var(--d,0s) infinite}
.sheet.fhero .fh-tag{position:absolute;left:0;width:1000px;top:745px;text-align:center;font-family:'Anton',sans-serif;font-size:66px;line-height:1;letter-spacing:.02em;text-transform:uppercase}
.sheet.fhero .fh-sub{position:absolute;left:0;width:1000px;top:870px;text-align:center;font-family:'Familjen Grotesk',sans-serif;font-size:17px;letter-spacing:.22em;text-transform:uppercase;opacity:.75}
@keyframes fhdraw{0%{stroke-dashoffset:4000;fill-opacity:0}50%{stroke-dashoffset:0;fill-opacity:0}66%,88%{stroke-dashoffset:0;fill-opacity:1}100%{stroke-dashoffset:0;fill-opacity:0}}
/* Puffy reels: videos fitted in the phone screens, one plays at a time */
.reels{position:relative}
.reels>img{display:block;width:100%;height:auto}
.reel{position:absolute;border-radius:11.3%/6.2%;overflow:hidden;transition:opacity .45s,filter .45s}
.reel video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#000}
.reels.playing .reel:not(.on){opacity:.35;filter:grayscale(.4)}
.rplay{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#121c3d;cursor:pointer;display:grid;place-items:center;box-shadow:0 8px 30px rgba(0,0,0,.35);transition:transform .25s,opacity .25s}
.rplay:hover{transform:scale(1.08)}
.rplay svg{width:26px;height:26px;fill:currentColor;margin-left:4px}
.reel.on .rplay{opacity:0;pointer-events:none}
.rmute{position:absolute;top:12px;right:12px;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(0,0,0,.45);color:#fff;cursor:pointer;display:none;place-items:center}
.reel.on .rmute{display:grid}
.rmute svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rmute svg path:first-child{fill:currentColor}
.rmute .off{display:none}.rmute[aria-pressed=true] .on{display:none}.rmute[aria-pressed=true] .off{display:inline}
@media(max-width:900px){.rplay{width:44px;height:44px;margin:-22px 0 0 -22px}.rplay svg{width:18px;height:18px}.rmute{top:6px;right:6px;width:30px;height:30px}.rmute svg{width:14px;height:14px}}
/* Reel zoom: bottom-right button opens the reel large, vertical, fitted to the screen height */
.rzoom{position:absolute;right:10px;bottom:10px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(0,0,0,.45);color:#fff;cursor:pointer;display:grid;place-items:center;z-index:2;transition:transform .2s}
.rzoom:hover{transform:scale(1.1)}
.rzoom svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rbox{position:fixed;inset:0;z-index:200;background:rgba(6,10,24,.92);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}
.rbox.open{opacity:1}
.rbox video{height:min(92vh,calc(92vw*16/9));aspect-ratio:9/16;width:auto;max-width:92vw;border-radius:24px;background:#000;box-shadow:0 30px 90px rgba(0,0,0,.6);transform:scale(.92);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.rbox.open video{transform:none}
.rbox .rclose{position:absolute;top:18px;right:18px;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(0,0,0,.4);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.rbox .rmute{display:grid;top:auto;bottom:24px;right:auto;left:50%;margin-left:-19px}
@media(max-width:900px){.rzoom{right:5px;bottom:5px;width:28px;height:28px}.rzoom svg{width:12px;height:12px}}
/* Zoom button only shows on the reel that is playing */
.rzoom{opacity:0;pointer-events:none;transition:opacity .3s,transform .2s}
.reel.on .rzoom{opacity:1;pointer-events:auto}
/* Phone mockup: real status bar on top, video starts below it (the curve no longer crops the site header) */
.wpmock .mv-phone{position:absolute;overflow:hidden;border-radius:1.7vw 1.7vw 1.1vw 1.1vw;background:#000;padding:0}
.wpmock .mv-phone .sbar{position:absolute;left:0;right:0;top:0;height:6.5%;display:flex;align-items:center;justify-content:space-between;padding:0 9% 0 10%;background:#000;color:#fff;z-index:2;font:600 .62vw/1 -apple-system,'Inter',system-ui,sans-serif;letter-spacing:.01em}
.wpmock .mv-phone .sbar span{display:flex;align-items:center;gap:.28vw}
.wpmock .mv-phone .sbar svg{height:.55vw;width:auto;fill:currentColor}
.wpmock .mv-phone .sbar svg:last-child{height:.6vw}
.wpmock .mv-phone video{position:absolute;left:0;right:0;bottom:0;top:6.5%;width:100%;height:93.5%;object-fit:cover;object-position:top;border:0;border-radius:0;background:#000}
.wpmock .mv-phone{background:linear-gradient(#000,#000) padding-box,linear-gradient(135deg,#5a5f66 0%,#1c1f23 22%,#8a9097 45%,#2a2d31 62%,#6b7178 82%,#16181b 100%) border-box;border:3pt solid transparent;box-sizing:border-box}

/* concept-project badge + "Ver web" button */
.wpconcept{display:inline-block;padding:3px 9px;border:1px solid currentColor;border-radius:999px;font:600 10.5px/1.2 var(--tech,var(--sans));letter-spacing:.06em;text-transform:uppercase;opacity:.8}
.wpconceptrow{text-align:center;margin:14px 0 0}
.webgrid .card .cap .wpconcept{display:inline-block;margin-top:7px;font-style:normal;font-size:9.5px;padding:2px 7px}
.wphead .wpview{margin-top:28px;font-size:16px}
