:root {
  --vino: #831f35;
  --cafe: #674a3b;
  --negro: #171717;
  --gris: #b5b2ac;
  --crema: #f3f0e8;
  --blanco: #fbfaf6;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --label: "Raleway", Arial, sans-serif;
  --gutter: clamp(1.2rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--crema); }
body { margin: 0; background: var(--crema); color: var(--negro); font-family: var(--sans); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button, a { color: inherit; }
a { text-decoration: none; }
button { font: inherit; }
::selection { color: var(--crema); background: var(--vino); }

.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 1000; padding: .8rem 1rem; background: var(--crema); color: var(--negro); }
.skip-link:focus { top: 1rem; }
.scroll-progress { position: fixed; z-index: 950; top: 0; left: 0; width: 0; height: 3px; background: var(--vino); }

.loader { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-rows: auto 1fr auto auto; gap: 1.5rem; padding: 2rem var(--gutter); color: var(--crema); background: var(--negro); transition: transform .9s cubic-bezier(.76,0,.24,1), visibility .9s; }
.loader.is-done { transform: translateY(-105%); visibility: hidden; }
.loader-top { display: flex; justify-content: space-between; font: 600 .67rem/1 var(--label); letter-spacing: .16em; }
.loader-center { align-self: end; display: flex; justify-content: center; align-items: flex-start; font: 500 clamp(8rem, 28vw, 24rem)/.75 var(--display); letter-spacing: -.09em; }
.loader-center sup { margin: .5em 0 0 .08em; font: 500 clamp(1rem, 3vw, 2.5rem)/1 var(--sans); letter-spacing: 0; }
.loader-line { height: 1px; background: rgba(243,240,232,.22); overflow: hidden; }
.loader-line i { display: block; width: 0; height: 100%; background: var(--vino); }
.loader p { margin: 0; text-align: center; font: 500 .65rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; }

.site-header { position: fixed; z-index: 900; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: .8rem var(--gutter); color: var(--crema); transition: background .35s, color .35s, padding .35s; }
.site-header.scrolled { padding-top: .5rem; padding-bottom: .5rem; color: var(--negro); background: color-mix(in srgb, var(--crema) 90%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(23,23,23,.12); }
.brand { display: flex; align-items: center; gap: .7rem; font: 600 .64rem/1.05 var(--label); letter-spacing: .09em; text-transform: uppercase; }
.brand img { width: 2.25rem; height: 2.25rem; object-fit: cover; border-radius: .5rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); font: 600 .72rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; }
.site-header button { padding: 0; border: 0; background: transparent; text-transform: uppercase; cursor: pointer; }
.site-header button b { margin-left: .35rem; color: var(--vino); font-size: 1rem; }

.menu { position: fixed; inset: 0; z-index: 1000; padding: 1.5rem var(--gutter) 2rem; color: var(--crema); background: var(--vino); transform: translateY(-102%); transition: transform .75s cubic-bezier(.76,0,.24,1); }
.menu.open { transform: translateY(0); }
.menu-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid rgba(243,240,232,.35); font: 600 .65rem/1 var(--label); letter-spacing: .14em; }
.menu-bar button { border: 0; color: inherit; background: transparent; text-transform: uppercase; cursor: pointer; }
.menu nav { display: grid; margin-top: clamp(2rem, 7vh, 6rem); }
.menu nav a { display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; padding: .2rem 0; font: 400 clamp(2.8rem, 7vw, 7.8rem)/.88 var(--serif); letter-spacing: -.045em; border-bottom: 1px solid transparent; transition: padding .25s, color .25s; }
.menu nav a:hover { padding-left: 1rem; color: var(--gris); }
.menu nav span { font: 600 .62rem/1 var(--label); letter-spacing: .12em; }
.menu-note { position: absolute; right: var(--gutter); bottom: 2rem; text-align: right; font: 500 .66rem/1.65 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.menu-note p { margin: 0; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: var(--crema); background: var(--negro); }
.hero-slides, .hero-slide, .hero-wash { position: absolute; inset: 0; }
.hero-slide { margin: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 6s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1.02); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: blur(12px) saturate(.82) contrast(.94); }
.hero-wash { background: linear-gradient(90deg, rgba(23,23,23,.82), rgba(23,23,23,.14) 58%, rgba(131,31,53,.2)), linear-gradient(0deg, rgba(23,23,23,.72), transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: min(92rem, 100%); padding: 8rem var(--gutter) 5rem; }
.kicker, .eyebrow { font: 600 .65rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.hero-copy h1 { max-width: 13ch; margin: clamp(1.2rem, 3vw, 2.5rem) 0; font: 500 clamp(4.2rem, 12vw, 11rem)/.83 var(--display); letter-spacing: -.065em; }
.hero-copy h1 em, h2 em { color: var(--vino); font-weight: 500; }
.hero-copy > p:not(.kicker) { max-width: 34rem; margin: 0; font: 400 clamp(.95rem, 1.6vw, 1.2rem)/1.65 var(--sans); }
.round-link { width: 8rem; height: 8rem; margin-top: clamp(2rem, 5vw, 4rem); display: grid; place-content: center; gap: .3rem; border: 1px solid rgba(243,240,232,.5); border-radius: 50%; font: 600 .65rem/1.2 var(--label); text-align: center; text-transform: uppercase; transition: background .3s, color .3s, transform .3s; }
.round-link span { font-size: 1.1rem; }
.round-link:hover { color: var(--negro); background: var(--crema); transform: rotate(-5deg); }
.hero-index { position: absolute; z-index: 3; right: var(--gutter); bottom: 4rem; display: flex; align-items: center; gap: .8rem; font: 600 .62rem/1 var(--label); letter-spacing: .1em; }
.hero-index i { width: 4rem; height: 1px; background: rgba(243,240,232,.55); }
.hero-statement { position: absolute; z-index: 3; left: var(--gutter); bottom: 1.2rem; font: 600 .56rem/1 var(--label); letter-spacing: .18em; }

.profile, .project-index, .case, .method, .contact { padding: clamp(5rem, 11vw, 10rem) var(--gutter); }
.section-intro { max-width: 84rem; margin: 0 auto clamp(4rem, 8vw, 8rem); }
.section-intro h2, .project-index-heading h2, .method-title h2 { margin: 1rem 0 0; font: 500 clamp(3.2rem, 8vw, 8rem)/.9 var(--serif); letter-spacing: -.055em; }
.profile-roster { max-width: 84rem; margin: 0 auto; border-top: 1px solid var(--gris); }
.profile-lead { display: grid; grid-template-columns: minmax(18rem, .75fr) 1.25fr; gap: clamp(2rem, 7vw, 8rem); align-items: center; padding: clamp(2rem, 5vw, 5rem) 0; border-bottom: 1px solid var(--gris); }
.profile-lead figure { max-width: 28rem; margin: 0; padding: clamp(.55rem, 1.3vw, 1rem); background: var(--gris); }
.profile-lead figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; }
.profile-portrait { filter: grayscale(1) contrast(1.04); }
.profile-lead h3 { margin: 1rem 0 1.8rem; font: 500 clamp(2.1rem, 4vw, 4.5rem)/1 var(--serif); letter-spacing: -.035em; }
.profile-lead div > p:last-child { max-width: 42rem; font-size: .98rem; line-height: 1.8; }
.profile-capabilities article { display: grid; grid-template-columns: 7rem .8fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--gris); }
.profile-capabilities article > span { font: 600 .65rem/1 var(--label); color: var(--vino); }
.profile-capabilities h3 { margin: 0 0 .5rem; font: 500 clamp(1.7rem, 3vw, 3rem)/1 var(--serif); }
.profile-capabilities p { max-width: 35rem; margin: 0; line-height: 1.7; }

