@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');
:root{--paper:#f5f0e8;--warm:#e9dfd2;--ink:#25201d;--muted:#61534a;--gold:#875b3a;--serif:"Instrument Serif",Georgia,serif;--sans:"DM Sans",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 var(--sans)}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:2px solid #ac7951;outline-offset:5px}img,video{display:block;width:100%}figure,p{margin:0}h1,h2{font:400 clamp(3rem,7.5vw,8rem)/.9 var(--serif);margin:0;letter-spacing:-.035em}h2{font-size:clamp(3rem,6vw,6.5rem)}em{color:var(--gold);font-weight:400}.bar,footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(5vw,1.2rem);border-bottom:1px solid #d8ccbe}.brand{display:inline-flex;align-items:center;gap:.75rem;white-space:nowrap;font:1.4rem var(--serif)}.brand span{display:grid;place-items:center;border:1px solid #b69e86;border-radius:50%;width:2.5rem;height:2.5rem;color:var(--gold);font-size:1.15rem}.bar nav{display:flex;gap:clamp(1rem,3vw,3rem);font-size:.85rem}.small,.under{font-size:.85rem;border-bottom:1px solid #a88363;padding-bottom:.25rem}.small span,.under span,.button span{margin-left:.6rem}.hero{display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:5vw;padding:clamp(1.6rem,4vw,4rem) max(5vw,1.2rem) clamp(3rem,7vw,7rem);max-width:1600px;margin:auto}.hero-copy{padding:2rem 0}.hero h1 em{display:block}.eyebrow{font-size:.71rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--gold);margin-bottom:1.5rem}.hero-copy>p:not(.eyebrow),.about-copy>p:not(.eyebrow),.contact p{max-width:34ch;color:var(--muted);margin:1.5rem 0 2rem}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--ink);color:#fff6e7;padding:.85rem 1.2rem;font-size:.85rem;min-height:48px}.button:hover{background:#64432e}.hero-photo{position:relative;background:#d6c8bb}.hero-photo img{aspect-ratio:4/4.4;object-fit:cover;object-position:50% 36%}.motion{background:#080604;color:#f8eee0}.sticky{display:grid;justify-items:center;align-content:center;min-height:80svh;padding:clamp(1.25rem,4vh,3rem) max(1rem,5vw);gap:clamp(.55rem,1.8vh,1.3rem)}.interactive .sticky{position:sticky;top:0;min-height:100svh}.motion-text{text-align:center}.motion h2{font-size:clamp(2.5rem,5vw,5.3rem)}.motion em{color:#dfaa73}.motion-instruction{font-size:.78rem;color:#c6af97;margin-top:.5rem}.motion:not(.interactive) .motion-instruction{display:none}.motion video{width:min(100%,1000px,110svh);aspect-ratio:16/9;background:#020101;object-fit:contain}.film-controls{display:flex;align-items:center;gap:1rem;width:min(100%,580px)}.film-controls button{flex:none;font:500 .76rem var(--sans);color:#f8eee0;background:transparent;border:1px solid #866342;padding:.55rem .75rem;cursor:pointer}.track{height:2px;background:#493525;flex:1}.track div{height:100%;width:100%;background:#dfaa73;transform-origin:left;transform:scaleX(0)}.about,.contact{display:grid;align-items:center;gap:clamp(2rem,7vw,8rem);padding:clamp(3.5rem,8vw,8rem) max(5vw,1.2rem);grid-template-columns:1.05fr .8fr}.portraits{display:grid;grid-template-columns:1fr .7fr;align-items:end;gap:.75rem}.portraits img{aspect-ratio:3/4;object-fit:cover}.portraits img+img{margin-bottom:-1.3rem}.contact{background:var(--warm);grid-template-columns:.45fr 1fr}.contact img{max-height:370px;object-fit:cover;object-position:50% 20%}.contact div{justify-self:center}footer{border:0;font-size:.85rem}@media(max-width:700px){.bar nav{display:none}.brand{font-size:1.22rem}.small{font-size:.72rem}.hero,.about,.contact{grid-template-columns:1fr}.hero{gap:.6rem}.hero-copy{padding:1.25rem 0}.hero-photo img{aspect-ratio:4/4.3}.contact img{max-height:420px}.contact div{justify-self:start}.motion.interactive{height:195svh}.sticky{min-height:60svh}.motion video{width:calc(100% + 2rem);max-width:none}.portraits img+img{margin-bottom:0}footer .brand{font-size:1rem}}
.brand>img{width:2.6rem;height:2.25rem;object-fit:contain}
.cases{padding:clamp(2.7rem,7vw,7rem) max(5vw,1.2rem);background:#eae0d4}.cases-heading{display:flex;align-items:end;justify-content:space-between;gap:1.3rem;margin-bottom:1.8rem}.cases-heading h2{font-size:clamp(2.65rem,6vw,5.8rem)}.case-controls:not([hidden]){display:flex;gap:.55rem}.case-controls button{width:44px;height:44px;border:1px solid #9d7b60;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer;font-size:1.18rem}.case-controls button:disabled{opacity:.38;cursor:default}.case-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2.5rem)/3);gap:1.25rem;list-style:none;margin:0;padding:0 0 1rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-color:#9d7b60 #e1d4c4}.case-track:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.case-track li{scroll-snap-align:start;background:var(--paper)}.case-track img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#302822}.case-track figcaption{padding:.7rem 1rem;font:1.35rem var(--serif)}footer{background:#382f2a;color:#f5f0e8}.footer-signature img{width:min(42vw,250px);height:auto}
@media(max-width:700px){.case-track{grid-auto-columns:82%;gap:.7rem}.cases-heading{align-items:center}.case-controls button{width:40px;height:40px}.bar .brand{gap:.35rem}}
@media(max-width:700px){.case-controls:not([hidden]){gap:.35rem}.case-controls button{width:35px;height:35px}}

/* The opening portrait and its gradient share the full hero container. */
.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr;align-items:center;max-width:none;min-height:clamp(580px,76svh,850px);padding:clamp(3rem,8vw,8rem) max(5vw,1.2rem);overflow:hidden;background:#e0d7d0}
.hero-photo{position:absolute;inset:0;z-index:-1;background:transparent}
.hero-photo::before,.hero-photo::after{content:"";position:absolute;inset:0}
.hero-photo::before{background:url("assets/alba-hero.webp") center 28% / cover;filter:blur(24px);transform:scale(1.06);opacity:.6}
.hero-photo>img{position:absolute;inset:0 0 0 auto;width:70%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 27%}
.hero-photo::after{background:linear-gradient(90deg,#f5f0e8 0%,#f5f0e8 25%,rgba(245,240,232,.93) 36%,rgba(245,240,232,.56) 49%,rgba(245,240,232,0) 68%)}

.hero-copy{position:relative;max-width:620px}
@media(max-width:700px){
  .hero{min-height:clamp(640px,89svh,840px);align-items:end;padding:2.5rem 1.2rem}
  .hero-copy{padding:0}
  .hero-copy>p:not(.eyebrow){margin:1.1rem 0 1.4rem}
  .hero-photo>img{width:100%;height:85%;inset:0 0 auto;object-position:50% 22%}
  .hero-photo::after{background:linear-gradient(0deg,#f5f0e8 0%,#f5f0e8 22%,rgba(245,240,232,.94) 33%,rgba(245,240,232,.56) 48%,rgba(245,240,232,0) 66%)}

}

.case-track{position:relative;scroll-snap-type:none;scrollbar-width:none;cursor:grab;user-select:none}
.case-track::-webkit-scrollbar{display:none}
.case-track:active{cursor:grabbing}
.case-track img{-webkit-user-drag:none;pointer-events:none}

.header-actions{display:flex;align-items:center;gap:clamp(.65rem,2vw,1.7rem)}
.header-mark{width:clamp(52px,6vw,76px);flex:none}
.header-mark img{height:auto;filter:brightness(.76) contrast(1.24) drop-shadow(0 1px 1px #5e422c60)}
.hero-photo>img{filter:brightness(1.045) contrast(1.035) saturate(1.10)}
.hero-photo::after{background:linear-gradient(90deg,#f5f0e8 0%,#f5f0e8 24%,#f5f0e8eb 35%,#f5f0e872 47%,#f5f0e800 62%)}
.about-copy>p:not(.eyebrow){max-width:47ch;margin:1.25rem 0}
.about-copy .under{display:inline-block;margin-top:.65rem}
.contact-portrait{width:min(100%,360px);justify-self:center;border:1px solid #a88565;border-radius:50% 50% 19% 19% / 33% 33% 12% 12%;padding:9px;box-shadow:0 14px 34px #3f2b2025}
.contact-portrait img{aspect-ratio:4/5;max-height:none;object-position:50% 27%;border-radius:inherit}
@media(max-width:700px){
  .bar{gap:.5rem}.bar .brand{font-size:1.13rem}.header-actions{gap:.5rem}.header-mark{width:49px}
  .hero-photo::after{background:linear-gradient(0deg,#f5f0e8 0%,#f5f0e8 20%,#f5f0e8eb 31%,#f5f0e873 45%,#f5f0e800 60%)}
  .contact-portrait{width:min(80%,320px)}
}

/* One full-bleed stage for the entire scroll sequence. */
.motion{background:#020101}
.motion.interactive{height:260svh}
.motion .sticky{
  position:relative;
  display:grid;
  isolation:isolate;
  grid-template:1fr / minmax(0,1fr);
  place-items:center;
  height:85svh;
  min-height:0;
  padding:0;
  gap:0;
  overflow:hidden;
}
.motion.interactive .sticky{position:sticky;top:0;height:100svh}
.motion .scene{
  position:absolute;
  z-index:-2;
  inset:0;
  width:min(100%,150svh);
  margin-inline:auto;
  overflow:hidden;
  mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
}
.motion .scene img,.motion .scene canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:79% center;
}
.motion .scene img{
  width:min(100%,105svh);
  height:72%;
  margin:auto;
  object-fit:contain;
  object-position:center;
  mask-image:linear-gradient(#000 84%,transparent);
}
.motion .scene canvas{visibility:hidden}
.motion .scene canvas.ready{visibility:visible}
.motion .scene:has(canvas.ready) img{visibility:hidden}
.motion .sticky::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(180deg,#020101e8,transparent 30%,transparent 60%,#020101 100%);
}
.motion .motion-text,.motion-seal{
  grid-area:1 / 1;
  z-index:1;
  margin-inline:auto;
}
.motion .motion-text{
  align-self:start;
  padding:clamp(1.5rem,7svh,4rem) 1rem 0;
  opacity:var(--scene-title,1);
}
.motion-seal{
  align-self:end;
  width:min(72vw,360px);
  height:auto;
  margin-bottom:clamp(1.25rem,7svh,4.5rem);
  opacity:var(--scene-signature,1);
  transform:translateY(var(--signature-offset,0px));
}
.motion:not(.interactive) .motion-instruction{display:none}
@media(max-width:700px){
  .motion .scene{mask-image:none}
  .motion .sticky::after{
    background:linear-gradient(180deg,#020101f2,transparent 32%,transparent 64%,#020101 100%);
  }
  .cases-heading{flex-wrap:wrap}
}

/* Frame the original case photos inside the cards, outside the screenshot controls. */
.case-photo{
  display:grid;
  place-items:center;
  aspect-ratio:4/3;
  background:#302822;
  container-type:inline-size;
}
.case-photo img{
  width:min(100%,calc(75cqw * 706 / var(--crop-height)));
  aspect-ratio:706 / var(--crop-height);
  object-fit:cover;
  object-position:center var(--crop-position,0%);
}
.case-photo--perfil{--crop-height:535}
.case-photo--labial{--crop-height:1113;--crop-position:100%}
.case-photo--masculino{--crop-height:558;--crop-position:48%}
.case-photo--labial-close{--crop-height:535}
.case-photo--mento{--crop-height:1035}

.social-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:.45em}
.social-icon{width:1.15em;height:1.15em;flex:none}

.social-link{
  justify-content:center;
  min-height:44px;
  padding:.6rem 1rem;
  border:1px solid #a88363;
  border-radius:999px;
  line-height:1.2;
  text-align:center;
}
.social-link.button{
  min-height:48px;
  padding:.8rem 1.2rem;
  border-color:transparent;
}
.small.social-link,.about-copy .under.social-link{
  display:inline-flex;
  background:#fff8ec;
  color:var(--ink);
}
.small.social-link:hover,.about-copy .under.social-link:hover{background:var(--warm)}
footer .social-link:hover{background:#544339}
@media(max-width:400px){
  .bar .social-link{padding-inline:.55rem}
}
