/* Cinematic refinement · José Restrepo · 2026-11-02
   Restrained art direction, no duplicate embedded titles. */
:root { --jr-amber: #cbaa6f; --jr-taupe: #aba397; }

/* Home language control belongs to the masthead, never floating over work cards. */
.home-page > .lang-toggle { position:absolute;top:2rem;right:2rem;z-index:100; }

/* Home · cards feel like photographic stills rather than ecommerce tiles. */
#proyectos-destacados.featured-work {
  padding: 112px max(6vw, calc((100vw - 1550px) / 2)) 104px;
  background: radial-gradient(ellipse 40% 50% at 100% -8%, rgba(168,126,69,.095), transparent 85%),
              linear-gradient(180deg,#10100f 0%,#0a0a0a 100%);
  isolation:isolate;
  position:relative;
}
#proyectos-destacados.featured-work::before {
  position:absolute;content:'';top:0;left:6vw;right:6vw;height:1px;
  background:linear-gradient(90deg,transparent,rgba(197,157,96,.5),transparent);
}
#proyectos-destacados .featured-head { display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:38px; }
#proyectos-destacados .featured-head .section-label {color:#c7a66d;letter-spacing:.24em;font-size:.63rem;margin-bottom:1.15rem;}
#proyectos-destacados .section-title {font-size:clamp(2.65rem,4.25vw,4.75rem);font-weight:300;margin:0 0 .65rem;line-height:.98;letter-spacing:-.02em;}
#proyectos-destacados .featured-intro p {color:#a99f8e;font-size:.85rem;letter-spacing:.04em;}
#proyectos-destacados .featured-volume {display:flex;gap:10px;align-items:center;flex-direction:column;padding:10px 0 0 24px;border-left:1px solid rgba(203,163,106,.23);color:#b49a77;min-width:120px;}
#proyectos-destacados .featured-volume strong {font:300 2.2rem/.93 'Cormorant Garamond',Georgia,serif;color:#dfc8a4;}
#proyectos-destacados .featured-volume span {font:600 .52rem/1.2 Manrope,sans-serif;letter-spacing:.23em;}
#proyectos-destacados .featured-row {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;}
#proyectos-destacados .featured-card {position:relative;display:block;grid-column:span 2;min-width:0;height:355px;overflow:hidden;
  border:1px solid #494134;background:#181715;color:#f6eee1;text-decoration:none;isolation:isolate;
  transition:transform .42s cubic-bezier(.2,.7,.25,1),border-color .42s,box-shadow .42s;}
#proyectos-destacados .featured-card--lead {grid-column:span 3;height:445px;}
#proyectos-destacados .featured-card::after {content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(4,5,7,.23) 0%,transparent 25%,rgba(4,5,7,.13) 40%,rgba(5,6,7,.82) 100%),
             linear-gradient(90deg,rgba(2,3,4,.26),transparent 80%);pointer-events:none;}
#proyectos-destacados .fc-art {display:block;position:absolute;inset:0;overflow:hidden;}
#proyectos-destacados .fc-art img {width:100%;height:100%;display:block;object-fit:cover;object-position:center center;
  filter:saturate(.9) contrast(1.08);transform:scale(1.01);transition:transform .75s cubic-bezier(.17,.67,.26,1),filter .6s;}
