:root{color-scheme:dark;--bg:#101010;--white:#f2f1ee;--green:#24f600;--muted:#aaa9a5;--line:#303030;font-family:Arial,Helvetica,sans-serif;color:var(--white);background:var(--bg)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:5px}
button{font:inherit;cursor:pointer}
p{font-size:1rem;line-height:1.65;margin:0;color:var(--muted)}
h1,h2,h3{margin:0}
.wrap{width:min(100% - 8vw,1280px);margin-inline:auto}
.top{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 4vw;border-bottom:1px solid #292929}
.logo{display:inline-flex;align-items:center;position:relative;padding:5px 0}
.kicker i{display:inline-block;width:.23em;height:.23em;border-radius:50%;background:var(--green)}
nav{display:flex;gap:clamp(16px,3vw,44px);font-size:.9rem;font-weight:700}
nav a:hover,.footer a:hover{color:var(--green)}
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 21px;border:1px solid transparent;border-radius:2px;font-size:.9rem;font-weight:800;white-space:nowrap}
.outline{border-color:#555}.outline:hover{border-color:var(--green);color:var(--green)}
.green{background:var(--green);color:#101010}.green:hover{background:#b1ff9d}
.dark{background:#101010;color:var(--white)}.dark:hover{background:#303030}
.hero{background:#101010}
.hero-inner{padding-block:clamp(52px,9vw,112px) 44px}
.hero-cover{display:block;width:100%;height:clamp(150px,28vw,390px);object-fit:cover;object-position:center}

.kicker{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.18em;font-size:.88rem;font-weight:700;color:var(--white)}
.kicker i{width:8px;height:8px}
h1,h2{font-weight:950;text-transform:uppercase;letter-spacing:-.07em;line-height:.95}
h1{font-size:clamp(2.3rem,7.9vw,8rem);margin:24px 0 30px}
h1 em,h2 span{color:var(--green);font-style:normal}
h2{font-size:clamp(2.4rem,6.1vw,6rem)}
.section{padding-block:70px;border-top:1px solid var(--line)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}
.section-head p{text-align:right}
.films{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.film-cover{display:block;width:100%;padding:0;border:0;background:#181818}
.film-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.film-viewer{width:min(1120px,94vw,calc((100dvh - 100px)*1.7778));padding:0;border:0;background:#101010}
.film-viewer::backdrop{background:#000e}
.film-viewer header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}
.film-viewer header h2{font-size:clamp(1rem,2vw,1.5rem);margin:0}
.film-screen iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:black}
.portfolio-film small{display:block;margin:14px 0 4px;color:var(--muted);font-size:.875rem}
.portfolio-film h3{font-size:clamp(1.25rem,2.3vw,2rem);letter-spacing:-.045em}
.project{position:relative;overflow:hidden;display:flex;align-items:end;isolation:isolate;aspect-ratio:4/3;background:#202020}
.project::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000e 0%,transparent 72%);z-index:-1}
.project img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.project div{padding:clamp(12px,2vw,25px)}
.project h3{font-size:clamp(1rem,2.5vw,2rem);letter-spacing:-.045em}
.project small{font-size:.86rem;color:#e5e4dc}
.about{position:relative;background:#191919;border-block:1px solid var(--line);isolation:isolate}
.about::before,.contact::before{content:"";position:absolute;inset:0;background:url('media/textura.webp') repeat;opacity:.13;mix-blend-mode:overlay;pointer-events:none}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:60px;padding-block:76px}
.about p{max-width:52ch;margin-top:18px}
.about h3{margin-top:26px}
.split{display:grid;grid-template-columns:1fr 1.2fr;gap:42px}
.details{border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line)}
summary{padding:19px 0;display:flex;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;font-size:clamp(1.05rem,2.2vw,1.7rem);font-weight:750}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--green)}
details[open] summary::after{content:"−"}
details p{padding:0 24px 18px 0}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0;padding:0;list-style:none}
.steps li{border-top:2px solid var(--green);padding:16px 12px 0 0}
.steps h3{margin-bottom:8px}
.contact{position:relative;background:var(--green);color:#101010;padding-block:70px}
.contact h2{margin-bottom:28px}
.footer{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer>a:last-child{font-size:.9rem}
dialog{width:min(500px,calc(100% - 30px));padding:30px;background:#191919;color:var(--white);border:1px solid #444}
dialog::backdrop{background:#000b}
dialog h2{font-size:clamp(2rem,8vw,3rem);margin-bottom:12px}
dialog label{display:block;margin:20px 0 8px}
textarea{display:block;width:100%;padding:12px;margin-bottom:16px;color:inherit;background:#101010;border:1px solid #686868;font:inherit;resize:vertical}
.close{position:absolute;top:8px;right:8px}
.close button{border:0;background:transparent;color:inherit;font-size:1.6rem;padding:2px 9px}
.skip{position:fixed;z-index:3;top:8px;left:8px;background:var(--green);color:#101010;padding:8px;transform:translateY(-200%)}
.skip:focus{transform:none}
@media(max-width:740px){
  .top{flex-wrap:wrap;gap:12px;padding-block:14px}
  nav{order:3;width:100%;justify-content:space-between;gap:8px}
  h1{font-size:clamp(2.15rem,9.6vw,4.7rem)}
  .section,.about-grid,.contact{padding-block:49px}
  .about-grid,.split{gap:24px;grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr;row-gap:25px}
  .section-head{align-items:start;flex-direction:column;gap:8px}
  .section-head p{text-align:left}
  .films{grid-template-columns:1fr}

  .shorts .project div{padding:7px}
  .shorts small{font-size:.75rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@font-face{font-family:Montserrat;src:url('fonts/montserrat.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Atyp Display';src:url('fonts/atyp-display-light.otf') format('opentype');font-weight:300;font-display:swap}
@font-face{font-family:'Atyp Display';src:url('fonts/atyp-display-semibold.otf') format('opentype');font-weight:600;font-display:swap}
:root{font-family:'Atyp Display',Montserrat,Arial,sans-serif;font-weight:300}
nav,.pill,.kicker,.footer-info a,summary{font-weight:300}
h3{font-weight:600}
.logo img{display:block;width:112px;height:auto}
h1,h2{font-weight:600;letter-spacing:-.05em}
h1{font-size:clamp(2.3rem,7.35vw,7.7rem)}
.pill,.close button{border-radius:999px}
.shorts{display:flex;gap:clamp(10px,1vw,18px);overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding:0 4vw 12px;scroll-padding-inline:4vw;scrollbar-color:#626262 #202020}
.shorts.arrastando{cursor:grabbing;scroll-snap-type:none;user-select:none}
.shorts img{pointer-events:none}
@media(pointer:fine){.shorts{cursor:grab}}
@media(any-hover:hover) and (any-pointer:fine){.shorts{scroll-snap-type:none}}
.shorts:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.short-cover{position:relative;align-self:flex-start;text-align:left;background:transparent;color:var(--white);flex:0 0 clamp(156px,13.5vw,295px);scroll-snap-align:start}
.short-preview{position:absolute;top:0;left:0;width:100%;height:auto;aspect-ratio:9/16;border:0;pointer-events:none;opacity:0}
.short-preview.playing{opacity:1}
.short-title{display:block;padding-top:10px;font-size:1rem;line-height:1.35;font-weight:600}
.short-cover:last-child{scroll-snap-align:end}
.short-cover img{aspect-ratio:9/16}
.short-cover:focus-visible{outline-offset:-3px}
.film-viewer.vertical{width:min(94vw,calc((100dvh - 140px)*.5625))}
.film-viewer.vertical iframe{aspect-ratio:9/16}
.director{position:relative;margin:0;align-self:stretch;width:100%;overflow:hidden;background:#080808;border:1px solid var(--line)}
.director-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.signature{position:absolute;z-index:1;bottom:14px;right:14px;width:46px;height:auto}

.steps{grid-template-columns:repeat(5,1fr)}
.footer-info{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:clamp(12px,3vw,32px)}
.footer-info a{color:var(--green);font-weight:700}
.footer-info p{font-size:.9rem;line-height:1.65}
@media(max-width:740px){
  h1{font-size:clamp(2rem,8.8vw,4.35rem)}
  .director{justify-self:center;width:min(100%,325px);aspect-ratio:4/5}
  .steps{grid-template-columns:repeat(2,1fr)}
  .footer{flex-wrap:wrap;padding-block:20px}
}

.hero-line{display:block}
@media(max-width:740px){
  .hero-line > span{display:block}
}
@keyframes title-reveal{
  from{opacity:0;transform:translateY(.28em)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:no-preference){
  .hero-line,.hero-button,.section-title-visible{
    animation:title-reveal .65s cubic-bezier(.2,.65,.35,1) both;
  }
  .hero-line:nth-child(2){animation-delay:.12s}
  .hero-line:nth-child(3){animation-delay:.24s}
  .hero-button{animation-delay:.48s}
  .hero-button:focus{animation:none}
}
@media(max-width:740px) and (prefers-reduced-motion:no-preference){
  em.hero-line:nth-child(3){animation:none}
  em.hero-line > span{animation:title-reveal .65s cubic-bezier(.2,.65,.35,1) .24s both}
  em.hero-line > span:last-child{animation-delay:.36s}
  .hero-button{animation-delay:.58s}
}

.project-pending{background:#181818 url('media/textura.webp') repeat;background-blend-mode:soft-light;border:1px solid var(--line)}
