/* =========================================================
   PÁGINAS INTERNAS — Work, Project, Contact, Archive
   (usa as variáveis e componentes de site.css)
   ========================================================= */

[hidden] { display: none !important; }

/* header fixo das páginas internas */
.hdr.is-page { background: var(--hdr-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.is-page.is-scrolled { border-color: var(--line); }
.hdr.is-page .hdr__name { position: static; opacity: 1; transform: none; }
.hdr.is-page .hdr__nav a[aria-current] { opacity: 1; color: var(--red); }
.page { padding-top: 64px; min-height: 100vh; }
.lbl { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--mid); margin-bottom: 8px; }
.ftr--page { background: transparent; border-top: 1px solid var(--line); }

/* cabeçalho de página */
.ph { padding: clamp(50px, 7vw, 110px) var(--pad) clamp(30px, 4vw, 50px); }
.ph__title { font-size: clamp(64px, 13vw, 230px); line-height: .82; letter-spacing: -.065em; color: var(--red); }
.ph__title sup { font-size: 13px; letter-spacing: 0; color: var(--ink); font-weight: 600; vertical-align: top; margin-left: 6px; }
.ph__intro { max-width: 34ch; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin: 26px 0 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"], .chip[aria-pressed="true"], .chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { font-size: 10px; opacity: .55; }

/* ---------- WORK (lista com tiras horizontais, inspirado no índice do Boc) ---------- */
.wl { border-top: 1px solid var(--line); }
.wr { border-bottom: 1px solid var(--line); }
.wr.is-hidden { display: none; }
.wr__link { display: grid; grid-template-columns: minmax(260px, 30%) 1fr; gap: var(--pad); padding: 22px var(--pad); align-items: start; }
.wr__head { display: grid; gap: 10px; align-content: start; }
.wr__n { font-size: 11px; font-weight: 600; color: var(--mid); }
.wr__name { font-family: var(--sans); font-weight: 500; font-size: clamp(36px, 4vw, 64px); line-height: .95; letter-spacing: -.04em; transition: transform .5s var(--ease), color .3s; }
.wr__meta { font-size: 12px; font-weight: 600; line-height: 1.4; }
.wr__meta span { display: block; color: var(--mid); }
.wr__go { font-size: 12px; font-weight: 600; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); }
.wr:hover .wr__name { color: var(--red); }
.wr:hover .wr__go { opacity: 1; transform: none; }
.strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; cursor: grab; padding-bottom: 2px; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip__i { flex: none; height: clamp(150px, 18vw, 260px); background: var(--grey); overflow: hidden; scroll-snap-align: start; }
.strip__i img, .strip__i video { height: 100%; width: auto; display: block; pointer-events: none; transition: transform 1s var(--ease); }
.wr:hover .strip__i img { transform: scale(1.03); }
.strip__logo { flex: none; height: clamp(150px, 18vw, 260px); aspect-ratio: 16 / 10; background: var(--grey); display: grid; place-items: center; }
.strip__logo img { max-width: 46%; max-height: 40%; filter: var(--logo-f); }
.strip__logo.is-raw img { filter: grayscale(1); }
.strip__soon { flex: none; height: clamp(150px, 18vw, 260px); aspect-ratio: 16 / 10; border: 1px dashed var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--mid); }

/* ---------- PROJECT ---------- */
.proj__top { padding: clamp(40px, 6vw, 90px) var(--pad) 0; }
.proj__back { font-size: 12px; font-weight: 600; display: inline-flex; gap: 8px; margin-bottom: 30px; }
.proj__back:hover { color: var(--red); }
.proj__title { font-size: clamp(64px, 12vw, 210px); line-height: .82; letter-spacing: -.065em; color: var(--red); }
.proj__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pad); margin-top: clamp(30px, 4vw, 60px); padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proj__meta p { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.proj__cover { margin: clamp(30px, 4vw, 60px) var(--pad) 0; overflow: hidden; background: var(--grey); position: relative; clip-path: inset(10% 0 0 0); transition: clip-path 1.4s var(--ease); }
.proj__cover.is-in { clip-path: inset(0); }
.proj__cover img { display: block; width: 100%; height: auto; }
.proj__cover--logo { display: grid; place-items: center; aspect-ratio: 16 / 8; }
.proj__cover--logo img { width: auto; height: auto; max-width: 34%; max-height: 34%; object-fit: contain; filter: var(--logo-f); transform: none; }
.proj__cover--logo.is-raw img { filter: none; }
.proj__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); padding: clamp(60px, 8vw, 120px) var(--pad); }
.proj__lead { font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.proj__text p { font-size: 15px; line-height: 1.55; margin-bottom: 16px; max-width: 58ch; }
.proj__lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); margin-top: 40px; }
.proj__lists li { font-size: 13px; font-weight: 600; padding: 9px 0; border-top: 1px solid var(--line); }
.proj__draft { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 600; color: var(--mid); border: 1px dashed var(--line); padding: 8px 12px; }
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--pad); padding: 0 var(--pad) clamp(60px, 8vw, 120px); }
.gal figure { margin: 0; grid-column: span 12; }
.gal figure:nth-child(3n+2) { grid-column: 1 / span 7; }
.gal figure:nth-child(3n+3) { grid-column: 8 / span 5; align-self: end; }
.gal__m { overflow: hidden; background: var(--grey); }
.gal__m img, .gal__m video { width: 100%; height: auto; display: block; transition: transform 1.2s var(--ease); }
.gal figcaption { font-size: 11px; font-weight: 600; color: var(--mid); margin-top: 10px; text-transform: uppercase; letter-spacing: .03em; }
.next { display: block; border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 100px) var(--pad); position: relative; overflow: hidden; }
.next__lbl { font-size: 12px; font-weight: 600; color: var(--mid); }
.next__name { font-size: clamp(56px, 10vw, 180px); line-height: .85; letter-spacing: -.065em; margin-top: 10px; transition: color .3s; }
.next:hover .next__name { color: var(--red); }
.next__img { position: absolute; right: var(--pad); top: 50%; width: min(30vw, 420px); aspect-ratio: 4 / 3; transform: translateY(-50%) scale(.9); opacity: 0; overflow: hidden; transition: opacity .4s, transform .8s var(--ease); background: var(--grey); }
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next:hover .next__img { opacity: 1; transform: translateY(-50%) scale(1); }

/* ---------- CONTACT ---------- */
.cp { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 6vw, 110px); padding: clamp(50px, 7vw, 110px) var(--pad); }
.cp__side { position: sticky; top: 100px; align-self: start; }
.cp__info { display: grid; gap: 22px; margin-top: 10px; }
.cp__row p, .cp__mail a { font-size: 15px; font-weight: 600; }
.cp__mail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp__mail a { font-family: var(--serif); letter-spacing: -.04em; font-weight: 500; font-size: clamp(24px, 2.4vw, 36px); border-bottom: 1.5px solid; line-height: 1.1; }
.cp__mail a:hover { color: var(--red); }
.cp__copy { font-size: 11px; font-weight: 700; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; transition: background .2s, color .2s; }
.cp__copy:hover, .cp__copy.is-done { background: var(--ink); color: var(--bg); }
.cp__social { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; }
.cp__social a:hover { color: var(--red); }