.profile-carousel-wrap { width: calc(100% + var(--gutter) * 2); margin: clamp(6rem, 12vw, 11rem) calc(var(--gutter) * -1) calc(-1 * clamp(5rem, 11vw, 10rem)); padding: clamp(4rem, 7vw, 7rem) 0; color: var(--crema); background: var(--cafe); overflow: hidden; }
.carousel-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 0 var(--gutter) 2.5rem; }
.carousel-heading h3 { margin: .5rem 0 0; font: 500 clamp(2.4rem, 5vw, 5rem)/.95 var(--serif); }
.carousel-controls { display: flex; gap: .5rem; }
.carousel-controls button { width: 3rem; height: 3rem; border: 1px solid rgba(243,240,232,.5); border-radius: 50%; color: inherit; background: transparent; cursor: pointer; }
.profile-carousel { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 var(--gutter) 1rem; scrollbar-width: none; }
.profile-carousel::-webkit-scrollbar { display: none; }
.carousel-card { flex: 0 0 clamp(17rem, 29vw, 28rem); margin: 0; scroll-snap-align: center; cursor: pointer; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.carousel-card:nth-child(2) { transform: rotate(2deg); }
.carousel-card:nth-child(3) { transform: rotate(-2deg); }
.carousel-card:hover, .carousel-card.is-touched { transform: translateY(-1rem) rotate(0); }
.carousel-card > div { aspect-ratio: 4 / 5; display: grid; place-items: center; padding: .8rem; background: var(--crema); border-radius: 1.4rem; }
.carousel-card img { width: 100%; height: 100%; object-fit: contain; border-radius: .8rem; }
.carousel-card figcaption { padding: 1rem .2rem 0; font-size: .78rem; line-height: 1.5; }
.carousel-card figcaption span { display: block; font: 600 .6rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

.project-index { color: var(--crema); background: var(--negro); }
.project-index-heading { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 5vw; max-width: 84rem; margin: 0 auto clamp(4rem, 8vw, 7rem); }
.project-index-heading .eyebrow { grid-column: 1 / -1; }
.project-index-heading h2 { color: var(--crema); }
.project-index-heading > p:last-child { align-self: end; max-width: 32rem; line-height: 1.75; color: var(--gris); }
.project-list { max-width: 84rem; margin: 0 auto; border-top: 1px solid rgba(243,240,232,.3); }
.project-list a { display: grid; grid-template-columns: 4rem 1.25fr .75fr 2rem; gap: 1rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid rgba(243,240,232,.3); transition: color .25s, padding .25s, background .25s; }
.project-list a:hover { padding-left: 1rem; color: var(--vino); }
.project-list span, .project-list small { font: 600 .62rem/1.4 var(--label); letter-spacing: .09em; text-transform: uppercase; }
.project-list strong { font: 500 clamp(1.5rem, 3vw, 3rem)/1 var(--serif); }
.project-list small { color: var(--gris); }
.project-list b { text-align: right; font-size: 1.3rem; }
.motion-note { max-width: 84rem; margin: 2rem auto 0; font-size: .72rem; color: var(--gris); }

.case { position: relative; border-bottom: 1px solid var(--gris); }
.case:nth-of-type(even) { background: var(--blanco); }
.case-header { max-width: 84rem; margin: 0 auto clamp(4rem, 7vw, 7rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); }
.case-header h2 { margin: .8rem 0 0; font: 500 clamp(4rem, 9vw, 9rem)/.82 var(--serif); letter-spacing: -.06em; }
.case-header h2 em { color: var(--vino); font-weight: 500; }
.case-header dl { align-self: end; margin: 0; border-top: 1px solid currentColor; }
.case-header dl div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent); }
.case-header dt { font: 600 .6rem/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.case-header dd { margin: 0; font-size: .78rem; line-height: 1.45; }
.case-opening { max-width: 84rem; margin: 0 auto clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.case-opening.reverse { grid-template-columns: 1.25fr .75fr; }
.case-copy h3 { margin: .8rem 0 1.5rem; font: 500 clamp(2.3rem, 4.5vw, 4.7rem)/.98 var(--serif); letter-spacing: -.035em; }
.case-copy > p:last-child { line-height: 1.8; }
.media-switch, .static-media { position: relative; margin: 0; min-height: 28rem; display: grid; place-items: center; overflow: hidden; padding: clamp(.65rem, 1.5vw, 1.2rem); background: color-mix(in srgb, var(--gris) 55%, var(--crema)); cursor: pointer; }
.media-switch img, .media-switch video, .static-media img { width: 100%; height: 100%; max-height: 68vh; object-fit: contain; }
.media-switch video { position: absolute; inset: 0; opacity: 0; background: var(--negro); transition: opacity .3s; }
.media-switch.is-playing video { opacity: 1; }
.media-switch.is-playing img { visibility: hidden; }
.media-switch button { position: absolute; right: 1rem; bottom: 1rem; width: 5rem; height: 5rem; display: grid; place-content: center; gap: .1rem; border: 0; border-radius: 50%; color: var(--negro); background: var(--crema); font: 700 .6rem/1 var(--label); cursor: pointer; transition: transform .25s, background .25s; }
.media-switch button:hover { transform: scale(1.08); background: var(--vino); color: var(--crema); }
.media-switch button b { font-size: 1rem; }
.media-switch.is-playing button span { font-size: 0; }
.media-switch.is-playing button span::after { content: "PAUSA"; font-size: .58rem; }
.case-process { max-width: 84rem; margin: 0 auto clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: .5fr .5fr 1fr; gap: 1.5rem; align-items: start; }
.process-step { padding: 1.5rem 0; border-top: 1px solid currentColor; }
.process-step > span { color: var(--vino); font: 600 .65rem/1 var(--label); }
.process-step h3 { margin: .6rem 0; font: 500 2.2rem/1 var(--serif); }
.process-step p:last-child { font-size: .8rem; line-height: 1.65; }
.case-proof { max-width: 84rem; margin: 0 auto; display: grid; grid-template-columns: .35fr 1fr; gap: 2rem; padding: 2rem 0 0; border-top: 1px solid currentColor; }
.case-proof > p:last-child { max-width: 62rem; margin: 0; font: 500 clamp(1.6rem, 3vw, 3rem)/1.15 var(--serif); }

.contain-gallery { max-width: 84rem; margin: 0 auto clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.contain-gallery figure { margin: 0; display: grid; grid-template-rows: minmax(24rem, 65vh) auto; background: color-mix(in srgb, var(--gris) 22%, transparent); }
.contain-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.contain-gallery figcaption, .velez-flow figcaption { padding: .85rem 1rem; font: 600 .62rem/1.3 var(--label); letter-spacing: .08em; text-transform: uppercase; border-top: 1px solid rgba(23,23,23,.18); }
.gallery-arantha figure:nth-child(3) { grid-row: span 2; }
.gallery-three { grid-template-columns: repeat(4, 1fr); }
.gallery-three figure { grid-template-rows: minmax(24rem, 55vh) auto; }
.gallery-bonhomias { grid-template-columns: repeat(4, 1fr); }
.gallery-bonhomias figure { grid-template-rows: minmax(24rem, 58vh) auto; }
.velez-flow { max-width: 84rem; margin: 0 auto clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem; }
.velez-flow figure { margin: 0; background: var(--blanco); }
.velez-flow figure img { width: 100%; height: min(68vh, 46rem); object-fit: contain; padding: 1rem; }
.velez-flow figure:nth-of-type(1) { grid-column: span 8; }
.velez-flow .flow-copy { grid-column: span 4; align-self: center; padding: 2rem; }
.flow-copy > span { color: var(--vino); font: 600 .65rem/1 var(--label); }
.flow-copy h3 { margin: .8rem 0; font: 500 3rem/1 var(--serif); }
.flow-copy p:last-child { line-height: 1.7; }
.velez-flow figure:nth-of-type(n+2) { grid-column: span 4; }
.case-velez { color: var(--crema); background: var(--cafe) !important; }
.case-velez .media-switch { background: #2d211c; }
.case-velez .velez-flow figcaption { color: var(--negro); }
.case-macondo { color: var(--crema); background: var(--negro) !important; }

/* Navegación de proyectos */
.project-dropdown { position: relative; }
.project-dropdown summary { display: flex; align-items: center; gap: .35rem; list-style: none; cursor: pointer; }
.project-dropdown summary::-webkit-details-marker { display: none; }
.project-dropdown summary b { color: var(--vino); font-size: 1rem; transition: transform .25s; }
.project-dropdown[open] summary b { transform: rotate(45deg); }
.project-dropdown-panel { position: absolute; top: calc(100% + 1rem); right: 0; width: min(25rem, 84vw); padding: .65rem; color: var(--negro); background: var(--crema); border: 1px solid rgba(23,23,23,.18); box-shadow: 0 1.5rem 4rem rgba(23,23,23,.22); }
.project-dropdown-panel a { display: grid; grid-template-columns: 2rem 1fr; gap: .65rem; padding: .85rem .7rem; border-bottom: 1px solid rgba(23,23,23,.12); font: 500 .72rem/1.25 var(--label); letter-spacing: .04em; text-transform: none; }
.project-dropdown-panel a:last-child { border-bottom: 0; }
.project-dropdown-panel a:hover, .project-dropdown-panel a[aria-current="page"] { color: var(--vino); background: rgba(133,32,57,.06); }
.project-dropdown-panel span { font-size: .58rem; letter-spacing: .1em; }

/* Interacción de capacidades inspirada en una lista editorial */
.talent-interaction { display: grid; grid-template-columns: minmax(17rem, .85fr) 1.15fr; min-height: 38rem; border-bottom: 1px solid var(--gris); }
.talent-visual { position: sticky; top: 5rem; height: 38rem; margin: 0 4rem 0 0; align-self: start; overflow: hidden; background: var(--negro); }
.talent-visual img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); transition: opacity .25s, transform .6s cubic-bezier(.2,.7,.2,1); }
.talent-visual.is-changing img { opacity: .2; transform: scale(.97); }
.talent-visual p { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; margin: 0; padding: .8rem; color: var(--crema); background: rgba(23,23,23,.72); backdrop-filter: blur(10px); font: 500 .66rem/1.5 var(--label); letter-spacing: .06em; text-transform: uppercase; }
.profile-capabilities button { width: 100%; display: grid; grid-template-columns: 4rem 1fr 2rem; gap: 1rem; align-items: start; padding: 2.2rem 0; color: inherit; text-align: left; border: 0; border-bottom: 1px solid var(--gris); background: transparent; cursor: pointer; transition: color .25s, padding .25s; }
.profile-capabilities button:first-child { border-top: 1px solid var(--gris); }
.profile-capabilities button:hover, .profile-capabilities button:focus-visible, .profile-capabilities button.is-active { padding-left: 1rem; color: var(--vino); }
.profile-capabilities button > span { padding-top: .45rem; font: 600 .65rem/1 var(--label); }
.profile-capabilities button h3 { margin: 0 0 .6rem; }
.profile-capabilities button p { color: var(--negro); }
.profile-capabilities button > b { padding-top: .35rem; font-size: 1.2rem; }

/* Páginas individuales */
.page-project .site-header { color: var(--negro); background: color-mix(in srgb, var(--crema) 92%, transparent); border-bottom: 1px solid rgba(23,23,23,.12); backdrop-filter: blur(16px); }
.page-project .project-page-main { padding-top: 4.6rem; }
.page-project .case { min-height: 100vh; }
.page-project-dark .site-header { color: var(--crema); background: color-mix(in srgb, var(--negro) 88%, transparent); border-color: rgba(243,240,232,.15); }
.page-project .case-header { align-items: end; padding-top: clamp(4rem, 8vw, 8rem); }
.case-title-lockup { display: grid; grid-template-columns: minmax(0, 1fr) clamp(8rem, 19vw, 17rem); align-items: end; min-width: 0; }
.case-title-lockup img { width: 100%; max-height: 25rem; object-fit: contain; object-position: center bottom; }
.case-header h1 { margin: .8rem 0 0; font: 500 clamp(4rem, 8.5vw, 8.5rem)/.82 var(--serif); letter-spacing: -.06em; }
.case-header h1 em { color: var(--vino); font-weight: 500; }
.case-copy h2 { margin: .8rem 0 1.5rem; font: 500 clamp(2.3rem, 4.5vw, 4.7rem)/.98 var(--serif); letter-spacing: -.035em; }
.page-project .case-opening, .page-project .case-process, .page-project .contain-gallery, .page-project .velez-flow, .page-project .case-proof { max-width: 72rem; }
.page-project .contain-gallery figure, .page-project .velez-flow figure { padding: clamp(.55rem, 1.3vw, 1rem); background: color-mix(in srgb, var(--crema) 84%, var(--gris)); }
.page-project .contain-gallery figure img, .page-project .velez-flow figure img { max-height: 65vh; object-fit: contain; }
.project-pagination { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem var(--gutter); color: var(--crema); background: var(--vino); font: 600 .68rem/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; }

/* Ampliación de moodboards y mix de colección */
.zoomable { position: relative; cursor: zoom-in; }
.zoomable::after { content: "+"; position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; color: var(--crema); background: var(--vino); border-radius: 50%; font: 600 1.1rem/1 var(--label); }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: clamp(3rem, 6vw, 5rem); border: 0; color: var(--crema); background: rgba(23,23,23,.96); }
.lightbox::backdrop { background: rgba(23,23,23,.75); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox img { width: 100%; height: 100%; max-height: calc(100vh - 9rem); object-fit: contain; }
.lightbox p { margin: .8rem 0 0; font: 600 .65rem/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.lightbox button { position: fixed; top: 1rem; right: 1rem; z-index: 3; width: 3rem; height: 3rem; border: 0; border-radius: 50%; color: var(--negro); background: var(--crema); font-size: 1.5rem; cursor: pointer; }
.dark-gallery figure { background: #242322; }
.dark-gallery figcaption { border-color: rgba(243,240,232,.2); }

.method { color: var(--crema); background: var(--vino); }
.method-title { max-width: 84rem; margin: 0 auto clamp(4rem, 8vw, 7rem); }
.method-title h2 { color: var(--crema); }
.method ol { max-width: 84rem; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid rgba(243,240,232,.45); }
.method li { display: grid; grid-template-columns: 5rem .6fr 1fr; gap: 2rem; align-items: baseline; padding: 1.7rem 0; border-bottom: 1px solid rgba(243,240,232,.45); }
.method li span { font: 600 .65rem/1 var(--label); }
.method li h3 { margin: 0; font: 500 clamp(2rem, 4vw, 4rem)/1 var(--serif); }
.method li p { max-width: 36rem; margin: 0; line-height: 1.7; }

.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 8vw, 9rem); min-height: 85vh; align-items: center; }
.contact h2 { margin: 1rem 0 2rem; font: 500 clamp(4.5rem, 10vw, 10rem)/.82 var(--serif); letter-spacing: -.06em; }
.contact h2 em { color: var(--vino); }
.contact-copy > p:last-child { max-width: 37rem; line-height: 1.75; }
.contact-links { border-top: 1px solid var(--negro); }
.contact-links a { display: grid; grid-template-columns: .5fr 1.4fr auto; gap: 1rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--negro); transition: color .25s, padding .25s; }
.contact-links a:hover { padding-left: 1rem; color: var(--vino); }
.contact-links span { font: 600 .6rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.contact-links strong { font: 500 clamp(1rem, 1.5vw, 1.3rem)/1.3 var(--sans); overflow-wrap: anywhere; }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem var(--gutter); color: var(--crema); background: var(--negro); font: 600 .58rem/1.3 var(--label); letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.cursor { position: fixed; z-index: 3000; left: 0; top: 0; width: .8rem; height: .8rem; display: grid; place-items: center; border-radius: 50%; color: var(--crema); background: var(--vino); pointer-events: none; transform: translate(-50%, -50%); transition: width .2s, height .2s, opacity .2s; mix-blend-mode: normal; }
.cursor span { opacity: 0; font: 700 .55rem/1 var(--label); letter-spacing: .06em; }
.cursor.active { width: 4.5rem; height: 4.5rem; }
.cursor.active span { opacity: 1; }
.cursor.hidden { opacity: 0; }

@media (max-width: 980px) {
  .project-index-heading, .case-header, .contact { grid-template-columns: 1fr; }
  .profile-lead { grid-template-columns: .85fr 1.15fr; }
  .talent-interaction { grid-template-columns: .85fr 1.15fr; }
  .talent-visual { margin-right: 2rem; }
  .gallery-three, .gallery-bonhomias { grid-template-columns: repeat(2, 1fr); }
  .velez-flow figure:nth-of-type(1), .velez-flow .flow-copy { grid-column: span 6; }
  .velez-flow figure:nth-of-type(n+2) { grid-column: span 6; }
}

@media (max-width: 720px) {
  :root { --gutter: 1.2rem; }
  .cursor { display: none; }
  .site-header nav > a { display: none; }
  .site-header nav { gap: .85rem; }
  .project-dropdown summary { font-size: .63rem; }
  .hero-copy { padding-top: 7rem; }
  .hero-copy h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .hero-copy > p:not(.kicker) { max-width: 23rem; font-size: .88rem; }
  .round-link { width: 6.5rem; height: 6.5rem; }
  .hero-index { bottom: 3.6rem; }
  .hero-statement { right: var(--gutter); white-space: nowrap; overflow: hidden; }
  .menu nav a { grid-template-columns: 2rem 1fr; font-size: clamp(2.3rem, 13vw, 4rem); padding: .45rem 0; }
  .menu-note { display: none; }
  .profile-lead, .talent-interaction, .case-opening, .case-opening.reverse, .case-process { grid-template-columns: 1fr; }
  .profile-lead figure { max-width: 28rem; }
  .profile-capabilities article { grid-template-columns: 3rem 1fr; }
  .talent-visual { position: relative; top: auto; width: min(100%, 27rem); height: 31rem; margin: 0 auto 2rem; }
  .profile-capabilities button { grid-template-columns: 2.5rem 1fr 1rem; }
  .carousel-heading { align-items: flex-end; }
  .carousel-heading h3 { font-size: 2.5rem; }
  .carousel-card { flex-basis: 78vw; }
  .project-index-heading { gap: 1rem; }
  .project-index-heading > p:last-child { margin-top: 1rem; }
  .project-list a { grid-template-columns: 2.2rem 1fr 1.5rem; }
  .project-list small { display: none; }
  .case-header h2 { font-size: clamp(4rem, 20vw, 7rem); }
  .case-header h1 { font-size: clamp(3.4rem, 17vw, 6rem); }
  .case-title-lockup { grid-template-columns: minmax(0, 1fr) 7rem; }
  .case-title-lockup img { max-height: 13rem; }
  .media-switch, .static-media { min-height: 24rem; }
  .case-process .media-switch { grid-row: 1; }
  .case-proof { grid-template-columns: 1fr; gap: .8rem; }
  .contain-gallery, .gallery-three, .gallery-bonhomias { grid-template-columns: 1fr; }
  .contain-gallery figure, .gallery-three figure, .gallery-bonhomias figure { grid-template-rows: minmax(22rem, 64vh) auto; }
  .gallery-arantha figure:nth-child(3) { grid-row: auto; }
  .velez-flow { grid-template-columns: 1fr; }
  .velez-flow figure:nth-of-type(1), .velez-flow .flow-copy, .velez-flow figure:nth-of-type(n+2) { grid-column: auto; }
  .method li { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .method li p { grid-column: 2; }
  .contact { min-height: auto; }
  .contact-links a { grid-template-columns: 5rem 1fr auto; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor { display: none; }
  .hero-slide { transform: none; }
}

/* Revisión editorial 03 */
.loader-center { font-size: clamp(5rem, 16vw, 12rem); }

/* Perfil inspirado en la secuencia fotográfica de referencia */
.profile { padding: 0; color: var(--crema); background: var(--negro); }
.profile-cover { position: relative; min-height: min(84rem, 88vh); display: flex; align-items: flex-end; overflow: hidden; background: var(--negro); }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,.05) 35%, rgba(23,23,23,.9) 100%); }
.profile-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: grayscale(1) contrast(1.05); }
.profile-cover-meta { position: relative; z-index: 1; width: 100%; padding: clamp(2rem, 5vw, 5rem) var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: .8rem 2rem; align-items: end; }
.profile-cover-meta .eyebrow { grid-column: 1 / -1; }
.profile-cover-meta h2 { margin: 0; font: 500 clamp(3.4rem, 8vw, 8.5rem)/.85 var(--serif); letter-spacing: -.055em; }
.profile-cover-meta > p:last-child { max-width: 28rem; margin: 0; text-align: right; font: 600 .65rem/1.6 var(--label); letter-spacing: .09em; text-transform: uppercase; }
.profile-services-stage { min-height: 100vh; display: grid; grid-template-columns: minmax(10rem, 19vw) minmax(14rem, 1fr) minmax(10rem, 15vw) minmax(14rem, 1fr) minmax(10rem, 19vw); gap: clamp(1rem, 2.5vw, 3rem); align-items: center; padding: clamp(4rem, 8vw, 8rem) 0; overflow: hidden; background: #0b0b0b; }
.profile-services-stage figure { margin: 0; overflow: hidden; }
.profile-services-stage img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.profile-wing { height: min(48rem, 76vh); }
.profile-wing-left img { object-position: 70% center; }
.profile-wing-right img { object-position: 30% center; }
.profile-service-center { height: min(25rem, 44vh); display: grid; grid-template-rows: auto 1fr; gap: 1rem; }
.profile-service-center figcaption { text-align: center; font: 600 .62rem/1 var(--label); letter-spacing: .11em; text-transform: uppercase; }
.profile-service-center img { object-fit: cover; object-position: center 32%; }
.profile-service-copy { align-self: center; text-align: center; }
.profile-service-copy h3 { margin: 1rem auto 1.5rem; max-width: 24rem; font: 500 clamp(2rem, 3.4vw, 3.8rem)/.96 var(--serif); letter-spacing: -.035em; }
.profile-service-copy > p:last-child { max-width: 26rem; margin: 0 auto; font-size: .82rem; line-height: 1.8; color: var(--gris); }
.profile-carousel-wrap { width: 100%; margin: 0; padding: clamp(3.5rem, 6vw, 6rem) 0; background: var(--cafe); }
.profile-carousel { gap: clamp(1rem, 2vw, 2rem); scroll-snap-type: none; scroll-behavior: auto; overscroll-behavior-inline: contain; }
.carousel-card { flex-basis: clamp(20rem, 31vw, 33rem); color: var(--crema); text-decoration: none; }
.carousel-card > div { aspect-ratio: 4 / 5; border-radius: 0; }
.carousel-card img { border-radius: 0; object-fit: contain; }
.carousel-caption { display: block; padding: 1rem .2rem 0; font-size: .78rem; line-height: 1.5; }
.carousel-caption b { display: block; margin-bottom: .25rem; font: 600 .6rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* Ritmo y divisiones de color en los casos */
.case-levis { --band-a: #e8e4db; --band-b: #852039; --band-c: #6d5142; }
.case-arantha { --band-a: #dedbd3; --band-b: #852039; --band-c: #171717; }
.case-velez { --band-a: #523c31; --band-b: #171717; --band-c: #852039; }
.case-inefable { --band-a: #dedbd3; --band-b: #171717; --band-c: #6d5142; }
.case-bonhomias { --band-a: #e8e4db; --band-b: #852039; --band-c: #6d5142; }
.case-macondo { --band-a: #2c2321; --band-b: #852039; --band-c: #6d5142; }
.page-project .case { padding-top: clamp(1.25rem, 2.8vw, 2.75rem); padding-bottom: 0; }
.page-project .case-header { padding-top: 0; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.page-project .case-title-lockup img { max-height: 20rem; }
.page-project .case-opening { width: calc(100% + var(--gutter) * 2); max-width: none; min-height: 82vh; margin: 0 calc(var(--gutter) * -1); padding: clamp(3rem, 7vw, 7rem) var(--gutter); background: var(--band-a); }
.page-project .case-velez .case-opening, .page-project .case-macondo .case-opening { color: var(--crema); }
.page-project .case-opening > * { width: 100%; max-width: 44rem; justify-self: center; }
.page-project .case-process { width: calc(100% + var(--gutter) * 2); max-width: none; margin: 0 calc(var(--gutter) * -1); padding: clamp(3rem, 7vw, 7rem) var(--gutter); color: var(--crema); background: var(--band-b); }
.page-project .case-process > * { max-width: 38rem; justify-self: center; }

.page-project .contain-gallery { width: calc(100% + var(--gutter) * 2); max-width: none; margin: 0 calc(var(--gutter) * -1); display: block; }
.page-project .contain-gallery figure { min-height: 88vh; margin: 0; padding: clamp(3rem, 7vw, 7rem) max(var(--gutter), calc((100vw - 82rem) / 2)); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); grid-template-rows: 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; color: var(--negro); background: var(--band-a); border: 0; }
.page-project .contain-gallery figure:nth-child(3n + 2) { color: var(--crema); background: var(--band-b); }
.page-project .contain-gallery figure:nth-child(3n) { color: var(--crema); background: var(--band-c); }
.page-project .contain-gallery figure:nth-child(even) img { grid-column: 2; grid-row: 1; }
.page-project .contain-gallery figure:nth-child(even) figcaption { grid-column: 1; grid-row: 1; }
.page-project .contain-gallery figure img { grid-column: 1; grid-row: 1; width: 100%; height: 100%; max-height: 76vh; padding: 0; object-fit: contain; }
.page-project .contain-gallery figure figcaption { grid-column: 2; grid-row: 1; padding: 0; border: 0; text-transform: none; }
.page-project .contain-gallery figcaption span, .page-project .velez-flow figcaption span { display: block; margin-bottom: 1rem; font: 600 .62rem/1.3 var(--label); letter-spacing: .11em; text-transform: uppercase; }
.page-project .contain-gallery figcaption strong, .page-project .velez-flow figcaption strong { display: block; margin-bottom: 1rem; font: 500 clamp(2.1rem, 4vw, 4.4rem)/.95 var(--serif); letter-spacing: -.035em; }
.page-project .contain-gallery figcaption p, .page-project .velez-flow figcaption p { max-width: 30rem; margin: 0; font-size: .88rem; line-height: 1.8; }
.page-project .gallery-arantha figure:nth-child(3) { grid-row: auto; }

.page-project .velez-flow { width: calc(100% + var(--gutter) * 2); max-width: none; margin: 0 calc(var(--gutter) * -1); display: block; }
.page-project .velez-flow figure { min-height: 88vh; margin: 0; padding: clamp(3rem, 7vw, 7rem) max(var(--gutter), calc((100vw - 82rem) / 2)); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; color: var(--negro); background: var(--crema); }
.page-project .velez-flow figure img { width: 100%; height: 100%; max-height: 76vh; padding: 0; object-fit: contain; }
.page-project .velez-flow figure figcaption { padding: 0; border: 0; }
.page-project .velez-flow .flow-copy { min-height: 58vh; padding: clamp(3rem, 7vw, 7rem) max(var(--gutter), calc((100vw - 82rem) / 2)); display: grid; align-content: center; color: var(--crema); background: var(--band-b); }
.page-project .velez-flow .flow-copy h3 { font-size: clamp(2.8rem, 6vw, 6.5rem); }

.motion-gallery { width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); padding: clamp(3rem, 7vw, 7rem) var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); color: var(--crema); background: var(--band-c); }
.motion-gallery > header { grid-column: 1 / -1; max-width: 70rem; margin: 0 auto clamp(2rem, 4vw, 4rem); text-align: center; }
.motion-gallery > header h2 { margin: .8rem 0 1rem; font: 500 clamp(3rem, 7vw, 7rem)/.9 var(--serif); letter-spacing: -.05em; }
.motion-gallery > header > p:last-child { max-width: 42rem; margin: 0 auto; line-height: 1.75; color: var(--gris); }
.motion-gallery figure { margin: 0; background: rgba(23,23,23,.22); }
.motion-gallery video { width: 100%; height: min(66vh, 42rem); display: block; object-fit: contain; background: #101010; }
.motion-gallery figcaption { padding: 1.2rem; }
.motion-gallery figcaption span { display: block; margin-bottom: .7rem; color: var(--gris); font: 600 .62rem/1 var(--label); }
.motion-gallery figcaption strong { display: block; margin-bottom: .55rem; font: 500 1.9rem/1 var(--serif); }
.motion-gallery figcaption p { margin: 0; font-size: .78rem; line-height: 1.65; color: var(--gris); }
.page-project .case-proof { width: calc(100% + var(--gutter) * 2); max-width: none; margin: 0 calc(var(--gutter) * -1); padding: clamp(3rem, 6vw, 6rem) max(var(--gutter), calc((100vw - 82rem) / 2)); color: var(--crema); background: var(--vino); border: 0; }

@media (max-width: 980px) {
  .profile-services-stage { grid-template-columns: 17vw 1fr 18vw 1fr 17vw; gap: 1rem; }
  .profile-service-copy h3 { font-size: clamp(1.7rem, 3.7vw, 3rem); }
  .page-project .contain-gallery figure, .page-project .velez-flow figure { grid-template-columns: 1.15fr .85fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .loader-center { font-size: clamp(4.5rem, 28vw, 8rem); }
  .profile-cover { min-height: 82vh; }
  .profile-cover-meta { grid-template-columns: 1fr; }
  .profile-cover-meta > p:last-child { text-align: left; }
  .profile-services-stage { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem var(--gutter); }
  .profile-wing { display: none; }
  .profile-service-center { width: min(72vw, 20rem); height: 27rem; margin: 0 auto; grid-row: 2; }
  .profile-service-left { grid-row: 1; }
  .profile-service-right { grid-row: 3; }
  .profile-carousel { padding-inline: var(--gutter); }
  .carousel-card { flex-basis: 82vw; }
  .page-project .case { padding-top: 1rem; }
  .page-project .case-header { margin-bottom: 2rem; }
  .page-project .case-opening { min-height: auto; padding-block: 3.5rem; }
  .page-project .case-process { padding-block: 3.5rem; }
  .page-project .contain-gallery figure, .page-project .velez-flow figure { min-height: auto; padding: 3.5rem var(--gutter); grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 2rem; }
  .page-project .contain-gallery figure img, .page-project .contain-gallery figure:nth-child(even) img { grid-column: 1; grid-row: 1; max-height: 64vh; }
  .page-project .contain-gallery figure figcaption, .page-project .contain-gallery figure:nth-child(even) figcaption { grid-column: 1; grid-row: 2; }
  .page-project .velez-flow figure img { max-height: 64vh; }
  .motion-gallery { grid-template-columns: 1fr; padding-block: 3.5rem; }
  .motion-gallery > header { grid-column: 1; }
  .motion-gallery video { height: 62vh; }
}

/* Revisión editorial 04 */
/* Contraste en las franjas oscuras */
.page-project .case-macondo .contain-gallery figure,
.page-project .case-macondo .contain-gallery figcaption,
.page-project .case-macondo .contain-gallery figcaption span,
.page-project .case-macondo .contain-gallery figcaption strong,
.page-project .case-macondo .contain-gallery figcaption p {
  color: var(--crema);
}

/* Fotografías a escala completa dentro de cada franja editorial */
.page-project .contain-gallery figure,
.page-project .velez-flow figure {
  min-height: 100vh;
  padding: 0;
  grid-template-columns: minmax(0, 72fr) minmax(18rem, 28fr);
  gap: 0;
  overflow: hidden;
}
.page-project .contain-gallery figure img,
.page-project .velez-flow figure img {
  width: 100%;
  height: 100vh;
  max-height: none;
  padding: clamp(.75rem, 1.5vw, 1.5rem);
  object-fit: contain;
}
.page-project .contain-gallery figure figcaption,
.page-project .velez-flow figure figcaption {
  padding: clamp(2.5rem, 5vw, 6rem);
}
.page-project .contain-gallery figure:nth-child(even) {
  grid-template-columns: minmax(18rem, 28fr) minmax(0, 72fr);
}

/* Carrusel continuo inspirado en el archivo fotográfico de referencia */
.profile-carousel-wrap {
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
  color: var(--crema);
  background:
    radial-gradient(circle at 22% 20%, rgba(255,255,255,.055), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,.035), transparent 26%),
    #202020;
}
.carousel-heading { padding-bottom: clamp(2rem, 4vw, 4rem); }
.profile-carousel {
  gap: clamp(1.1rem, 1.8vw, 2rem);
  padding: 0;
  overflow-x: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
}
.carousel-card,
.carousel-card:nth-child(2),
.carousel-card:nth-child(3),
.carousel-card:hover,
.carousel-card.is-touched {
  flex: 0 0 clamp(15rem, 22vw, 23rem);
  display: grid;
  grid-template-rows: auto minmax(22rem, 55vh) auto;
  gap: .8rem;
  margin: 0;
  color: var(--crema);
  text-decoration: none;
  transform: none;
}
.carousel-number {
  padding-left: .2rem;
  font: italic 500 .82rem/1 var(--serif);
  color: rgba(244,240,232,.76);
}
.carousel-card > div {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.carousel-card img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
.carousel-caption {
  min-height: 3.25rem;
  padding: .3rem .2rem 0;
  color: rgba(244,240,232,.78);
}
.carousel-caption b { color: var(--crema); opacity: 1; }
.carousel-dots { display: flex; justify-content: center; gap: .65rem; padding-top: 2.5rem; }
.carousel-dots i { width: .42rem; height: .42rem; border: 1px solid rgba(244,240,232,.68); border-radius: 50%; }
.carousel-dots i:first-child { background: var(--crema); }

/* Monograma aislado al cierre */
footer { align-items: center; }
.footer-logo { width: 2.65rem; height: 3rem; display: block; object-fit: contain; border-radius: .35rem; }

@media (max-width: 720px) {
  .page-project .contain-gallery figure,
  .page-project .contain-gallery figure:nth-child(even),
  .page-project .velez-flow figure {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 0;
    gap: 0;
  }
  .page-project .contain-gallery figure img,
  .page-project .contain-gallery figure:nth-child(even) img,
  .page-project .velez-flow figure img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: min(76vh, 42rem);
    max-height: none;
    padding: 1rem;
  }
  .page-project .contain-gallery figure figcaption,
  .page-project .contain-gallery figure:nth-child(even) figcaption,
  .page-project .velez-flow figure figcaption {
    grid-column: 1;
    grid-row: 2;
    padding: 2.5rem var(--gutter) 3.5rem;
  }
  .profile-carousel { padding-inline: 0; }
  .carousel-card,
  .carousel-card:nth-child(2),
  .carousel-card:nth-child(3),
  .carousel-card:hover {
    flex-basis: 74vw;
    grid-template-rows: auto minmax(20rem, 54vh) auto;
  }
  footer { flex-direction: row; flex-wrap: wrap; }
  .footer-logo { margin-left: auto; }
}

/* Revisión editorial 05 · perfil tras paneles de textura */
.profile-reveal-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #090909;
}
.profile-reveal-shell .profile-services-stage {
  min-height: 100vh;
  grid-template-columns: minmax(14rem, 1fr) minmax(13rem, 18vw) minmax(14rem, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(10rem, 16vw, 16rem);
  opacity: .18;
  transform: scale(.98);
  transition: opacity .7s ease .15s, transform .9s cubic-bezier(.2,.75,.2,1) .08s;
}
.profile-reveal-shell.is-open .profile-services-stage {
  opacity: 1;
  transform: scale(1);
}
.profile-reveal-shell .profile-service-center {
  width: 100%;
  height: min(31rem, 56vh);
}
.profile-reveal-shell .profile-service-center img {
  object-position: center 26%;
}
.profile-curtain {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--crema);
  background: transparent;
  cursor: pointer;
}
.profile-curtain-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.08%;
  background-image: linear-gradient(rgba(38, 5, 13, .08), rgba(38, 5, 13, .08)), url("assets/images/profile-curtain-texture.png");
  background-repeat: no-repeat;
  background-size: 200% 100%;
  box-shadow: 0 0 2rem rgba(0,0,0,.25);
  transition: transform 1.05s cubic-bezier(.75,0,.2,1);
}
.profile-curtain-left { left: 0; background-position: left center; }
.profile-curtain-right { right: 0; background-position: right center; }
.profile-curtain-prompt {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  gap: .65rem;
  min-width: 12rem;
  padding: 1.3rem 1.7rem;
  transform: translate(-50%, -50%);
  color: var(--crema);
  background: rgba(14, 8, 9, .72);
  border: 1px solid rgba(244,240,232,.42);
  backdrop-filter: blur(8px);
  transition: opacity .35s ease, transform .55s ease;
}
.profile-curtain-prompt b {
  font: 600 .72rem/1 var(--label);
  letter-spacing: .2em;
}
.profile-curtain-prompt small {
  font: 500 .55rem/1.3 var(--label);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}
.profile-reveal-shell.is-open .profile-curtain-left { transform: translateX(-72%); }
.profile-reveal-shell.is-open .profile-curtain-right { transform: translateX(72%); }
.profile-reveal-shell.is-open .profile-curtain-prompt {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.88);
  pointer-events: none;
}
.profile-curtain:focus-visible { outline: 2px solid var(--crema); outline-offset: -6px; }

@media (max-width: 980px) {
  .profile-reveal-shell .profile-services-stage {
    grid-template-columns: 1fr minmax(11rem, 22vw) 1fr;
    gap: 1.5rem;
    padding-inline: 14vw;
  }
}

@media (max-width: 720px) {
  .profile-reveal-shell { min-height: 46rem; }
  .profile-reveal-shell .profile-services-stage {
    min-height: 46rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto 24rem auto;
    gap: 2.25rem;
    padding: 4rem var(--gutter);
  }
  .profile-reveal-shell .profile-service-left,
  .profile-reveal-shell .profile-service-right { grid-row: auto; }
  .profile-reveal-shell .profile-service-center {
    grid-row: 2;
    width: min(72vw, 19rem);
    height: 24rem;
    margin: 0 auto;
  }
  .profile-reveal-shell.is-open .profile-curtain-left { transform: translateX(-94%); }
  .profile-reveal-shell.is-open .profile-curtain-right { transform: translateX(94%); }
  .profile-curtain-prompt { min-width: 10rem; padding: 1.1rem 1.3rem; }
}

/* Revisión solicitada · octubre 2026 */
.loader-center { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); align-items:center; font-size:clamp(.5rem,1.6vw,1.2rem); line-height:1; letter-spacing:0; }
.loader-center sup { margin:0 0 0 .15em; font-size:.55em; }
.loader-line { grid-row:3; }
.loader > p { grid-row:4; }
.hero { min-height: min(48rem, 90svh); }
.hero-copy { padding-block:7rem 4rem; }
.round-link { width:fit-content; height:auto; display:flex; align-items:center; gap:1rem; border:0; border-radius:0; margin-top:1.7rem; padding:.35rem 0; }
.round-link .profile-link-dot { width:1.6rem; height:1.6rem; flex:none; border:1px solid currentColor; border-radius:50%; transition:background .3s; }
.round-link .profile-link-label { font-size:.65rem; }
.round-link:hover { color:var(--crema); background:transparent; transform:none; }
.round-link:hover .profile-link-dot { background:var(--crema); }
.profile-cover { min-height:0; aspect-ratio: 2.4 / 1; }
.profile-title-texture { position:absolute; inset:0; background-color:var(--vino); background-image:url('assets/images/perfil-textura.png'); background-size:cover; background-position:center; background-blend-mode:luminosity; }
.profile-cover::after { background:linear-gradient(0deg,rgba(36,4,12,.8),transparent 85%); }
.profile-cover-meta { grid-template-columns:1fr; }
.profile-cover-meta > p:last-child { max-width:none; text-align:left; }
.profile-reveal-shell { min-height:48rem; }
.profile-reveal-shell .profile-services-stage { min-height:48rem; grid-template-columns:minmax(16rem,.85fr) minmax(18rem,1fr); grid-template-rows:1fr 1fr; padding:4rem var(--gutter); gap:2rem 5vw; }
.profile-reveal-shell .profile-service-center { grid-column:1; grid-row:1 / 3; height:auto; align-self:center; max-width:32rem; }
.profile-reveal-shell .profile-service-center img { height:auto; object-fit:contain; filter:none; }
.profile-service-center figcaption { text-align:left; }
.profile-reveal-shell .profile-service-copy { grid-column:2; text-align:left; }
.profile-service-copy h3 { margin:.7rem 0 1rem; max-width:none; }
.profile-service-copy > p:last-child { margin:0; max-width:36rem; font-size:.95rem; }
.profile-service-left { align-self:end; }
.profile-service-right { align-self:start; }
.profile-curtain { background:transparent; display:block; overflow:visible; }
.profile-magazine-split { position:absolute; top:0; left:50%; width:min(100%,37rem); aspect-ratio:1052 / 1495; transform:translateX(-50%); }
.profile-magazine-half { position:absolute; top:0; width:50%; height:100%; overflow:hidden; transition:transform 1.05s cubic-bezier(.75,0,.2,1); }
.profile-magazine-left { left:0; }
.profile-magazine-right { right:0; }
.profile-magazine-half img { position:absolute; top:0; width:200%; max-width:none; height:100%; }
.profile-magazine-left img { left:0; }
.profile-magazine-right img { right:0; }
.profile-reveal-shell.is-open .profile-magazine-left { transform:translateX(calc(-1 * var(--profile-panel-travel))); }
.profile-reveal-shell.is-open .profile-magazine-right { transform:translateX(var(--profile-panel-travel)); }
.profile-curtain-prompt { top:auto; bottom:1.5rem; transform:translateX(-50%); }
.profile-reveal-shell.is-open .profile-curtain { pointer-events:none; }
.profile-reveal-shell, .profile-reveal-shell:not(.is-open) { width:100%; min-height:0; aspect-ratio:auto; transition:height 1.05s cubic-bezier(.75,0,.2,1); }
.profile-reveal-shell .profile-services-stage { position:absolute; top:0; left:0; width:100%; opacity:0; }
.profile-reveal-shell.is-open .profile-services-stage { opacity:1; }
.profile-close { position:absolute; right:var(--gutter); top:1.1rem; z-index:6; padding:.6rem 1rem; border:1px solid var(--gris); background:transparent; color:var(--crema); cursor:pointer; font:500 .65rem/1.2 var(--label); }
.profile-close[hidden] { display:none; }
.round-link { min-height:44px; }
.round-link:focus-visible { outline:2px solid var(--crema); outline-offset:6px; }
@media(max-width:720px) {
 .hero { min-height:42rem; }
 .round-link .profile-link-dot { width:1.3rem; height:1.3rem; }
 .profile-cover { aspect-ratio:1.5; }
 .profile-cover-meta h2 { font-size:clamp(2.7rem,10vw,4rem); }
 .profile-reveal-shell .profile-services-stage { grid-template-columns:1fr; grid-template-rows:auto auto auto; padding:3rem var(--gutter); gap:2rem; }
 .profile-reveal-shell .profile-service-center { grid-column:1; grid-row:1; width:100%; max-width:25rem; height:auto; }
 .profile-reveal-shell .profile-service-copy { grid-column:1; grid-row:auto; }
 .profile-reveal-shell:not(.is-open) { height:auto; min-height:0; }
 .loader-center { font-size:clamp(.45rem,2.8vw,.8rem); }
}
@media(prefers-reduced-motion:reduce) {
 .profile-magazine-half, .profile-reveal-shell, .profile-reveal-shell .profile-services-stage { transition:none; }
}