#proyectos-destacados .featured-card:hover,#proyectos-destacados .featured-card:focus-visible {transform:translateY(-4px);border-color:#c2a16d;box-shadow:0 18px 46px #0009;}
#proyectos-destacados .featured-card:hover .fc-art img,#proyectos-destacados .featured-card:focus-visible .fc-art img {transform:scale(1.065);filter:saturate(1.04) contrast(1.1);}
#proyectos-destacados .featured-card:focus-visible {outline:2px solid #edcf9a;outline-offset:3px;}
#proyectos-destacados .fc-index {position:absolute;top:22px;left:25px;z-index:2;letter-spacing:.16em;font:600 .65rem Manrope,sans-serif;color:#ead6bb;text-shadow:0 1px 5px #0009;}
#proyectos-destacados .fc-index span {opacity:.6;}
#proyectos-destacados .fc-caption {position:absolute;bottom:0;left:0;right:0;padding:60px 26px 26px;z-index:2;display:grid;gap:6px;}
#proyectos-destacados .fc-kind {font:600 .59rem/1.3 Manrope,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#e1bd87;}
#proyectos-destacados .fc-title {font:300 clamp(1.75rem,2.85vw,3.2rem)/.98 'Cormorant Garamond',Georgia,serif;letter-spacing:-.012em;color:#faf6ee;max-width:90%;padding:0;margin:0;text-shadow:0 2px 12px #000a;}
#proyectos-destacados .featured-card:not(.featured-card--lead) .fc-title {font-size:clamp(1.75rem,2.2vw,2.55rem);}
#proyectos-destacados .fc-detail {font:500 .74rem/1.5 Manrope,sans-serif;color:#d8c6ad;letter-spacing:.035em;}
#proyectos-destacados .fc-action {position:absolute;right:23px;bottom:25px;width:34px;height:34px;border:1px solid #bfa17988;display:grid;place-items:center;
 font:300 1.05rem/1 Georgia,serif;color:#f3dfbd;background:#211e1c55;transition:background .2s,transform .2s;}
#proyectos-destacados .featured-card:hover .fc-action {background:#bd9867;transform:translate(2px,-2px);color:#100e0a;}
#proyectos-destacados .featured-foot {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-top:30px;}
#proyectos-destacados .featured-foot>span {font:.68rem/1.7 Manrope,sans-serif;color:#8d867a;}
#proyectos-destacados .featured-more {margin:0;color:#edd0a0;border-bottom:1px solid #aa8758;font:600 .66rem/1.4 Manrope,sans-serif;letter-spacing:.13em;padding-bottom:8px;}

/* Small cinematic touches across the existing homepage. */
.hero::after {content:'';position:absolute;z-index:1;inset:0;pointer-events:none;
 background:linear-gradient(180deg,rgba(7,7,8,.26),transparent 25%),
 radial-gradient(ellipse 60% 60% at 95% 50%,transparent 52%,rgba(4,4,5,.26) 100%);}
