/* VITOR DEBALD® — see ART_DIRECTION.md / MOTION_SYSTEM.md */
@font-face { font-family: "BSD"; src: url("/fonts/big-shoulders-display.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; }

:root {
  --ink: #050A14; --ink-2: #0B1324; --blue: #1045D5; --coral: #FF465F; --teal: #00CBB5; --white: #fff;
  --mute: rgba(255,255,255,.64); --line: rgba(255,255,255,.14);
  --display: "BSD", "Arial Narrow", Impact, sans-serif;
  --text: "Archivo", system-ui, sans-serif;
  --fs-mega: clamp(4.5rem, 17vw, 17rem); --fs-xl: clamp(3.2rem, 9.5vw, 9rem); --fs-l: clamp(2.4rem, 4.6vw, 4.4rem);
  --ease-out: cubic-bezier(.16,1,.3,1); --ease-io: cubic-bezier(.76,0,.24,1);
  --t-fast: 180ms; --t-base: 520ms; --t-slow: 900ms;
  --gut: clamp(16px, 4vw, 56px); --hdr: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 1rem/1.55 var(--text); font-stretch: 100%; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--coral); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--coral); color: var(--ink); padding: 10px 16px; font-weight: 700; transition: top var(--t-fast); }
.skip:focus { top: 12px; }