.cf { position: relative; display: grid; gap: 38px; }
.cf__group { border: 0; display: grid; gap: 16px; }
.cf__group legend { font-size: 13px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px; padding: 0; }
.cf__group legend span { color: var(--red); margin-right: 10px; font-variant-numeric: tabular-nums; }
.cf__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf__chips .chip { font-size: 13px; padding: 10px 16px; }
.cf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--pad); }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 22px 0 10px; font: 500 18px var(--sans); color: var(--ink); outline: none; border-radius: 0; resize: vertical; transition: border-color .25s; }
.field span { position: absolute; left: 0; top: 22px; font-size: 16px; font-weight: 500; color: var(--mid); pointer-events: none; transform-origin: left; transition: transform .35s var(--ease), color .25s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px) scale(.72); color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field em { display: none; position: absolute; left: 0; top: 100%; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--red); }
.field.is-error input, .field.is-error textarea { border-color: var(--red); }
.field.is-error em { display: block; }
.cf__count { font-size: 11px; font-weight: 600; color: var(--mid); text-align: right; margin-top: -6px; font-variant-numeric: tabular-nums; }
.cf__end { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.cf__status { font-size: 12px; font-weight: 600; color: var(--mid); }
.cf__send { display: inline-flex; align-items: center; gap: 16px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 18px 28px; font-size: 15px; font-weight: 600; transition: background .3s, gap .4s var(--ease); }
.cf__send i { font-style: normal; transition: transform .4s var(--ease); }
.cf__send:hover { background: var(--red); color: var(--on-red, #fff); gap: 26px; }
.cf__send:disabled { opacity: .5; pointer-events: none; }
.cf__done { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 16px; animation: fadeUp .8s var(--ease); }
.cf__done .serif { font-size: clamp(56px, 7vw, 110px); line-height: .9; color: var(--red); }
.cf__done p { font-size: 16px; font-weight: 500; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- ARCHIVE (board) ---------- */
.archive-page { height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.archive-page.is-list { height: auto; overflow: visible; }
.ab__bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 18px var(--pad) 14px; flex-wrap: wrap; position: relative; z-index: 3; }
.ab__title { font-size: clamp(44px, 6vw, 96px); line-height: .85; letter-spacing: -.06em; color: var(--red); }
.ab__title sup { font-size: 12px; color: var(--ink); letter-spacing: 0; vertical-align: top; margin-left: 4px; }
.ab__hint { font-size: 12px; font-weight: 600; color: var(--mid); margin-top: 8px; }
.ab__tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ab__view { display: flex; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.board { position: relative; flex: 1; overflow: hidden; cursor: grab; touch-action: none; outline: none;
  background-image: radial-gradient(circle, var(--dots) 1px, transparent 1.2px); background-size: 28px 28px; }
.board.is-drag { cursor: grabbing; }
.board__canvas { position: absolute; left: 0; top: 0; width: 2600px; height: 1700px; transform-origin: 0 0; will-change: transform; }
.bc { position: absolute; width: 260px; background: var(--surface); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 40px -28px rgba(0,0,0,.35); transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s; cursor: pointer; }
.bc:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: 0 40px 60px -30px rgba(0,0,0,.45); z-index: 5; }
.bc.is-dim { opacity: .15; pointer-events: none; }
.bc--image { padding: 10px 10px 14px; }
.bc--image img { width: 100%; height: auto; display: block; background: var(--grey); }
.bc__t { font-size: 14px; font-weight: 700; letter-spacing: -.02em; margin-top: 12px; line-height: 1.15; }
.bc__d { font-size: 10px; font-weight: 600; color: var(--mid); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.bc--note { width: 240px; padding: 20px 20px 22px; background: var(--note); }
.bc--note .bc__t { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: .95; letter-spacing: -.04em; margin: 0 0 12px; }
.bc--note p { font-size: 13px; line-height: 1.4; }
.bc--quote { width: 300px; padding: 22px; background: var(--red); color: var(--on-red, #fff); }
.bc--quote .bc__t { font-size: 26px; line-height: 1; letter-spacing: -.04em; margin: 0 0 14px; }
.bc--quote .bc__d { color: rgba(255,255,255,.75); }
.bc__pin { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); transform: translateX(-50%); box-shadow: 0 2px 3px rgba(0,0,0,.25); }
.bc--quote .bc__pin { background: var(--ink); }
.bc--art { padding: 8px 8px 12px; }
.bc--art img { width: 100%; height: auto; display: block; object-fit: cover; background: var(--grey); }
.bc--art .bc__t { font-size: 12px; margin-top: 10px; text-transform: uppercase; letter-spacing: .02em; }
.agrid { columns: 4 260px; column-gap: 12px; padding: 12px var(--pad) 80px; border-top: 1px solid var(--line); }
.ag { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; position: relative; overflow: hidden; background: var(--grey); }
.ag.is-hidden { display: none; }
.ag img { width: 100%; height: auto; display: block; transition: transform 1s var(--ease), filter .5s; }
.ag__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 10px; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; transform: translateY(100%); transition: transform .5s var(--ease); text-align: left; }
.ag__cap b { font-weight: 700; }
.ag__cap i { font-style: normal; opacity: .75; }
.ag:hover img { transform: scale(1.04); }
.ag:hover .ag__cap { transform: none; }
.agrid:hover .ag:not(:hover) img { filter: saturate(.3) opacity(.7); }
.reader__nav { display: flex; justify-content: space-between; margin-top: 4px; }
.board__zoom { position: absolute; right: var(--pad); bottom: 18px; display: flex; background: var(--ink); border-radius: 999px; padding: 4px; z-index: 4; }
.board__zoom button { width: 38px; height: 38px; color: var(--bg); text-align: center; font-size: 16px; border-radius: 50%; transition: background .2s; }
.board__zoom button:hover { background: #333; }

.alist { padding: 10px var(--pad) 80px; border-top: 1px solid var(--line); }
.alist li { border-bottom: 1px solid var(--line); }
.alist li.is-hidden { display: none; }
.alist button { width: 100%; display: grid; grid-template-columns: 90px 1fr 1fr 120px; gap: var(--pad); align-items: center; padding: 18px 0; }
.alist .al__d { font-size: 12px; font-weight: 600; color: var(--mid); }
.alist .al__t { font-family: var(--sans); letter-spacing: -.04em; font-weight: 500; font-size: clamp(28px, 3vw, 48px); line-height: 1; transition: color .3s, transform .5s var(--ease); }
.alist .al__e { font-size: 13px; color: var(--mid); }
.alist .al__img { width: 120px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); justify-self: end; }
.alist .al__img img { width: 100%; height: 100%; object-fit: cover; }
.alist button:hover .al__t { color: var(--red); transform: translateX(8px); }

.reader__body { max-width: 760px; margin: 0 auto; padding-bottom: 60px; }
.reader__body .lbl { margin-bottom: 14px; }
.reader__body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 90px); line-height: .92; letter-spacing: -.04em; margin-bottom: 26px; }
.reader__body img, .reader__body > video { width: 100%; height: auto; margin: 10px 0 30px; background: var(--grey); display: block; }
.reader__body p { font-size: 18px; line-height: 1.55; margin-bottom: 18px; }
.reader__body .lead { font-size: clamp(20px, 1.8vw, 26px); }
.reader__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 860px) {
  .wr__link { grid-template-columns: 1fr; }
  .proj__meta { grid-template-columns: 1fr 1fr; }
  .proj__body, .cp, .proj__lists { grid-template-columns: 1fr; }
  .cp__side { position: static; }
  .cf__grid { grid-template-columns: 1fr; }
  .gal figure:nth-child(n) { grid-column: span 12; }
  .next__img { display: none; }
  .alist button { grid-template-columns: 60px 1fr auto; }
  .alist .al__e { display: none; }
  .alist .al__img { width: 80px; }
  .ab__view { border-left: 0; padding-left: 0; }
}

/* título do contato cabe na coluna (PT é mais longo) */
.cp__side .ph__title { font-size: clamp(48px, 6.4vw, 120px); overflow-wrap: anywhere; }

/* WORK — convite para o Archive */
.wkar { padding: clamp(60px, 9vw, 140px) 0 clamp(40px, 6vw, 90px); border-top: 1px solid var(--line); overflow: hidden; }
.wkar__in { display: block; color: inherit; }
.wkar__head { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 70px); }
.wkar__head .lbl { grid-column: 1 / -1; }
.wkar__head .lbl sup { font-size: 10px; }
.wkar__t { font-size: clamp(40px, 6vw, 104px); line-height: .9; letter-spacing: -.06em; font-weight: 700; max-width: 11ch; }
.wkar__p { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; color: var(--ink); opacity: .75; max-width: 34ch; justify-self: start; }
.wkar__cta { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; transition: gap .4s var(--ease), background .3s; }
.wkar__cta i { font-style: normal; transition: transform .4s var(--ease); }
.wkar__in:hover .wkar__cta { background: var(--red); color: var(--on-red, #fff); gap: 22px; }
.wkar__rows { display: grid; gap: 12px; transform: rotate(-2deg); margin: 0 -4vw; }
.wkar__row { overflow: hidden; }
.wkar__track { display: flex; gap: 12px; width: max-content; animation: wkar 140s linear infinite; }
.wkar__row.is-rev .wkar__track { animation-direction: reverse; animation-duration: 160s; }
.wkar__img { height: clamp(140px, 16vw, 240px); flex: none; overflow: hidden; border-radius: 3px; background: var(--grey); }
.wkar__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.wkar__in:hover .wkar__img img { filter: saturate(.85); }
.wkar__img:hover img { transform: scale(1.05); filter: none !important; }
@keyframes wkar { to { transform: translateX(-50%); } }
@media (min-width: 761px) { .wkar__t { grid-column: 1; grid-row: 2 / 4; align-self: end; } .wkar__p { grid-column: 2; grid-row: 2; } .wkar__cta { grid-row: 3; } }
@media (max-width: 760px) { .wkar__head { grid-template-columns: 1fr; } .wkar__cta { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .wkar__track { animation: none; } }

/* WORK — alternar Projetos / Linha do tempo */
.wk__bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vtog { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--grey); gap: 2px; flex: none; }
.vtog button { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .25s, box-shadow .25s; }
.vtog button[aria-selected="true"] { background: var(--surface); box-shadow: 0 2px 8px -2px rgba(0,0,0,.18); }
.wktl { padding: 10px var(--pad) clamp(60px, 8vw, 120px); }

/* LINHA DO TEMPO */
.tl { overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: thin; }
.tl__in { position: relative; min-width: 760px; padding: 34px 0 10px 170px; }
.tl__axis { position: absolute; left: 170px; right: 0; top: 0; height: 20px; }
.tl__axis span { position: absolute; transform: translateX(-50%); font: 600 11px/1 "JetBrains Mono", monospace; color: var(--mid); }
.tl__grid { position: absolute; left: 170px; right: 0; top: 26px; bottom: 0; pointer-events: none; }
.tl__grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl__now { position: absolute; top: -6px; bottom: 0; width: 0; border-left: 1.5px dashed var(--red); }
.tl__now span { position: absolute; top: -18px; left: 6px; font: 700 10px/1 "JetBrains Mono", monospace; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.tl__rows { position: relative; display: grid; gap: 10px; }
.tl__row { position: relative; display: block; width: 100%; height: 52px; text-align: left; }
.tl__lab { position: absolute; left: -170px; top: 50%; transform: translateY(-50%); width: 155px; display: grid; gap: 3px; }
.tl__lab b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.tl__lab i { font-style: normal; font-size: 11px; color: var(--mid); }
.tl__track { position: absolute; inset: 0; }
.tl__bar {
  position: absolute; top: 6px; bottom: 6px; border-radius: 4px; background: var(--ink); color: var(--bg); overflow: hidden;
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) var(--d, 0ms), background .3s, box-shadow .3s;
}
.tl.is-in .tl__bar { transform: none; }
.tl__bar.is-open { -webkit-mask-image: linear-gradient(90deg, #000 85%, rgba(0,0,0,.35)); mask-image: linear-gradient(90deg, #000 85%, rgba(0,0,0,.35)); }
.tl__bar.is-free { background: repeating-linear-gradient(-45deg, var(--ink) 0 6px, color-mix(in srgb, var(--ink) 78%, transparent) 6px 12px); }
.tl__row:hover .tl__bar { box-shadow: 0 14px 26px -16px rgba(0,0,0,.5); }
.tl__row.is-on .tl__bar { background: var(--red); color: var(--on-red, #fff); }
.tl__bt { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl__step { position: absolute; top: 0; bottom: 0; width: 2px; background: currentColor; opacity: .35; }
.tl__step:first-of-type { display: none; }
.tl__detail { margin-top: 30px; }
.tld { display: grid; gap: 18px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); animation: icIn .5s var(--ease) both; }
@keyframes icIn { from { opacity: 0; transform: translateY(12px); } }
.tld__head { display: flex; align-items: center; gap: 16px; }
.tld__logo { width: 56px; height: 56px; border-radius: 6px; background: var(--grey); display: grid; place-items: center; flex: none; }
.tld__logo img { max-width: 70%; max-height: 70%; filter: var(--logo-f); }
.tld h3 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.05em; line-height: .95; }
.tld__per { font-size: 13px; color: var(--mid); margin-top: 6px; }
.tld__note { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; max-width: 60ch; }
.tld__cols { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 30px; }
.tld__steps { margin-top: 10px; display: grid; gap: 0; border-left: 1.5px solid var(--line); }
.tld__steps li { position: relative; padding: 6px 0 12px 18px; display: grid; gap: 2px; }
.tld__steps li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.tld__steps span { font: 600 11px/1.2 "JetBrains Mono", monospace; color: var(--mid); text-transform: uppercase; }
.tld__steps b { font-size: 15px; }
.tld__rel { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.tld__rel a { display: block; }
.tld__rel span { display: block; aspect-ratio: 4/3; border-radius: 3px; overflow: hidden; background: var(--grey); }
.tld__rel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tld__rel a:hover img { transform: scale(1.05); }
.tld__rel b { display: block; font-size: 13px; margin-top: 8px; }
@media (max-width: 760px) { .tld__cols { grid-template-columns: 1fr; } }

/* ABOUT — apresentação */
.about-page { padding-bottom: 0; }
.abh { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(24px, 4vw, 70px); padding: clamp(30px, 5vw, 80px) var(--pad) clamp(50px, 7vw, 110px); align-items: end; }
.abh__photo { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--grey); }
.abh__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform 1.4s var(--ease); }
.abh__photo img.is-on { opacity: 1; transform: none; }
.abh__count { position: absolute; left: 12px; bottom: 12px; font: 600 11px/1 "JetBrains Mono", monospace; color: #fff; mix-blend-mode: difference; }
.abh__body { display: grid; gap: 20px; }
.abh__status { display: inline-flex; align-items: center; gap: 6px; text-transform: none; }
.abh__status i { width: 7px; height: 7px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 3px rgba(47,179,107,.2); }
.abh__name { font-size: clamp(56px, 9vw, 168px); line-height: .84; letter-spacing: -.065em; color: var(--red); font-weight: 700; }
.abh__lead { font-size: clamp(20px, 2vw, 30px); line-height: 1.22; letter-spacing: -.02em; max-width: 28ch; }
.abh__small { font-size: 15px; line-height: 1.5; color: var(--ink); opacity: .72; max-width: 52ch; }
.abh__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.abh__meta span { display: grid; gap: 4px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; min-width: 150px; }
.abh__meta b { font: 600 10px/1 "JetBrains Mono", monospace; text-transform: uppercase; color: var(--mid); letter-spacing: .05em; }
.abh__meta em { font-style: normal; font-size: 14px; font-weight: 600; }
.abs, .abp, .abl, .aba { padding: clamp(50px, 7vw, 110px) var(--pad); border-top: 1px solid var(--line); }
.abs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 20px; border-radius: 6px; overflow: hidden; }
.abs__i { background: var(--bg); background-image: var(--page-bg, none); background-attachment: fixed; padding: clamp(20px, 2.6vw, 36px); display: grid; gap: 14px; align-content: space-between; min-height: 220px; }
.abs__n { font-size: clamp(64px, 8vw, 140px); line-height: .82; letter-spacing: -.07em; font-weight: 700; color: var(--red); }
.abs__l { font-size: 14px; line-height: 1.35; max-width: 24ch; }
.abp__head { display: grid; gap: 10px; margin-bottom: clamp(30px, 4vw, 50px); }
.abp__t { font-size: clamp(36px, 5vw, 84px); line-height: .9; letter-spacing: -.06em; font-weight: 700; max-width: 14ch; }
.abl__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.abl__i { border-radius: 6px; padding: 22px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.abl__i--0 { background: var(--surface); border: 1px solid var(--line); }
.abl__i--1 { background: var(--ink); color: var(--bg); }
.abl__i--1 .lbl { color: inherit; opacity: .6; }
.abl__i--2 { background: var(--red); color: var(--on-red, #fff); }
.abl__i--2 .lbl { color: inherit; opacity: .75; }
.abl__i--img { padding: 0; overflow: hidden; grid-row: span 2; }
.abl__i--img img { width: 100%; height: 100%; object-fit: cover; }
.abl__v { font-size: clamp(22px, 2vw, 32px); line-height: 1.05; letter-spacing: -.04em; font-weight: 600; }
.aba__list { margin-top: 20px; border-top: 1px solid var(--line); }
.aba__list li { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.aba__y { font: 600 13px/1 "JetBrains Mono", monospace; color: var(--mid); }
.aba__t { font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -.04em; font-weight: 600; line-height: 1.05; }
.aba__n { font-size: 13px; color: var(--mid); text-align: right; }
.abc { border-top: 1px solid var(--line); }
.abc__link { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; padding: clamp(60px, 9vw, 150px) var(--pad); color: inherit; }
.abc__link .lbl { grid-column: 1 / -1; }
.abc__t { font-size: clamp(44px, 8vw, 150px); line-height: .86; letter-spacing: -.065em; font-weight: 700; max-width: 12ch; transition: color .3s; }
.abc__link i { font-style: normal; font-size: clamp(44px, 8vw, 150px); line-height: .86; transition: transform .5s var(--ease); }
.abc__link:hover .abc__t { color: var(--red); }
.abc__link:hover i { transform: translateX(16px); color: var(--red); }
@media (max-width: 900px) {
  .abh { grid-template-columns: 1fr; }
  .abh__photo { max-width: 420px; }
  .abs__grid { grid-template-columns: 1fr 1fr; }
  .abl__grid { grid-template-columns: 1fr 1fr; }
  .aba__list li { grid-template-columns: 70px 1fr; }
  .aba__n { grid-column: 2; text-align: left; }
}

.tld__rel span.is-logo { display: grid; place-items: center; }
.tld__rel span.is-logo img { width: 50%; height: 50%; object-fit: contain; filter: var(--logo-f); }

/* foto principal */
.abh__photo { aspect-ratio: 5/4; background: #0e0e0e; max-width: none; }
.abh__photo img { object-position: 50% 30%; }
@media (min-width: 901px) { .abh { grid-template-columns: minmax(340px, 7fr) 6fr; } }
.abh__photo img { image-rendering: auto; }
/* faixa B6666 / Bloater */
.abb { border-top: 1px solid var(--line); line-height: 0; overflow: hidden; }
.abb img { width: 100%; height: auto; display: block; }
.abb--contact { margin-top: clamp(40px, 6vw, 90px); }

/* WORK — LAB (ferramentas com IA) */
.lab { padding: clamp(60px, 9vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.lab__head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; align-items: end; margin-bottom: clamp(30px, 4vw, 60px); }
.lab__head .lbl { grid-column: 1 / -1; }
.lab__head .lbl sup { font-size: 10px; }
.lab__t { font-size: clamp(40px, 6vw, 104px); line-height: .9; letter-spacing: -.06em; font-weight: 700; max-width: 11ch; }
.lab__p { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; opacity: .75; max-width: 40ch; }
.lab__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.labi { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.labi__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #0b0b0d; }
.labi__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1s var(--ease); }
.labi:hover .labi__img img { transform: scale(1.04); }
.labi__b { padding: 18px 18px 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.labi__k { font: 600 10px/1 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.labi__t { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.05em; line-height: 1; font-weight: 700; }
.labi__p { font-size: 14px; line-height: 1.45; opacity: .78; }
.labi__cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--ink:hover { background: var(--red); border-color: var(--red); color: var(--on-red, #fff); }
.labc { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; padding-bottom: 60px; }
.labc h2 { font-size: clamp(44px, 6vw, 90px); letter-spacing: -.06em; line-height: .9; }
.labc .lead { font-size: clamp(18px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -.02em; }
.labc > img { width: 100%; border-radius: 4px; border: 1px solid var(--line); }
.labc__s { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.labc__s p { font-size: 16px; line-height: 1.55; }
.labc__made { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.labc__mg { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.labc__mg img { width: 100%; border-radius: 3px; }
.labc__go { justify-self: start; display: inline-flex; padding: 16px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; margin-top: 10px; }
.labc__go:hover { background: var(--red); color: var(--on-red, #fff); }
@media (max-width: 900px) { .lab__head { grid-template-columns: 1fr; } .lab__grid { grid-template-columns: 1fr; } .labc__s { grid-template-columns: 1fr; gap: 6px; } .abs__grid { grid-template-columns: 1fr; } }

/* ---------- CONTATO: status, clientes e cases passando ---------- */
.cp__status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 14px 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
.cp__status i { width: 8px; height: 8px; border-radius: 50%; background: #2bd46a; box-shadow: 0 0 0 0 rgba(43,212,106,.5); animation: cpPulse 2.2s var(--ease) infinite; }
@keyframes cpPulse { 70% { box-shadow: 0 0 0 9px rgba(43,212,106,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,106,0); } }
.cp__clients { display: flex; flex-wrap: wrap; gap: 8px; }
.cpc { width: 64px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; }
.cpc img { max-width: 62%; max-height: 56%; object-fit: contain; filter: var(--logo-f) opacity(.5); transition: filter .4s var(--ease); }
.cpc.is-raw img { filter: grayscale(1) opacity(.6); }
.cpc:hover img { filter: none; }
.cpw { padding: clamp(50px, 7vw, 110px) 0 clamp(60px, 8vw, 130px); border-top: 1px solid var(--line); overflow: hidden; }
.cpw__head { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto; gap: 10px 40px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.cpw__head .lbl { grid-column: 1 / -1; }
.cpw__t { font-size: clamp(32px, 4.4vw, 72px); line-height: .92; letter-spacing: -.055em; font-weight: 700; max-width: 14ch; }
.cpw__row { overflow: hidden; }
.cpw__track { display: flex; gap: 14px; width: max-content; align-items: flex-end; animation: wkar 60s linear infinite; }
.cpw__row:hover .cpw__track { animation-play-state: paused; }
.cpw__i { flex: none; display: grid; gap: 10px; color: inherit; }
.cpw__m { display: block; height: clamp(180px, 22vw, 320px); overflow: hidden; border-radius: 3px; background: var(--hs-bg, var(--grey)); }
.cpw__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s var(--ease); }
.cpw__row:hover .cpw__m img { filter: saturate(.7) opacity(.75); }
.cpw__i:hover .cpw__m img { transform: scale(1.05); filter: none; }
.cpw__l { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; transition: color .3s; }
.cpw__i:hover .cpw__l { color: var(--red); }
@media (max-width: 700px) { .cpw__head { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cpw__track { animation: none; } .cpw__row { overflow-x: auto; } }

/* ---------- capítulos (projetos dentro do projeto) ---------- */
.chx { border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 100px) var(--pad) 0; }
.chx__head { display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); padding-bottom: clamp(50px, 7vw, 110px); }
.chx__head .n { color: var(--mid); }
.chx__idx { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--pad); }
.chx__idx li { break-inside: avoid; border-top: 1px solid var(--line); }
.chx__idx button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; width: 100%; padding: 11px 0 12px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: color .3s var(--ease), padding .45s var(--ease); }
.chx__idx button span { color: var(--mid); font-size: 11px; padding-top: 3px; }
.chx__idx button em { grid-column: 2; font-style: normal; font-weight: 500; font-size: 12px; color: var(--mid); margin-top: 2px; }
.chx__idx button:hover { padding-left: 8px; }
.chx__idx button:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.chp { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: var(--pad); padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); }
.chp__h { position: sticky; top: 90px; align-self: start; }
.chp__n { font-size: 11px; font-weight: 600; color: var(--mid); }
.chp__t { font-size: clamp(30px, 3.4vw, 56px); line-height: .95; letter-spacing: -.05em; font-weight: 600; margin: 10px 0 24px; }
.chp__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.chp__meta p { font-size: 13px; font-weight: 600; margin-top: 6px; }
.chp__p { font-size: 14px; line-height: 1.55; max-width: 46ch; }
.chp__be { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .3s; }
.chp__be:hover { opacity: .6; }
.chp__g { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); align-items: start; }
.chp__g figure { margin: 0; }
.chp__g figure.is-w { grid-column: span 2; }
.chp__g figcaption { font-size: 11px; font-weight: 600; color: var(--mid); margin-top: 10px; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 860px) {
  .chx__head, .chp { grid-template-columns: 1fr; }
  .chx__idx { columns: 1; }
  .chp__h { position: static; }
  .chp__g { grid-template-columns: 1fr; }
  .chp__g figure.is-w { grid-column: auto; }
}

/* bandeirinha "Featured" (Behance): tecido em canvas */
.chp { position: relative; }
.flag { position: absolute; top: 3px; left: calc((100% - var(--pad)) / 3 - 104px); width: 74px; height: 104px; z-index: 3; }
.flag canvas { position: absolute; left: -70px; top: -8px; pointer-events: none; }
.flag:focus-visible { outline: 2px solid #0057ff; outline-offset: 4px; }
@media (max-width: 860px) { .flag { left: auto; right: 10px; } }

/* mosaico dos projetos da LOUD */
.chx__head { padding-bottom: clamp(24px, 3vw, 40px); align-items: baseline; }
.chx__hint { font-size: 13px; color: var(--mid); }
.mzc { columns: 4 220px; column-gap: var(--pad); padding-bottom: clamp(60px, 8vw, 120px); }
.mzc__i { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; break-inside: avoid; margin-bottom: clamp(18px, 2vw, 30px); }
.mzc__m { position: relative; display: block; overflow: hidden; background: var(--grey); }
.mzc__m img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s var(--ease); }
.mzc__aw { position: absolute; top: 10px; left: 10px; background: #0057ff; color: #fff; font-size: 10px; font-weight: 700; padding: 5px 8px; border-radius: 3px; letter-spacing: .02em; }
.mzc__l { display: grid; grid-template-columns: 26px 1fr; padding-top: 10px; }
.mzc__n { font-size: 11px; font-weight: 600; color: var(--mid); padding-top: 2px; }
.mzc__l b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.mzc__l em { grid-column: 2; font-style: normal; font-size: 12px; color: var(--mid); margin-top: 2px; }
.mzc:hover .mzc__i:not(:hover) .mzc__m img { filter: grayscale(1) brightness(.75); }
.mzc__i:hover .mzc__m img { transform: scale(1.025); }
.mzc__i:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
/* capítulos: só as primeiras imagens, o resto abre no botão */
.chs { padding: 0 var(--pad); }
.chp__g figure.is-more { display: none; }
.chp.is-open .chp__g figure.is-more { display: block; }
.chp__more { grid-column: 2; justify-self: start; margin-top: calc(var(--pad) * -.2); font: inherit; font-size: 12px; font-weight: 600; background: none; color: inherit; border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; cursor: pointer; transition: background .3s, color .3s; }
.chp__more:hover { background: var(--ink); color: var(--bg); }
.chp__top { display: block; margin-top: 14px; font: inherit; font-size: 12px; font-weight: 600; color: var(--mid); background: none; border: 0; padding: 0; cursor: pointer; }
.chp__top:hover { color: var(--ink); }
@media (max-width: 860px) { .chp__more { grid-column: 1; } }
.tld__rel i { display: block; font-style: normal; font-size: 11px; color: var(--mid); margin-top: 2px; }
.tld__relw .n { color: var(--mid); }

/* evolução da marca (linha visual) */
.evo { padding: 0 var(--pad) clamp(60px, 8vw, 110px); }
.evo__l { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--pad); position: relative; }
.evo__l::before { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 44px); height: 1px; background: var(--line); }
.evo__l button { all: unset; cursor: pointer; display: block; width: 100%; position: relative; }
.evo__m { display: block; aspect-ratio: 4/3; overflow: hidden; background: #0d0d0d; }
.evo__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s var(--ease); }
.evo__l button b { display: block; margin-top: 16px; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.04em; font-weight: 600; }
.evo__l button b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: middle; position: relative; top: -2px; }
.evo__l button em { display: block; font-style: normal; font-size: 12px; color: var(--mid); margin-top: 2px; }
.evo__l:hover button:not(:hover) img { filter: grayscale(1) brightness(.7); }
.evo__l button:hover img { transform: scale(1.04); }
/* logo 3D */
.tokw { background: radial-gradient(ellipse at 50% 40%, #1d1d24, #070708 70%); }
.tok { height: clamp(320px, 38vw, 520px); display: grid; place-items: center; perspective: 900px; cursor: grab; touch-action: none; user-select: none; }
.tok.is-drag { cursor: grabbing; }
.tok__o { position: relative; width: clamp(140px, 14vw, 200px); aspect-ratio: 316/520; transform-style: preserve-3d; }
.tok__o img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.tokw figcaption { position: absolute; margin: 0; padding: 0 14px 12px; color: #9a9aa3; }
.tokw { position: relative; }
/* referências */
.refs { padding: clamp(50px, 7vw, 100px) var(--pad); border-top: 1px solid var(--line); }
.refs__h { display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); margin-bottom: clamp(24px, 3vw, 40px); }
.refs__h p { font-size: 14px; color: var(--mid); max-width: 52ch; }
.refs__h .n { color: var(--mid); }
.refs__g { columns: 4 220px; column-gap: var(--pad); }
.refs__i { display: block; break-inside: avoid; margin-bottom: var(--pad); color: inherit; }
.refs__m { display: block; background: var(--grey); overflow: hidden; }
.refs__m img, .refs__m video { display: block; width: 100%; height: auto; }
.refs__k { display: inline-block; margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.refs__i b { display: block; font-size: 13px; font-weight: 600; margin-top: 4px; }
.refs__i em { display: block; font-style: normal; font-size: 12px; color: var(--mid); margin-top: 2px; }
@media (max-width: 860px) { .refs__h { grid-template-columns: 1fr; } }

/* processo */
.prc { padding: clamp(50px, 7vw, 100px) 0; border-top: 1px solid var(--line); background: var(--grey); }
.prc__h { display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); padding: 0 var(--pad) clamp(20px, 3vw, 40px); }
.prc__h p { font-size: 14px; color: var(--mid); max-width: 52ch; }
.prc__g + .prc__g { margin-top: clamp(30px, 4vw, 56px); }
.prc__t { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.03em; padding: 0 var(--pad) 14px; }
.prc__t .n { font-size: 11px; color: var(--mid); vertical-align: top; letter-spacing: 0; }
.prc__s { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--pad) 10px; cursor: grab; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); }
.prc__s::-webkit-scrollbar { display: none; }
.prc__s.is-drag { cursor: grabbing; }
.prc__r { position: relative; flex: 0 0 auto; height: clamp(220px, 28vw, 400px); }
.prc__r img { height: 100%; width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.prc__c { position: absolute; top: 0; bottom: 0; pointer-events: none; }
.prc__c:not(.is-first) { border-left: 14px solid var(--grey); }
.prc__c i { position: absolute; left: 0; bottom: -24px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--mid); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.prc__c:not(.is-first) i { left: -14px; padding-left: 14px; }
.prc__s { padding-bottom: 34px; }
@media (max-width: 860px) { .prc__h { grid-template-columns: 1fr; } }

/* projetos menores (Work) */
.wmin { padding: clamp(50px, 7vw, 100px) var(--pad); border-top: 1px solid var(--line); }
.wmin__h { margin-bottom: 20px; } .wmin__h .n { color: var(--mid); }
.wmin__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--pad); }
.wmin__i { display: block; color: inherit; }
.wmin__m { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--grey); }
.wmin__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wmin__i:hover img { transform: scale(1.04); }
.wmin__i b { display: block; font-size: 15px; font-weight: 600; margin-top: 10px; letter-spacing: -.02em; }
.wmin__i em { display: block; font-style: normal; font-size: 12px; color: var(--mid); margin-top: 2px; }

.refs__kw { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(24px, 3vw, 40px); }
.refs__kw span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 10px; border-radius: 99px; }
.refs__l { border: 1px solid var(--line); padding: 16px; transition: background .2s, color .2s; }
.refs__l .refs__k { margin-top: 0; }
.refs__l em { display: block; margin-top: 18px; font-style: normal; font-size: 11px; color: var(--mid); word-break: break-all; }
.refs__l:hover { background: var(--ink, #111); color: #fff; }
.refs__i em { font-style: normal; }

/* créditos */
.crd { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.proj__top > .crd { margin-top: 0; padding: 14px 0 0; border-top: 0; }
.crd p { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; }
.crd a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; transition: color .2s; }
.crd a:hover { color: var(--red); }
.crd i { font-style: normal; color: var(--mid); margin-right: 4px; }
figcaption .by { display: block; color: var(--mid); margin-top: 2px; }
figcaption .by::before { content: "↳ "; }
.reader__by { font-size: 13px; color: var(--mid); margin: -6px 0 16px; }
.reader__by b { color: var(--ink); font-weight: 600; }

/* prêmio: selo de vencedor */
.aba__s { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; margin-left: 12px; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1; padding: 7px 12px 7px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--mid); transform: translateY(-.15em); }
.aba__s svg { width: 16px; height: 16px; flex: none; }
.is-win .aba__s { background: var(--red); border-color: var(--red); color: #fff; }

.wsort { display: inline-flex; gap: 6px; margin-right: 18px; padding-right: 18px; border-right: 1px solid var(--line); }
.wsort .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg, #fff); border-color: var(--ink); }

.strip.is-auto { scroll-snap-type: none; scroll-behavior: auto; }

/* hover ASCII (Ghost of Yōtei) */
[data-ascii] { font-variant-ligatures: none; }
.has-ascii:hover [data-ascii], [data-ascii].has-ascii:hover { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: -.02em; color: var(--red); }
.has-ascii .next__img, .wmin__i.is-ascii .wmin__m { position: absolute; }
.wmin__i.is-ascii .wmin__m { position: relative; }
.has-ascii .next__img::after, .wmin__i.is-ascii .wmin__m::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle, rgba(0,0,0,.55) 38%, transparent 42%) 0 0 / 6px 6px; mix-blend-mode: multiply; }
.has-ascii:hover .next__img::after, .wmin__i.is-ascii:hover .wmin__m::after { opacity: 1; }
.has-ascii:hover .next__img img, .wmin__i.is-ascii:hover .wmin__m img { filter: grayscale(1) contrast(1.6); }

/* timeline: hover na barra */
.tl__bar { transition: transform 1.1s var(--ease) var(--d, 0ms), background .3s, box-shadow .3s, filter .3s; }
.tl__row:hover .tl__bar { filter: brightness(1.12); }
.tl__row:hover .tl__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%) -100% 0 / 200% 100% no-repeat; animation: tlShine .9s var(--ease) forwards; pointer-events: none; }
@keyframes tlShine { to { background-position: 200% 0; } }
.tl__tip { position: absolute; right: 12px; top: 50%; transform: translate(6px, -50%); font: 600 10px/1 "JetBrains Mono", monospace; letter-spacing: .02em; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.tl__row:hover .tl__tip { opacity: .85; transform: translate(0, -50%); }
.tl__row:hover .tl__bt { right: 150px; }
.tld__steps li.is-exit b { color: var(--mid); font-weight: 500; }

/* hovers temáticos */
[data-fx] { position: relative; }
[data-fx] .ch { display: inline-block; }
[data-fx="loud"].fx-on, [data-fx="loud"].fx-on .ch { color: #13ff00 !important; }
/* house: letras pulsando no beat (124 bpm) + equalizador */
[data-fx="house"].fx-on .ch { animation: fxBeat .484s cubic-bezier(.3,0,.3,1) infinite; animation-delay: calc(var(--i) * -0.06s); }
@keyframes fxBeat { 0%, 100% { transform: translateY(0) scaleY(1); } 18% { transform: translateY(-.1em) scaleY(1.06); } 45% { transform: translateY(.02em) scaleY(.96); } }
.fx-eq { display: inline-flex; align-items: flex-end; gap: .06em; height: .62em; margin-left: .18em; vertical-align: baseline; opacity: 0; transform: scaleY(.2); transform-origin: bottom; transition: opacity .25s, transform .35s var(--ease); }
.fx-eq i { width: .09em; min-width: 2px; height: 100%; background: currentColor; transform-origin: bottom; }
[data-fx="house"].fx-on .fx-eq { opacity: 1; transform: none; }
[data-fx="house"].fx-on .fx-eq i { animation: fxEq .484s ease-in-out infinite alternate; }
.fx-eq i:nth-child(2) { animation-delay: -.12s !important; } .fx-eq i:nth-child(3) { animation-delay: -.3s !important; } .fx-eq i:nth-child(4) { animation-delay: -.2s !important; } .fx-eq i:nth-child(5) { animation-delay: -.4s !important; }
@keyframes fxEq { 0% { transform: scaleY(.2); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
/* pets: letras abanando + patinhas atravessando */
[data-fx="pets"].fx-on .ch { animation: fxWag .5s ease-in-out 2; animation-delay: calc(var(--i) * .04s); transform-origin: 50% 90%; }
@keyframes fxWag { 25% { transform: rotate(-7deg) translateY(-.04em); } 75% { transform: rotate(6deg); } }
.fx-paws { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.fx-paws i { position: absolute; width: max(12px, .28em); height: max(12px, .28em); color: var(--red); opacity: 0; transform: rotate(calc(var(--r) + 90deg)) scale(.4); animation: fxPaw 1.1s var(--ease) forwards; animation-delay: calc(var(--k) * .11s); }
.fx-paws i.up { top: -.32em; } .fx-paws i.dn { bottom: -.3em; }
.fx-paws svg { width: 100%; height: 100%; fill: currentColor; display: block; }
@keyframes fxPaw { 20% { opacity: 1; transform: rotate(calc(var(--r) + 90deg)) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(calc(var(--r) + 90deg)) scale(1); } }
/* ink: distorção de tinta (bloater) via filtro SVG */
[data-fx="ink"].fx-ink { filter: url(#fxInk); }
@media (prefers-reduced-motion: reduce) { [data-fx] .ch, .fx-eq i, .fx-paws { animation: none !important; } [data-fx="ink"].fx-ink { filter: none; } }
.tld__steps li.is-exit::before { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--mid); }

/* contato: botão em largura total + logos maiores */
.cf__end { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
.cf__status:empty { display: none; }
.cf__send { width: 100%; justify-content: space-between; padding: 22px 30px; font-size: 16px; }
.cf__send:hover { gap: 16px; }
.cf__send:hover i { transform: translateX(6px); }
.cp__clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.cpc { width: auto; height: 74px; border-radius: 6px; }
.cpc img { max-width: 64%; max-height: 50%; }
[data-fx="pets"] { width: fit-content; max-width: 100%; }

/* ABOUT · 6666 em 3D */
.a3d { padding: clamp(50px, 7vw, 110px) var(--pad); border-top: 1px solid var(--line); }
.a3d__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.a3d__stage { position: relative; height: clamp(320px, 46vw, 640px); border-radius: 8px; overflow: hidden; perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none;
  background: radial-gradient(70% 70% at 50% 45%, #2a2a2c 0%, #111 60%, #070707 100%); display: grid; place-items: center; }
.a3d__stage.is-drag { cursor: grabbing; }
.a3d__obj { position: relative; width: min(760px, 74%); aspect-ratio: 900 / 293; transform-style: preserve-3d; will-change: transform; }
.a3d__l { position: absolute; inset: 0; -webkit-mask: url(assets/logos/bell.png) center / contain no-repeat; mask: url(assets/logos/bell.png) center / contain no-repeat;
  background: linear-gradient(180deg, color-mix(in srgb, #8d8d93 calc((1 - var(--k)) * 100%), #2b2b30), #18181b); }
.a3d__l.is-front, .a3d__l.is-back {
  background: linear-gradient(calc(100deg + var(--ry, 0) * 1deg), #3a3a40 0%, #f4f4f6 18%, #8a8a92 32%, #ffffff 46%, #55555c 58%, #e8e8ec 72%, #6b6b72 86%, #ffffff 100%);
  background-size: 260% 100%; background-position: calc(var(--ry, 0) / 360 * 100%) 50%; filter: brightness(calc(1 + var(--fl, 0) * .8)) contrast(1.05); }
.a3d__l.is-back { filter: brightness(.6); }
.a3d__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 40% at 50% 50%, color-mix(in srgb, var(--red) 40%, transparent), transparent 70%); opacity: calc(.25 + var(--fl, 0) * .75); mix-blend-mode: screen; }
.a3d__stage.is-pop .a3d__obj { animation: a3dPop .6s var(--ease); }
@keyframes a3dPop { 40% { scale: 1.06; } }
.a3d__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.a3d__stage.is-ascii { background: #0b0b0b; }
.a3d__hint { margin-top: 12px; font: 600 11px/1 "JetBrains Mono", monospace; color: var(--mid); text-transform: uppercase; letter-spacing: .04em; }

/* 404 */
.nf { min-height: 100vh; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(30px, 5vw, 80px); padding: 120px var(--pad) 80px; }
.nf__t { display: flex; align-items: center; font-size: clamp(140px, 26vw, 420px); line-height: .8; font-weight: 700; letter-spacing: -.08em; color: var(--red); margin: 10px 0 24px; }
.nf__t > span { display: inline-block; }
.nf__o { width: .78em; height: .78em; margin: 0 .02em; display: grid; place-items: center; perspective: 600px; }
.nf__ring { width: 100%; height: 100%; border-radius: 50%; border: .09em solid currentColor; display: grid; place-items: center; perspective: 500px; }
.nf__ring i { width: 72%; aspect-ratio: 900 / 293; background: currentColor; -webkit-mask: url(assets/logos/bell.png) center / contain no-repeat; mask: url(assets/logos/bell.png) center / contain no-repeat; animation: nfSpin 5s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes nfSpin { to { transform: rotateY(360deg); } }
.nf__p { font-size: clamp(18px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -.02em; max-width: 30ch; }
.nf__a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.nf__btn { display: inline-flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; transition: background .3s, gap .4s var(--ease); }
.nf__btn:hover { background: var(--red); color: var(--on-red, #fff); gap: 22px; }
.nf__btn i { font-style: normal; }
.nf__btn--g { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.nf__card { position: relative; display: block; width: clamp(240px, 24vw, 360px); padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); transform: rotate(4deg); transition: transform .6s var(--ease); }
.nf__card:hover { transform: rotate(0deg) translateY(-6px); }
.nf__ci { display: block; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--grey); }
.nf__ci img { width: 100%; height: 100%; object-fit: cover; animation: icIn .5s var(--ease) both; }
.nf__cl { display: grid; gap: 3px; padding: 12px 4px 4px; }
.nf__cl b { font-size: 12px; font-weight: 700; color: var(--red); }
.nf__cl em { font-style: normal; font-size: 14px; font-weight: 600; }
.nf__sh { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 18px; box-shadow: 0 6px 18px -6px rgba(0,0,0,.4); transition: transform .5s var(--ease); }
.nf__sh:hover { transform: rotate(180deg); }
@media (max-width: 860px) { .nf { grid-template-columns: 1fr; } .nf__card { justify-self: start; } }
.nf__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nf__aw { width: min(900px, 62vw); margin: 18px 0 26px; }
.nf__ascii { margin: 0; font: 700 10px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--red); white-space: pre; letter-spacing: 0; user-select: none; cursor: crosshair; }
@media (max-width: 860px) { .nf__aw { width: 100%; } }

/* ABOUT · conteúdos */
.abi { padding: clamp(40px, 6vw, 90px) var(--pad); border-top: 1px solid var(--line); display: grid; gap: clamp(36px, 5vw, 70px); }
.abi__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; }
.abi__av { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border: 1px solid var(--line); border-radius: 999px; }
.abi__av i { width: 8px; height: 8px; border-radius: 50%; background: #2bd46a; animation: cpPulse 2.2s var(--ease) infinite; }
.abi__where { color: var(--mid); align-self: center; } .abi__where b { color: var(--ink); font-weight: 600; }
.abi__s { display: grid; grid-template-columns: minmax(160px, 3fr) 9fr; gap: 20px clamp(24px, 4vw, 70px); padding-top: 22px; border-top: 1px solid var(--line); }
.abi__n { font-size: clamp(22px, 2.4vw, 36px); font-weight: 700; letter-spacing: -.04em; line-height: 1; display: flex; gap: 12px; align-items: baseline; }
.abi__n span { font: 600 12px/1 "JetBrains Mono", monospace; color: var(--red); letter-spacing: 0; }
.abi__svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 30px; }
.abi__svc li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; transition: color .3s, padding .4s var(--ease); }
.abi__svc li i { font: 600 11px/1 "JetBrains Mono", monospace; color: var(--mid); font-style: normal; }
.abi__svc li:hover { color: var(--red); padding-left: 8px; }
.abi__p { font-size: clamp(20px, 2vw, 30px); line-height: 1.25; letter-spacing: -.025em; max-width: 34ch; }
.abi__steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; counter-reset: st; }
.abi__steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--grey); font-size: 13px; font-weight: 600; }
.abi__steps li::before { content: counter(st, decimal-leading-zero); font: 600 10px/1 "JetBrains Mono", monospace; color: var(--red); }
.abi__steps li + li { position: relative; }
.abi__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(24px, 3vw, 50px); }
.abi__cols .lbl { margin-bottom: 12px; }
.abi__exp li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.abi__exp b { font-size: 15px; font-weight: 700; } .abi__exp span { grid-column: 1; font-size: 13px; color: var(--mid); } .abi__exp i { grid-row: 1; grid-column: 2; font: 600 11px/1.6 "JetBrains Mono", monospace; font-style: normal; color: var(--mid); }
.abi__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.abi__tags li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; }
.abi__tags.is-own li { background: var(--red); border-color: var(--red); color: var(--on-red, #fff); }
.abi__l2 { margin-top: 22px; }
.abi__cl { columns: 2; column-gap: 20px; }
.abi__cl li { font-size: 15px; font-weight: 600; padding: 5px 0; break-inside: avoid; transition: color .2s; }
.abi__cl li:hover { color: var(--red); }
@media (max-width: 900px) { .abi__s { grid-template-columns: 1fr; } .abi__cols { grid-template-columns: 1fr; } }
.abi__top { justify-content: flex-end; }
.abi__a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .25s; }
.abi__a:hover { color: var(--red); background-size: 100% 1.5px; }
.abi__exp b .abi__a, .abi__cl .abi__a { display: inline; }
.abi__cl li span, .abi__exp b span { opacity: .8; }
.abi__tags.is-own li { padding: 0; }
.abi__tags.is-own li .abi__a, .abi__tags.is-own li span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: none; color: inherit; }
.abi__tags.is-own li .abi__a::after { content: "↗"; font-size: 11px; transition: transform .3s var(--ease); }
.abi__tags.is-own li:hover { background: var(--ink); border-color: var(--ink); }
.abi__tags.is-own li .abi__a:hover { color: var(--bg); }
.abi__tags.is-own li .abi__a:hover::after { transform: translate(2px, -2px); }
.abh__small .abi__a, .abh__lead .abi__a { background-size: 100% 1px; }
.abh__small .abi__a:hover, .abh__lead .abi__a:hover { background-size: 100% 1.5px; }
.abi__s.is-wide { grid-template-columns: 1fr; }
.abi__slot .tl { margin: 0; padding: 0; }
.abi__slot .aba__list { margin-top: 0; }
.aba__n .abi__a { color: inherit; }
.abh__body .abi__where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--mid); }
.abh__body .abi__where b { color: var(--ink); font-weight: 600; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }
.abh__body .abi__where #abiClk { font: 600 12px/1 "JetBrains Mono", monospace; }
/* convite final do About reagindo ao mouse */
.abc__link { position: relative; overflow: hidden; isolation: isolate; }
.abc__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--on, 0);
  background: radial-gradient(clamp(260px, 30vw, 520px) circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--red) 28%, transparent), transparent 70%); }
.abc__link i { display: inline-block; }
.abc__link i b { display: inline-block; font-weight: inherit; transition: color .3s; will-change: transform; }
.abc__link:hover i { transform: translateX(16px); }
.abc__link:hover i b { color: var(--red); }
/* 6666 em ASCII solto na página: sem caixa, fundo do site, sem corte */
.a3d__stage, .a3d__stage.is-ascii { background: transparent; border-radius: 0; overflow: visible; height: clamp(300px, 34vw, 560px); }
.a3d { overflow: hidden; }

/* interna de projetos: mais margem lateral no desktop e mídias que não passam da altura da tela */
@media (min-width: 1100px) {
  body[data-page="project"] main { --pad: clamp(32px, 6.5vw, 150px); }
}
.proj__cover img, .proj__cover video { max-height: 86vh; object-fit: cover; width: 100%; }
.gal__m video, .chp__g video { max-height: 84vh; object-fit: contain; background: var(--grey); }
.abi__steps li, .abi__tags li, .abh__body .abi__where b, .nf__card, .nf__ci, .nf__btn { border-radius: 3px; }
.nf__card { box-shadow: none; }
/* reconhecimento no celular: selo em linha própria, alinhado com o título */
@media (max-width: 760px) {
  .aba__list li { grid-template-columns: 52px 1fr; gap: 8px 14px; align-items: start; padding: 18px 0; }
  .aba__y { padding-top: .35em; }
  .aba__t { font-size: 22px; }
  .aba__s { display: flex; width: max-content; margin: 10px 0 0; transform: none; }
  .aba__n { grid-column: 2; text-align: left; }
}
/* vídeos nas internas: no computador ficam menores, com margem dos dois lados */
@media (min-width: 1100px) {
  .gal figure:has(video) { grid-column: 3 / span 8 !important; align-self: auto; }
  .chp__g figure:has(video) { grid-column: span 2; width: 68%; margin: 0 auto; }
  .proj__cover:has(video) { margin-left: calc(var(--pad) + 14vw); margin-right: calc(var(--pad) + 14vw); }
  .gal video, .chp__g video, .proj__cover video { display: block; width: 100%; max-height: 66vh; object-fit: contain; }
}
/* conteúdo pré-renderizado das páginas de projeto (para Google/IAs); o JS substitui ao carregar */
.seo-pre { padding: 140px var(--pad) 80px; max-width: 900px; opacity: 0; }
.seo-pre img { max-width: 100%; height: auto; }

/* reserva espaço enquanto o JS monta as listas (evita a página "pular") */
.wl:empty { min-height: 100vh; }
.cp__social:empty { min-height: 20px; }
.cp__clients:empty { min-height: 242px; }
@media (max-width: 860px) { .cp__clients:empty { min-height: 326px; } }
#workFilters:empty { min-height: 35px; }
@media (max-width: 600px) { #workFilters:empty { min-height: 118px; width: 100%; } }

/* player de vídeo próprio */
.vp { position: relative; display: block; width: 100%; line-height: 0; background: #000; overflow: hidden; }
.vp video { display: block; width: 100%; cursor: pointer; }
.vp:fullscreen { display: grid; place-items: center; }
.vp:fullscreen video { width: 100%; height: 100%; max-height: none !important; object-fit: contain; }
.vp__bar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 4px; padding: 4px 10px 4px 4px; line-height: 1;
  background: rgba(20, 20, 20, .62); color: #fff; border-radius: 6px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.vp.is-on .vp__bar, .vp.is-paused .vp__bar, .vp:focus-within .vp__bar { opacity: 1; transform: none; }
.vp__b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; color: inherit; transition: background .2s; flex: none; }
.vp__b:hover { background: rgba(255, 255, 255, .14); }
.vp__b svg { width: 14px; height: 14px; fill: currentColor; }
.vp__t { font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .02em; padding: 0 8px 0 4px; white-space: nowrap; opacity: .85; }
.vp__t b { font-weight: 500; }
.vp__t i { font-style: normal; opacity: .55; }
.vp__trk { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; margin: 0 6px; }
.vp__trk::before, .vp__buf, .vp__pos { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; transform-origin: 0 50%; transition: height .2s, margin .2s; }
.vp__trk::before { background: rgba(255, 255, 255, .2); }
.vp__buf { background: rgba(255, 255, 255, .28); transform: scaleX(0); }
.vp__pos { background: var(--red, #ff4d1a); transform: scaleX(0); }
.vp__trk:hover::before, .vp__trk:hover .vp__buf, .vp__trk:hover .vp__pos { height: 4px; margin-top: -2px; }
@media (hover: none) { .vp__t { display: none; } }
/* 404: ASCII ocupando a tela + sugestões de projetos */
.nf { display: block; }
.nf__aw { width: 100%; margin: 18px 0 30px; }
.nf__sug { margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); }
.nf__sug .lbl { margin-bottom: 18px; }
.nf__sg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pad); }
@media (max-width: 860px) { .nf__sg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
