:root{--pink:#f4a3c2;--pink2:#ffc3d9;--lime:#bedf78;--cream:#fff9f1;--ink:#181313;--sans:"Manrope",Arial,sans-serif}*{box-sizing:border-box}html,body{width:100%;height:100%;max-width:100%;overflow:hidden;overscroll-behavior:none}body{margin:0;background:var(--pink);color:var(--ink);font-family:var(--sans)}a{color:inherit;text-decoration:none}button{color:inherit;font:inherit}.hero{position:relative;width:100vw;height:100svh;min-height:100svh;overflow:hidden;isolation:isolate;background:linear-gradient(116deg,#ffc6dc 0%,#f7a9c7 46%,#ef91b5 100%)}#scene{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.paper-grain{position:absolute;inset:0;z-index:20;opacity:.16;pointer-events:none;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E")}
header{position:absolute;z-index:30;top:0;left:clamp(22px,3.5vw,68px);right:clamp(22px,3.5vw,68px);height:118px;display:grid;grid-template-columns:auto 1fr 60px;align-items:center;column-gap:clamp(16px,1.7vw,32px);border-bottom:1px solid rgba(24,19,19,.2)}header nav{display:flex;justify-self:end;gap:clamp(24px,2.8vw,54px);font-size:.78rem;font-weight:600}.round{width:48px;height:48px;border-radius:50%;border:1px solid rgba(24,19,19,.35);background:rgba(255,255,255,.18);display:grid;place-content:center}.menu{gap:6px}.menu i{display:block;width:17px;height:1px;background:var(--ink)}.lang{font-size:.7rem;font-weight:700;display:grid;place-content:center}.logo{justify-self:start;width:clamp(220px,16vw,310px);height:112px;display:block}.logo img{width:100%;height:100%;object-fit:contain;display:block}
.copy{position:absolute;z-index:10;left:clamp(28px,5vw,96px);top:24%;width:min(49vw,780px)}.eyebrow{margin:0 0 25px;font-size:.7rem;font-weight:700;letter-spacing:.16em}.copy h1{margin:0;font-size:clamp(72px,9.1vw,174px);line-height:.72;letter-spacing:-.075em;font-weight:800}.copy h1 span{display:block}.copy h1 span:nth-child(2){color:transparent;-webkit-text-stroke:1.5px var(--ink);margin-left:7vw}.copy h1 span:nth-child(3){margin-left:1.2vw}.lede{width:min(370px,82%);margin:34px 0 27px;font-size:1rem;line-height:1.6}.cta{display:inline-flex;align-items:center;gap:30px;border-radius:99px;background:var(--ink);color:white;padding:16px 19px 16px 24px;font-size:.82rem}.cta span{display:grid;place-content:center;width:31px;height:31px;border-radius:50%;background:var(--lime);color:var(--ink)}
.character{position:absolute;z-index:8;right:-1.5vw;bottom:-1.2vh;width:min(54vw,860px);height:83vh;perspective:1000px;pointer-events:none}.person-wrap{position:absolute;inset:0;transform-origin:54% 68%;transform-style:preserve-3d;will-change:transform;filter:drop-shadow(0 26px 22px rgba(85,28,54,.18))}.person{position:absolute;right:2%;bottom:-1%;height:100%;width:100%;object-fit:contain;object-position:right bottom;display:block}.paint-halo{position:absolute;width:66%;height:68%;right:8%;top:11%;border-radius:52% 48% 45% 55%;background:var(--lime);transform:rotate(-9deg);box-shadow:inset 0 0 0 2px rgba(24,19,19,.08)}.paint-swipe{position:absolute;border-radius:60% 40% 58% 42%;filter:blur(.3px)}.swipe-a{width:48%;height:16%;right:4%;top:18%;background:#66c7cf;transform:rotate(-16deg)}.swipe-b{width:40%;height:13%;right:22%;bottom:11%;background:#ffd159;transform:rotate(11deg)}.face-glint{position:absolute;border-radius:50%;background:white;box-shadow:0 0 12px 5px rgba(255,255,255,.9);opacity:.85}.glint-a{width:7px;height:7px;right:39%;top:25%}.glint-b{width:4px;height:4px;right:33%;top:37%}.badge{position:absolute;z-index:7;right:7%;top:46%;width:130px;height:130px;border-radius:50%;background:var(--cream);display:grid;place-content:center;padding:17px;box-shadow:0 12px 40px rgba(80,22,51,.16);transform:rotate(7deg)}.badge small{font-size:.48rem;letter-spacing:.11em}.badge strong{font-size:.88rem;line-height:1.04;margin-top:4px}.badge span{position:absolute;right:18px;bottom:17px}
.corner-note{position:absolute;z-index:12;left:clamp(28px,5vw,96px);bottom:26px;display:flex;align-items:center;gap:12px;font-size:.62rem;text-transform:uppercase;letter-spacing:.13em}.corner-note i{width:34px;height:1px;background:var(--ink)}.scroll-cue{position:absolute;z-index:12;left:50%;bottom:22px;transform:translateX(-50%);display:grid;justify-items:center;gap:4px;font-size:.6rem;text-transform:uppercase;letter-spacing:.14em}.scroll-cue b{font-size:1rem}.mobile-dock{display:none}
@media(max-width:1060px){header{grid-template-columns:50px 1fr 50px}header nav{display:none}.logo{justify-self:center;width:280px;grid-column:2}.lang{grid-column:3}.copy{top:21%;width:52vw}.copy h1{font-size:10vw}.character{width:59vw}.badge{right:4%}}
@media(max-width:720px){.hero{min-height:100svh;background:linear-gradient(155deg,#ffc9dc,#f09ab9)}header{height:94px;left:17px;right:17px;grid-template-columns:46px 1fr 46px}.logo{width:220px;height:88px}.round{width:42px;height:42px}.copy{left:20px;top:116px;width:calc(100% - 40px)}.eyebrow{font-size:.55rem;margin-bottom:12px}.copy h1{font-size:15.5vw;line-height:.75}.copy h1 span:nth-child(2){margin-left:12vw;-webkit-text-stroke-width:1px}.lede{display:none}.cta{position:absolute;top:calc(100svh - 170px);left:0;padding:13px 15px 13px 20px}.character{right:-24vw;bottom:40px;width:124vw;height:64vh}.paint-halo{right:19%;top:9%;width:58%;height:66%}.swipe-a{right:17%;top:18%}.swipe-b{right:25%;bottom:14%}.person{right:10%;height:96%}.badge{right:18%;top:47%;width:92px;height:92px}.badge small{display:none}.badge strong{font-size:.65rem}.corner-note,.scroll-cue{display:none}.mobile-dock{position:absolute;z-index:30;display:flex;left:17px;right:17px;bottom:15px;justify-content:space-between;padding:13px 18px;border-radius:99px;background:rgba(255,249,241,.9);backdrop-filter:blur(14px);font-size:.72rem;font-weight:700}}
@media(max-height:760px) and (min-width:721px){header{height:94px}.logo{height:90px}.copy{top:21%}.copy h1{font-size:8vw}.lede{margin:22px 0}.character{height:85vh}}
@media(prefers-reduced-motion:reduce){.person-wrap{transform:none!important}}

/* Interactive colour-by-colour portrait */
.copy{--title-growth:calc((clamp(76px,8.2vw,158px) - clamp(70px,7.6vw,145px))*2.31);top:clamp(158px,20svh,240px);width:min(43vw,690px)}
/* Lift the text without moving the approved application button position. */
@media(min-width:721px){.copy .cta{position:relative;top:calc(31svh - clamp(158px,20svh,240px) - var(--title-growth));padding:18px 22px 18px 28px;font-size:1rem;gap:32px}.copy .cta span{width:38px;height:38px}}
@media(min-width:721px){.copy .lede{width:min(490px,100%);font-size:clamp(1.375rem,1.35vw,1.625rem);font-weight:500;line-height:2rem;margin-bottom:calc(27px - .8rem)}}
@media(max-height:760px) and (min-width:721px){.copy .lede{margin-bottom:calc(22px - .8rem)}}
.copy h1{font-size:clamp(76px,8.2vw,158px);line-height:.77}
.copy h1 span:nth-child(2){margin-left:4.5vw}
.copy h1 span:nth-child(3){margin-left:1vw;color:#fff9f1}
.lede{width:340px}
.transformation{position:absolute;z-index:8;right:clamp(42px,6vw,118px);top:142px;bottom:38px;width:min(42vw,690px);display:grid;place-items:center;perspective:1200px;touch-action:none;cursor:ew-resize}
.portrait{position:relative;width:min(30vw,490px);height:min(76vh,760px);transform-style:preserve-3d;will-change:transform}
.portrait-glow{display:none}
.frames{position:absolute;inset:-4% -7% -5%;overflow:hidden;background:transparent;-webkit-mask-image:radial-gradient(ellipse 67% 62% at 50% 45%,#000 58%,rgba(0,0,0,.88) 68%,transparent 100%);mask-image:radial-gradient(ellipse 67% 62% at 50% 45%,#000 58%,rgba(0,0,0,.88) 68%,transparent 100%)}
.frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 34%;opacity:0;transform:scale(1.012);transition:opacity .34s ease,transform .8s cubic-bezier(.2,.8,.2,1);will-change:opacity,transform}
.frame.active{opacity:1;transform:scale(1)}
.brush{position:absolute;z-index:7;width:180px;height:72px;border-radius:999px;background-image:url('./assets/brushes.jpg');background-repeat:no-repeat;background-size:570px auto;filter:drop-shadow(0 14px 16px rgba(70,20,43,.25));opacity:0;pointer-events:none;transition:opacity .22s ease;mix-blend-mode:normal}
.brush:after{content:"";position:absolute;inset:-2px;border:1px solid rgba(255,255,255,.65);border-radius:inherit}
.brush-a{--bx:-90px;--by:-30px;left:-27%;top:23%;background-position:15% 79%;transform:translate3d(-100px,-25px,80px) rotate(18deg)}
.brush-b{--bx:95px;--by:14px;right:-28%;top:44%;background-position:55% 78%;transform:translate3d(110px,10px,100px) rotate(-16deg)}
.brush-c{--bx:-85px;--by:38px;left:-22%;bottom:18%;background-position:88% 78%;transform:translate3d(-100px,40px,70px) rotate(12deg)}
.portrait.painting .brush{opacity:1;animation:brushSweep .72s cubic-bezier(.2,.8,.2,1) both}
.portrait.painting .brush-b{animation-delay:.08s}.portrait.painting .brush-c{animation-delay:.15s}
@keyframes brushSweep{0%{opacity:0;translate:var(--bx,0) var(--by,0)}35%{opacity:1}68%{opacity:1;translate:0 0}100%{opacity:0;translate:0 0}}
.stage{position:absolute;z-index:9;left:-6%;right:-6%;bottom:-24px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;font-size:.58rem;font-weight:700;letter-spacing:.16em}
.stage i{height:3px;background:rgba(24,19,19,.2);overflow:hidden}.stage b{display:block;height:100%;width:0;background:linear-gradient(90deg,#fff9f1,#cf246b,#93ba47);transition:width .35s ease}
.drag-control{position:absolute;z-index:10;right:-10px;top:51%;width:106px;height:106px;border:0;border-radius:50%;background:#fff9f1;color:#181313;display:grid;place-content:center;gap:2px;box-shadow:0 14px 45px rgba(76,18,45,.2);cursor:grab;transition:transform .25s ease}.drag-control:active{cursor:grabbing;transform:scale(.94)}.drag-control span{font-size:1.25rem}.drag-control small{font-size:.5rem;font-weight:800;letter-spacing:.14em}
.transformation:before,.transformation:after{display:none}

@media(max-width:1060px){.copy{--title-growth:1.386vw;width:44vw}.copy h1{font-size:8.9vw}.transformation{right:30px;width:47vw}.portrait{width:35vw}.drag-control{right:-4px}}
@media(max-width:720px){header{z-index:40}.copy{top:108px;left:18px;width:calc(100% - 36px);z-index:12;pointer-events:none}.eyebrow{margin-bottom:8px}.copy h1{font-size:12.8vw;line-height:.76}.copy h1 span:nth-child(2){margin-left:20vw}.copy h1 span:nth-child(3){margin-left:4vw}.copy .lede{display:block;width:220px;margin:14px 0 0;font-size:.72rem;line-height:1.35}.copy .cta{display:none}.transformation{top:260px;right:0;bottom:70px;width:100%;cursor:ew-resize}.portrait{width:min(77vw,430px);height:min(64vh,620px)}.drag-control{right:14px;top:52%;width:82px;height:82px}.brush{width:125px;height:54px;background-size:410px auto}.brush-a{left:-10%;top:19%}.brush-b{right:-10%;top:44%}.brush-c{left:-8%;bottom:16%}.stage{left:2%;right:2%;bottom:-20px}.corner-note,.scroll-cue{display:none}.mobile-dock{z-index:40}}
@media(max-height:760px) and (min-width:721px){.copy{--title-growth:1.2705vw;top:max(124px,20svh)}.portrait{height:70vh}.transformation{top:110px}.copy h1{font-size:7.55vw}}
@media(max-height:760px) and (min-width:721px){.copy .cta{top:calc(28svh - max(124px,20svh) - var(--title-growth))}}
@media(prefers-reduced-motion:reduce){.frame,.stage b{transition:none}.portrait.painting .brush{animation:none;display:none}}

/* Reference-faithful full-screen transformation */
.transformation{z-index:22;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.portrait{position:absolute;inset:0;width:100%;height:100%;transform:none!important;pointer-events:auto}
.frames{inset:0;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 28%,#000 52%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 28%,#000 52%,#000 100%)}
.frame{object-fit:cover;object-position:74% 29%;transform:scale(1.005)}
.frame.active{transform:scale(1)}
.stage{left:auto;right:4vw;width:min(44vw,700px);bottom:24px}
.drag-control{position:absolute;pointer-events:auto;right:3.3vw;top:50%;transform:translateY(-50%)}
.drag-control:active{transform:translateY(-50%) scale(.94)}
.brush,.portrait.painting .brush{position:absolute;z-index:40;width:clamp(290px,36vw,690px);height:auto;max-height:72vh;object-fit:contain;opacity:0;filter:drop-shadow(0 22px 24px rgba(56,13,35,.26));background:none;border:0;border-radius:0;transition:none;pointer-events:none;animation:none}
.brush:after{display:none}
.portrait.painting[data-stage="1"] .brush-1{animation:strokeLeft 1.02s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="2"] .brush-2{animation:strokeRight .98s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="3"] .brush-3{animation:strokeBottom 1.05s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="4"] .brush-4{animation:strokeTop 1s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="5"] .brush-5{animation:strokeLeftLow 1.04s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="6"] .brush-6{animation:strokeRightHigh 1.08s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="7"] .brush-7{animation:strokeBottomFine .98s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="8"] .brush-8{animation:strokeFinal 1.12s cubic-bezier(.2,.72,.2,1) both}
@keyframes strokeLeft{0%{opacity:0;left:-42vw;top:22%;transform:rotate(-12deg)}22%{opacity:1}62%{opacity:1;left:47%;top:28%;transform:rotate(6deg)}100%{opacity:0;left:108%;top:34%;transform:rotate(14deg)}}
@keyframes strokeRight{0%{opacity:0;right:-44vw;top:30%;transform:rotate(192deg)}22%{opacity:1}60%{opacity:1;right:25%;top:35%;transform:rotate(178deg)}100%{opacity:0;right:105%;top:42%;transform:rotate(165deg)}}
@keyframes strokeBottom{0%{opacity:0;left:38%;top:112%;transform:rotate(-72deg)}22%{opacity:1}62%{opacity:1;left:48%;top:31%;transform:rotate(-48deg)}100%{opacity:0;left:67%;top:-72%;transform:rotate(-33deg)}}
@keyframes strokeTop{0%{opacity:0;left:58%;top:-78%;transform:rotate(72deg)}22%{opacity:1}60%{opacity:1;left:47%;top:25%;transform:rotate(54deg)}100%{opacity:0;left:30%;top:110%;transform:rotate(40deg)}}
@keyframes strokeLeftLow{0%{opacity:0;left:-45vw;top:55%;transform:rotate(-4deg)}22%{opacity:1}62%{opacity:1;left:48%;top:48%;transform:rotate(8deg)}100%{opacity:0;left:108%;top:38%;transform:rotate(18deg)}}
@keyframes strokeRightHigh{0%{opacity:0;right:-48vw;top:8%;transform:rotate(205deg)}24%{opacity:1}64%{opacity:1;right:28%;top:22%;transform:rotate(184deg)}100%{opacity:0;right:110%;top:34%;transform:rotate(168deg)}}
@keyframes strokeBottomFine{0%{opacity:0;left:62%;top:110%;transform:rotate(-82deg)}24%{opacity:1}64%{opacity:1;left:50%;top:36%;transform:rotate(-58deg)}100%{opacity:0;left:37%;top:-78%;transform:rotate(-38deg)}}
@keyframes strokeFinal{0%{opacity:0;left:-45vw;top:34%;transform:rotate(-8deg) scale(1.08)}20%{opacity:1}60%{opacity:1;left:43%;top:30%;transform:rotate(5deg) scale(1.08)}100%{opacity:0;left:108%;top:22%;transform:rotate(15deg) scale(1.08)}}
@media(max-width:720px){.transformation{top:0;bottom:0}.portrait{width:100%;height:100%}.frames{inset:0;-webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.25) 16%,#000 35%,#000 92%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.25) 16%,#000 35%,#000 92%,transparent 100%)}.frame{object-position:50% 30%}.copy{z-index:24}.drag-control{right:12px;top:55%}.stage{left:18px;right:18px;width:auto;bottom:78px}.brush,.portrait.painting .brush{width:72vw}}

/* Scroll-scrubbed film hero */
.frames{background:transparent;-webkit-mask-image:radial-gradient(ellipse 31% 70% at 78% 52%,#000 52%,rgba(0,0,0,.96) 64%,rgba(0,0,0,.5) 76%,transparent 96%);mask-image:radial-gradient(ellipse 31% 70% at 78% 52%,#000 52%,rgba(0,0,0,.96) 64%,rgba(0,0,0,.5) 76%,transparent 96%)}
.transformation-video{position:absolute;top:1%;right:1.5vw;bottom:auto;left:auto;width:auto;height:99%;display:block;object-fit:contain;object-position:center;transform:none;transform-origin:center;filter:saturate(1.01) contrast(1.025) drop-shadow(-24px 20px 38px rgba(86,36,58,.12))}
.scrub-zone{position:absolute;z-index:24;top:112px;right:0;bottom:0;width:62%;pointer-events:auto;touch-action:none;cursor:ns-resize;outline:none}
.scrub-zone:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,249,241,.82)}
.portrait.painting .brush{width:clamp(150px,17vw,300px);max-height:38vh}
.portrait.painting[data-stage="1"] .brush-1{animation:touchLeftCheek .82s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="2"] .brush-2{animation:touchRightEye .82s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="3"] .brush-3{animation:touchForehead .86s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="4"] .brush-4{animation:touchTemple .82s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="5"] .brush-5{animation:touchLeftLeaf .82s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="6"] .brush-6{animation:touchRightLeaf .82s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="7"] .brush-7{animation:touchDetails .82s cubic-bezier(.2,.72,.2,1) both}
.portrait.painting[data-stage="8"] .brush-8{animation:touchFinal .86s cubic-bezier(.2,.72,.2,1) both}
@keyframes touchLeftCheek{0%{opacity:0;left:-22%;top:49%;transform:rotate(7deg)}25%,68%{opacity:1;left:38%;top:45%;transform:rotate(-2deg)}100%{opacity:0;left:29%;top:47%;transform:rotate(5deg)}}
@keyframes touchRightEye{0%{opacity:0;right:-22%;top:36%;transform:rotate(184deg)}25%,68%{opacity:1;right:25%;top:34%;transform:rotate(176deg)}100%{opacity:0;right:18%;top:37%;transform:rotate(182deg)}}
@keyframes touchForehead{0%{opacity:0;right:13%;top:-26%;transform:rotate(74deg)}25%,68%{opacity:1;right:29%;top:15%;transform:rotate(60deg)}100%{opacity:0;right:25%;top:7%;transform:rotate(67deg)}}
@keyframes touchTemple{0%{opacity:0;right:-24%;top:27%;transform:rotate(188deg)}25%,68%{opacity:1;right:24%;top:27%;transform:rotate(178deg)}100%{opacity:0;right:17%;top:24%;transform:rotate(184deg)}}
@keyframes touchLeftLeaf{0%{opacity:0;left:-24%;top:37%;transform:rotate(8deg)}25%,68%{opacity:1;left:36%;top:34%;transform:rotate(-4deg)}100%{opacity:0;left:29%;top:31%;transform:rotate(4deg)}}
@keyframes touchRightLeaf{0%{opacity:0;right:-24%;top:45%;transform:rotate(190deg)}25%,68%{opacity:1;right:24%;top:42%;transform:rotate(178deg)}100%{opacity:0;right:18%;top:45%;transform:rotate(185deg)}}
@keyframes touchDetails{0%{opacity:0;right:4%;bottom:-30%;transform:rotate(-70deg)}25%,68%{opacity:1;right:30%;bottom:35%;transform:rotate(-55deg)}100%{opacity:0;right:26%;bottom:29%;transform:rotate(-62deg)}}
@keyframes touchFinal{0%{opacity:0;left:-24%;top:31%;transform:rotate(6deg)}25%,68%{opacity:1;left:37%;top:29%;transform:rotate(-3deg)}100%{opacity:0;left:30%;top:27%;transform:rotate(4deg)}}
@media(max-width:720px){.transformation-video{inset:18% 0 0;width:100%;height:82%;object-fit:contain;object-position:50% 100%;transform:none;filter:saturate(1.01) contrast(1.025)}.frames{-webkit-mask-image:radial-gradient(ellipse 68% 48% at 50% 67%,#000 56%,rgba(0,0,0,.94) 70%,transparent 100%);mask-image:radial-gradient(ellipse 68% 48% at 50% 67%,#000 56%,rgba(0,0,0,.94) 70%,transparent 100%)}.scrub-zone{top:210px;width:100%}.portrait.painting .brush{width:42vw;max-height:28vh}.stage{bottom:80px}.drag-control{top:auto;bottom:112px}}
@media(prefers-reduced-motion:reduce){.transformation-video{transform:none}.portrait.painting .brush{display:none}}

/* Approved high-resolution still sequence */
.frames{background:linear-gradient(90deg,transparent 0%,transparent 19%,rgba(198,197,195,.19) 33%,rgba(198,197,195,.7) 55%,#c6c5c3 100%);-webkit-mask-image:none;mask-image:none}
.frame{--dx:0%;--dy:0%;top:0;left:calc(54vw - 37.5vh);right:auto;bottom:0;width:auto;height:100%;object-fit:contain;object-position:center;transform:translate(var(--dx),var(--dy));filter:saturate(1.015) contrast(1.015);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 5%,rgba(0,0,0,.6) 13%,rgba(0,0,0,.94) 23%,#000 31%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 5%,rgba(0,0,0,.6) 13%,rgba(0,0,0,.94) 23%,#000 31%,#000 100%);transition:opacity .42s ease}
.frame:nth-child(2){--dx:.30%;--dy:.04%}.frame:nth-child(3){--dx:.075%;--dy:.15%}.frame:nth-child(4){--dx:.27%;--dy:.36%}.frame:nth-child(5){--dx:.23%;--dy:.46%}.frame:nth-child(6){--dx:.35%;--dy:.76%}.frame:nth-child(7){--dx:.46%;--dy:.84%}.frame:nth-child(8){--dx:.43%;--dy:.87%}.frame:nth-child(9){--dx:.19%;--dy:.21%}.frame:nth-child(10){--dx:.62%;--dy:.69%}
.frame.active{transform:translate(var(--dx),var(--dy))}
header{padding-top:7px}
.logo img{object-position:center center}
@media(max-height:760px) and (min-width:721px){header{padding-top:8px}.logo{height:82px}}
@media(max-width:720px){.frames{background:linear-gradient(90deg,transparent 0%,transparent 15%,rgba(198,197,195,.18) 38%,#c6c5c3 100%);-webkit-mask-image:none;mask-image:none}.frame{top:auto;left:calc(54vw - 25.5vh);right:auto;bottom:10%;width:auto;height:68%;max-height:none;object-fit:contain;object-position:center;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 9%,rgba(0,0,0,.5) 21%,rgba(0,0,0,.9) 35%,#000 47%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 9%,rgba(0,0,0,.5) 21%,rgba(0,0,0,.9) 35%,#000 47%,#000 100%)}.stage{bottom:78px}.drag-control{top:55%;bottom:auto}header{padding-top:3px}.logo{height:84px}}

/* Keep the complete brand mark inside the header at every viewport height. */
header{padding-top:4px;overflow:visible}
.hero>header{border-bottom:0}
.logo{height:106px;overflow:visible}
.logo img{object-position:center center}
@media(min-width:721px) and (max-width:1060px){header{height:118px;padding-top:4px}.logo{width:280px;height:106px}}
@media(max-height:760px) and (min-width:721px){header{height:96px;padding:4px 0 2px}.logo{height:86px}}
@media(max-width:720px){header{height:96px;padding:3px 0 2px}.logo{height:84px}}
@media(min-width:721px){.frame{top:-14px;height:calc(100% + 14px)}}
@media(max-width:1060px){header{grid-template-columns:auto 1fr 50px}.logo{grid-column:1;justify-self:start}.lang{grid-column:3}}
@media(max-width:720px){header{column-gap:10px}.logo{width:min(160px,44vw)}}

/* Original artwork in independent layers: only the hovered brush slides out. */
/* Keep the entire cup above the masked portrait and grain, including its overlap below the hero. */
.brush-cup-decor{position:absolute;z-index:23;right:auto;left:clamp(210px,15.5vw,320px);bottom:-14vh;width:clamp(280px,24.5vw,420px);height:auto;overflow:visible;pointer-events:none;transform:translate3d(0,0,0);will-change:transform;animation:heroCupFloat 6s cubic-bezier(.37,0,.63,1) infinite}
/* Move a composited HTML layer; keep the SVG clips, rotation and shadow static. */
.brush-cup-art{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(-15px 20px 18px rgba(80,35,52,.2));transform:rotate(-3deg);transform-origin:58% 88%}
@keyframes heroCupFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}
/* Preserve the title's existing layering, while keeping the CTA above the brushes. */
@media(min-width:721px){.copy{z-index:auto}.copy>.eyebrow,.copy>h1,.copy>.lede{position:relative;z-index:10}.copy>.cta{z-index:24}}
.brush-hover{--brush-x:0px;outline:none;pointer-events:none}
.brush-hover-1{--brush-x:-21px}.brush-hover-2{--brush-x:-12px}.brush-hover-3{--brush-x:-5px}.brush-hover-4{--brush-x:3px}.brush-hover-5{--brush-x:17px}
.brush-hit{fill:transparent;stroke:transparent;stroke-width:18px;pointer-events:all;cursor:pointer}
.brush-moving{pointer-events:none;transform:translate(0,0);transition:transform .38s cubic-bezier(.22,.75,.25,1)}
.brush-glitter{fill:#fff7ee;stroke:#fff7ee;stroke-width:1.2;stroke-linecap:round;opacity:.95;filter:drop-shadow(0 0 2px #e78bb2)}
.brush-hover:has(.brush-hit:focus-visible) .brush-moving{transform:translate(var(--brush-x),-48px)}
@media(hover:hover) and (pointer:fine){.brush-hover:hover .brush-moving{transform:translate(var(--brush-x),-48px)}}
.cup-front,.cup-interior{pointer-events:none}
@media(max-width:1060px){.brush-cup-decor{left:clamp(200px,24vw,270px);width:clamp(245px,29vw,315px);bottom:-12vh}}
@media(max-width:720px){.brush-cup-decor{display:none}}
@media(prefers-reduced-motion:reduce){.brush-moving{transition:none}.brush-cup-decor{animation:none;will-change:auto}}

/* Calm interaction hint: the portrait itself stays still until the visitor explores it. */
.drag-control::after{content:"";position:absolute;inset:-9px;border:1px solid rgba(24,19,19,.28);border-radius:50%;pointer-events:none;animation:dragHintPulse 2.4s ease-out infinite}
.drag-control.interacted::after{animation:none;opacity:0}
@keyframes dragHintPulse{0%{opacity:.52;transform:scale(.88)}70%,100%{opacity:0;transform:scale(1.18)}}
@media(prefers-reduced-motion:reduce){.drag-control::after{animation:none;opacity:.24;transform:none}}

/* Make the application CTA feel unmistakably interactive. */
.cta{transform-origin:center;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,background-color .28s ease}
.cta span{transition:transform .28s cubic-bezier(.2,.8,.2,1),background-color .28s ease}
.cta:hover,.cta:focus-visible{transform:translateY(-4px) scale(1.035);background:#241b1d;box-shadow:0 15px 30px rgba(63,22,39,.24)}
.cta:hover span,.cta:focus-visible span{transform:translate(3px,-3px) scale(1.14);background:#caea82}
.cta:active{transform:translateY(-1px) scale(.99)}
.cta:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.cta,.cta span{transition:none}.cta:hover,.cta:focus-visible{transform:none}.cta:hover span,.cta:focus-visible span{transform:none}}

/* Variant 2: liquid pearl on EL COLOR only; no autonomous shimmer. */
.copy h1 span:first-child{--pearl-x:55%;--pearl-y:46%;color:#651b43}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .copy h1 span:first-child{
    color:transparent;
    -webkit-text-fill-color:transparent;
    -webkit-background-clip:text;
    background-clip:text;
    background-image:
      radial-gradient(ellipse 19% 62% at var(--pearl-x) var(--pearl-y),rgba(255,251,234,.94) 0%,rgba(244,237,204,.82) 12%,rgba(200,223,133,.8) 30%,rgba(100,194,187,.7) 50%,rgba(67,139,153,.22) 72%,transparent 100%),
      radial-gradient(ellipse 45% 125% at calc(var(--pearl-x) - 24%) calc(var(--pearl-y) - 25%),rgba(245,166,198,.87) 0%,rgba(205,91,150,.6) 38%,transparent 76%),
      linear-gradient(172deg,#8b2859 0%,#651b43 36%,#45142f 62%,#82214f 82%,#bc577e 100%);
    -webkit-text-stroke:.45px rgba(66,15,42,.38);
    filter:drop-shadow(0 1px 0 rgba(255,233,229,.3)) drop-shadow(0 3px 2px rgba(85,24,54,.1));
  }
}
@media(forced-colors:active){.copy h1 span:first-child{color:CanvasText;-webkit-text-fill-color:CanvasText;background:none;-webkit-text-stroke:0;filter:none}}

/* A continuous portrait, controlled only by the independent timeline. */
html{height:auto;min-height:100%;overflow-x:clip;overflow-y:auto;overscroll-behavior:auto}body{height:auto;min-height:100%;overflow:visible;overscroll-behavior:auto}
.frame-stack{position:absolute;inset:0;isolation:isolate;pointer-events:none}
.frame-stack .frame{transition:none;will-change:auto}
@supports(mix-blend-mode:plus-lighter){.frame-stack .frame{mix-blend-mode:plus-lighter}}
.transformation,.portrait{pointer-events:none;touch-action:auto;cursor:auto}
.copy{pointer-events:auto}
.stage{pointer-events:auto;bottom:24px;grid-template-columns:40px minmax(0,1fr) 62px;height:auto;gap:3px 16px;padding:14px 20px 12px;border:1px solid rgba(255,249,241,.64);border-radius:22px;background:rgba(255,249,241,.78);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 8px 32px rgba(49,22,36,.12);color:#482439;letter-spacing:0;font-size:.875rem}
.stage-caption{grid-column:1/-1;display:flex;justify-content:space-between;gap:16px;align-items:center;min-width:0;font-size:.8125rem;font-weight:500}
#stageName{text-align:right;white-space:nowrap;font-size:.6875rem;letter-spacing:.09em;font-weight:700}
.stage-count{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.875rem}.stage-count>span:last-child{opacity:.55}
#sequenceToggle{width:40px;height:40px;border:1px solid rgba(83,27,57,.2);border-radius:50%;background:#fff9f1;color:#641b43;font-size:18px;font-weight:700;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .2s,transform .2s}
#sequenceToggle:hover{background:#d4e99d;transform:scale(1.06)}
#sequenceToggle:focus-visible{outline:2px solid #651b43;outline-offset:3px}
.stage.is-paused{border-color:rgba(123,40,80,.4)}
#stageSlider{
  --stage-progress:100%;--track-direction:90deg;
  display:block;min-width:0;width:100%;height:44px;margin:0;padding:0;
  appearance:none;-webkit-appearance:none;border:0;border-radius:0;
  background:linear-gradient(var(--track-direction),#9b2d64 0%,#de83a8 calc(var(--stage-progress)*.5),#a3bf5e var(--stage-progress),rgba(93,39,66,.17) var(--stage-progress),rgba(93,39,66,.17) 100%) center / calc(100% - 26px) 6px no-repeat;
  cursor:grab;touch-action:pan-y;
}
#stageSlider::-webkit-slider-runnable-track{width:100%;height:6px;border:0;background:transparent}
#stageSlider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-10px;border:3px solid #fff9f1;border-radius:50%;background:radial-gradient(circle at 35% 28%,#f1f8d8,#bedf78 64%,#95b94c);box-shadow:0 0 0 1px rgba(79,36,58,.28),0 3px 9px rgba(62,34,47,.22);transition:transform .18s ease}
#stageSlider::-moz-range-track{height:6px;border:0;background:transparent}
#stageSlider::-moz-range-progress{background:transparent}
#stageSlider::-moz-range-thumb{width:20px;height:20px;border:3px solid #fff9f1;border-radius:50%;background:radial-gradient(circle at 35% 28%,#f1f8d8,#bedf78 64%,#95b94c);box-shadow:0 0 0 1px rgba(79,36,58,.28),0 3px 9px rgba(62,34,47,.22);transition:transform .18s ease}
#stageSlider:hover::-webkit-slider-thumb,#stageSlider:focus-visible::-webkit-slider-thumb{transform:scale(1.18)}
#stageSlider:hover::-moz-range-thumb,#stageSlider:focus-visible::-moz-range-thumb{transform:scale(1.18)}
#stageSlider:active{cursor:grabbing}
#stageSlider:focus-visible{outline:2px solid #651b43;outline-offset:3px;border-radius:8px}
.drag-control{cursor:pointer}
.drag-control:hover,.drag-control:focus-visible{transform:translateY(-50%) scale(1.04)}
.drag-control:focus-visible{outline:2px solid #651b43;outline-offset:5px}
.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}
@media(max-width:720px){
  .stage{left:auto;right:12px;top:60%;bottom:auto;width:64px;height:auto;padding:10px;transform:translateY(-50%);grid-template-columns:44px;grid-template-rows:40px clamp(130px,25svh,230px) 22px;gap:8px;justify-items:center;border-radius:32px}
  .stage-caption{display:none}
  .stage-count{font-size:.75rem}
  #stageSlider{--track-direction:180deg;writing-mode:vertical-lr;direction:ltr;width:44px;height:100%;background-size:6px calc(100% - 26px);touch-action:pan-x}
  #stageSlider::-webkit-slider-runnable-track{width:6px;height:100%}
  #stageSlider::-webkit-slider-thumb{margin-top:0;margin-left:-10px}
  #stageSlider::-moz-range-track{width:6px;height:100%}
  .drag-control{display:none}
}
@media(prefers-reduced-motion:reduce){#stageSlider::-webkit-slider-thumb{transition:none}#stageSlider::-moz-range-thumb{transition:none}}
@media(forced-colors:active){#stageSlider{background:none;border:1px solid CanvasText}#stageSlider::-webkit-slider-thumb{background:Highlight;border-color:CanvasText}#stageSlider::-moz-range-thumb{background:Highlight;border-color:CanvasText}}

/* One quiet corner, a transparent rail, and a pearl grip with a generous hit target. */
.stage{left:auto;right:2vw;top:auto;bottom:24px;width:clamp(260px,28vw,500px);height:clamp(320px,52svh,680px);display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transform:none;pointer-events:none}
.curve-timeline{width:100%;height:100%;overflow:visible;pointer-events:none}
.curve-timeline use{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke}
.curve-edge{stroke:rgba(255,255,255,.25);stroke-width:10;filter:drop-shadow(0 2px 4px rgba(39,20,31,.16))}
.curve-glass{stroke:rgba(255,255,255,.07);stroke-width:8}
.curve-track{stroke:rgba(75,32,57,.2);stroke-width:3}
.curve-progress{stroke:url(#timelineColor);stroke-width:3}
.curve-hit{stroke:transparent;stroke-width:48;pointer-events:stroke;cursor:grab;touch-action:none}
#stageSlider.pearl-slider{position:absolute;left:0;top:0;width:48px;height:48px;margin:0;padding:0;background:none;border:0;outline:0;pointer-events:auto;touch-action:none;cursor:grab;transform:translate(-50%,-50%);writing-mode:horizontal-tb;display:grid;place-items:center}
.pearl-grip{display:block;width:24px;height:24px;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:radial-gradient(circle at 30% 24%,#fffaf4 0%,#f5e9dd 25%,#d7e6b3 55%,#ca8fa8 100%);box-shadow:inset 0 0 0 3px rgba(255,255,255,.22),0 2px 8px rgba(60,29,48,.3);pointer-events:none;animation:pearlGripBreathe 3s ease-in-out infinite;transition:transform .2s}
.stage.is-paused .pearl-grip,.stage.has-interacted .pearl-grip{animation:none}
#stageSlider.pearl-slider:hover .pearl-grip,#stageSlider.pearl-slider:focus-visible .pearl-grip{transform:scale(1.15)}
#stageSlider.pearl-slider:focus-visible{outline:2px solid #641b43;outline-offset:1px;border-radius:50%}
.stage.is-dragging .curve-hit,.stage.is-dragging .pearl-slider{cursor:grabbing}
.curve-caption{position:absolute;left:2%;bottom:-12px;display:flex;align-items:center;gap:10px;pointer-events:auto;white-space:nowrap;font-size:.875rem;font-weight:600;color:#fff9f1;text-shadow:0 1px 5px rgba(28,14,23,.9)}
#sequenceToggle{width:32px;height:32px;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.12);backdrop-filter:blur(8px);font-size:16px}
.stage.is-paused{border:0}
.frame-stack>img.frame:last-of-type{--dx:.62%;--dy:.69%}
.frame-stack>.final-morph{mix-blend-mode:normal;aspect-ratio:1600/1448}
.portrait-color-defs{position:absolute;pointer-events:none;overflow:hidden}
.frame-stack .frame{filter:url(#portrait-beige) saturate(1.015) contrast(1.015);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 5%,rgba(0,0,0,.6) 13%,rgba(0,0,0,.94) 23%,#000 31%,#000 78%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 5%,rgba(0,0,0,.6) 13%,rgba(0,0,0,.94) 23%,#000 31%,#000 78%,transparent 100%)}
.frames{background:linear-gradient(90deg,transparent 0%,transparent 19%,rgba(222,204,181,.19) 33%,rgba(222,204,181,.7) 55%,#deccb5 100%)}
@keyframes pearlGripBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@media(max-width:720px){.stage{right:0;top:auto;bottom:90px;width:160px;height:clamp(230px,43svh,400px);transform:none;padding:0}.curve-caption{left:auto;right:8px;bottom:-22px;gap:5px;font-size:.75rem}.curve-hit{stroke-width:42}}
@media(prefers-reduced-motion:reduce){.pearl-grip{animation:none}}
@media(forced-colors:active){.curve-track,.curve-progress{stroke:CanvasText}.curve-caption{color:CanvasText}.pearl-grip{background:Highlight;border-color:CanvasText}}
/* Keep the decorative brushes below the introductory text. */
@media(min-width:721px){
  /* Move the whole frame stack, including morph canvases, without changing playback. */
  .frame-stack{translate:4vw 0}
  .copy .lede{width:min(390px,30vw);max-width:none!important}
  .brush-cup-decor{left:calc(clamp(28px,5vw,96px) + min(390px,30vw) - clamp(30px,3.6vw,60px))}
}
@media(min-width:1061px){.brush-cup-decor{bottom:calc(-14vh - 38px)}}
@media(min-width:721px) and (max-width:1060px){.brush-cup-decor{bottom:calc(-12vh - 30px)}}
@media(max-width:720px){.frame-stack .frame{-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 9%,rgba(0,0,0,.5) 21%,rgba(0,0,0,.9) 35%,#000 47%,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 9%,rgba(0,0,0,.5) 21%,rgba(0,0,0,.9) 35%,#000 47%,#000 82%,transparent 100%)}}

.portrait-art{display:contents}
/* No decorative star beside the homepage Services title, on any screen. */
.hero+.alma-editorial .services-section .section-heading>div::after{display:none}
@media(min-width:721px){.hero+.alma-editorial .services-section .section-heading>div{padding-right:0}}
/* Phone composition follows the owner's narrow desktop reference, not a zoomed
   viewport: artwork scales with width while controls retain finger-sized targets. */
@media(max-width:720px){
  .hero{--mobile-art-height:clamp(440px,132vw,900px);width:100%;height:max(var(--mobile-art-height),100svh);min-height:440px;max-height:none;background:linear-gradient(116deg,#ffc6dc,#f7a9c7 46%,#ef91b5)}
  .hero#inicio>header{left:5%;right:5%;height:82px;padding:0;grid-template-columns:116px 60px 1fr;gap:3px}
  .hero header .logo{grid-column:1;width:116px;height:90px}
  .hero header nav{display:flex;position:static;grid-area:1/3;justify-self:end;gap:10px;font-size:clamp(10px,2.8vw,12px)}
  .hero header nav a{display:flex;align-items:center;min-height:44px;color:#fff;text-shadow:0 1px 4px #35251f,0 0 10px #35251f}
  .hero .copy{top:max(96px,calc(clamp(110px,33vw,225px) - 30px));left:5%;width:46%;z-index:24}
  .hero .copy .eyebrow{font-size:8px;line-height:1.5;letter-spacing:.1em;margin-bottom:12px;max-width:170px}
  .hero .copy h1{font-size:10.2vw;line-height:.77}
  .hero .copy h1 span:nth-child(2){margin-left:4.5vw}
  .hero .copy h1 span:nth-child(3){margin-left:1vw}
  .hero .copy .lede{display:block;width:100%;max-width:200px!important;font-size:14px;font-weight:600;color:#21151b;line-height:1.45;margin:20px 0 0;transform:translateY(-12px)}
  /* Anchor to the portrait/brush geometry, independent of translated copy height. */
  .hero .copy .cta{display:inline-flex;position:absolute;top:calc(min(calc(var(--mobile-art-height) + 16px),calc(max(var(--mobile-art-height),100svh) - 39vw - 66px)) - max(96px,clamp(110px,33vw,225px) - 30px));left:-6px;min-height:48px;padding:8px 10px 8px 15px;gap:12px;font-size:12px;white-space:nowrap}
  .hero .copy .cta span{width:32px;height:32px;flex-shrink:0}
  .hero .frames{inset:0;mask-image:none;-webkit-mask-image:none}
  /* One horizontal mask for both layers prevents a translucent seam.
     The extension stays opaque beneath the fading original crop. */
  .hero .portrait-art{display:block;position:absolute;top:0;bottom:0;left:calc(68vw - 55.25%);width:calc(var(--mobile-art-height) * 1600 / 1448);isolation:isolate;-webkit-mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.6) 13%,#000 31%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.6) 13%,#000 31%,#000 90%,transparent)}
  .hero .portrait-art::before{content:"";position:absolute;inset:0 0 auto;height:calc(var(--mobile-art-height) * 2400 / 1448);background:url('./assets/mobile-portrait-extended.png.webp') top left / 100% 100% no-repeat;filter:url(#portrait-beige) saturate(1.015) contrast(1.015)}
  .hero .frame-stack{translate:0 0;height:var(--mobile-art-height);bottom:auto;-webkit-mask-image:linear-gradient(#000 89%,transparent 94%);mask-image:linear-gradient(#000 89%,transparent 94%)}
  .hero .frame-stack .frame{top:0;bottom:0;left:0;height:100%;width:auto;max-width:none;object-fit:contain;-webkit-mask-image:none;mask-image:none}
  .hero .brush-cup-decor{display:block;left:24%;right:auto;bottom:-10vw;width:39vw}
  .hero .frame-stack.mobile-gpu-active>img.frame{visibility:hidden}
  .hero .frame-stack .mobile-portrait{filter:none;mix-blend-mode:normal;transform:none;aspect-ratio:1600/1448;pointer-events:none}
  .hero .stage{right:-12px;bottom:40px;width:60px;height:clamp(140px,44vw,210px);left:auto;top:auto;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none}
  .hero #stageSlider.pearl-slider{width:64px;height:64px}
  .hero #stageSlider.pearl-slider:focus-visible{outline:none}
  .hero .stage.is-dragging .pearl-grip,.hero #stageSlider.pearl-slider:focus-visible .pearl-grip{transform:scale(1.06);box-shadow:inset 0 0 0 3px #ffffff55,0 0 10px #fff9f1aa}
  .hero .stage{-webkit-tap-highlight-color:transparent}
  .hero .curve-caption{left:auto;right:12px;bottom:-18px;width:max-content;max-width:150px;white-space:nowrap;line-height:1.3;gap:4px;font-size:10px;text-align:right}
  .hero #sequenceToggle{display:none}
  .hero .curve-hit{stroke-width:48}
  .hero .mobile-dock{display:none}
  .hero#inicio+.alma-editorial>section:first-child{padding-top:18vw;padding-bottom:12px}
  .hero+.alma-editorial .services-section .section-heading{display:flex;align-items:center;gap:12px;margin-bottom:6px;padding-inline:5%}
  .hero+.alma-editorial .services-section .section-heading h2{font-size:9.5vw;margin-top:0!important}
  .hero+.alma-editorial .services-section .section-heading>div{padding-right:36px;flex-shrink:0}
  .hero+.alma-editorial .services-section .section-heading>div::after{width:28px}
  .hero+.alma-editorial .services-section .section-heading>p{display:block;width:27%;margin:0;font-size:11px;line-height:1.5}
  .hero+.alma-editorial .services-section .service-rail{gap:18px;padding:12px 5% 10px}
  .hero+.alma-editorial .services-section .service-card{flex-basis:38vw;border-radius:16px 16px 38px 16px;margin-top:12px;margin-bottom:8px}
  .hero+.alma-editorial .services-section .service-card:nth-child(even){border-radius:38px 16px 16px 16px;margin-top:24px}
  .hero+.alma-editorial .services-section .card-copy{left:10px;right:10px;bottom:14px}
  .hero+.alma-editorial .services-section .service-card .card-copy :is(h2,h3){font-size:18px!important;max-width:100%;padding-right:0}
  .hero+.alma-editorial .services-section .card-copy p{display:none}
  .hero+.alma-editorial .services-section .card-arrow{display:none}
  .hero+.alma-editorial .services-section>.instagram-section{padding-top:10px;padding-bottom:12px}
  .hero+.alma-editorial .instagram-section .ed-wrap{gap:10px}
  .hero+.alma-editorial .instagram-section .ed-button{font-size:12px;min-height:46px;padding:7px 8px 7px 16px;gap:16px}
  .hero+.alma-editorial .instagram-section .ed-button .button-icon{width:32px;height:32px}
  .hero+.alma-editorial .instagram-section .button-icon svg{width:17px;height:17px}
  .hero#inicio+.alma-editorial>.about-section{padding-top:20px}
}
.mobile-portrait{display:none}
@media(min-width:721px){
  .hero#inicio header .logo{width:clamp(190px,17vw,250px);height:clamp(108px,18vh,164px);align-self:start;justify-self:start}
  .hero#inicio header nav{display:flex;font-size:clamp(16px,1.2vw,20px);font-weight:600;gap:12px}
  .hero#inicio header nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border:1px solid #57203c33;border-radius:999px;background:#fff8ee;color:#57203c;text-shadow:none;line-height:1.25;transition:background .18s,color .18s,border-color .18s}
  .hero#inicio header nav a:hover{background:#57203c;color:#fff8ee;border-color:#57203c}
  .hero#inicio header nav a:focus-visible{outline:3px solid #57203c;outline-offset:4px;background:#fff8ee;color:#57203c}
}
@media(min-width:721px){.hero#inicio{--hero-height:100vh;--hero-height:100dvh;width:100%;height:var(--hero-height);min-height:var(--hero-height);max-height:none}}
@media(max-width:720px){.hero .frame-stack .mobile-portrait{display:block}}

/* Bound mobile scroll overflow to the actual content, including on WebKit.
   The footer is the final in-flow child; decorative descendants must not
   extend the document's scrollable area below it. */
@media(max-width:720px){
  html{height:auto;min-height:0}
  body{height:auto;min-height:0;display:flow-root}
  .hero+.alma-editorial{display:flow-root;overflow:hidden}
  .hero+.alma-editorial .ed-footer{margin-bottom:0;padding-bottom:16px}
  .hero+.alma-editorial .services-section .section-heading>div{padding-right:0}
  .hero+.alma-editorial .services-section .section-heading>div::after{display:none}
}

/* Tablet text must remain above the portrait, without changing desktop layering. */
@media(min-width:721px) and (max-width:1100px) and (orientation:portrait){
  .hero{--tablet-art-height:110vw}
  .hero .copy>.eyebrow,.hero .copy>h1,.hero .copy>.lede{z-index:24}
  .hero .portrait-art{display:block;position:absolute;inset:0 auto 0 12%;width:calc(var(--tablet-art-height) * 1600 / 1448);isolation:isolate;-webkit-mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.6) 13%,#000 31%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.6) 13%,#000 31%,#000 90%,transparent)}
  .hero .portrait-art::before{content:"";position:absolute;inset:0 0 auto;height:calc(var(--tablet-art-height) * 2400 / 1448);background:url('./assets/mobile-portrait-extended.png.webp') top left / 100% 100% no-repeat;filter:url(#portrait-beige) saturate(1.015) contrast(1.015)}
  .hero .frame-stack{translate:0 0;height:var(--tablet-art-height);bottom:auto;-webkit-mask-image:linear-gradient(#000 89%,transparent 94%);mask-image:linear-gradient(#000 89%,transparent 94%)}
  .hero .frame-stack .frame{top:0;bottom:0;left:0;height:100%;width:auto;max-width:none;object-fit:contain;-webkit-mask-image:none;mask-image:none}
  .hero .brush-cup-decor{left:15%;width:28vw;bottom:-8vw}
  .hero .stage{height:260px;width:180px;right:2vw;bottom:32px}
  .hero .curve-caption{left:auto;right:0;font-size:12px;gap:6px;bottom:-18px}
}
@media(min-width:721px) and (max-height:600px){
  .hero#inicio{--hero-height:max(650px,100svh)}
  .hero .copy{top:124px}
  .hero .copy h1{font-size:clamp(54px,7vw,84px)}
  .hero .copy .cta{top:0;margin-top:8px}
  .hero .stage{height:320px}
}
