@font-face {
  font-family: Tag;
  src: url('/fonts/another-tag.otf') format('opentype');
  font-display: swap;
}
.brand strong { letter-spacing: -.065em; white-space: nowrap; }
.hero .hero-inner { display:flex; align-items:center; }
.about-inner p + p { margin-top: .85em; }
#hero-title { max-width:15ch; font-size:clamp(3rem,6.2vw,6.2rem); text-wrap:balance; }
.hero-copy h1 { line-height:.96; margin-block:20px 26px; font-size:clamp(4.6rem,8.4vw,8.5rem); }
.street-word { display:inline-block; font:normal 1.04em/.92 Tag,Space,sans-serif; color:var(--acid); letter-spacing:0; transform:rotate(-4deg); }
.cover-art {
  position:absolute; inset:0 0 0 19%; overflow:hidden; pointer-events:none;
  opacity:.36; mix-blend-mode:screen;
  mask-image:linear-gradient(90deg,transparent 0%,#0008 26%,#000 54%,#000 93%,#0008);
}
.hero .cover-art { inset:0; }
.cover-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:0; }
.cover-art img.on {opacity:1}
.hero:has(.has-art) .tag-band { opacity:.105; }
@media(prefers-reduced-motion:no-preference){.cover-art img {transition:opacity 1.5s ease-in-out}}
@media(max-width:650px){
  .hero .hero-inner { min-height:450px; padding-block:44px 54px; }
  .hero-copy h1 {font-size:clamp(4.2rem,13.5vw,5.8rem)}
  .cover-art { inset:0 -22% 0 0; opacity:.26; mask-image:linear-gradient(90deg,transparent,#0009 32%,#000 82%); }
}
.signature, .tag-word, .hand-sign, .empty-cover { font-family: Tag, Space, sans-serif; font-weight: normal; }
.signature { display: block; color: var(--acid); line-height: 1.04; font-size: 1.22em; letter-spacing: .01em; transform: rotate(-4deg); transform-origin: left; }
.brand-print { aspect-ratio: 1.5; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; border: 5px solid var(--paper); background-color: var(--ink); background-image: linear-gradient(#72738929 1px, transparent 1px),linear-gradient(90deg,#72738929 1px, transparent 1px); background-size: 7% 9%; }
.brand-print::before, .brand-print::after, .gallery-empty::after { content: ''; position: absolute; top:0; bottom:0; pointer-events:none; }
.brand-print::before { left:0; width:40%; background:url('/art/green-spray.webp') left center/100% 100% no-repeat; }
.brand-print::after { right:0; width:22%; background:url('/art/edge-tag.webp') right center/auto 110% no-repeat; }
.brand-stencil { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); height:65%; width:auto; }
.hand-sign { position:absolute; left:7%; bottom:8%; font-size:clamp(1.25rem,3.6vw,3.1rem); color:var(--paper); transform:rotate(-9deg); line-height:1; }
.hero-copy>p { max-width: 440px; }
.graffiti-wall {
  pointer-events:none; user-select:none; position:absolute; inset:0; overflow:hidden;
}
.tag-band {
  position:absolute; top:19%; left:-6%; width:112%; transform:rotate(-9deg);
  color:#b46aff; opacity:.16;
}
.tag-track { display:flex; width:max-content; }
.tag-track span {
  flex:none; min-width:40vw; padding-right:.85em; white-space:nowrap;
  font:normal clamp(7rem,14vw,14rem)/1.2 Tag,Space,sans-serif;
}
.graffiti-wall::before {
  content:''; position:absolute; inset:-12% auto auto -4%; width:clamp(180px,27vw,440px); height:67%;
  background:url('/art/green-spray.webp') left center/100% 100% no-repeat;
  mask-image:radial-gradient(ellipse at 20% 30%,#000 6%,transparent 72%);
  opacity:.32; transform-origin:top left;
}
.wall-control {display:none}
@media(max-width:650px){
  .tag-band {top:21%;opacity:.15}
  .graffiti-wall::before {height:42%}
}
@media(prefers-reduced-motion:no-preference){
  .tag-track { animation: wall-tags 28s linear infinite; }
  .graffiti-wall::before { animation: corner-mist 7s ease-in-out infinite alternate; }
  .hero::after { animation: violet-mist 9s ease-in-out -3s infinite alternate; }
  @keyframes wall-tags { to { transform:translateX(-25%); } }
  @keyframes corner-mist {
    from {opacity:.15;transform:translate(-4%,-2%) scale(.92)}
    to {opacity:.48;transform:translate(3%,3%) scale(1.15)}
  }
  @keyframes violet-mist {
    from {opacity:.16;transform:rotate(180deg) translate(2%,1%) scale(.94)}
    to {opacity:.48;transform:rotate(180deg) translate(-3%,-1%) scale(1.1)}
  }
  .wall-control {
    display:grid; place-items:center; position:absolute; z-index:2; right:12px; bottom:7px;
    width:44px; height:44px; cursor:pointer; color:var(--paper);
  }
  .wall-control input { position:absolute; width:100%; height:100%; inset:0; margin:0; opacity:0; cursor:pointer; }
  .wall-control-icon {
    display:grid; place-items:center; pointer-events:none; width:30px; height:30px;
    background:#100c20d9; border:1px solid #756780; border-radius:50%;
  }
  .wall-control-icon::before { content:''; width:4px; height:10px; border-inline:2px solid currentColor; }
  .wall-control input:checked + span::before {
    box-sizing:border-box; width:0; height:0; margin-left:2px;
    border:5px solid transparent; border-left:8px solid currentColor; border-right:0;
  }
  .wall-control:hover span,.wall-control input:focus-visible + span { color:var(--acid); border-color:var(--acid); }
  .wall-control input:focus-visible + span { outline:2px solid var(--acid); outline-offset:3px; }
  .hero:has(#pause-wall:checked) .tag-track,
  .hero:has(#pause-wall:checked) .graffiti-wall::before,
  .hero:has(#pause-wall:checked)::after,
  body:has(dialog[open]) .tag-track,
  body:has(dialog[open]) .graffiti-wall::before,
  body:has(dialog[open]) .hero::after { animation-play-state:paused; }
}
.manage,.contact-links,.collection-nav { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.project-entry { min-width:0; }
.project-entry>.card { display:block; width:100%; }
.project-tools { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.project-tools button { padding:8px 12px; font-size:.88rem; }
.work,.about,.contact { position:relative; isolation:isolate; }
.section-ink {
  position:absolute; right:0; top:0; width:min(34%,380px); height:min(100%,265px);
  overflow:hidden; pointer-events:none; z-index:-1;
}
.section-ink::before {
  content:''; position:absolute; inset:-12%; background:url('/art/spray.webp') left center/100% 100% no-repeat;
  mask-image:radial-gradient(ellipse at 14% 58%,black 14%,transparent 69%);
  transform:rotate(178deg); opacity:.38;
}
.section-ink::after {
  content:'CF4'; position:absolute; right:7%; top:20%;
  font:normal clamp(3.5rem,7vw,7.5rem)/1 Tag,Space,sans-serif;
  color:var(--violet); opacity:.17; transform:rotate(-11deg);
}
.about>.section-ink { left:0; right:auto; top:auto; bottom:0; transform:rotate(180deg); }
.about>.section-ink::after {content:none}
.contact>.section-ink::before,.collection-panel>.section-ink::before { background-image:url('/art/green-spray.webp'); }
.contact>.section-ink::after,.collection-panel>.section-ink::after {color:var(--acid)}
.collection-panel::before {z-index:-2}
.collection-panel>.section-ink {width:min(25%,260px)}
@media(prefers-reduced-motion:no-preference){
  .section-ink::before {animation:spread-ink 8s ease-in-out infinite alternate}
  .section-ink::after {animation:slide-tag 13s ease-in-out infinite alternate}
  @keyframes spread-ink {
    from {opacity:.18;transform:rotate(178deg) translate(1%,-3%) scale(.93)}
    to {opacity:.46;transform:rotate(174deg) translate(-2%,4%) scale(1.11)}
  }
  @keyframes slide-tag {to {transform:translate(-12%,8%) rotate(-8deg)}}
  body:has(#pause-wall:checked) .section-ink::before,body:has(#pause-wall:checked) .section-ink::after,
  body:has(dialog[open]) .section-ink::before,body:has(dialog[open]) .section-ink::after {animation-play-state:paused}
}
.work-head { margin-bottom:18px; }
.filters { margin-bottom:20px; }
.collection-nav { border-block:1px solid var(--line); margin:0 0 24px; padding:10px 0; }
.collection-nav a { padding:8px 10px; overflow-wrap:anywhere; font-size:.95rem; }
.collection-nav a[aria-current=page] { color:var(--acid); text-decoration:underline; text-underline-offset:5px; }
.collection-panel,.gallery-empty { position:relative; isolation:isolate; overflow:hidden; background:#141123; border:1px solid var(--line); }
.collection-panel::before,.detail-art::before { content:''; position:absolute; inset:-35px; z-index:-1; pointer-events:none; background:var(--scene,none) center/cover; filter:blur(24px) brightness(.32); }
.collection-body { padding:clamp(22px,4vw,58px); text-align:center; }
.tag-word { color:var(--acid); font-size:clamp(2.1rem,5vw,4.4rem); line-height:1; margin:2px 0 14px; transform:rotate(-3deg); }
.collection-body h3 { margin:0; font-size:clamp(2.1rem,4.6vw,4.3rem); letter-spacing:-.065em; line-height:1.1; overflow-wrap:anywhere; }
.collection-body>p:not(.tag-word) { max-width:680px; margin:12px auto; line-height:1.55; white-space:pre-line; overflow-wrap:anywhere; }
.pieces { margin-top:26px; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:20px; }
.piece { display:block; padding:0; background:#090818d9; border:1px solid #ffffff35; border-radius:13px; overflow:hidden; text-align:left; }
.piece img { width:100%; aspect-ratio:4/5; max-height:460px; object-fit:contain; }
.piece strong { display:block; font-size:1.15rem; padding:12px 14px; overflow-wrap:anywhere; }
.piece:hover { border-color:var(--acid); }
.gallery-empty { grid-column:1/-1; min-height:165px; padding:28px; display:flex; gap:12px; flex-direction:column; align-items:flex-start; justify-content:center; background:linear-gradient(120deg,#171329,#0c0a18); border:1px dashed #5d526c; }
.gallery-empty::after { right:0; width:28%; background:url('/art/spray.webp') left center/cover; opacity:.5; transform:rotate(180deg); z-index:-1; }
.gallery-empty p { font-size:1.12rem; color:var(--paper); margin:0; }
.gallery-empty h3 { margin:0; font-size:clamp(1.5rem,2.4vw,2.25rem); letter-spacing:-.05em; }
.gallery-empty:has(+ .gallery-empty), .gallery-empty + .gallery-empty {grid-column:auto;}
@media(min-width:901px){.cards>.lead-print:not(:only-child){grid-column:span 2}.card.lead-print .cover{aspect-ratio:3.15}}
@media(min-width:651px) and (max-width:900px){.gallery-empty.lead-print:not(:only-child){grid-column:span 2}}
@media(min-width:441px) and (max-width:650px){.gallery-empty{padding:18px}}
.empty-cover { height:100%; display:grid; place-items:center; font-size:3.5rem; color:var(--acid); }
.about-portrait { display:block; width:min(100%,390px); height:auto; justify-self:center; }
.contact { padding-block:60px; }
.contact>.section-ink {right:0;mask-image:linear-gradient(to right,transparent,#000 40%);}
.legal-bar {border-top:1px solid var(--line);color:var(--soft)}
.legal-bar>.wrap {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-block:12px}
.legal-bar small,.legal-bar button {font-size:.875rem}
.legal-bar button {background:none;border:none;padding:6px;color:var(--paper);text-decoration:underline;text-underline-offset:3px}
.legal-panel { overscroll-behavior: contain; }
.legal-panel .dialog-bar { position: sticky; top: 0; z-index: 1; background: #141223; }
.legal-panel .close { flex: none; }
.legal-copy { padding: 0 clamp(18px,4vw,40px) 28px; line-height: 1.6; color: #d1d0dd; }
.legal-copy h3 { margin: 1.5em 0 .25em; font-size: 1.16rem; color: var(--paper); }
.legal-copy p { margin: .75em 0; }
.legal-copy .legal-date, .legal-reference { font-size: .875rem; color: var(--soft); }
.legal-copy a { text-decoration: underline; text-underline-offset: .18em; }
.cover-option {display:flex;align-items:center;gap:10px;padding:6px 0}
.cover-option input {width:auto;accent-color:var(--acid)}
.cover-option img {width:55px;height:48px;object-fit:contain;background:var(--ink)}
#covers-list fieldset {border:1px solid var(--line);margin:15px 0;padding:10px}
.contact h2 { font-size:clamp(2.6rem,5vw,5rem); margin:12px 0; }
.contact p { line-height:1.6; color:var(--soft); }
.contact-links { gap:16px 24px; }

.detail-art { position:relative; isolation:isolate; overflow:hidden; background:var(--ink); }
#detail { width:min(96vw,1600px); max-width:none; max-height:96dvh; overscroll-behavior:contain; }
.viewer-bar { position:sticky; top:0; z-index:2; background:#141223f5; padding-block:9px; gap:10px; }
.viewer-nav,.zoom-toggle { display:flex; align-items:center; gap:10px; }
.viewer-nav { margin-right:auto; }
#viewer-count { font:700 .875rem Space,Arial,sans-serif; color:var(--soft); font-variant-numeric:tabular-nums; white-space:nowrap; }
.viewer-icon,.zoom-toggle { border:1px solid #676074; border-radius:6px; background:#211d30; min-height:42px; }
.viewer-icon { width:42px; font-size:1.8rem; line-height:1; }
.zoom-toggle { padding-inline:13px; font-size:.94rem; font-weight:700; }
.zoom-toggle[aria-pressed=true] { border-color:var(--acid); color:var(--acid); }
.lens-icon { display:inline-block; position:relative; width:14px; height:14px; border:2px solid currentColor; border-radius:50%; margin-right:4px; }
.lens-icon::after { content:''; position:absolute; width:8px; height:2px; background:currentColor; left:9px; top:10px; transform:rotate(45deg); transform-origin:left; }
#view-stage { height:clamp(180px,73dvh,1000px); overflow:auto; overscroll-behavior:contain; touch-action:pan-y pinch-zoom; }
#view-stage.zoomed { touch-action:pan-x pan-y pinch-zoom; }
.view-plane { width:max-content; min-width:100%; min-height:100%; display:grid; place-items:center; }
#view-target { display:block; padding:0; border:0; background:none; cursor:zoom-in; }
.zoomed #view-target { cursor:grab; }
.zoomed #view-target:active { cursor:grabbing; }
#view-image { display:block; max-width:none; max-height:none; user-select:none; }
.viewer-bar .close { height:42px; width:42px; }
.piece,.cover { position:relative; }
.preview-lens { position:absolute; right:9px; top:9px; display:grid; place-items:center; height:33px; width:33px; border-radius:50%; background:#090818db; border:1px solid #ffffff60; color:var(--paper); pointer-events:none; }
@media(max-width:650px){#detail{width:100%;max-height:100dvh;border-radius:6px}.viewer-nav{gap:5px}#view-stage{height:69dvh}}
#detail::backdrop { background:linear-gradient(#090818b5,#090818c9),var(--scene,none) center/cover; filter:blur(18px) brightness(.55); }
.gallery-tabs { background:#09081899; }
.thumbs { display:grid; gap:10px; }
.thumb { display:grid; grid-template-columns:66px 1fr; gap:6px 12px; align-items:center; padding:8px; border:1px solid var(--line); border-radius:6px; }
.thumb img { width:66px; height:60px; grid-row:span 2; }
.thumb input { padding:7px; min-width:0; }
.order { display:flex; gap:6px; flex-wrap:wrap; }
.thumbs .order button { position:static; width:auto; height:auto; padding:5px 8px; font-size:.8rem; }
#background-field { margin-top:16px; }
#bg-preview { display:flex; gap:10px; align-items:center; margin:8px 0; }
#bg-preview img { width:75px; height:55px; object-fit:cover; }
@media(max-width:650px){.collection-body{padding:20px 14px}.pieces{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.piece strong{padding:8px;font-size:1rem}.contact{padding-block:36px}.hero-copy h1{margin-block:15px 19px}.hero-inner{gap:22px}.contact-links{align-items:flex-start;flex-direction:column}.brand strong{font-size:1.35rem}.work-head{gap:12px}.about-portrait{order:1;width:min(100%,330px)}.thumb{grid-template-columns:48px 1fr}.thumb img{width:48px}.collection-nav a{padding:6px 8px}}
@media(prefers-reduced-motion:no-preference){.collection-body .tag-word,.signature { animation:tag-reveal .4s cubic-bezier(.22,.8,.25,1) backwards; }@keyframes tag-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 -7% 0 0)}}}

@media (prefers-reduced-motion: no-preference) {
  [data-spray="pending"] { opacity: 0; }
  [data-spray="picture"], [data-spray="lettering"] {
    mask-mode: alpha;
    mask-size: 100% 5600%;
    mask-repeat: no-repeat;
    mask-position: 0 0;
  }
  [data-spray="picture"] { mask-image: url('/art/spray-passes.webp?zigzag=3'); }
  [data-spray="lettering"] { mask-image: url('/art/spray-lettering.webp?zigzag=3'); }
  .card, #detail[open] { animation: none; }
}
@media print {
  [data-spray] { opacity: 1 !important; mask: none !important; }
}

:root { --pink: #ff56c7; }

.word-band {
  overflow: hidden;
  background: var(--pink);
  color: #000;
  user-select: none;
}
.word-track, .word-repeat {
  display: flex;
  align-items: center;
  width: max-content;
}
.word-repeat {
  flex: none;
  gap: clamp(18px, 2.3vw, 38px);
  padding: 0 clamp(18px, 2.3vw, 38px) 0 0;
  height: clamp(42px, 4vw, 56px);
  font: 700 clamp(1.1rem, 1.9vw, 1.7rem)/1 var(--display);
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.word-repeat b {
  display: inline-block;
  font: 700 .83em/1 Space, sans-serif;
  transform: rotate(var(--word-turn, 0deg));
}
.contact-links svg { flex: none; }
.primary.instagram-contact {
  background: var(--pink);
  border-color: var(--pink);
}
.primary.instagram-contact:hover { background: #ff90dc; }

.language-switch {
  display: inline-grid; grid-template-columns: 32px repeat(2, 40px); align-items: center;
  padding: 3px 5px 3px 2px; isolation: isolate; flex: none;
  border: 1px solid #494355; border-radius: 24px; background: #151120;
}
.language-globe { grid-area: 1 / 1; justify-self: center; color: #d2c6df; transform: rotate(-15deg); }
.language-switch::before {
  content: ''; grid-area: 1 / 2; align-self: stretch; margin-block: 2px;
  border-radius: 14px 6px; background: var(--acid); z-index: -1;
}
html:lang(en) .language-switch::before { transform: translateX(100%); }
.language-switch button {
  grid-area: 1 / 2; padding: 0; min-height: 34px; border: 0; border-radius: 14px 6px;
  font: 700 .83rem Space, sans-serif; letter-spacing: .035em;
  color: #c4bdcf; background: transparent;
}
.language-switch [data-lang="en"] { grid-column: 3; }
.language-switch button[aria-pressed="true"] { color: var(--ink); }
.language-switch button[aria-pressed="false"]:hover { color: var(--paper); background: #30283f; }
.language-switch button:focus-visible { outline: 2px solid var(--paper); outline-offset: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .language-switch::before { transition: transform 220ms cubic-bezier(.22,.74,.25,1); }
  .language-switch button { transition: color 180ms ease, background-color 180ms ease; }
}
@media (pointer: coarse) {
  .language-switch { grid-template-columns: 32px repeat(2, 44px); }
  .language-switch button { min-height: 44px; }
}
@media (forced-colors: active) {
  .language-switch button[aria-pressed="true"] { outline: 1px solid ButtonText; text-decoration: underline; }
}
.nav-dock {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; height: 0;
  display: flex; justify-content: center; pointer-events: none;
}
.section-menu {
  --pad: 4px; position: relative; isolation: isolate; top: 10px; flex: none;
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: stretch; gap: 0;
  width: min(365px, calc(100% - 24px)); height: 48px; padding: var(--pad);
  pointer-events: auto; background: #100e1df5; border: 1px solid #474050;
  border-radius: 30px; box-shadow: 0 4px 14px #05040c38;
}
.menu-indicator {
  position: absolute; inset-block: var(--pad); left: var(--pad);
  width: calc((100% - 2 * var(--pad)) / 4); z-index: -1;
  border-radius: 24px; background: var(--acid);
  transform: translateX(var(--indicator-x, 0%));
  transition: transform 260ms cubic-bezier(.22,.74,.25,1);
}
.section-menu a {
  display: grid; place-items: center; border-radius: 22px; text-decoration: none;
  font: 700 .91rem Space, sans-serif; color: #d5d1e0;
  transition: color 160ms ease, background-color 160ms ease;
}
.section-menu a:hover { color: white; background: #66507338; }
.section-menu a[aria-current="location"] { color: var(--ink); background: transparent; }
.hero .hero-inner { padding-top: clamp(80px, 8vw, 114px); }
#projetos, #sobre, #contato { scroll-margin-top: calc(68px + env(safe-area-inset-top, 0px)); }
@media(max-width:440px) {
  .section-menu { width: min(320px, calc(100% - 20px)); }
}

.cursor-ink {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(:has(#pause-wall:checked, dialog[open])) :where(main, header, footer) {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='30' viewBox='0 0 29 30'%3E%3Ccircle cx='2' cy='3' r='1.5' fill='%2300ff47' stroke='%23090818' stroke-width='.8'/%3E%3Cpath d='m5 5 3 2m-2-4 3 2' stroke='%2300ff47' stroke-linecap='round'/%3E%3Cg transform='rotate(-28 17 17)' stroke='%23f4f6ff' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M14 7V4h4v3m-7 5 2-4h6l3 4v13q-5 3-11 0Z' fill='%23090818'/%3E%3Cpath d='M11 13h11v8H11Z' fill='%23a51dff' stroke='none'/%3E%3Cpath d='m18 14-3 3h2l-2 3 5-4h-3Z' fill='%2300ff47' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 2 3, auto;
  }
  :where(main, header, footer) a[href] { cursor: pointer; }
}
@media print { .cursor-ink { display: none; } }
