/* Profile-led portfolio: compact identity, collections and a visual feed. */
:root{--bg:#fff;--ink:#202020;--muted:#737373;--line:#e7e7e7;--panel:#f3f3f3;--accent:#b7db62;background:#fff;color:#202020;scroll-padding-top:24px}
.social-home{font-family:Arial,Helvetica,sans-serif;background:#fff;font-size:14px}.social-home a:focus-visible,.social-home button:focus-visible{outline:3px solid #668c25;outline-offset:3px}.social-sidebar{position:fixed;inset:0 auto 0 0;width:222px;border-right:1px solid var(--line);padding:44px 24px;display:flex;flex-direction:column;background:#fff;z-index:5}.social-wordmark{font-size:37px;font-weight:800;letter-spacing:-2px;line-height:.85;display:block}.social-wordmark>span{color:#7a9d39;margin-left:2px}.social-wordmark>small{display:block;font-size:9px;font-weight:400;letter-spacing:3px;margin-top:12px}.social-sidebar nav{display:grid;gap:8px;margin-top:62px}.side-link{border:0;background:none;color:#292929;display:flex;align-items:center;gap:17px;text-align:left;padding:14px 9px;border-radius:8px;cursor:pointer;font-size:16px}.side-link:hover{background:#f4f4f4}.side-link[aria-pressed=true]{font-weight:700}.side-link svg{width:25px;height:25px;flex-shrink:0}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:11px;font-size:13px}.sidebar-bottom small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.mini-avatar{background:#e7efda;display:grid;place-items:center;border-radius:50%;width:35px;height:35px;font-size:19px;font-weight:700}.social-main{max-width:1000px;margin:0 auto;padding:52px 30px 0}.social-home{padding-left:222px}.profile{display:grid;grid-template-columns:210px 1fr;gap:40px;align-items:start}.profile-avatar{border-radius:50%;background:#f7f8f3;border:1px solid #e2e6d9;width:156px;height:156px;margin:18px auto;display:grid;place-items:center;outline:5px solid white;box-shadow:0 0 0 6px #e1e5d9}.profile-avatar>span{font-size:88px;font-weight:700;letter-spacing:-8px;line-height:1;transform:translate(-6px,-4px)}.profile-avatar>span>span{font-size:63px;color:#86a947;vertical-align:top;letter-spacing:-10px}.profile-title{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.profile-title h1{font-size:23px;letter-spacing:-.5px;font-weight:400;margin:0}.profile-actions{display:flex;gap:8px}.profile-button{border-radius:7px;background:#eee;padding:10px 20px;font-size:14px;font-weight:600}.profile-button:hover{background:#e2e2e2}.profile-button.primary{background:#222;color:white}.profile-button.primary:hover{background:#444}.profile-stats{display:flex;gap:32px;padding:0;margin:26px 0 22px;list-style:none;font-size:15px}.profile-stats strong{font-weight:700}.profile-bio h2{font-size:14px;font-weight:600;margin:0 0 5px;letter-spacing:0}.profile-bio p{font-size:14px;line-height:1.55;margin:0}.profile-bio .bio-category{color:var(--muted);margin-bottom:8px}.bio-link{display:inline-block;font-size:14px;font-weight:600;color:#47672b;margin-top:10px}.profile-bio details{margin-top:8px}.profile-bio summary{color:var(--muted);font-size:13px;cursor:pointer;width:fit-content}.profile-bio details p{margin:10px 0;max-width:510px;color:#555}.highlights{display:flex;gap:27px;padding:35px 26px 33px;overflow-x:auto;scrollbar-width:thin}.highlight{flex-shrink:0;display:flex;align-items:center;flex-direction:column;gap:11px;background:none;border:0;padding:3px;cursor:pointer;font-size:12px;color:#333;min-width:77px}.highlight-ring{display:block;width:75px;height:75px;border:1px solid #d5d5d5;border-radius:50%;padding:4px}.highlight-ring img{border-radius:50%;object-position:center 20%}.highlight[aria-pressed=true] .highlight-ring{border:2px solid #718d43;padding:3px}.highlight[aria-pressed=true]{font-weight:700}.feed-tabs{display:flex;justify-content:center;gap:54px;border-top:1px solid var(--line)}.feed-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;background:none;color:#777;font-size:12px;letter-spacing:.7px;text-transform:uppercase;font-weight:600;border:0;border-top:1px solid transparent;margin-top:-1px;padding:20px 0}.feed-tabs svg{width:17px;height:17px}.feed-tabs button[aria-pressed=true]{border-top-color:#242424;color:#242424}.feed-status{font-size:12px;color:#777;margin:0 0 13px}.feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.feed-post{aspect-ratio:4/5;position:relative;overflow:hidden;background:#f0f0ed;display:block}.feed-post[hidden]{display:none}.feed-post>img{object-position:center 28%;transition:transform .3s}.feed-post:hover>img{transform:scale(1.025)}.feed-post:after{content:"";position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#0009);pointer-events:none}.post-type{position:absolute;right:13px;top:13px;color:white;filter:drop-shadow(0 1px 3px #0009)}.post-type svg{width:23px;height:23px;stroke-width:2}.post-caption{position:absolute;z-index:1;left:16px;right:12px;bottom:16px;color:white;text-shadow:0 1px 3px #0008;display:flex;flex-direction:column;gap:5px}.post-caption strong{font-size:16px;font-weight:600}.post-caption>span{font-size:12px}.feed-post:hover .post-caption{text-decoration:underline;text-underline-offset:3px}.feed-pending{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;background:#e8edde;gap:12px}.feed-pending>span{font-size:24px;letter-spacing:4px}.feed-pending small{text-align:center;font-size:13px;line-height:1.6;color:#697158}.social-footer{padding:35px 0 25px;display:grid;grid-template-columns:1fr 1fr;gap:20px;color:#555}.social-footer strong{font-size:15px;color:#333}.social-footer p{font-size:13px;margin:7px 0}.social-footer>div:nth-child(2){display:flex;flex-direction:column;align-items:flex-end;gap:10px}.social-footer a{font-size:13px}.social-footer a:hover{text-decoration:underline}.social-footer>small{grid-column:1/-1;text-align:center;color:#888;font-size:11px;margin-top:22px}.mobile-header{display:none}
/* Shared project pages retain media and credits with the same light palette. */
body:not(.social-home) .header{height:95px}body:not(.social-home) .brand-dot{color:#718d43}body:not(.social-home) .header nav>a:hover,body:not(.social-home) .back-link:hover{color:#557b27}.detail-intro>.eyebrow{color:#5b7239}.detail-summary>p{color:#555}.film video{background:#111}.gallery-item{background:#f1f1ed}.next-project b{color:#667d3d}.contact{background:#f3f5ef;padding-top:45px}.contact h2{font-size:clamp(40px,5vw,65px)}.contact .dark{background:#222;color:#fff}.contact .footer-bottom{border-color:#dce1d5;margin-top:42px}.contact .email{border-color:#b6beb0}.contact .eyebrow{color:#66715b}.lightbox{background:#fff;color:#222}.lightbox-close{background:#222;color:white}.pending-video{background:#f3f5ef}.pending-video .eyebrow{color:#667d3d}
@media(min-width:1600px){.social-main{max-width:1060px;padding-top:65px}.social-sidebar{width:250px}.social-home{padding-left:250px}.profile{grid-template-columns:230px 1fr}}
@media(max-width:1150px){.social-sidebar{width:86px;padding:35px 16px}.social-home{padding-left:86px}.social-sidebar .social-wordmark{font-size:0}.social-sidebar .social-wordmark:before{content:"p";font-size:38px}.social-sidebar .social-wordmark>span{font-size:30px}.social-sidebar .social-wordmark small,.side-link>span,.sidebar-bottom>div{display:none}.side-link{justify-content:center;padding:14px}.sidebar-bottom{justify-content:center}.social-main{padding:40px 25px 0}.profile{grid-template-columns:175px 1fr;gap:25px}.profile-title{gap:18px}.profile-actions .profile-button{padding:9px 16px}.highlights{gap:22px;padding-left:16px;padding-right:16px}.profile-stats{gap:24px}}
@media(max-width:700px){.social-home{padding-left:0}.social-sidebar{display:none}.mobile-header{display:flex;align-items:center;justify-content:space-between;height:65px;border-bottom:1px solid var(--line);padding:0 18px}.mobile-header .social-wordmark{font-size:27px}.mobile-header>span{font-size:10px;letter-spacing:1.5px;color:#777}.social-main{padding:24px 0 0;width:100%}.profile{padding:0 18px;grid-template-columns:85px minmax(0,1fr);gap:16px}.profile-avatar{width:76px;height:76px;margin:9px auto;box-shadow:0 0 0 4px #e1e5d9;outline:3px solid white}.profile-avatar>span{font-size:47px;letter-spacing:-4px;transform:translate(-3px,-2px)}.profile-avatar>span>span{font-size:34px;letter-spacing:-4px}.profile-info{display:contents}.profile-title{display:block;grid-column:2;grid-row:1;align-self:center}.profile-title h1{font-size:20px;letter-spacing:-.5px}.profile-actions{margin-top:15px;gap:7px}.profile-actions .profile-button{padding:9px 16px;font-size:12px}.profile-stats{grid-column:1/-1;grid-row:3;margin:2px -18px 0;padding:16px 12px;border-top:1px solid #efefef;border-bottom:1px solid #efefef;justify-content:space-around;gap:8px;font-size:12px;color:#737373}.profile-stats strong{display:block;text-align:center;margin-bottom:4px;color:#222;font-size:16px}.profile-bio{grid-column:1/-1;grid-row:2;margin:8px 0 4px}.profile-bio h2,.profile-bio p,.bio-link{font-size:13px}.profile-bio .bio-category{font-size:12px;margin-bottom:6px}.profile-bio summary{font-size:12px}.highlights{padding:22px 16px;gap:16px}.highlight{min-width:62px;font-size:11px;gap:8px}.highlight-ring{width:62px;height:62px}.feed-tabs{gap:0;justify-content:space-around}.feed-tabs button{font-size:10px;letter-spacing:0;padding:16px 2px;gap:5px}.feed-tabs svg{width:19px;height:19px}.feed-status{font-size:11px;margin:0;padding:0 14px 10px}.feed-grid{gap:3px}.post-type{top:7px;right:7px}.post-type svg{width:17px;height:17px}.post-caption{left:7px;right:5px;bottom:8px;gap:3px}.post-caption strong{font-size:11px;line-height:1.15}.post-caption>span{display:none}.feed-pending>span{font-size:14px;letter-spacing:1px}.feed-pending small{font-size:10px}.social-footer{padding:27px 18px 20px;grid-template-columns:1fr;gap:16px}.social-footer>div:nth-child(2){align-items:flex-start;gap:12px}.social-footer>small{text-align:left;margin-top:8px}.social-footer a{font-size:14px}.contact-row{margin-top:15px}.social-home .skip{z-index:20}}
@media(prefers-reduced-motion:reduce){.feed-post>img{transition:none}}
/* Official identity and a more compact media presentation. */
.official-logo{object-fit:contain;background:#fff;display:block}
.social-sidebar .social-wordmark{width:150px;height:130px;margin-top:-25px}
.social-sidebar .social-wordmark:before{content:none}
.social-sidebar nav{margin-top:30px}
.profile-avatar{border-radius:4px;box-shadow:none;outline:0;border:0;background:#fff;width:150px;height:150px;margin-top:0}
.profile-avatar>.official-logo{width:100%;height:100%}
.mini-avatar{border-radius:2px;background:#fff}
.mini-avatar img{object-fit:contain}
.highlight-ring,.highlight-ring img{border-radius:3px}
.feed-post{border-radius:7px}
.feed-grid{gap:8px}
.social-main{max-width:900px}
.contact h2,.social-footer strong{color:#000}
body:not(.social-home) .brand{width:100px;height:88px;display:block}
body:not(.social-home) .brand .official-logo{width:100%;height:100%}
.detail.wrap{max-width:1120px}
.detail-section{max-width:960px;margin-left:auto;margin-right:auto}
.video-grid{gap:24px}
.film:first-child:last-child:not(.portrait){width:100%;max-width:860px;justify-self:center}
.film.portrait video{max-height:540px}
.film.portrait:only-child{max-width:360px}
.gallery{gap:18px}
.gallery-item{max-height:510px}
.gallery.catalogue img{max-height:580px}
@media(min-width:1600px){.social-main{max-width:940px}}
@media(max-width:1150px) and (min-width:701px){.social-sidebar .social-wordmark{width:58px;height:85px;margin-left:-2px;margin-top:-15px}.social-sidebar nav{margin-top:28px}}
@media(max-width:700px){.mobile-header .social-wordmark{width:72px;height:62px}.profile-avatar{width:82px;height:82px;margin:0}.social-main{width:100%;padding-left:8px;padding-right:8px}.profile{padding-left:10px;padding-right:10px}.profile-stats{margin-left:-10px;margin-right:-10px}.feed-grid{gap:5px}.feed-post{border-radius:5px}.film.portrait video{max-height:480px}.detail-section{width:94%}.gallery-item{max-height:340px}.gallery.catalogue img{max-height:460px}.contact h2{color:#000}}
@media(max-width:360px){.feed-tabs button{width:25%;padding:16px 0}.feed-tabs button>span{display:none}.feed-tabs svg{width:23px;height:23px}}
.gallery.mosaic,.gallery.mosaic.three,.gallery.mosaic.catalogue{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;columns:auto;overflow:visible}
.gallery.mosaic .gallery-item{display:block;break-inside:avoid;position:relative;width:100%;height:auto;max-height:none;min-height:0;aspect-ratio:1;margin:0;padding:0;border-radius:0;overflow:hidden;background:#f3f3ef;transition:transform .25s ease,box-shadow .25s ease;transform-origin:center;isolation:isolate}
.gallery.mosaic .gallery-item img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center; border-radius:0;transform:none}
.gallery.mosaic .gallery-item>span{bottom:8px;right:8px;font-size:11px;padding:6px 9px;opacity:0;transition:opacity .2s}
.gallery.mosaic .gallery-item:focus-visible{z-index:5;outline:3px solid #667d3d;outline-offset:3px}
.gallery.mosaic .gallery-item:focus-visible>span{opacity:1}
@media(hover:hover) and (pointer:fine){.gallery.mosaic .gallery-item:hover{transform:scale(1.08);z-index:5;box-shadow:0 12px 35px #0003}.gallery.mosaic .gallery-item:hover>span{opacity:1}}
@media(max-width:700px){.gallery.mosaic,.gallery.mosaic.three,.gallery.mosaic.catalogue{columns:auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}.gallery.mosaic .gallery-item{margin:0}.gallery.mosaic .gallery-item>span{opacity:1;font-size:10px;padding:4px 6px}.gallery.mosaic.three .gallery-item:last-child{max-height:none;grid-column:auto}}
@media(prefers-reduced-motion:reduce){.gallery.mosaic .gallery-item,.gallery.mosaic .gallery-item>span{transition:none}}

body.social-home{padding-left:0}.social-work{border-top:1px solid var(--line);padding-top:18px}

body:not(.social-home) .header{justify-content:center}

.gallery.mosaic,.gallery.mosaic.three,.gallery.mosaic.catalogue,.gallery.mosaic.collection{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;padding:1px;background:#95958b}
.gallery.mosaic.collection .gallery-item{border:0;border-radius:0;aspect-ratio:1}

@media(max-width:700px){.gallery.mosaic .gallery-item>span{font-size:0;bottom:4px;right:4px;padding:3px 5px}.gallery.mosaic .gallery-item>span:after{content:"↗";font-size:12px}}

/* Collection and digital-media galleries follow the home profile feed. */
.gallery.mosaic,.gallery.mosaic.collection,.gallery.mosaic.three,.gallery.mosaic.catalogue{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;background:transparent}
.gallery.mosaic .gallery-item,.gallery.mosaic.collection .gallery-item,.gallery.mosaic.three .gallery-item,.gallery.mosaic.catalogue .gallery-item{aspect-ratio:1/1;border-radius:7px;min-height:0;max-height:none}
.gallery.mosaic .gallery-item img{position:absolute;inset:auto;left:var(--crop-left,0);top:var(--crop-top,0);width:var(--crop-width,100%);height:var(--crop-height,100%);object-fit:cover;object-position:50% 50%;max-height:none}
@media(max-width:700px){.gallery.mosaic,.gallery.mosaic.collection,.gallery.mosaic.three,.gallery.mosaic.catalogue{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.gallery.mosaic .gallery-item,.gallery.mosaic.collection .gallery-item,.gallery.mosaic.three .gallery-item,.gallery.mosaic.catalogue .gallery-item{border-radius:5px}}



/* Project links inspired by the reference portfolio grid. */
.social-work{width:100vw;margin-left:calc(50% - 50vw);padding:24px 0 0;border-top:1px solid #d9dbd3}
.feed-status{font-size:12px;color:#73766d;margin:0;padding:0 24px 14px}
.feed-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:#d9dbd3;border-top:1px solid #d9dbd3}
.feed-post{aspect-ratio:auto;min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:0;background:#f7f7f3;color:#202020}
.feed-post>img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center 32%;transition:transform .45s ease,filter .25s}
.feed-post:after,.post-type{display:none}
.post-caption{position:static;z-index:auto;display:flex;flex-direction:column;gap:6px;min-height:88px;padding:15px 14px 18px;color:#202020;text-shadow:none}
.post-caption strong{font-size:14px;line-height:1.25;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.post-caption>span{font-size:12px;line-height:1.45;color:#5e6259}
.feed-post:hover .post-caption{text-decoration:none}
.feed-post:hover .post-caption strong{text-decoration:underline;text-underline-offset:3px}
.feed-post:focus-visible{outline:3px solid #718d43;outline-offset:-3px;z-index:2}
.feed-pending{width:100%;height:auto;min-height:0;aspect-ratio:2/3;flex-shrink:0;background:#e8edde}
@media(hover:hover) and (pointer:fine){.feed-post:hover>img{transform:scale(1.025);filter:brightness(.96)}}
@media(max-width:1150px){.feed-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feed-status{padding-left:18px;padding-right:18px}.post-caption{padding:13px 12px 16px}}
@media(max-width:700px){.social-work{padding-top:18px}.feed-status{padding:0 12px 11px;font-size:11px}.feed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px}.feed-post>img,.feed-pending{aspect-ratio:3/4}.post-caption{min-height:75px;padding:11px 10px 13px;gap:4px}.post-caption strong{font-size:12px}.post-caption>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.feed-post>img{transition:none}}

/* Poeira Art — shared dark header and horizontal project stream. */
:root {
  color-scheme: dark;
  --bg: #10100f;
  --ink: #f1f0eb;
  --paper: #10100f;
  --muted: #92918b;
  --line: rgba(241, 240, 235, .24);
  --panel: #1b1b19;
  --accent: #ed664d;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --serif: "Playfair Display", Georgia, serif;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
}
body.art-site {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.art-site:not(.social-home) {
  min-width: 320px;
  padding-top: 68px;
  background: var(--bg);
  color: var(--ink);
}
.art-site a { color: inherit; text-decoration: none; }
.art-site button { color: inherit; font: inherit; }
.art-site :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.art-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 68px;
  padding: 0 clamp(20px, 4.2vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(16, 16, 15, .88);
  border-bottom: 1px solid rgba(241, 240, 235, .1);
  backdrop-filter: blur(14px);
}
.art-header-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.filmes-logo-link, .art-logo-link {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.filmes-logo-link { width: 54px; height: 54px; }
.art-logo-link {
  grid-column: 2;
  justify-self: center;
  width: 68px;
  height: 56px;
}
.filmes-logo-link img, .art-logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  filter: brightness(0) invert(1);
}
.contact-trigger, .motion-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono) !important;
  font-size: 9px !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}
.contact-trigger:hover, .motion-toggle:hover { color: var(--ink); }
.motion-toggle {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.motion-toggle > span:first-child { font-size: 12px; line-height: 1; }
.header-balance { justify-self: end; width: 64px; }

body.art-site.social-home {
  position: relative;
  width: 100%;
  min-width: 320px;
  height: 100vh;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}
.art-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.art-main {
  position: absolute;
  inset: 68px 0 116px;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.project-stage, .project-viewport { width: 100%; height: 100%; }
.project-stage { position: relative; overflow: hidden; }
.project-viewport {
  display: flex;
  align-items: center;
  overflow: hidden;
  touch-action: pan-y;
}
.project-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}
.project-sequence {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  width: max-content;
  padding-right: clamp(14px, 1.8vw, 28px);
}
.project-card {
  display: block;
  flex: 0 0 auto;
  width: clamp(220px, min(22vw, 44svh), 350px);
  color: var(--ink);
}
.project-card-visual {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(241, 240, 235, .08);
  background: var(--panel);
}
.project-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: transform .45s ease, filter .3s ease;
}
.project-card:hover .project-card-image { transform: scale(1.025); filter: brightness(1.06); }
.project-card-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 13px 1px 0;
}
.project-card-caption > div { display: grid; gap: 5px; }
.project-card-caption strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.3;
  text-transform: uppercase;
}
.project-card-caption > div > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .035em;
  line-height: 1.45;
}
.project-card-arrow { color: var(--accent); font-size: 17px; line-height: 1; transition: transform .2s ease; }
.project-card:hover .project-card-arrow { transform: translate(2px, -2px); }
.project-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  background: #171715;
}
.project-image-placeholder > span { font-size: 24px; font-weight: 300; letter-spacing: .16em; }
.project-image-placeholder small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.art-footer {
  position: fixed;
  z-index: 4;
  left: clamp(20px, 4.2vw, 72px);
  bottom: clamp(18px, 3.6vw, 42px);
  max-width: min(430px, calc(100vw - 40px));
  color: var(--ink);
  pointer-events: none;
}
.art-footer strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.25;
}
.art-footer p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.contact-dialog {
  width: min(440px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100svh - 36px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
.contact-dialog::backdrop { background: rgba(10, 10, 9, .62); backdrop-filter: blur(6px); }
.contact-dialog[open] { animation: contact-appear .22s ease-out both; }
@keyframes contact-appear {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-dialog-inner { padding: clamp(24px, 5vw, 38px); }
.contact-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
}
.contact-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}
.contact-dialog h2 {
  margin: 28px 0 24px;
  color: var(--ink);
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .95;
}
.contact-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px 16px;
  padding: 18px 28px 18px 0;
  border-top: 1px solid var(--line);
}
.contact-option > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-option strong { font-size: clamp(14px, 3.5vw, 17px); font-weight: 500; overflow-wrap: anywhere; }
.contact-option i {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 18px;
  font-style: normal;
}
.contact-option:hover strong { color: var(--accent); }

body.art-site:not(.social-home) .detail-intro > .eyebrow,
body.art-site:not(.social-home) .next-project b,
body.art-site:not(.social-home) .back-link span { color: var(--accent); }
body.art-site:not(.social-home) .detail-summary > p,
body.art-site:not(.social-home) .detail-summary dl,
body.art-site:not(.social-home) .film figcaption,
body.art-site:not(.social-home) .project-meta,
body.art-site:not(.social-home) .credits-note { color: var(--muted); }
body.art-site:not(.social-home) .gallery-item,
body.art-site:not(.social-home) .gallery.mosaic { background-color: var(--bg); }
body.art-site:not(.social-home) .gallery.mosaic .gallery-item { border-color: var(--line); }
body.art-site:not(.social-home) .contact {
  background: var(--panel);
  color: var(--ink);
}
body.art-site:not(.social-home) .contact h2,
body.art-site:not(.social-home) .contact strong { color: var(--ink); }
body.art-site:not(.social-home) .contact .dark { background: var(--ink); color: var(--bg); }
body.art-site:not(.social-home) .contact .footer-bottom { border-color: var(--line); }
body.art-site:not(.social-home) .contact .email { border-color: var(--line); color: var(--ink); }
body.art-site:not(.social-home) .contact .eyebrow { color: var(--muted); }
body.art-site:not(.social-home) .lightbox { background: var(--bg); color: var(--ink); }
body.art-site:not(.social-home) .lightbox-close { background: var(--ink); color: var(--bg); }
body.art-site:not(.social-home) .pending-video { background: var(--panel); color: var(--ink); }

@media (max-width: 680px) {
  .art-header { height: 60px; padding: 0 16px; }
  .art-header-links { gap: 12px; }
  .filmes-logo-link { width: 44px; height: 44px; }
  .art-logo-link { width: 58px; height: 48px; }
  .header-balance { width: 54px; }
  .contact-trigger, .motion-toggle { font-size: 7px !important; letter-spacing: .06em; }
  .motion-toggle { gap: 5px; }
  .art-main { inset: 60px 0 104px; }
  .project-sequence { gap: 14px; padding-right: 14px; }
  .project-card { width: clamp(208px, min(66vw, 43svh), 282px); }
  .project-card-caption { min-height: 58px; padding-top: 11px; }
  .project-card-caption strong { font-size: 12px; }
  .project-card-caption > div > span { font-size: 8px; }
  .art-footer { left: 18px; bottom: 20px; max-width: calc(100vw - 36px); }
  .art-footer strong { font-size: 17px; }
  .art-footer p { margin-top: 5px; font-size: 10px; }
  body.art-site:not(.social-home) { padding-top: 60px; }
}
@media (max-height: 560px) and (min-width: 681px) {
  .art-main { bottom: 92px; }
  .art-footer { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .art-site *, .art-site *::before, .art-site *::after { scroll-behavior: auto !important; }
  .project-card-image, .project-card-arrow { transition: none !important; }
  .contact-dialog[open] { animation: none; }
}

/* Cabeçalho e logos compartilhados das páginas de projeto. */
.art-header { height: 158px; background: #10100f; }
.filmes-logo-link { width: 99px; height: 99px; }
.filmes-logo-link img { background: transparent !important; filter: none !important; mix-blend-mode: normal; }
.art-logo-link { width: 162px; height: 135px; transform: translateY(-8px); }
.art-logo-link img { filter: none !important; mix-blend-mode: normal; }
.art-main { top: 158px; }
body.art-site:not(.social-home) { height: auto !important; min-height: 100vh; padding-top: 158px; overflow-x: hidden !important; overflow-y: visible !important; }
body.art-site:not(.social-home) .detail,
body.art-site:not(.social-home) .detail.wrap,
body.art-site:not(.social-home) main { height: auto !important; max-height: none !important; overflow: visible !important; }
html:has(body.art-site:not(.social-home)) { height: auto; min-height: 100%; overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 680px) {
  .art-header { display: block; height: 148px; padding: 0; }
  .art-header-links { display: contents; }
  .filmes-logo-link { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 78px; height: 78px; }
  .contact-trigger { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 7px !important; letter-spacing: .06em; }
  .art-logo-link { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 138px; height: 114px; }
  .project-viewport.is-dragging { cursor: grabbing; user-select: none; }
  .header-balance { display: none; }
  .art-main { top: 148px; }
  body.art-site:not(.social-home) { padding-top: 148px; }
}

/* The portfolio home is a fixed horizontal marquee; every project detail page
   uses normal document flow so its films, galleries, and footer remain reachable. */
html:has(body.art-site:not(.social-home)) {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #777 #111;
}
body.art-site:not(.social-home) {
  display: block !important;
  position: static !important;
  height: auto !important;
  min-height: 100svh !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}
body.art-site:not(.social-home) > main.detail {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
body.art-site:not(.social-home) .detail-section,
body.art-site:not(.social-home) .video-grid,
body.art-site:not(.social-home) .gallery {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
@media (max-width: 680px) {
  body.art-site:not(.social-home) { min-height: 100svh !important; }
  body.art-site:not(.social-home) > main.detail { width: calc(100% - 36px) !important; }
}
@media (min-width: 681px) {
  html:has(body.art-site:not(.social-home))::-webkit-scrollbar { width: 12px; }
  html:has(body.art-site:not(.social-home))::-webkit-scrollbar-track { background: #111; }
  html:has(body.art-site:not(.social-home))::-webkit-scrollbar-thumb { background: #777; border: 3px solid #111; border-radius: 8px; }
}