/* film grain */
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* type primitives */
.label, .slate, .tag { font: 600 .72rem/1.2 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; }
.label { color: var(--mute); margin: 0 0 1rem; }
.slate { display: inline-flex; align-items: center; gap: .6em; margin: 0; color: var(--white); }
.rec { width: .62em; height: .62em; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,70,95,.6); animation: rec 1.6s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 .6em rgba(255,70,95,0); } 100% { box-shadow: 0 0 0 0 rgba(255,70,95,0); } }
.sec-title { font: 900 var(--fs-xl)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.tag { display: inline-block; padding: .38em .6em .32em; border: 1px solid var(--line); border-radius: 2px; }
.tag--live { border-color: var(--coral); color: var(--coral); }
.tag--brands { background: var(--blue); border-color: var(--blue); }
.tag--events { border-color: var(--white); }
.tag--experimental { border-color: var(--teal); color: var(--teal); }
.tag--people { border-color: var(--white); }

/* crop marks (camera viewfinder) */
.crop { position: absolute; inset: 10px; pointer-events: none; z-index: 3; }
.crop i { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255,255,255,.85); transition: transform var(--t-base) var(--ease-out), opacity var(--t-base); }
.crop i:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.crop i:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.crop i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.crop i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .8em 1.3em; font: 700 .82rem/1 var(--text); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), color var(--t-fast); }
.btn:active { transform: scale(.97); }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--white); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn--xl { font-size: clamp(.9rem, 1.4vw, 1.05rem); padding: 1.2em 2em; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); display: flex; align-items: center; gap: 2rem; padding: 0 var(--gut); transition: transform var(--t-base) var(--ease-out), background-color var(--t-base); }
.hdr.is-solid { background: rgba(5,10,20,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hdr.is-hidden { transform: translateY(-100%); }
.wordmark { font: 900 1.45rem/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.wordmark sup { font: 600 .55em var(--text); vertical-align: .9em; margin-left: .1em; color: var(--coral); }
.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { font: 600 .72rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; position: relative; padding: .6em 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform var(--t-base) var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__wa { min-height: 40px; padding: .6em 1em; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; margin-left: .4rem; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform var(--t-base) var(--ease-out); }
.menu-btn i:first-of-type { top: 17px; } .menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hdr) + 3vh) var(--gut) 5vh; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto; column-gap: 16px; overflow: hidden; isolation: isolate; }
.hero__slate { grid-column: 1 / -1; grid-row: 1; align-self: start; }
.hero__title { grid-column: 1 / -1; grid-row: 2; align-self: center; z-index: 3; white-space: nowrap; margin: 0; font: 900 var(--fs-mega)/.8 var(--display); letter-spacing: -.015em; text-transform: uppercase; pointer-events: none; }
.ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ln > span { display: block; }
.hero__frame { grid-column: 8 / span 4; grid-row: 1 / span 3; align-self: center; position: relative; margin: 0; aspect-ratio: 9 / 16; max-height: calc(100svh - var(--hdr) - 8vh); z-index: 2; background: var(--ink-2); overflow: hidden; }
.hero__frame img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity var(--t-slow); }
.hero__video.is-playing { opacity: 1; }
.hero__cap { position: absolute; left: 14px; bottom: 14px; z-index: 4; font: 600 .62rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero__beam { grid-column: 9 / span 4; grid-row: 1 / span 3; align-self: center; height: 62%; background: var(--blue); z-index: 1; transform: translate(6%, 10%); }
.hero__foot { grid-column: 1 / span 5; grid-row: 3; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; z-index: 3; }
.hero__sub { margin: 0; max-width: 30ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.35; color: var(--mute); }
.hero__scroll { position: absolute; right: calc(var(--gut) / 3); bottom: 5vh; font: 600 .62rem/1 var(--text); font-stretch: 125%; letter-spacing: .3em; writing-mode: vertical-rl; color: var(--mute); z-index: 3; }
.hero__scroll::after { content: ""; display: block; width: 1px; height: 54px; margin: 12px auto 0; background: linear-gradient(var(--white), transparent); animation: drip 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* intro animation (only when JS present and motion allowed) */
.js .hero .ln > span { transform: translateY(105%); }
.js .hero__frame { clip-path: inset(50% 0 50% 0); }
.js .hero__beam { transform: translate(6%, 10%) scaleX(0); transform-origin: left; }
.js .hero__slate { opacity: 0; }
.js .hero__foot { transform: translateY(24px); }
.is-ready .hero .ln > span { transform: none; transition: transform 1s var(--ease-out); }
.is-ready .hero .ln:nth-child(3) > span { transition-delay: 90ms; }
.is-ready .hero__frame { clip-path: inset(0 0 0 0); transition: clip-path var(--t-slow) var(--ease-io) .15s; }
.is-ready .hero__beam { transform: translate(6%, 10%) scaleX(1); transition: transform 1.1s var(--ease-io) .35s; }
.is-ready .hero__slate { opacity: 1; transition: opacity .8s .6s; }
.is-ready .hero__foot { transform: none; transition: transform 1s var(--ease-out) .3s; }

/* WORKS / THE REEL */
.works { position: relative; padding: 10vh 0 10vh; overflow: hidden; }
.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 0 var(--gut); margin-bottom: 4vh; flex-wrap: wrap; }
.works__head .label { width: 100%; margin: 0; }
.works__count { margin: 0; font: 900 clamp(2.4rem, 5vw, 4.6rem)/1 var(--display); }
.works__count span:last-child { color: var(--mute); }
.odo { display: inline-block; color: var(--coral); }
.reel { --card-w: min(34vw, calc((100svh - 230px) * .8)); position: relative; height: calc(var(--card-w) * 1.25 + 120px); touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: -4px; isolation: isolate; z-index: 0; }
.reel__bg { position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%); margin: 0; white-space: nowrap; font: 900 clamp(7rem, 24vw, 26rem)/.8 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.16); pointer-events: none; z-index: 0; will-change: transform; }
.reel__track { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.reel__item { position: absolute; top: 0; left: 0; width: var(--card-w); will-change: transform; transform-origin: 50% 40%; }
.card { display: block; position: relative; color: var(--white); -webkit-user-drag: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.card__media picture, .card__media img, .card__video, .card__flip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card__video, .card__flip { z-index: 1; }
.card__video { opacity: 0; transition: opacity .6s; }
.card__video.is-playing { opacity: 1; }
.card__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--ink); opacity: var(--dim, 0); transition: opacity .2s; pointer-events: none; }
.card .crop i { opacity: 0; transform: scale(1.6); }
.reel__item.is-active .card .crop i { opacity: 1; transform: none; }
.card__frames { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; display: flex; gap: 3px; opacity: 0; transition: opacity var(--t-fast); }
.card__frames i { flex: 1; height: 3px; background: rgba(255,255,255,.35); }
.card__frames i.on { background: var(--coral); }
.card.is-scrubbing .card__frames { opacity: 1; }
.card__meta { display: flex; align-items: center; gap: .8rem; margin-top: 14px; opacity: var(--meta, 1); }
.card__num { font: 900 1.1rem/1 var(--display); color: var(--coral); }
.card__count { margin-left: auto; font: 600 .66rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.card__title { margin: 8px 0 0; font: 900 var(--fs-l)/.9 var(--display); text-transform: uppercase; opacity: var(--meta, 1); }
.card--end { aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1.2rem; padding: 8%; background: var(--blue); }
.card--end__title { margin: 0; font: 900 clamp(2.6rem, 5vw, 5rem)/.88 var(--display); text-transform: uppercase; }
.card--end .label { color: rgba(255,255,255,.8); }
.reel__ui { display: flex; align-items: center; gap: 18px; padding: 0 var(--gut); margin-top: 8px; }
.reel__btn { width: 56px; height: 56px; flex: none; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.reel__btn:hover { background: var(--white); color: var(--ink); }
.reel__btn:disabled { opacity: .3; pointer-events: none; }
.reel__strip { flex: 1; display: flex; gap: 4px; max-width: 520px; order: 3; }
.reel__hint { order: 4; }
.reel__strip i { flex: 1; height: 14px; border: 1px solid var(--line); transition: background-color var(--t-base); }
.reel__strip i.on { background: var(--coral); border-color: var(--coral); }
.reel__hint { margin-left: auto; font: 600 .66rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* SERVICES */
.services { padding: 12vh var(--gut) 8vh; }
.services__head { margin-bottom: 6vh; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { --img-h: clamp(170px, 18vw, 280px); position: relative; display: grid; grid-template-columns: 4rem 1fr minmax(0, 30ch); align-items: center; gap: 2rem; min-height: calc(var(--img-h) + 64px); padding: 2.4rem 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.svc__num { font: 900 1.2rem/1 var(--display); color: var(--mute); align-self: start; padding-top: .6em; }
.svc__word { margin: 0; font: 900 clamp(3.4rem, 7.6vw, 8rem)/.8 var(--display); letter-spacing: -.01em; transition: color var(--t-base), -webkit-text-stroke-color var(--t-base); z-index: 2; position: relative; }
.svc__line { margin: 0; color: var(--mute); font-size: 1.02rem; z-index: 2; }
.svc__img { position: absolute; z-index: 1; height: var(--img-h); width: auto; aspect-ratio: 4 / 5; top: 50%; left: 46%; transform: translate(-50%, -50%); overflow: hidden; pointer-events: none; clip-path: inset(0 0 0 100%); transition: clip-path var(--t-slow) var(--ease-io); }
.svc__img picture, .svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc.is-in .svc__img { clip-path: inset(0 0 0 0); }
/* per-category compositions */
.svc--live .svc__img { left: 52%; aspect-ratio: 16 / 10; }
.svc--people .svc__img { left: 66%; border-radius: 999px 999px 0 0; }
.svc--brands .svc__img { left: 56%; transform: translate(-50%, -50%) rotate(-4deg); outline: 10px solid var(--blue); outline-offset: -1px; }
.svc--events .svc__img { left: 30%; aspect-ratio: 3 / 2; }
.svc--events .svc__word { grid-column: 2; justify-self: end; }
.svc--experimental .svc__word { color: transparent; -webkit-text-stroke: 2px var(--teal); }
.svc--experimental .svc__img { left: 64%; filter: contrast(1.1); }
@media (hover: hover) and (pointer: fine) {
  .svc__word { font-stretch: 100%; }
  .svc:hover .svc__word { color: var(--coral); }
  .svc--experimental:hover .svc__word { color: var(--teal); -webkit-text-stroke-color: var(--teal); }
}

/* ABOUT */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding: 14vh var(--gut); }
.about__portrait { position: relative; aspect-ratio: 4 / 5; width: min(100%, 72svh * .8); justify-self: center; background: var(--ink-2); margin: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; overflow: hidden; }
.about__portrait > .about__photo, .about__photo img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.about__portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(rgba(5,10,20,0), rgba(5,10,20,.85)); z-index: 0; }
.about__portrait > :not(.crop):not(.about__photo) { position: relative; z-index: 1; }
.about__pending { font: 900 clamp(3rem, 6vw, 5.6rem)/.84 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.7); }
.about__slate-b { color: rgba(255,255,255,.8); }
.about__text p:not(.label) { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 52ch; color: rgba(255,255,255,.86); }
.about__text .sec-title { margin-bottom: 2.4rem; }
.about__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 2rem 0 0; }
.about__chips li { font: 600 .7rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; padding: .7em 1em; border: 1px solid var(--line); border-radius: 999px; }
.about__chips li::before { content: "®"; color: var(--coral); margin-right: .5em; }

/* CONTACT */
.contact { position: relative; padding: 16vh var(--gut) 12vh; background: var(--blue); overflow: hidden; }
.contact .label { color: rgba(255,255,255,.8); }
.contact__title { margin: 0 0 6vh; font: 900 clamp(3.6rem, 13.5vw, 15rem)/.9 var(--display); letter-spacing: -.015em; }
.contact__title .o { color: transparent; -webkit-text-stroke: 2px var(--white); }
.contact__title .ln:nth-child(2) { padding-left: 12%; }
.contact__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.contact__row p { margin: 0; max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.contact .btn--coral { box-shadow: 0 0 0 0 rgba(255,70,95,.5); }

/* footer & floating */
.ftr { display: flex; gap: 1.5rem 3rem; flex-wrap: wrap; justify-content: space-between; padding: 28px var(--gut) calc(28px + env(safe-area-inset-bottom)); font: 600 .68rem/1.4 var(--text); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); border-top: 1px solid var(--line); }
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); transform: scale(0); transition: transform var(--t-base) var(--ease-out); }
.wa-float .ico { width: 26px; height: 26px; }
.wa-float.is-on { transform: scale(1); }
.toast { position: fixed; left: 50%; bottom: 88px; z-index: 90; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 14px 18px; background: var(--white); color: var(--ink); font: 600 .9rem/1.35 var(--text); border-left: 4px solid var(--coral); box-shadow: 0 10px 40px rgba(0,0,0,.4); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .svc.reveal { opacity: 1; transform: none; }

/* PROJECT (page + overlay) */
.project { padding: calc(var(--hdr) + 3vh) var(--gut) 8vh; }
.project__top { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(1.5rem, 4vw, 5rem); align-items: end; margin-bottom: 10vh; }
.project__hero { position: relative; margin: 0; aspect-ratio: 4 / 5; width: min(100%, 84svh * .8); overflow: hidden; background: var(--ink-2); }
.project__hero.is-video { aspect-ratio: 9 / 16; width: min(100%, 84svh * .5625); justify-self: start; }
.project__hero picture, .project__hero img, .project__video { width: 100%; height: 100%; object-fit: cover; }
.project__head { padding-bottom: 2vh; }
.project__title { margin: 1.4rem 0 1.4rem; font: 900 clamp(3rem, 7vw, 8rem)/.9 var(--display); text-transform: uppercase; letter-spacing: -.01em; overflow-wrap: anywhere; }
.project__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.6rem; padding: 0; }
.project__tags li { font: 600 .68rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; padding: .7em 1em; border: 1px solid var(--line); border-radius: 999px; }
.project__desc { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 46ch; margin: 0 0 2rem; color: rgba(255,255,255,.86); }
.project__credits { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.4rem; margin: 0 0 2rem; }
/* gallery: 3-column contact sheet, middle column dropped for rhythm */
.pg { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 24px); align-items: start; padding-bottom: 12vh; }
.pg__item { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 5; }
.pg__item:nth-child(3n+2) { transform: translateY(12vh); }
.pg__item picture, .pg__item img, .pg__video { width: 100%; height: 100%; object-fit: cover; }
.pg__item--video { aspect-ratio: 9 / 16; }
.js .pg__item.reveal { transform: translateY(24px); }
.js .pg__item.reveal:nth-child(3n+2) { transform: translateY(calc(12vh + 24px)); }
.js .pg__item.reveal.is-in { transform: none; }
.js .pg__item.reveal.is-in:nth-child(3n+2) { transform: translateY(12vh); }
.vbtn { position: absolute; right: 16px; bottom: 16px; z-index: 4; padding: .7em 1em; border-radius: 999px; background: rgba(5,10,20,.7); border: 1px solid var(--line); font: 600 .66rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; }
.vbtn[aria-pressed="true"] { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.project__nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12vh; border-top: 1px solid var(--line); }
.pn { display: flex; flex-direction: column; gap: .8rem; padding: 4vh 0; transition: color var(--t-fast); }
.pn--next { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }
.pn__t { font: 900 clamp(2.2rem, 6vw, 5.6rem)/.86 var(--display); text-transform: uppercase; }
.pn:hover .pn__t { color: var(--coral); }

