/* Home: preserves the dark palette, gold accent and edge-to-edge portfolio. */
.page-template-template-home{--home-accent:#e3b82a;--home-gutter:clamp(22px,5vw,88px)}
.page-template-template-home .section.home-slider{position:relative;overflow:hidden;background:#050505}
.page-template-template-home .section.home-slider .slider,
.page-template-template-home .section.home-slider .slider .slides{height:88vh!important;height:88svh!important;min-height:480px;max-height:1080px}
.page-template-template-home .home-slider:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(180deg,#05050570,transparent 28%,transparent 60%,#050505)}
.page-template-template-home .home-slider .slides li img{object-fit:cover;transform:scale(1.025)}
.page-template-template-home .home-slider .slides li.active img{animation:toss-home-zoom 8s ease-out both}
.page-template-template-home .section.home-slider .slider .indicators{left:var(--home-gutter);right:auto;bottom:32px;display:flex;gap:10px;align-items:center;height:24px;margin:0}
.page-template-template-home .section.home-slider .slider .indicators .indicator-item{width:32px;height:3px;margin:0;border:0!important;border-radius:0;background:#ffffff66;opacity:1;transition:width .4s ease,background .4s ease}
.page-template-template-home .section.home-slider .slider .indicators .indicator-item.active{width:64px;background:var(--home-accent)}
.page-template-template-home .home-ivan{position:relative;padding:clamp(70px,10vw,160px) 0;background:radial-gradient(ellipse at 90% 20%,#e3b82a09,transparent 55%);text-align:left}
.page-template-template-home .home-ivan .row{margin:0}
.page-template-template-home .home-ivan .container{width:auto;max-width:1600px;margin:0 auto;padding:0 var(--home-gutter)}
.page-template-template-home .home-ivan h1{max-width:1400px;font-size:clamp(42px,7.4vw,118px);line-height:1.04;letter-spacing:-.055em;font-weight:500;margin:0;text-wrap:balance;overflow-wrap:normal}
.page-template-template-home .home-ivan h1:before{content:"";display:block;width:56px;height:3px;margin-bottom:32px;background:var(--home-accent)}
.page-template-template-home .section.portfolio{padding:0 0 clamp(50px,6vw,100px)}
.page-template-template-home .section.portfolio>.row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0}
.page-template-template-home .section.portfolio>.row:after{display:none}
.page-template-template-home .section.portfolio>.row>article.col{float:none;width:auto;min-width:0;margin:0;padding:0}
.page-template-template-home .section.portfolio>.row>div.col{grid-column:1/-1;width:100%;padding:24px var(--home-gutter)}
.page-template-template-home .section.portfolio .ratio-4x3{padding-top:115%}
.page-template-template-home .section.portfolio .tema-card{background:#171717;isolation:isolate}
.page-template-template-home .section.portfolio .tema-bg{transition:transform .85s cubic-bezier(.2,.7,.2,1),filter .6s ease;will-change:auto;filter:saturate(.88)}
.page-template-template-home .section.portfolio .tema-card:after{background:linear-gradient(180deg,transparent 30%,#05050544 58%,#050505e6);transition:opacity .5s ease}
.page-template-template-home .section.portfolio .tema-title{left:clamp(20px,2.2vw,36px);right:24px;bottom:28px;font-size:clamp(19px,1.8vw,29px);line-height:1.15;font-weight:500;letter-spacing:-.025em;transition:transform .4s ease;text-wrap:balance}
.page-template-template-home .section.portfolio .tema-title:before{content:"";display:block;width:24px;height:2px;background:var(--home-accent);margin-bottom:16px;transition:width .4s ease}
.page-template-template-home .section.portfolio .tema-card:focus-visible{outline:2px solid var(--home-accent);outline-offset:-4px}
.page-template-template-home .section.portfolio .tema-card:focus-visible .tema-bg{transform:scale(1.055);filter:saturate(1.08)}
.page-template-template-home .portfolio ul.page-numbers{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:28px 0 0;padding:0}
.page-template-template-home .portfolio ul.page-numbers li{list-style:none;margin:0;padding:0}
.page-template-template-home .portfolio .page-numbers a,.page-template-template-home .portfolio .page-numbers span{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #ffffff30;color:#fff}
.page-template-template-home .portfolio .page-numbers .current,.page-template-template-home .portfolio .page-numbers a:hover{background:var(--home-accent);border-color:var(--home-accent);color:#050505}
.page-template-template-home .toss-reveal{transition-delay:var(--toss-reveal-delay,0ms)}
@keyframes toss-home-zoom{from{transform:scale(1.075)}to{transform:scale(1.025)}}
@media(hover:hover) and (pointer:fine){.page-template-template-home .section.portfolio .tema-card:hover .tema-bg{transform:scale(1.055);filter:saturate(1.08)}.page-template-template-home .section.portfolio .tema-card:hover .tema-title{transform:translateY(-6px)}.page-template-template-home .section.portfolio .tema-card:hover .tema-title:before{width:48px}}
@media(max-width:1100px){.page-template-template-home .section.portfolio>.row{grid-template-columns:repeat(2,minmax(0,1fr))}.page-template-template-home .section.portfolio .ratio-4x3{padding-top:100%}}
@media(max-width:600px){.page-template-template-home .section.home-slider .slider,.page-template-template-home .section.home-slider .slider .slides{height:72vh!important;height:72svh!important;min-height:400px}.page-template-template-home .home-ivan h1{font-size:clamp(38px,9.5vw,57px);line-height:1.08;letter-spacing:-.045em}.page-template-template-home .section.portfolio>.row{grid-template-columns:1fr;gap:4px}.page-template-template-home .section.portfolio .ratio-4x3{padding-top:95%}.page-template-template-home .section.portfolio .tema-title{font-size:27px;left:24px;bottom:28px}}
@media(prefers-reduced-motion:reduce){.page-template-template-home .home-slider .slides li img,.page-template-template-home .home-slider .slides li.active img{animation:none;transform:none}.page-template-template-home .toss-reveal,.page-template-template-home .section.portfolio .tema-bg,.page-template-template-home .section.portfolio .tema-title,.page-template-template-home .section.portfolio .tema-title:before,.page-template-template-home .section.portfolio .tema-card:after,.page-template-template-home .section.home-slider .slider .indicators .indicator-item{transition:none;transition-delay:0ms}.page-template-template-home .section.portfolio .tema-card:hover .tema-bg,.page-template-template-home .section.portfolio .tema-card:focus-visible .tema-bg,.page-template-template-home .section.portfolio .tema-card:hover .tema-title{transform:none}}