.hero-content {border-left:1px solid rgba(204,162,92,.35);padding-left:27px;}
.hero-name {text-shadow:0 3px 35px rgba(0,0,0,.3);}
.stats-bar {border-color:rgba(171,137,89,.22);background:rgba(171,137,89,.22);}
.stat {background:linear-gradient(135deg,#100f0e,#0c0c0c);}
.stat-number {font-variant-numeric:lining-nums;}
.filmography {background:linear-gradient(180deg,#0a0a0a,#11100f 67%,#090909);}
.film-item {border-left:2px solid transparent;transition:background .24s,border-color .24s,padding .24s;}
.film-item:hover {border-left-color:#bea16f;background:#1a1815;padding-left:2.75rem;}
.reel-section {background:radial-gradient(ellipse at 80% 0%,rgba(174,139,80,.08),transparent 65%),#10100f;}
.reel-thumb {box-shadow:0 26px 75px #0008;}
.gallery-item img {transition:transform .5s,filter .5s;}
.gallery-item:hover img {transform:scale(1.025);filter:contrast(1.08);}

/* Auxiliary pages: design consistency with the original black and gold brand. */
.topbar {background:rgba(10,10,10,.9);border-bottom:1px solid rgba(185,146,95,.22);}
.page-hero {background-image:linear-gradient(90deg,rgba(8,8,8,.88),rgba(8,8,8,.48)),url('/assets/brand/cinematic-texture.jpg');}
.page-hero::after {content:'';position:absolute;bottom:0;left:6vw;width:min(260px,37vw);height:1px;
 background:linear-gradient(90deg,#cba977,transparent);}
.project-card,.press-card,.photo-item,.work-poster img {box-shadow:0 8px 30px #0004;}
.project-card {transition:transform .35s,border-color .35s,box-shadow .35s;}
.project-card:hover {box-shadow:0 24px 45px #0008;}
.project-card img {transition:transform .6s,filter .4s;filter:contrast(1.04);}
.project-card:hover img {transform:scale(1.025);filter:contrast(1.1);}
.project-card .card-caption {position:relative;background:linear-gradient(150deg,#1e1c19,#100f0e);z-index:1;padding:22px 22px 26px;}
.card-caption strong {font-size:1.85rem;line-height:1.1;margin-bottom:9px;}
.card-caption span {color:#d5c5ac;}
.work-poster {position:relative;}
.work-poster::before {content:'';position:absolute;inset:13px -13px -13px 13px;z-index:-1;border:1px solid rgba(189,152,101,.26);pointer-events:none;}
.work-poster img {filter:saturate(.97);}
.press-card {position:relative;transition:transform .3s,border-color .3s,background .3s;}
.press-card:hover {transform:translateX(5px);}
.press-card::after {content:'↗';position:absolute;right:24px;top:20px;color:#bda275;font-size:1.3rem;}
.photo-item {overflow:hidden;}
.photo-item img {transition:transform .4s,filter .4s;}
.photo-item:hover img {transform:scale(1.04);filter:contrast(1.08);}
.error-feature {box-shadow:0 25px 60px #0008;}
.error-feature img {filter:contrast(1.08);}
.site-foot {border-top-color:rgba(188,150,95,.3);}

@media(max-width:1000px){
 #proyectos-destacados .featured-card--lead {height:390px;}
 #proyectos-destacados .featured-card {height:325px;}
 #proyectos-destacados .fc-caption {padding:50px 21px 22px;}
 #proyectos-destacados .fc-title {font-size:2.3rem;}
 #proyectos-destacados .featured-card:not(.featured-card--lead) .fc-title {font-size:1.85rem;}
 #proyectos-destacados .fc-action {right:17px;bottom:21px;}
}
@media(max-width:700px){
 #proyectos-destacados.featured-work {padding:72px 5vw 70px;}
 #proyectos-destacados .featured-head {align-items:start;margin-bottom:25px;}
 #proyectos-destacados .featured-volume {display:none;}
 #proyectos-destacados .featured-row {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 #proyectos-destacados .featured-card,#proyectos-destacados .featured-card--lead {grid-column:span 1;height:335px;}
 #proyectos-destacados .featured-card:last-child {grid-column:span 2;height:320px;}
 #proyectos-destacados .fc-caption {padding:40px 14px 15px;gap:5px;}
 #proyectos-destacados .fc-index {top:14px;left:14px;}
 #proyectos-destacados .fc-title,#proyectos-destacados .featured-card:not(.featured-card--lead) .fc-title {font-size:clamp(1.55rem,5vw,2rem);max-width:100%;}
 #proyectos-destacados .fc-kind {font-size:.52rem;}
 #proyectos-destacados .fc-detail {font-size:.64rem;padding-right:12px;}
 #proyectos-destacados .fc-action {width:24px;height:24px;right:10px;bottom:13px;}
 #proyectos-destacados .featured-foot {align-items:flex-start;}
 .hero-content {padding-left:18px;}
}
@media(max-width:440px){
 #proyectos-destacados .featured-row {grid-template-columns:1fr;}
 #proyectos-destacados .featured-card,#proyectos-destacados .featured-card--lead,#proyectos-destacados .featured-card:last-child {grid-column:1;height:355px;}
 #proyectos-destacados .fc-caption {padding:50px 23px 22px;}
 #proyectos-destacados .fc-title,#proyectos-destacados .featured-card:not(.featured-card--lead) .fc-title {font-size:2.35rem;}
 #proyectos-destacados .fc-action {right:20px;bottom:21px;}
 .film-item:hover {padding-left:2rem;}
}
@media(prefers-reduced-motion:reduce){
 #proyectos-destacados .featured-card,#proyectos-destacados .fc-art img,#proyectos-destacados .fc-action,.project-card,.project-card img,.photo-item img,.film-item,.press-card {transition:none!important;transform:none!important;}
}