/* overlay (home) */
.ovl { position: fixed; inset: 0; z-index: 70; background: var(--ink); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; }
.ovl.is-open { visibility: visible; }
.ovl .project { padding-top: calc(var(--hdr) + 2vh); }
.ovl__close { position: fixed; top: 10px; right: var(--gut); z-index: 72; display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: .7em 1.1em; border-radius: 999px; background: var(--white); color: var(--ink); font: 700 .72rem/1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; }
.beam { position: fixed; inset: 0; z-index: 80; background: var(--blue); pointer-events: none; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
html.is-locked, html.is-locked body { overflow: hidden; }

/* 404 */
.nf { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2rem; padding: calc(var(--hdr) + 4vh) var(--gut) 8vh; }

/* cursor (fine pointers only, enabled by JS) */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__pos { position: fixed; left: 0; top: 0; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink); }
.cursor__ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; transform: scale(0); transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast), border-color var(--t-fast), width var(--t-base) var(--ease-out), height var(--t-base) var(--ease-out), margin var(--t-base) var(--ease-out); }
.cursor__ring span { font: 700 .62rem/1.1 var(--text); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; text-align: center; opacity: 0; transition: opacity var(--t-fast); }
.cursor[data-state="link"] .cursor__ring { transform: scale(1); }
.cursor[data-state="drag"] .cursor__ring, .cursor[data-state="view"] .cursor__ring, .cursor[data-state="play"] .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; transform: scale(1); border-color: transparent; }
.cursor[data-state="drag"] .cursor__ring { background: var(--blue); }
.cursor[data-state="view"] .cursor__ring { background: var(--coral); color: var(--ink); }
.cursor[data-state="play"] .cursor__ring { background: var(--white); color: var(--ink); }
.cursor[data-state="drag"] span, .cursor[data-state="view"] span, .cursor[data-state="play"] span { opacity: 1; }
.cursor[data-state="drag"] .cursor__dot, .cursor[data-state="view"] .cursor__dot, .cursor[data-state="play"] .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: .85; }
.cursor[data-state="hidden"] .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .reel { cursor: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .reel { --card-w: min(52vw, calc((100svh - 260px) * .8)); }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 4vh; min-height: 100svh; }
  .hero__frame { position: absolute; inset: 0; max-height: none; aspect-ratio: auto; z-index: 0; align-self: stretch; justify-self: stretch; }
  .hero__frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(5,10,20,.35) 0%, rgba(5,10,20,0) 30%, rgba(5,10,20,.2) 55%, rgba(5,10,20,.92) 100%); }
  .hero__frame .crop { inset: calc(var(--hdr) + 8px) 12px 12px; }
  .hero__cap { top: calc(var(--hdr) + 22px); bottom: auto; left: 26px; }
  .hero__beam { display: none; }
  .hero__slate { position: absolute; top: calc(var(--hdr) + 24px); left: 26px; font-size: .62rem; z-index: 3; }
  .hero__cap { display: none; }
  .js .hero__frame, .is-ready .hero__frame { clip-path: none; }
  .hero__title { font-size: calc((100vw - 2 * var(--gut)) / 2.7) !important; margin-bottom: 1.6rem; }
  .hero__foot { gap: 1.1rem; }
  .hero__sub { color: rgba(255,255,255,.86); font-size: 1rem; }
  .hero__scroll { display: none; }
  .svc { grid-template-columns: 3rem 1fr; }
  .svc__line { grid-column: 2; }
  .about { grid-template-columns: 1fr; }
  .about__portrait { max-width: 420px; }
  .project__top { grid-template-columns: 1fr; }
  .project__hero { width: min(100%, 70svh * .8); } .project__hero.is-video { width: min(100%, 70svh * .5625); }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 1.2rem; padding: 0 var(--gut); background: var(--blue); clip-path: inset(0 0 100% 0); transition: clip-path var(--t-slow) var(--ease-io); visibility: hidden; }
  .nav a { font: 900 clamp(3rem, 14vw, 5rem)/.9 var(--display); letter-spacing: 0; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .menu-btn { display: block; }
  .hdr { gap: .6rem; }
  .hdr__wa { margin-left: auto; }
  .hdr__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hdr__wa { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 639px) {
  :root { --hdr: 58px; }
  .wordmark { font-size: 1.2rem; }
  .reel { --card-w: 74vw; height: calc(var(--card-w) * 1.25 + 110px); }
  .reel__bg { top: 40%; }
  .card__title { font-size: 2.3rem; }
  .reel__hint { display: none; }
  .reel__btn { width: 48px; height: 48px; }
  .svc { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0 2.4rem; }
  .svc__num { padding: 0; }
  .svc__line { grid-column: 1; }
  .svc__word { font-size: clamp(3.4rem, 17vw, 5rem); }
  .svc .svc__img, .svc--live .svc__img, .svc--people .svc__img, .svc--events .svc__img, .svc--brands .svc__img, .svc--experimental .svc__img { position: relative; left: auto; top: auto; transform: none; width: 100%; height: auto; max-width: 360px; }
  .svc { min-height: 0; }
  .svc--events .svc__word { grid-column: 1; justify-self: start; }
  .svc--brands .svc__img { transform: rotate(-2deg); width: 82%; margin: 8px 0 0 8px; }
  .svc--people .svc__img { width: 70%; }
  .pg { grid-template-columns: 1fr 1fr; padding-bottom: 6vh; }
  .pg__item:nth-child(3n+2) { transform: none; }
  .pg__item:nth-child(2n) { transform: translateY(6vh); }
  .js .pg__item.reveal.is-in:nth-child(3n+2) { transform: none; }
  .js .pg__item.reveal.is-in:nth-child(2n) { transform: translateY(6vh); }
  .project__nav { grid-template-columns: 1fr; }
  .pn--next { border-left: 0; border-top: 1px solid var(--line); }
  .project__hero, .project__hero.is-video { width: 100%; }
  .ftr { flex-direction: column; gap: .8rem; padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1600px) {
  .reel { --card-w: min(34vw, 600px, calc((100svh - 230px) * .8)); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .hero .ln > span, .js .hero__foot, .js .hero__slate { transform: none; opacity: 1; }
  .js .hero__frame { clip-path: none; }
  .js .hero__beam { transform: translate(6%, 10%); }
  .js .reveal { opacity: 1; transform: none; }
  .svc__img { clip-path: none; }
  .grain { display: none; }
}

/* project: giant outlined index fills the empty corner (desktop) */
.project__top { position: relative; isolation: isolate; }
@media (min-width: 1024px) {
  .project__top::before { content: attr(data-num); position: absolute; right: -1vw; top: 4vh; z-index: -1; font: 900 clamp(14rem, 30vw, 34rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); pointer-events: none; }
}

/* HERO title: DEBALD — each letter reveals a project (word width = 2.645em) */
.hero__title { font-size: min(calc((100vw - 2 * var(--gut)) * .56 / 2.7), 46svh); }
/* hero contact sheet: vertical photo strips behind the title */
.hero__strips { position: absolute; inset: 0; z-index: 0; }
.strip { position: absolute; left: var(--x); width: var(--w); top: var(--t); height: var(--h); overflow: hidden; background: var(--ink-2); }
.strip picture, .strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.strip img { filter: brightness(.85) saturate(1.15); transform: scale(1.08); transition: filter .5s var(--ease-out), transform 1.2s var(--ease-out); }
.strip.is-on img, .strip:focus-visible img { filter: none; transform: scale(1); }
.hero.is-focus .strip:not(.is-on) img { filter: brightness(.5) saturate(.8); }
.js .strip { clip-path: inset(100% 0 0 0); }
.is-ready .strip { clip-path: inset(0); transition: clip-path 1.1s var(--ease-io) calc(var(--d) + .2s); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; z-index: 1; pointer-events: none; background: linear-gradient(rgba(5,10,20,0), rgba(5,10,20,.88)); }
.hero__title { text-shadow: 0 4px 40px rgba(5,10,20,.35); }
.hero__frame, .hero__beam { display: none; }
@media (max-width: 1023px) {
  .hero__strips { display: flex; gap: 6px; position: absolute; inset: calc(var(--hdr) + 46px) 0 14svh; overflow: hidden; }
  .strip { position: relative; left: auto; top: auto; width: auto; height: auto; flex: 1; margin: 0; }
  .strip:nth-child(odd) { margin-bottom: 6svh; }
  .strip:nth-child(even) { margin-top: 6svh; }
  .strip:nth-child(n+6) { display: none; }
  .strip img { filter: brightness(.85) saturate(1.15); }
  .hero::after { height: 58%; }
}
@media (prefers-reduced-motion: reduce) { .js .strip { clip-path: none; } }

/* contact links */
.contact__links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 5vh 0 0; padding: 0; }
.contact__links a { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; font: 600 .85rem/1 var(--text); font-stretch: 112%; letter-spacing: .06em; }
.contact__links a:hover { color: var(--ink); }
.contact__links .ico { width: 1.4em; height: 1.4em; }
.ftr { align-items: center; }
.ftr__links { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.ftr__links a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--white); }
.ftr__links a:hover { border-color: var(--coral); color: var(--coral); }

/* categories (pt-BR) */
.tag--marcas { background: var(--blue); border-color: var(--blue); }
.tag--formaturas { border-color: var(--coral); color: var(--coral); }
.tag--corporativo { border-color: var(--white); }
.tag--pessoas { border-color: var(--teal); color: var(--teal); }
.tag--shows { border-color: var(--line); color: var(--mute); }
.hero__slate { position: relative; z-index: 3; justify-self: start; background: var(--ink); padding: .55em .9em; margin-left: -.9em; }
@media (max-width: 1023px) { .hero__foot { align-self: stretch; } .hero__slate { position: absolute; top: calc(var(--hdr) + 12px); left: var(--gut); margin-left: 0; } }
/* about: blue key light bouncing on the B&W portrait (from the right, where the brand blue block used to be) */
.about__portrait::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .4;
  background: radial-gradient(ellipse 70% 85% at 100% 42%, rgba(16,69,213,.95) 0%, rgba(16,69,213,.45) 38%, rgba(16,69,213,0) 72%); }
