/* Revisión local · Glitten y portadas de proyecto. */
@font-face { font-family:'Glitten'; src:url('assets/fonts/glitten/Glitten-Regular.otf') format('opentype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Glitten Caps'; src:url('assets/fonts/glitten/GLITTEN ALL CAPS.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Preview Geometric'; src:url('assets/fonts/preview-montserrat.ttf') format('truetype'); font-weight:500; font-display:swap; }
:root { --display-new:'Glitten',Georgia,serif; --subtitle-new:'Code Pro','Preview Geometric',sans-serif; --title-shadow:rgba(30,6,14,.65); }
body h1, body h2, body .project-list strong, body .carousel-caption b { font-family:var(--display-new) !important; font-weight:400 !important; font-style:normal !important; text-transform:none; letter-spacing:-.025em !important; line-height:1.08 !important; }
body h1 em, body h2 em { font-family:'Glitten',Georgia,serif !important; font-weight:400 !important; font-style:normal !important; letter-spacing:-.035em !important; }
body h3, .eyebrow, .kicker, .case-header dt, .carousel-caption, .project-list small { font-family:var(--subtitle-new) !important; font-style:normal; }
.eyebrow, .kicker, .case-header dt { text-transform:uppercase; letter-spacing:.13em; }
body .hero-copy h1 { font-size:clamp(3.5rem,7.8vw,8rem); text-shadow:3px 3px 0 rgba(20,8,12,.65),7px 7px 16px rgba(0,0,0,.2); }
body .hero-copy h1 em { color:var(--crema); }
body .project-index-heading h2, body .contact h2 { font-size:clamp(2.8rem,5.3vw,6rem); text-shadow:2px 3px 0 rgba(131,31,53,.24); }
body .profile-cover-meta h2 { font-family:'Glitten Caps',Georgia,serif !important; font-size:clamp(2.6rem,5.9vw,6.5rem); letter-spacing:.005em !important; text-shadow:3px 3px 0 #752439,6px 6px 0 rgba(34,3,11,.6); }
body .method-title h2 { text-shadow:2px 2px 0 rgba(131,31,53,.2); }
.case-levis { --banner:#782039; --banner-deep:#260d19; --title-shadow:#34101c; }
.case-arantha { --banner:#304c68; --banner-deep:#101f31; --title-shadow:#0f2439; }
.case-velez { --banner:#76563b; --banner-deep:#2e2118; --title-shadow:#352318; }
.case-inefable { --banner:#4c5b69; --banner-deep:#1c2633; --title-shadow:#202a34; }
.case-bonhomias { --banner:#844967; --banner-deep:#361a3c; --title-shadow:#421d3f; }
.case-macondo { --banner:#27625f; --banner-deep:#112d2b; --title-shadow:#123b37; }
body.page-project .case-header { display:block; padding:0; margin-bottom:clamp(2.5rem,5vw,5rem); }
body .case-title-lockup { position:relative; isolation:isolate; display:flex; align-items:flex-end; min-height:clamp(24rem,38vw,36rem); padding:clamp(2rem,5vw,5rem); background-color:var(--banner); background-image:url('assets/images/perfil-textura.png'); background-size:cover; background-position:center; background-blend-mode:luminosity; color:#fff8ed; overflow:hidden; }
body .case-title-lockup::before { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(0deg,var(--banner-deep),transparent 90%); opacity:.85; }
body .case-title-lockup > div { width:100%; min-width:0; }
body .case-title-lockup .eyebrow { margin:0 0 1.5rem; font-size:clamp(.62rem,.9vw,.8rem); line-height:1.6; }
body .case-title-lockup h1 { margin:0; max-width:100%; font-family:'Glitten Caps',Georgia,serif !important; font-size:clamp(3.1rem,6.9vw,7.5rem); line-height:1.08 !important; letter-spacing:-.025em !important; overflow-wrap:normal; text-wrap:balance; text-shadow:3px 3px 0 var(--title-shadow),6px 6px 0 rgba(0,0,0,.24); }
body .case-title-lockup h1 em { display:inline-block; font-size:.84em; color:#fff0db; text-shadow:inherit; }
body .case-header dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.5rem; padding:1.8rem 0 0; border-top:0; }
body .case-header dl div { display:block; padding:.8rem 0; border-top:1px solid currentColor; border-bottom:0; }
body .case-header dt { margin-bottom:.55rem; }
body .project-list strong { font-size:clamp(1.5rem,2.7vw,2.8rem); }
@media(max-width:700px) {
 body .hero-copy h1 { font-size:clamp(3rem,10.4vw,4.8rem); }
 body .case-title-lockup { min-height:23rem; padding:2.5rem 1.3rem; }
 body .case-title-lockup h1 { font-size:clamp(2.25rem,9vw,4.5rem); text-shadow:2px 2px 0 var(--title-shadow),4px 4px 0 rgba(0,0,0,.24); }
 body .case-header dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem 1.5rem; }
 body .profile-cover-meta h2 { font-size:clamp(2.2rem,8.7vw,4rem); }
 body .project-index-heading h2, body .contact h2 { font-size:clamp(2.4rem,8.8vw,4rem); }
}
body h2 { text-shadow:2px 2px 0 rgba(110,68,68,.18); }
body .case-velez .flow-copy h3 { font-family:var(--display-new) !important; font-weight:400; font-style:normal; letter-spacing:-.025em; line-height:1.08; text-shadow:2px 2px 0 rgba(110,68,68,.18); }
body .project-index-heading h2, body .contact h2 { text-shadow:2px 3px 0 rgba(131,31,53,.24); }