.about__portrait { display: flex; color: var(--white); }
.about__portrait .about__photo img { transition: transform 1.2s var(--ease-out); }
.about__portrait:hover .about__photo img { transform: scale(1.04); }
.about__portrait:hover .about__slate-b { color: var(--coral); }

/* ---- review fixes 2026-11-13 ---- */
.project__title { overflow-wrap: normal; hyphens: manual; }
.card__title { font-size: min(var(--fs-l), calc(var(--card-w) * .12)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip:focus-visible { outline-offset: -3px; }
.hdr:focus-within { transform: none; }
.svc__word, .svc__line { position: relative; z-index: 2; }
.svc__img { z-index: 0; }
.ftr a[data-top], .wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.ftr__links a { width: 44px; height: 44px; }
.vbtn { min-height: 44px; }
.hdr__wa { min-height: 44px; }
/* O que faço: stacked layout on tablets too (images were covering titles) */
@media (max-width: 1023px) {
  .svc { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0 2.4rem; min-height: 0; }
  .svc__num { padding: 0; }
  .svc__line { grid-column: 1; }
  .svc--events .svc__word { grid-column: 1; justify-self: start; }
  .svc .svc__img, .svc--live .svc__img, .svc--people .svc__img, .svc--events .svc__img, .svc--brands .svc__img, .svc--experimental .svc__img { position: relative; left: auto; top: auto; transform: none; width: 100%; height: auto; max-width: 420px; }
  .svc--brands .svc__img { transform: rotate(-2deg); width: 82%; margin: 8px 0 0 8px; }
  .hdr__wa { width: 44px; height: 44px; }
}
@media (max-width: 639px) {
  .ftr { text-align: center; align-items: center; }
  .hero__slate { max-width: calc(100vw - 2 * var(--gut)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
}
#about-title { line-height: 1.04; }
/* "VITOR" sits above DEBALD, left-aligned with it (client request) */
.hero__first { display: block; font-size: .26em; line-height: 1; letter-spacing: .02em; margin: 0 0 .06em .04em; }
.svc--experimental .svc__img { left: 52%; }
.hero__title { text-shadow: 0 2px 30px rgba(5,10,20,.55), 0 0 2px rgba(5,10,20,.4); }
