:root {
  --cobalt: #4456ff;
  --lime: #c9ff46;
  --ivory: #feffe3;
  --orchid: #d238eb;
  --mint: #a6ffe8;
  --lilac: #9fa3ff;
  --seaweed: #255a4b;

  --red: #f2482d;

  --black: #050505;


  --eye-color: var(--orchid);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--ivory);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  overscroll-behavior: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  min-height: 100vh;
  position: relative;
}

/* NAV */

.nav {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  width: 50%;
  padding: 70px 4vw 0;

  display: flex;
  justify-content: center;

  font-family: arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;

  color: var(--ivory);
  mix-blend-mode: normal;
}

.nav-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 44px;
  margin-left: 0;
}

.nav a {
  position: relative;
  opacity: 1;
  padding-bottom: 10px;
}

.nav a:hover {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 0;
  height: 3px;
  background: currentColor;

  transition: width 160ms ease;
}

.nav a:hover::after {
  width: 100%;
}

/* HOME */

.home {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* LATERAL ESQUERDA */

.visual-side {
  position: relative;
  min-height: 100svh;
  background: var(--lime);
  overflow: hidden;
  transition: background 800ms ease;
}

/* CORTINA OCUPANDO TODA A LATERAL ESQUERDA */

.curtain-field {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  opacity: .68;
  mix-blend-mode: multiply;
}

#container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* TRÊS OLHOS VAZADOS */

.eyes-layer {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  width: 124%;
  height: 124%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.eye-shape {
  fill: var(--eye-color);
  transition: fill 800ms ease;
}

/* PALETAS DA LATERAL */

.visual-side.palette-one {
  --eye-color: var(--orchid);
  background: var(--lime);
}

.visual-side.palette-two {
  --eye-color: var(--ivory);
  background: var(--cobalt);
}

.visual-side.palette-three {
  --eye-color: var(--red);
  background: var(--mint);
}

.visual-side.palette-four {
  --eye-color: var(--seaweed);
  background: var(--lilac);
}

.visual-side.palette-five {
  --eye-color: var(--cobalt);
  background: var(--ivory);
}

.visual-side.palette-six {
  --eye-color: var(--lime);
  background: var(--red);
}

/* LATERAL DIREITA */

.text-side {
  position: relative;
  min-height: 100svh;
  padding: 92px 4vw 4vw;
  background: var(--cobalt);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 18vh;
  overflow: hidden;
}

h1 {
  margin: 0;
  font-size: clamp(76px, 15vw, 220px);
  line-height: .75;
  letter-spacing: -0.113em;
  font-weight: 400;
  text-transform: lowercase;
  text-align: center;
  transition:
    opacity .18s ease,
    transform .18s ease;
}

h1.is-changing {
  opacity: 0;
  transform: translateY(20px);
}

.intro {
  position: absolute;
  bottom: 4vw;
  left: 4vw;
  right: 4vw;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 60px);
  line-height: .95;
  letter-spacing: -0.07em;
  text-transform: lowercase;
}

/* WHAT I DO */

.what {
  background: var(--ivory);
  color: var(--black);
}

.what-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--black);
  font-size: 14px;
  text-transform: lowercase;
}

.tag-lantern {
  position: relative;
  height: 80vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
  cursor: crosshair;
}

.goo-mask-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ascii-galaxy {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.ascii-galaxy span {
  position: absolute;
  display: block;
  color: #feffe3;
  font-family: "IBM Plex Mono", "Space Mono", "Courier New", monospace;
  font-size: var(--size);
  font-weight: 700;
  line-height: 1;
  left: var(--left);
  top: var(--top);
  transform-origin: 50% 50%;
  animation: starSpin var(--speed) linear infinite;
  animation-delay: var(--delay);
}

.green-reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #ffd23f;
  pointer-events: none;
  mask: url(#gooMask);
  -webkit-mask: url(#gooMask);
}

.tag-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  font-family: "Sora", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  font-size: clamp(14px, 1.8vw, 28px);
  color: #d238eb;
  pointer-events: none;
  mask: url(#gooMask);
  -webkit-mask: url(#gooMask);
}

.tag-field span {
  position: absolute;
  white-space: nowrap;
}

.tag-field span:nth-child(1)  { top: 12%; left: 8%; }
.tag-field span:nth-child(2)  { top: 22%; left: 62%; }
.tag-field span:nth-child(3)  { top: 38%; left: 18%; }
.tag-field span:nth-child(4)  { top: 55%; left: 72%; }
.tag-field span:nth-child(5)  { top: 70%; left: 10%; }
.tag-field span:nth-child(6)  { top: 82%; left: 48%; }
.tag-field span:nth-child(7)  { top: 18%; left: 35%; }
.tag-field span:nth-child(8)  { top: 45%; left: 52%; }
.tag-field span:nth-child(9)  { top: 65%; left: 28%; }
.tag-field span:nth-child(10) { top: 30%; left: 78%; }
.tag-field span:nth-child(11) { top: 76%; left: 66%; }
.tag-field span:nth-child(12) { top: 9%;  left: 70%; }
.tag-field span:nth-child(13) { top: 88%; left: 20%; }
.tag-field span:nth-child(14) { top: 50%; left: 7%; }
.tag-field span:nth-child(15) { top: 60%; left: 55%; }
.tag-field span:nth-child(16) { top: 35%; left: 40%; }

@keyframes starSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ascii-galaxy span { animation: none; }
}

/* WORK / PROJECT INDEX */

.work {
  min-height: 100vh;
  background: var(--ivory);
  color: var(--black);
  padding: 24px;
}

.work-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--black);
  background: var(--ivory);
  font-size: 14px;
  text-transform: lowercase;
}

.project-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 62vw) minmax(360px, 1fr);
  gap: 24px;
  padding-top: 24px;
  align-items: start;
}

.project-preview {
  position: sticky;
  top: 84px;
  z-index: 1;
  height: calc(100svh - 108px);
  background: var(--red);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 0, 0, .38);
  z-index: 2;
  pointer-events: none;
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(.96);
  transform: scale(1.02);
  transition:
    opacity 220ms ease,
    transform 700ms ease,
    filter 700ms ease;
}

.project-preview.is-changing img {
  opacity: 0;
  transform: scale(1.08);
}

.project-preview.has-error {
  background:
    radial-gradient(circle at 25% 20%, var(--lime) 0 18%, transparent 18%),
    radial-gradient(circle at 70% 45%, var(--orchid) 0 22%, transparent 22%),
    radial-gradient(circle at 45% 75%, var(--cobalt) 0 28%, transparent 28%),
    var(--red);
}

.project-preview.has-error img {
  display: none;
}

.project-list {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.project-row {
  border-bottom: 1px solid var(--black);
}

.project-row a {
  min-height: 19vh;
  display: grid;
  grid-template-columns: 42px 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 10px 14px;
  align-items: start;
  padding: 18px 0;
  overflow: hidden;
  transition:
    background 250ms ease,
    color 250ms ease,
    padding 250ms ease;
}

.project-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 8px;
  font-size: 12px;
  line-height: 1;
}

.project-symbol {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding-top: 0;
  font-size: clamp(24px, 3vw, 46px);
  line-height: .85;
  transition: transform 250ms ease;
}

.project-title {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(44px, 5.2vw, 88px);
  line-height: .82;
  letter-spacing: -0.09em;
  text-transform: lowercase;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.project-meta {
  grid-column: 3;
  grid-row: 2;
  max-width: 360px;
  padding-bottom: 4px;
  font-size: 14px;
  line-height: 1.15;
  text-transform: lowercase;
}

.project-row:hover a,
.project-row.active a {
  background: var(--black);
  color: var(--ivory);
  padding-left: 18px;
  padding-right: 18px;
}

.project-row:hover .project-symbol,
.project-row.active .project-symbol {
  transform: rotate(18deg) scale(1.12);
}

/* CONTACT */

.contact {
  min-height: 100vh;
  background: var(--red);
  color: var(--black);
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--black);
  font-size: 14px;
  text-transform: lowercase;
}

.contact-content {
  flex: 1;
  width: 100%;
  max-width: none;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-ascii-sky {
  position: relative;
  width: 100%;
  height: clamp(260px, 40vh, 520px);
  margin: clamp(42px, 7vh, 88px) 0 28px;
  overflow: hidden;
  mix-blend-mode: multiply;
  opacity: .58;
}

.contact-ascii {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: clamp(10px, .98vw, 17px);
  line-height: 1;
  white-space: pre;
  color: var(--black);
  user-select: none;
  letter-spacing: .02em;
  overflow: hidden;
  filter: drop-shadow(0 0 6px rgba(254, 255, 227, .12));
}

.contact-ascii-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  
}

.contact-ascii-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(5, 5, 5, 0) 0%,
      rgba(5, 5, 5, .08) 50%,
      rgba(5, 5, 5, 0) 100%
    );
  mix-blend-mode: multiply;
  opacity: .45;
}

.contact-text-block {
  position: relative;
  z-index: 3;
  max-width: 1280px;
}

.contact-content p {
  margin: 0 0 28px;
  font-size: clamp(36px, 7vw, 120px);
  line-height: .85;
  letter-spacing: -0.09em;
  text-transform: lowercase;
}

.contact-email {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 6vw, 110px);
  line-height: .9;
  text-transform: uppercase;
}

.contact-email:hover {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}


/* ABOUT DRAWER */

.about-scrim {
  position: fixed;
  z-index: 190;
  inset: 0;
  background: rgba(5, 5, 5, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.about-panel {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100svh;
  background: var(--ivory);
  color: var(--black);
  border-right: 1px solid var(--black);
  transform: translateX(-102%);
  transition: transform 420ms cubic-bezier(.19, 1, .22, 1);
  overflow: hidden;
}

body.about-is-open {
  overflow: hidden;
}

body.about-is-open .about-panel {
  transform: translateX(0);
}

body.about-is-open .about-scrim {
  opacity: 1;
  pointer-events: auto;
}

.about-panel-inner {
  height: 100%;
  overflow-y: auto;
  padding: 22px 28px 48px;
  scrollbar-width: thin;
}

.about-close {
  position: sticky;
  z-index: 2;
  top: 0;
  margin: 0 0 28px auto;
  display: block;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--black);
  padding: 9px 14px 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1;
  text-transform: lowercase;
  cursor: pointer;
}

.about-close:hover {
  background: var(--black);
  color: var(--ivory);
}

.about-kicker {
  margin: 0 0 18px;
  padding-top: 6px;
  border-top: 1px solid var(--black);
  font-size: 14px;
  line-height: 1;
  text-transform: lowercase;
}

.about-portrait-burst {
  width: min(240px, 48%);
  aspect-ratio: 1 / 1;
  margin: 0 0 28px;
}

.about-portrait-burst svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.about-burst-outline {
  fill: none;
  stroke: var(--black);
  stroke-width: 1.25;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.about-copy {
  margin: 0 0 46px;
}

.about-copy-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.about-language-block {
  border-top: 1px solid rgba(5, 5, 5, .24);
  padding-top: 10px;
}

.about-language-block > span {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1;
  text-transform: lowercase;
}

.about-copy p {
  margin: 0 0 11px;
  font-size: clamp(12px, .95vw, 15px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}

.about-list-block {
  border-top: 1px solid var(--black);
  padding-top: 18px;
}

.about-list-block h2 {
  margin: 0 0 32px;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: .9;
  letter-spacing: -0.07em;
  font-weight: 400;
  text-transform: lowercase;
}

.about-year {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(5, 5, 5, .22);
}

.about-year h3 {
  position: sticky;
  top: 58px;
  align-self: start;
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
}

.about-year ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-year li {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.22;
  text-transform: lowercase;
}

.about-year li:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .about-panel {
    width: min(76vw, 640px);
  }

  .about-copy-small {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .about-portrait-burst {
    width: min(260px, 62%);
  }

  .about-panel {
    width: 100vw;
  }

  .about-panel-inner {
    padding: 18px 18px 42px;
  }

  .about-copy p {
    font-size: 15px;
    line-height: 1.18;
  }

  .about-year {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-year h3 {
    position: static;
  }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .project-stage {
    grid-template-columns: minmax(360px, 56vw) minmax(320px, 1fr);
  }

  .project-title {
    font-size: clamp(40px, 5vw, 72px);
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    width: 100%;
    padding: 18px 22px 0;
    color: white;
    mix-blend-mode: difference;
    font-size: clamp(14px, 3.2vw, 22px);
  }

  .nav-links {
    justify-content: space-between;
    gap: 14px;
  }

  .home {
    grid-template-columns: 1fr;
  }

  .visual-side,
  .text-side {
    min-height: 100svh;
  }

  .eyes-layer {
    width: 124%;
    height: 124%;
  }

  .text-side {
    padding: 80px 22px 28px;
  }

  .intro {
    margin-left: 0;
  }

  .project-stage {
    display: block;
  }

  .project-preview {
    position: relative;
    top: auto;
    height: 52vh;
    margin-bottom: 24px;
  }

  .project-row a {
    min-height: 22vh;
    grid-template-columns: 38px 44px minmax(0, 1fr);
  }

  .project-title {
    font-size: clamp(46px, 12vw, 92px);
  }

  .project-meta {
    grid-column: 3;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .nav {
    font-size: 13px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
  }

  h1 {
    font-size: clamp(120px, 27vw, 160px);
  }

  .intro {
    font-size: clamp(35px, 10vw, 58px);
  }

  .eyes-layer {
    width: 132%;
    height: 132%;
  }

  .work {
    padding: 18px;
  }

  .work-header {
    font-size: 13px;
  }

  .project-preview {
    height: 44vh;
  }

  .project-row a {
    min-height: 24vh;
    grid-template-columns: 32px 38px minmax(0, 1fr);
    gap: 10px;
  }

  .project-title {
    font-size: clamp(42px, 16vw, 84px);
    letter-spacing: -0.085em;
  }

  .project-meta {
    font-size: 13px;
  }

  .contact {
    padding: 18px;
  }

  .contact-header {
    font-size: 13px;
  }

  .contact-ascii-sky {
    height: 260px;
    margin: 52px 0 28px;
  }

  .contact-ascii {
    font-size: 9px;
    line-height: 1;
  }

  .contact-content p {
    font-size: clamp(42px, 15vw, 76px);
  }

  .contact-email {
    font-size: clamp(34px, 12vw, 58px);
  }
}

/* =========================================================
   NOVO v2 (bilíngue, obras, ao vivo, detalhe)
   ========================================================= */

:root { --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; }

.nav-links { align-items: baseline; }

.lang-switch {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
}

.lang-switch button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  padding: 0 0 10px;
  opacity: .5;
  cursor: pointer;
}

.lang-switch button.is-active {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* project list extras */

.project-meta em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orchid);
}

.project-row:hover .project-meta em,
.project-row.active .project-meta em { color: var(--lime); }

.project-preview {
  background: var(--accent, var(--red));
  transition: background 400ms ease;
}

.project-preview.is-wide img {
  object-fit: contain;
  padding: 6%;
  transform: none;
}

.preview-badge {
  position: absolute;
  z-index: 3;
  left: 30px;
  bottom: 28px;
  right: 30px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: lowercase;
  color: var(--ivory);
  mix-blend-mode: difference;
}

/* LIVE + COLLABS */

.live {
  background: var(--black);
  color: var(--ivory);
  padding: 24px 24px 64px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  text-transform: lowercase;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
}

.live-card { margin: 0; }

.live-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.live-img { aspect-ratio: 4 / 5; overflow: hidden; }

.live-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.live-card button:hover img { transform: scale(1.04); filter: saturate(1.3); }

.live-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.live-thumbs button { aspect-ratio: 16 / 10; overflow: hidden; }

.live-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  text-transform: lowercase;
}

.live-card figcaption strong {
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 60px);
  line-height: .85;
  letter-spacing: -0.08em;
  color: var(--lime);
}

.live-card figcaption span { font-family: var(--mono); font-size: 12px; }

.plain-list,
.collab-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(254, 255, 227, .2);
  font-size: 14px;
  text-transform: lowercase;
}

.plain-list li span,
.collab-list .c-year { font-family: var(--mono); font-size: 12px; }

.collab-header { margin-top: 64px; }

.collab-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(254, 255, 227, .2);
  text-transform: lowercase;
  transition: color 200ms ease, padding 200ms ease;
}

.collab-list li:hover { color: var(--lime); padding-left: 10px; }

.collab-list .c-who {
  font-size: clamp(28px, 3.4vw, 56px);
  line-height: .9;
  letter-spacing: -0.08em;
}

.collab-list .c-what { font-size: 14px; line-height: 1.25; }
.collab-list a:hover { text-decoration: underline; }

.design-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-top: 64px;
  padding: 28px 24px;
  background: var(--orchid);
  color: var(--black);
  text-transform: lowercase;
  font-size: clamp(28px, 4vw, 64px);
  line-height: .9;
  letter-spacing: -0.07em;
  transition: background 250ms ease;
}

.design-link:hover { background: var(--lime); }
.design-arrow { font-family: var(--mono); font-size: 14px; letter-spacing: 0; }

.contact-header a:hover { text-decoration: underline; }

/* ABOUT v2 */

.about-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 46px;
}

.about-top .about-portrait-burst { width: 100%; margin: 0; }
.about-top .about-copy { margin: 0; }

.about-copy p {
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.about-copy p:first-child { color: var(--orchid); }

.about-list-block h2 { margin: 46px 0 18px; }
.about-list-block h2:first-child { margin-top: 0; }

@media (max-width: 560px) {
  .about-top { grid-template-columns: 1fr; }
  .about-top .about-portrait-burst { width: 60%; }
}

/* WORK DETAIL */

body.detail-is-open { overflow: hidden; }

.work-detail {
  position: fixed;
  z-index: 300;
  inset: 0;
  overflow-y: auto;
  background: var(--ivory);
  color: var(--black);
  transform: translateY(102%);
  transition: transform 520ms cubic-bezier(.19, 1, .22, 1);
  overscroll-behavior: contain;
}

body.detail-is-open .work-detail { transform: translateY(0); }

.wd-inner { min-height: 100%; padding: 0 24px 0; }

.wd-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--black);
  background: var(--ivory);
  font-size: 13px;
  text-transform: lowercase;
}

.wd-count { font-family: var(--mono); }

.wd-close,
.wd-back {
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 8px 14px 7px;
  line-height: 1;
}

.wd-close:hover,
.wd-back:hover { background: var(--black); color: var(--ivory); }

.wd-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 24px;
  align-items: end;
  padding: 7vh 0 28px;
}

.wd-symbol {
  grid-row: 1;
  font-size: clamp(60px, 9vw, 160px);
  line-height: .8;
  color: var(--accent);
  -webkit-text-stroke: 1px var(--black);
}

.wd-title {
  grid-row: 1;
  margin: 0;
  font-weight: 400;
  font-size: clamp(64px, 11vw, 200px);
  line-height: .78;
  letter-spacing: -0.1em;
  text-transform: lowercase;
}

.wd-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin: 32px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--black);
  font-size: 14px;
  text-transform: lowercase;
}

.wd-meta div { display: flex; gap: 10px; }
.wd-meta dt { font-family: var(--mono); font-size: 12px; opacity: .55; }
.wd-meta dd { margin: 0; }

.wd-badge {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 18px 0 0;
  padding: 8px 14px 7px;
  background: var(--black);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: lowercase;
}

.wd-hero {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--accent);
  cursor: zoom-in;
}

.wd-hero img {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.wd-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0 64px;
}

.wd-text p {
  margin: 0 0 18px;
  max-width: 34ch;
  font-size: clamp(22px, 2.3vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.wd-video {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px 9px;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 13px;
}

.wd-video:hover { background: var(--accent); color: var(--black); }

.wd-credit { font-family: var(--mono); font-size: 12px !important; letter-spacing: 0 !important; opacity: .6; }

.wd-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  text-transform: lowercase;
}

.wd-shown ul { list-style: none; margin: 0; padding: 0; }

.wd-shown li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(5, 5, 5, .2);
  font-size: 14px;
  line-height: 1.2;
  text-transform: lowercase;
}

.wd-shown li span { font-family: var(--mono); font-size: 12px; }

.wd-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 64px;
}

.wd-gallery.is-wide { grid-template-columns: 1fr; }

.wd-gallery button {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.wd-gallery:not(.is-wide) button { aspect-ratio: 4 / 3; }
.wd-gallery:not(.is-wide) button:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }

.wd-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.wd-gallery button:hover img { transform: scale(1.03); }

/* ASSETS (antigo mural, sem uso) */

.wd-process {
  margin: 0 -24px;
  padding: 24px 24px 72px;
  background: var(--black);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.wd-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, var(--accent) 0, transparent 38%),
    radial-gradient(circle at 85% 75%, var(--accent) 0, transparent 32%);
  opacity: .28;
  pointer-events: none;
}

.wd-process .wd-label { position: relative; color: var(--accent); }

.mural {
  position: relative;
  columns: 4 220px;
  column-gap: 22px;
  padding-top: 36px;
}

.mural-item {
  break-inside: avoid;
  margin: 0 0 30px;
  transform: rotate(var(--r));
  transition: transform 300ms ease;
}

.mural-item:hover { transform: rotate(0deg) scale(1.03); z-index: 2; position: relative; }

.mural-item button {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  background: var(--ivory);
  cursor: zoom-in;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
}

.mural-item img { display: block; width: 100%; height: auto; }

.mural-item figcaption {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: lowercase;
}

.mural-item.xl,
.mural-item.wide { column-span: none; }

@supports (display: grid) {
  .mural:has(.wide) .mural-item.wide button { background: #111; }
}

.wd-next {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 -24px;
  padding: 48px 24px 56px;
  background: var(--accent);
  color: var(--black);
  text-transform: lowercase;
}

.wd-next span { font-family: var(--mono); font-size: 13px; }

.wd-next strong {
  font-weight: 400;
  font-size: clamp(48px, 8vw, 140px);
  line-height: .8;
  letter-spacing: -0.1em;
}

.wd-next:hover strong { text-decoration: underline; text-decoration-thickness: 4px; }

/* LIGHTBOX */

.lightbox {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(5, 5, 5, .92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  cursor: zoom-out;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: none;
  color: var(--ivory);
  font-size: 36px;
  cursor: pointer;
}

/* RESPONSIVE v2 */

@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-img { aspect-ratio: 4 / 3; }
  .collab-list li { grid-template-columns: 56px 1fr; }
  .collab-list .c-what { grid-column: 2; }
  .wd-body { grid-template-columns: 1fr; gap: 36px; }
  .wd-head { grid-template-columns: 1fr; }
  .wd-symbol { font-size: 56px; margin-bottom: 10px; }
  .wd-title { grid-row: auto; }
  .lang-switch button { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .live, .wd-inner { padding-left: 18px; padding-right: 18px; }
  .wd-process, .wd-next { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .wd-gallery { grid-template-columns: 1fr; }
  .wd-gallery:not(.is-wide) button:first-child:nth-last-child(odd) { aspect-ratio: 4 / 3; }
  .mural { columns: 2 140px; column-gap: 14px; }
  .mural-item button { padding: 6px; }
  .design-link { flex-direction: column; }
}

.project-thumb { display: none; }

@media (max-width: 900px) {
  .project-preview { display: none; }
  .project-row a { grid-template-rows: auto auto auto; }
  .project-thumb {
    display: block;
    grid-column: 3;
    grid-row: 3;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-top: 6px;
  }
}

@media (max-width: 560px) {
  .project-title { font-size: clamp(34px, 11vw, 72px); }
  .nav { mix-blend-mode: normal; color: var(--black); }
  .nav-links { background: var(--ivory); padding: 8px 12px; border-radius: 999px; justify-content: center; }
  .nav a, .lang-switch button { padding-bottom: 0; }
  .nav a::after { bottom: -3px; height: 2px; }
}


/* =========================================================
   v3: obras em tela dividida, índice, assets, colaborações
   ========================================================= */

.work { padding: 0; }
.work .work-header { padding: 18px 24px; position: sticky; top: 0; z-index: 30; }

.view-toggle { display: inline-flex; gap: 6px; align-items: baseline; }
.view-toggle button {
  border: 0; background: none; padding: 0; font: inherit; color: inherit;
  text-transform: lowercase; cursor: pointer; opacity: .45;
}
.view-toggle button.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* tela dividida */
.works-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wpanel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: center;
  min-height: 100svh;
  padding: 42px 7%;
  background: var(--bg);
  color: var(--fg);
  text-align: center;
}

.wp-title,
.wp-place {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.wp-img { display: block; width: 100%; }

.wp-img img {
  display: block;
  width: 100%;
  max-height: 62svh;
  object-fit: contain;
  transition: transform 700ms ease;
}

.wpanel:hover .wp-img img { transform: scale(1.03); }
.wp-mobile { display: none; }

.works-info {
  position: relative;
  background: var(--cobalt);
  color: var(--ivory);
}

.wi-inner {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 7% 48px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.wi-inner.is-changing { opacity: 0; transform: translateY(12px); }

.wi-count { font-family: var(--mono); font-size: 12px; margin-bottom: 18px; }
.wi-symbol { font-size: 56px; line-height: .8; -webkit-text-stroke: 1px var(--ivory); }

.wi-title {
  margin: 18px 0 0;
  font-weight: 400;
  font-size: clamp(56px, 7.4vw, 132px);
  line-height: .8;
  letter-spacing: -0.1em;
  text-transform: lowercase;
}

.wi-meta { margin: 24px 0 0; font-size: 15px; text-transform: lowercase; }

.wi-badge {
  align-self: flex-start;
  margin: 14px 0 0;
  padding: 7px 12px 6px;
  background: var(--lime);
  color: var(--black);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: lowercase;
}

.wi-lead {
  max-width: 24ch;
  margin: 28px 0 0;
  font-size: clamp(24px, 2.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.wi-open {
  align-self: flex-start;
  margin-top: 32px;
  padding: 11px 18px 10px;
  border: 1px solid var(--ivory);
  border-radius: 999px;
  font-size: 14px;
  text-transform: lowercase;
}

.wi-open:hover { background: var(--ivory); color: var(--cobalt); }

/* índice */
.works-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
  padding: 32px 24px 80px;
  background: var(--ivory);
}

.works-index[hidden], .works-split[hidden] { display: none; }

.ix-item { display: block; }

.ix-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
}

.ix-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease, transform 600ms ease;
}

.ix-symbol {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 96px;
  color: var(--black);
  opacity: 0;
  transition: opacity 300ms ease;
}

.ix-item:hover .ix-thumb img { opacity: .12; transform: scale(1.04); }
.ix-item:hover .ix-symbol { opacity: 1; }

.ix-cap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ix-cap strong { font-weight: 700; }

/* detalhe: lead */
.wd-text .wd-lead {
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: .95;
  letter-spacing: -0.07em;
  margin-bottom: 28px;
}

.wd-text p:not(.wd-lead) {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  max-width: 40ch;
}

.wd-credit { margin-top: 20px; line-height: 1.5; }

/* visor de assets */
.assets {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
  margin: 0 -24px;
  padding: 12px;
  background: var(--accent);
}

.as-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72svh;
  padding: 6%;
  background: var(--black);
}

.as-stage img {
  max-width: 100%;
  max-height: 64svh;
  object-fit: contain;
  cursor: e-resize;
  transition: opacity 120ms ease;
}

.as-stage img.is-changing { opacity: 0; }

.as-count {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ivory);
}

.as-nav {
  position: absolute;
  bottom: 8px;
  border: 0;
  background: none;
  color: var(--ivory);
  font-size: 22px;
  padding: 6px 10px;
  cursor: pointer;
}

.as-prev { right: 52px; }
.as-next { right: 12px; }

.as-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 12px;
  align-content: start;
}

.as-thumbs button {
  aspect-ratio: 1;
  padding: 10%;
  border: 0;
  background: var(--black);
  cursor: pointer;
  outline: 0 solid var(--ivory);
  transition: outline-width 120ms ease;
}

.as-thumbs button img { width: 100%; height: 100%; object-fit: contain; display: block; }
.as-thumbs button.is-active { outline-width: 3px; outline-offset: -3px; }

.wd-next { background: var(--accent); }

/* colaborações em destaque */
.collab-featured { display: flex; flex-direction: column; }

.cf { padding: 36px 0 40px; border-bottom: 1px solid rgba(254, 255, 227, .2); }

.cf-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  text-transform: lowercase;
}

.cf-head h3 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 92px);
  line-height: .85;
  letter-spacing: -0.09em;
  color: var(--lime);
}

.cf-tag { font-family: var(--mono); font-size: 12px; }

.cf-text {
  max-width: 56ch;
  margin: 18px 0 24px 92px;
  font-size: 16px;
  line-height: 1.3;
  text-transform: lowercase;
}

.cf-text a { color: var(--lime); text-decoration: underline; }

.strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.strip button {
  flex: none;
  height: clamp(220px, 34vw, 420px);
  padding: 0;
  border: 0;
  background: #111;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.strip.is-square button { aspect-ratio: 1; }
.strip img { display: block; height: 100%; width: auto; }
.strip.is-square img { width: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .works-split { grid-template-columns: 1fr; }
  .works-info { display: none; }
  .wpanel { min-height: 0; padding: 28px 18px 32px; gap: 18px; }
  .wp-img img { max-height: 56svh; }
  .wp-mobile {
    display: block;
    font-size: 20px;
    line-height: 1.05;
    letter-spacing: -0.05em;
    text-transform: lowercase;
  }
  .wp-mobile em { display: block; font-style: normal; font-size: 13px; letter-spacing: 0; margin-bottom: 8px; }
  .works-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; padding: 24px 18px 60px; }
  .assets { grid-template-columns: 1fr; }
  .as-stage { min-height: 52svh; }
  .as-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cf-head { grid-template-columns: 56px 1fr; }
  .cf-tag { grid-column: 2; }
  .cf-text { margin-left: 0; }
}

@media (max-width: 560px) {
  .work .work-header { padding: 14px 18px; }
  .assets { margin: 0 -18px; }
  .as-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.as-stage { position: sticky; top: 62px; align-self: start; }
@media (min-width: 901px) { .assets:has(.as-thumbs button:nth-child(10)) .as-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .as-stage { position: relative; top: auto; } }


/* =========================================================
   v4: cores contidas, formatos iguais, grades de ao vivo e colaborações
   ========================================================= */

.wpanel { background: #050505; color: var(--ivory); border-bottom: 1px solid #050505; }
.wp-title i { font-style: normal; color: var(--accent); margin-right: 6px; }
.wp-img { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.wp-img img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.wp-place { opacity: .7; }

.works-info { background: var(--ivory); color: var(--black); border-left: 1px solid var(--black); }
.wi-open { border-color: var(--black); }
.wi-open:hover { background: var(--black); color: var(--ivory); }
.wi-badge { background: var(--black); color: var(--lime); }
.wi-meta { line-height: 1.35; }
.wi-lead {
  max-width: 40ch;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ix-thumb { background: #111; }
.ix-symbol { color: var(--ivory); }

/* detalhe sem cores de fundo fortes */
.wd-hero { background: #050505; }
.assets { background: #050505; }
.wd-next { background: #050505; color: var(--ivory); }
.wd-next strong { color: var(--ivory); }

/* grades de cards (ao vivo e colaborações) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 20px;
  padding: 28px 0 40px;
}

.collabs .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { display: block; }

.card-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, opacity 300ms ease;
}

.card:hover .card-img img { transform: scale(1.04); }

.card-cap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}

.card-cap strong {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: .9;
  letter-spacing: -0.07em;
  text-transform: lowercase;
  margin-bottom: 6px;
}

.live { padding-bottom: 48px; }
.collabs { background: var(--ivory); color: var(--black); }
.collabs .design-link { margin-top: 24px; }

@media (max-width: 900px) {
  .card-grid, .collabs .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .wp-mobile { font-size: 13px; letter-spacing: 0; opacity: .75; }
}

@media (max-width: 560px) {
  .card-grid, .collabs .card-grid { grid-template-columns: 1fr; }
}


/* CURSOR BOLINHA */
html.has-dot, html.has-dot * { cursor: none !important; }

.dot-cursor {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition: width 200ms ease, height 200ms ease, opacity 200ms ease;
}

.dot-cursor.is-on { opacity: 1; }
.dot-cursor.is-big { width: 56px; height: 56px; }
.dot-cursor.is-down { width: 10px; height: 10px; }


/* MENU FIXO */
body.nav-fixed .nav {
  position: fixed;
  width: 100%;
  padding: 0 24px;
  height: 46px;
  display: flex;
  align-items: center;
  background: var(--ivory);
  color: var(--black);
  mix-blend-mode: normal;
  border-bottom: 1px solid var(--black);
  font-size: 12px;
  animation: navIn 260ms ease;
}
body.nav-fixed .nav-links { justify-content: flex-start; gap: 32px; background: none; padding: 0; border-radius: 0; }
body.nav-fixed .nav a, body.nav-fixed .lang-switch button { padding-bottom: 0; }
body.nav-fixed .lang-switch { margin-left: auto; }
body.nav-fixed .nav a::after { bottom: -4px; height: 2px; }
@keyframes navIn { from { transform: translateY(-100%); } to { transform: none; } }
html { scroll-padding-top: 46px; }
body.nav-fixed .work .work-header { top: 46px; }
@media (max-width: 560px) {
  body.nav-fixed .nav { padding: 0 14px; font-size: 11px; }
  body.nav-fixed .nav-links { gap: 14px; flex-wrap: nowrap; overflow-x: auto; }
}

/* DETALHE COMO GAVETA (igual à bio) */
.detail-scrim {
  position: fixed;
  z-index: 290;
  inset: 0;
  background: rgba(5, 5, 5, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}
body.detail-is-open .detail-scrim { opacity: 1; pointer-events: auto; }

.work-detail {
  left: auto;
  right: 0;
  width: min(80vw, 1240px);
  border-left: 1px solid var(--black);
  transform: translateX(102%);
  transition: transform 420ms cubic-bezier(.19, 1, .22, 1);
}
body.detail-is-open .work-detail { transform: translateX(0); }

.wd-title { font-size: clamp(56px, 7.5vw, 140px); }
.wd-head { padding-top: 5vh; }

.wd-text p, .wd-text p:not(.wd-lead) {
  max-width: 52ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

/* painel lateral das obras: só ficha */
.wi-shown { list-style: none; margin: 28px 0 0; padding: 0; max-width: 460px; }
.wi-shown li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(5, 5, 5, .2);
  font-size: 14px;
  line-height: 1.3;
  text-transform: lowercase;
}
.wi-shown li span { font-family: var(--mono); font-size: 12px; }

@media (max-width: 900px) {
  .work-detail { width: 100vw; border-left: 0; }
}

/* painéis compactos: nome e lugar colados na imagem */
.wpanel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 64px 8% 64px;
}
.wpanel .wp-img { max-width: 640px; }
.works-split .wpanel:last-child { padding-bottom: 30vh; }
.wi-inner { height: calc(100svh - 92px); top: 92px; }


/* DESENHOS */
.drawings { padding: 24px 24px 56px; background: #050505; color: var(--ivory); }
.draw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 28px; }
.draw-grid button { display: block; padding: 0; border: 0; background: #111; aspect-ratio: 1; overflow: hidden; }
.draw-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.draw-grid button:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .draw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .drawings { padding: 18px 18px 40px; } }


/* =========================================================
   v5: visor em tela cheia (estilo apresentação) + painéis de ponta a ponta
   ========================================================= */

.detail-scrim { display: none; }

.work-detail {
  left: 0;
  right: 0;
  width: 100vw;
  border: 0;
  overflow: hidden;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(.19, 1, .22, 1);
}
body.detail-is-open .work-detail { transform: translateY(0); }

.work-detail .wd-inner {
  position: absolute;
  inset: 0;
  padding: 0;
  display: grid;
  grid-template-rows: 52px 1fr 52px;
  color: var(--black);
}

.v-top, .v-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.v-bottom { justify-content: space-between; }

.v-btn {
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  padding: 10px 4px;
  cursor: pointer;
}
.v-btn:hover { text-decoration: underline; }
.v-count { min-width: 60px; }

.v-stage {
  position: relative;
  margin: 0 28px;
  overflow: hidden;
  background: #050505;
}

.v-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 260ms ease, transform 900ms ease;
}
.v-stage img.is-contain { object-fit: contain; padding: 4%; }
.v-stage img.is-changing { opacity: 0; transform: scale(1.02); }

.v-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 0;
  background: none;
  z-index: 2;
}
.v-prev { left: 0; }
.v-next { right: 0; }

.v-info {
  position: absolute;
  z-index: 5;
  top: 52px;
  bottom: 52px;
  right: 28px;
  width: min(440px, calc(100% - 56px));
  background: var(--accent);
  color: var(--black);
  overflow-y: auto;
  transform: translateX(calc(100% + 40px));
  transition: transform 420ms cubic-bezier(.19, 1, .22, 1);
}
.work-detail.info-open .v-info { transform: translateX(0); }

.v-info-inner { padding: 28px 26px 40px; }
.v-sym { font-size: 34px; line-height: 1; }
.v-info h2 {
  margin: 14px 0 0;
  font-weight: 400;
  font-size: clamp(44px, 4.6vw, 76px);
  line-height: .82;
  letter-spacing: -0.09em;
  text-transform: lowercase;
}
.v-meta { margin: 18px 0 0; font-size: 14px; line-height: 1.35; text-transform: lowercase; }
.v-text p { margin: 16px 0 0; font-size: 16px; line-height: 1.4; text-transform: lowercase; }
.v-shown { list-style: none; margin: 22px 0 0; padding: 0; }
.v-shown li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(5, 5, 5, .25);
  font-size: 13px;
  line-height: 1.3;
  text-transform: lowercase;
}
.v-shown li span { font-family: var(--mono); font-size: 11px; }
.v-info .wd-credit { font-family: var(--mono); font-size: 11px; opacity: .7; margin-top: 16px; }
.v-info .wd-video { margin-top: 18px; }
.v-next-link {
  display: block;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--black);
  font-size: 13px;
  text-transform: lowercase;
}
.v-next-link strong { display: block; font-weight: 400; font-size: 32px; letter-spacing: -0.07em; margin-top: 4px; }

/* painéis das obras: imagem de ponta a ponta */
.wpanel {
  position: relative;
  display: block;
  height: 92svh;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  border-bottom: 0;
  background: #050505;
}
.wpanel .wp-img { position: absolute; inset: 0; max-width: none; aspect-ratio: auto; }
.wpanel .wp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms ease, filter 600ms ease; }
.wpanel:hover .wp-img img { transform: scale(1.04); }
.wp-title, .wp-place {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}
.wp-title { top: 26px; font-size: 15px; }
.wp-place { bottom: 26px; opacity: 1; }
.works-split .wpanel:last-child { padding-bottom: 0; }
.wp-mobile { display: none !important; }

@media (max-width: 900px) {
  .work-detail .wd-inner { grid-template-rows: 46px 1fr 46px; }
  .v-stage { margin: 0 12px; }
  .v-top, .v-bottom { padding: 0 14px; }
  .v-info { right: 12px; width: calc(100% - 24px); top: 46px; bottom: 46px; }
  .wpanel { height: 70svh; min-height: 380px; }
}


/* =========================================================
   v6: grade de obras + visor com texto ao lado e miniaturas
   ========================================================= */

.work { padding-left: 24px; padding-right: 24px; }
.works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
.works-grid .card-img { aspect-ratio: 4 / 5; }
.card-img { position: relative; }
.card-img img { transition: transform 700ms ease, filter 400ms ease; }
.card:hover .card-img img { transform: scale(1.02); }
.card-badge {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 8px; background: #050505; color: var(--lime);
  font-family: var(--mono); font-size: 10px; text-transform: lowercase;
}
#works-count { font-family: var(--mono); font-size: 11px; }

/* visor */
.work-detail {
  background: #050505;
  overflow-y: auto;
  overflow-x: hidden;
}
.work-detail .wd-inner {
  position: relative;
  inset: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ivory);
}
.v-top {
  position: sticky; top: 0; z-index: 6;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
  padding: 0 24px;
  background: #050505;
  border-bottom: 1px solid rgba(254, 255, 227, .15);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0;
}
.v-back { justify-self: start; }
.v-x { justify-self: end; font-size: 20px; padding: 8px; }
.v-pn { display: flex; gap: 22px; align-items: center; font-family: var(--mono); font-size: 11px; }
.v-pn a { opacity: .6; } .v-pn a:hover { opacity: 1; }
.v-btn { color: var(--ivory); text-transform: lowercase; }

.v-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  min-height: calc(100svh - 56px);
}
.v-info {
  position: sticky; top: 56px;
  align-self: start;
  max-height: calc(100svh - 56px);
  overflow-y: auto;
  width: auto; right: auto; bottom: auto;
  transform: none !important;
  background: transparent;
  color: var(--ivory);
  padding: 30px 28px 40px 24px;
  border-right: 1px solid rgba(254, 255, 227, .15);
}
.v-info h2 { margin: 0; font-size: clamp(40px, 3.6vw, 60px); }
.v-text p { font-size: 15px; line-height: 1.45; text-transform: none; }
.v-shown li { border-top-color: rgba(254, 255, 227, .18); }
.v-info .wd-badge { display: inline-block; margin-top: 16px; padding: 5px 8px; background: var(--lime); color: #050505; font-family: var(--mono); font-size: 11px; }

.v-main { display: flex; flex-direction: column; min-width: 0; height: calc(100svh - 56px); position: sticky; top: 56px; }
.v-stage {
  flex: 1;
  position: relative;
  margin: 0;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 70px 12px;
  min-height: 0;
}
.v-stage img {
  position: static;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  padding: 0;
  image-rendering: auto;
}
.v-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(254, 255, 227, .35);
  background: rgba(12, 12, 12, .6);
  color: var(--ivory); font-size: 28px; line-height: 1;
  cursor: pointer; z-index: 2;
}
.v-arrow:hover { background: var(--ivory); color: #050505; }
.v-prev { left: 10px; } .v-next { right: 10px; }

.v-strip { display: flex; align-items: center; gap: 16px; padding: 8px 24px 18px; }
.v-count { font-family: var(--mono); font-size: 11px; min-width: 52px; color: var(--ivory); }
.v-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.v-thumbs::-webkit-scrollbar { display: none; }
.v-thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 1px solid transparent; background: #222; opacity: .45; cursor: pointer; }
.v-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-thumbs button:hover { opacity: .85; }
.v-thumbs button.is-on { opacity: 1; border-color: var(--ivory); }

@media (max-width: 900px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .work { padding-left: 18px; padding-right: 18px; }
  .v-top { padding: 0 14px; height: 50px; }
  .v-pn span, .v-pn a { display: none; }
  .v-body { display: flex; flex-direction: column-reverse; }
  .v-main { position: static; height: auto; }
  .v-stage { height: 62svh; padding: 10px 0; }
  .v-arrow { display: none; }
  .v-info { position: static; max-height: none; border-right: 0; border-top: 1px solid rgba(254,255,227,.15); padding: 24px 18px 50px; }
  .v-strip { padding: 8px 14px 14px; }
}
@media (max-width: 560px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* v6b: vídeo no visor, design */
.v-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.v-stage [hidden] { display: none !important; }
.v-thumbs button { position: relative; }
.v-thumbs button video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.v-thumbs button i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; text-shadow: 0 1px 6px #000; }
.design { background: var(--ivory); color: var(--black); }
.design .section-header a { font-family: var(--mono); font-size: 11px; }
.design .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-go { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; background: #050505; color: var(--ivory); font-family: var(--mono); font-size: 10px; opacity: 0; transition: opacity 250ms; }
.card:hover .card-go { opacity: 1; }
@media (max-width: 900px) { .design .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .design .card-grid { grid-template-columns: 1fr; } .card-go { opacity: 1; } }

/* =========================================================
   v8: obra em rolagem com composições
   ========================================================= */
.v-main, .v-strip, .v-stage { display: none; }
.v-body { grid-template-columns: minmax(300px, 380px) 1fr; }
.v-flow { padding: 28px 28px 60px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.f-row { display: flex; gap: 18px; align-items: flex-start; }
.f-full .f-item { width: 100%; }
.f-inset .f-item { width: var(--w, 60%); }
.f-inset.f-left { justify-content: flex-start; padding-left: 6%; }
.f-inset.f-right { justify-content: flex-end; padding-right: 6%; }
.f-item { margin: 0; position: relative; aspect-ratio: var(--ar); background: #050505; overflow: hidden; cursor: zoom-in; }
.f-item img, .f-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.f-item img { transition: transform 900ms ease; }
.f-item:not(.f-seq):hover img { transform: scale(1.015); }
.f-seq img { opacity: 0; transition: opacity 160ms linear; }
.f-seq img.on { opacity: 1; }
.f-seq-dots { position: absolute; left: 12px; bottom: 10px; display: flex; gap: 4px; z-index: 2; }
.f-seq-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(254,255,227,.35); }
.f-seq-dots i.on { background: var(--ivory); }

.f-process {
  margin: 30px -28px 0;
  padding: 40px 28px;
  background: #050505;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: center;
}
.f-process .f-p { margin: 0; height: 190px; aspect-ratio: var(--ar); flex: 0 0 auto; cursor: zoom-in; overflow: hidden; }
.f-process .f-p img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.f-process .f-p:hover img { transform: translateY(-4px) rotate(-1deg) scale(1.03); }

.f-next { display: grid; grid-template-columns: 1fr 180px; gap: 18px; align-items: end; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(254,255,227,.25); color: var(--ivory); }
.f-next span { grid-column: 1; font-family: var(--mono); font-size: 11px; opacity: .6; }
.f-next strong { grid-column: 1; font-weight: 400; font-size: clamp(40px, 5vw, 84px); letter-spacing: -0.08em; line-height: .85; }
.f-next img { grid-column: 2; grid-row: 1 / 3; width: 180px; aspect-ratio: 4 / 5; object-fit: cover; }

@media (max-width: 900px) {
  .v-body { display: flex; flex-direction: column; }
  .v-flow { padding: 14px 14px 50px; gap: 14px; }
  .f-row { gap: 10px; }
  .f-inset .f-item { width: 86%; }
  .f-inset.f-left { padding-left: 0; } .f-inset.f-right { padding-right: 0; }
  .f-process { margin: 20px -14px 0; padding: 24px 14px; gap: 8px; }
  .f-process .f-p { height: 110px; }
  .f-next { grid-template-columns: 1fr 110px; } .f-next img { width: 110px; }
}

/* retrato em arco (portal das obras), animado */
.about-portrait-burst { width: min(340px, 70%); aspect-ratio: 240 / 320; }
.about-top .about-portrait-burst { width: min(340px, 100%); }
.arch-rings .ring { fill: none; stroke-width: 2; stroke-dasharray: 8 10; animation: ringdash 18s linear infinite; }
.arch-rings .r2 { stroke: var(--orchid); }
.arch-rings .r3 { stroke: var(--cobalt); animation-direction: reverse; animation-duration: 26s; }
.arch-stars path { fill: var(--lime); stroke: var(--black); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.arch-stars path:nth-child(2) { animation-delay: 1.4s; fill: var(--orchid); }
@keyframes ringdash { to { stroke-dashoffset: -360; } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(.55) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .arch-rings .ring, .arch-stars path { animation: none; } }
.mask-shadow { fill: var(--orchid); }
.about-portrait-burst { aspect-ratio: 264 / 290; }
.f-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.f-play { display: block; cursor: pointer; }
.f-play img { filter: brightness(.6); }
.f-play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; background: var(--ivory); color: #050505; display: grid; place-items: center; font-size: 30px; padding-left: 6px; transition: transform 300ms ease, background 300ms; }
.f-play:hover .f-play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--lime); }
.f-play-label { position: absolute; left: 18px; bottom: 14px; color: var(--ivory); font-family: var(--mono); font-size: 12px; text-transform: lowercase; }

/* máscaras no hover dos cards (inspiradas em wade and leta) */
.card-img { overflow: visible; background: transparent; }
.card-img img { position: relative; z-index: 1; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.card-img::before { content: ""; position: absolute; inset: -6%; z-index: 0; background: var(--hov, var(--orchid)); -webkit-mask: var(--shape) center / contain no-repeat; mask: var(--shape) center / contain no-repeat; transform: scale(.4) rotate(-20deg); opacity: 0; transition: transform 600ms cubic-bezier(.2,.8,.2,1), opacity 300ms; }
.card:hover .card-img::before { transform: scale(1) rotate(0); opacity: 1; }
.card:hover .card-img img { transform: scale(.82) !important; }
.card:nth-child(4n+1) .card-img { --shape: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M53.5,1.1 C59.3,1.7 58.0,18.4 64.9,24.0 C71.7,29.5 80.7,21.6 84.6,26.2 C88.5,30.8 79.7,36.5 82.6,45.0 C85.5,53.4 100.6,59.4 97.8,64.5 C95.0,69.7 77.1,63.3 69.9,68.3 C62.6,73.3 69.7,83.7 64.8,87.2 C59.9,90.6 56.0,83.1 47.6,83.9 C39.2,84.7 31.4,94.6 26.7,90.8 C21.9,87.0 30.5,73.9 26.1,66.4 C21.7,58.9 8.0,62.4 6.5,56.7 C5.0,51.1 16.5,48.3 19.4,40.7 C22.3,33.1 15.6,26.5 19.8,22.2 C24.1,17.9 31.2,25.8 38.6,21.2 C46.0,16.5 47.7,0.5 53.5,1.1Z'/%3E%3C/svg%3E"); --hov: var(--orchid); }
.card:nth-child(4n+2) .card-img { --shape: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M96.0,50.0 C97.8,54.9 97.3,57.3 95.7,62.2 C94.0,67.1 91.9,68.2 88.6,72.3 C85.3,76.3 84.3,77.2 80.7,80.7 C77.1,84.2 76.4,86.0 72.0,88.1 C67.6,90.2 65.6,90.7 60.8,90.2 C55.9,89.7 54.3,87.6 50.0,86.0 C45.7,84.4 45.6,83.0 41.2,82.7 C36.8,82.4 35.7,84.2 30.0,84.6 C24.3,85.1 20.7,86.7 15.3,84.7 C9.9,82.7 7.4,80.8 5.4,75.7 C3.5,70.7 4.9,67.4 6.3,61.7 C7.8,56.0 10.2,54.7 12.0,50.0 C13.8,45.3 13.7,44.8 14.5,40.5 C15.4,36.2 14.3,34.5 15.8,30.3 C17.3,26.0 18.2,24.6 21.3,21.3 C24.4,18.0 26.1,18.1 30.0,15.4 C33.9,12.7 34.6,12.0 39.0,9.1 C43.4,6.1 44.7,3.6 50.0,2.0 C55.3,0.4 58.1,-0.6 63.0,1.6 C67.8,3.8 69.4,6.7 72.0,11.9 C74.6,17.1 73.3,20.5 74.7,25.3 C76.1,30.1 75.4,30.5 78.2,33.7 C81.0,37.0 83.5,36.4 87.5,40.0 C91.4,43.5 94.2,45.1 96.0,50.0Z'/%3E%3C/svg%3E"); --hov: var(--lime); }
.card:nth-child(4n+3) .card-img { --shape: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M81.0,50.0 L80.4,56.0 L95.3,68.8 L90.7,77.2 L71.9,71.9 L67.2,75.8 L68.8,95.3 L59.6,98.1 L50.0,81.0 L44.0,80.4 L31.2,95.3 L22.8,90.7 L28.1,71.9 L24.2,67.2 L4.7,68.8 L1.9,59.6 L19.0,50.0 L19.6,44.0 L4.7,31.2 L9.3,22.8 L28.1,28.1 L32.8,24.2 L38.1,21.4 L40.4,1.9 L50.0,19.0 L56.0,19.6 L68.8,4.7 L77.2,9.3 L71.9,28.1 L75.8,32.8 L78.6,38.1 L98.1,40.4Z'/%3E%3C/svg%3E"); --hov: var(--cobalt); }
.card:nth-child(4n+4) .card-img { --shape: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M53.5,1.1 C59.3,1.7 58.0,18.4 64.9,24.0 C71.7,29.5 80.7,21.6 84.6,26.2 C88.5,30.8 79.7,36.5 82.6,45.0 C85.5,53.4 100.6,59.4 97.8,64.5 C95.0,69.7 77.1,63.3 69.9,68.3 C62.6,73.3 69.7,83.7 64.8,87.2 C59.9,90.6 56.0,83.1 47.6,83.9 C39.2,84.7 31.4,94.6 26.7,90.8 C21.9,87.0 30.5,73.9 26.1,66.4 C21.7,58.9 8.0,62.4 6.5,56.7 C5.0,51.1 16.5,48.3 19.4,40.7 C22.3,33.1 15.6,26.5 19.8,22.2 C24.1,17.9 31.2,25.8 38.6,21.2 C46.0,16.5 47.7,0.5 53.5,1.1Z'/%3E%3C/svg%3E"); --hov: var(--red); }
@media (hover: none) { .card-img::before { display: none; } }

/* MOTION: mosaico de loops */
.motion { background: #050505; color: var(--ivory); padding: 24px 24px 64px; }
.motion .section-header { border-color: rgba(254,255,227,.4); }
.motion-grid { columns: 5 220px; column-gap: 14px; padding-top: 28px; }
.m-item { margin: 0 0 14px; break-inside: avoid; aspect-ratio: var(--ar); background: #050505; overflow: hidden; border-radius: 2px; transition: transform 400ms cubic-bezier(.2,.8,.2,1); }
.m-item:nth-child(3n+2) { border-radius: 999px 999px 4px 4px; }
.m-item:nth-child(5n+4) { border-radius: 50%; }
.m-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-item:hover { transform: rotate(-2deg) scale(1.03); }
@media (max-width: 600px) { .motion { padding: 18px 14px 50px; } .motion-grid { columns: 2; column-gap: 8px; } .m-item { margin-bottom: 8px; } }
.design .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; }
.design .card-cap strong { font-size: clamp(20px, 1.7vw, 28px); }
@media (max-width: 900px) { .design .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================
   v9: layout especial de obra (teste em cosmogonia)
   ========================================================= */
.work-detail.is-case { background: var(--c-bg, #050505); }
.c-case { background: var(--c-bg); color: var(--c-ink); }
.work-detail.is-case .v-top { background: var(--c-bg); color: #050505; border-color: rgba(5,5,5,.25); }
.work-detail.is-case .v-btn, .work-detail.is-case .v-pn { color: #050505; }

.c-open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 5vw; align-items: center; padding: 6vh 5vw 10vh; min-height: calc(100svh - 56px); }
.c-title { margin: 0; font-weight: 400; font-size: clamp(64px, 10vw, 170px); line-height: .8; letter-spacing: -0.09em; }
.c-meta { margin: 28px 0 0; font-size: 15px; line-height: 1.35; }
.c-text p { margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35; max-width: 34ch; }
.c-shown { list-style: none; margin: 26px 0 0; padding: 0; max-width: 40ch; }
.c-shown li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(5,5,5,.3); font-size: 13px; }
.c-shown li span { font-family: var(--mono); font-size: 11px; }
.c-credit { font-family: var(--mono); font-size: 11px; opacity: .7; margin-top: 16px; }
.c-open-media { position: relative; margin: 0; justify-self: center; width: min(100%, 62vh); aspect-ratio: var(--ar); cursor: zoom-in; }
.c-open-media::before { content: ""; position: absolute; inset: 0; background: var(--c-pop); border-radius: 999px 999px 0 0; transform: translate(22px, 22px); }
.c-open-media video, .c-open-media img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 999px 999px 0 0; }

.c-band { background: var(--c-band); color: #feffe3; padding: 9vh 5vw 7vh; }
.c-band-row { display: flex; gap: 2vw; align-items: flex-end; justify-content: center; max-width: 1300px; margin: 0 auto; }
.c-band-row figure { margin: 0; aspect-ratio: var(--ar); min-width: 0; max-height: 78vh; overflow: hidden; cursor: zoom-in; }
.c-band-row figure:nth-child(2) { transform: translateY(-6vh); }
.c-band-row video, .c-band-row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-cap { text-align: center; font-family: var(--mono); font-size: 11px; margin: 28px 0 0; opacity: .7; }

.c-collage { padding: 9vh 5vw 12vh; position: relative; }
.c-label { font-family: var(--mono); font-size: 12px; margin: 0 0 3vh; }
.c-collage-box { position: relative; width: 100%; aspect-ratio: 16 / 13; }
.c-piece { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: var(--ar); margin: 0; transform: rotate(var(--r)); box-shadow: 14px 14px 0 rgba(5,5,5,.9); cursor: zoom-in; transition: transform 500ms cubic-bezier(.2,.8,.2,1); animation: bob 7s ease-in-out infinite; animation-delay: var(--d); }
.c-piece:hover { transform: rotate(0deg) scale(1.04); z-index: 3; }
.c-piece img, .c-piece video { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-piece.is-circle { border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--c-pop); animation: spin 40s linear infinite; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { transform: rotate(360deg); } }

.c-next { display: block; padding: 8vh 5vw 10vh; border-top: 1px solid rgba(5,5,5,.3); color: var(--c-ink); }
.c-next span { font-family: var(--mono); font-size: 12px; }
.c-next strong { display: block; font-weight: 400; font-size: clamp(56px, 9vw, 150px); letter-spacing: -0.09em; line-height: .85; margin-top: 10px; }
.c-next:hover strong { font-style: italic; }

@media (max-width: 900px) {
  .c-open { grid-template-columns: 1fr; min-height: 0; padding: 30px 18px 60px; }
  .c-open-media { width: 82%; }
  .c-band-row { flex-direction: column; align-items: center; }
  .c-band-row figure { width: 80%; flex: none !important; }
  .c-band-row figure:nth-child(2) { transform: none; }
  .c-collage-box { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .c-piece { position: static; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .c-piece { animation: none; } }
.c-solo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 4vw; padding: 10vh 5vw; }
.c-solo-media { grid-column: 2; position: relative; margin: 0; height: 84vh; aspect-ratio: var(--ar); cursor: zoom-in; }
.c-solo-media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--c-pop); left: -22%; top: 8%; z-index: 0; }
.c-solo-media::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; background: var(--c-bg); right: -16%; bottom: 10%; z-index: 0; transform: rotate(12deg); }
.c-solo-media video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.c-solo-cap { grid-column: 3; justify-self: start; font-family: var(--mono); font-size: 12px; margin: 0; max-width: 18ch; opacity: .8; }
@media (max-width: 900px) { .c-solo { grid-template-columns: 1fr; } .c-solo-media { grid-column: 1; height: auto; width: 78%; justify-self: center; } .c-solo-cap { grid-column: 1; justify-self: center; } }
/* colagem reta, sem inclinação */
.c-row { display: flex; gap: 2vw; align-items: center; margin-bottom: 2vw; }
.c-piece { position: relative; left: auto; top: auto; width: auto; transform: none; box-shadow: none; animation: none; min-width: 0; }
.c-piece:hover { transform: scale(1.02); }
.c-piece.is-circle { box-shadow: 0 0 0 10px var(--c-pop); animation: none; transform: scale(.9); }
.c-piece.is-circle video { animation: spin 40s linear infinite; }
.c-solo-media::after { transform: none; }
@media (max-width: 900px) { .c-row { flex-wrap: wrap; } .c-piece { flex: 1 1 40% !important; } }
.c-solo-cap { align-self: end; margin-bottom: 4vh; }
/* abertura mais diagramada */
.c-open { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6vw; padding: 9vh 6vw 12vh; min-height: 0; }
.c-open-text { padding-top: 2vh; }
.c-title { font-size: clamp(52px, 7.4vw, 128px); }
.c-open-media { width: auto; height: min(74vh, 760px); justify-self: end; }
.c-open-media::before { display: none; }
.c-solo { grid-template-columns: 1fr; justify-items: center; }
.c-solo-media { grid-column: 1; }
@media (max-width: 900px) { .c-open { grid-template-columns: 1fr; } .c-open-media { height: auto; width: 82%; justify-self: center; } }
/* tema escuro/claro automático e linhas */
.work-detail.is-case .v-top { color: var(--c-ink); }
.work-detail.is-case .v-btn, .work-detail.is-case .v-pn, .work-detail.is-case .v-pn a { color: var(--c-ink); }
.c-case .c-shown li { border-top-color: color-mix(in srgb, var(--c-ink) 30%, transparent); }
.c-next { border-top-color: color-mix(in srgb, var(--c-ink) 30%, transparent); }
.c-solo.is-land .c-solo-media { height: auto; width: min(100%, 1300px); }
.c-solo-media.f-seq img, .c-piece.f-seq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-solo-media.f-seq, .c-piece.f-seq { position: relative; overflow: hidden; }
.c-assets { padding-top: 0; }
.c-assets .c-row { gap: 1.4vw; margin-bottom: 1.4vw; }
.c-assets .c-piece { max-height: 44vh; }
.c-open-media img { object-fit: cover; }
.c-solo.is-land .c-solo-media::before, .c-solo.is-land .c-solo-media::after { display: none; }
.c-solo.is-land { padding: 12vh 5vw; }
.c-solo.is-land .c-solo-media { box-shadow: 0 0 0 10px var(--c-pop); }
.c-solo-media { max-width: 92vw; }

/* REEL logo abaixo da abertura */
.reel { position: relative; background: #050505; }
.reel video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; object-fit: cover; }
.reel-sound { position: absolute; right: 24px; bottom: 24px; border: 1px solid var(--ivory); background: rgba(5,5,5,.4); color: var(--ivory); font: 13px/1 Arial, Helvetica, sans-serif; text-transform: lowercase; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.reel-sound:hover { background: var(--ivory); color: #050505; }
.reel-label { position: absolute; left: 24px; bottom: 28px; color: var(--ivory); font-family: var(--mono); font-size: 11px; }

/* OBRAS: índice tipográfico */
.works-index { list-style: none; margin: 0; padding: 0 0 60px; }
.wix { display: grid; grid-template-columns: 56px minmax(0, 1fr) 160px 240px; gap: 20px; align-items: baseline; padding: 14px 0 10px; border-bottom: 1px solid var(--black); color: var(--black); transition: opacity 300ms ease; }
.wix-n { font-family: var(--mono); font-size: 11px; }
.wix-t { font-size: clamp(44px, 7vw, 120px); line-height: .9; letter-spacing: -0.08em; text-transform: lowercase; }
.wix-m, .wix-p { font-family: var(--mono); font-size: 11px; line-height: 1.4; text-transform: lowercase; }
.wix-thumb { display: none; }
.works-index.hovering .wix { opacity: .25; }
.works-index.hovering .wix.is-on { opacity: 1; }
.wi-float { position: fixed; left: 0; top: 0; z-index: 50; width: 30vw; max-width: 420px; pointer-events: none; opacity: 0; transition: opacity 250ms ease; margin: -14vw 0 0 2vw; }
.wi-float.on { opacity: 1; }
.wi-float img, .wi-float video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 14px 14px 0 var(--fbg, var(--orchid)); }
@media (hover: none), (max-width: 900px) {
  .wix { grid-template-columns: minmax(0, 1fr) 92px; grid-template-areas: "t th" "m th"; gap: 6px 14px; align-items: start; }
  .wix-n, .wix-p { display: none; }
  .wix-t { grid-area: t; font-size: clamp(36px, 11vw, 60px); }
  .wix-m { grid-area: m; }
  .wix-thumb { display: block; grid-area: th; }
  .wix-thumb img { width: 92px; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
  .wi-float { display: none; }
}
ol.works-index { display: block !important; grid-template-columns: none !important; gap: 0 !important; padding: 0 0 60px !important; }
ol.works-index > li { display: block; }
.wi-float { margin: -12vw 0 0 3vw; }
.wi-float { margin: -12vw 0 0 6vw; }
/* MOTION: mosaico reto, sem espaços */
.motion { padding-left: 0; padding-right: 0; }
.motion .section-header { margin: 0 24px; }
.motion-grid { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 33vw), 1fr)); gap: 0; padding-top: 24px; }
.m-item, .m-item:nth-child(3n+2), .m-item:nth-child(5n+4) { margin: 0; aspect-ratio: 1; border-radius: 0; }
.m-item:hover { transform: none; filter: saturate(1.25); }
@media (max-width: 600px) { .motion-grid { grid-template-columns: repeat(3, 1fr); } }
/* abertura só tipográfica */
.c-open.c-type { display: block; min-height: 0; padding: 12vh 5vw 10vh; }
.c-type .c-title { font-size: clamp(72px, 15vw, 260px); line-height: .78; letter-spacing: -0.09em; overflow-wrap: anywhere; }
.c-type-grid { display: grid; grid-template-columns: 1fr 2fr 1.4fr; gap: 4vw; margin-top: 7vh; align-items: start; }
.c-type .c-meta { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; }
.c-type .c-text p { margin: 0 0 16px; max-width: 40ch; font-size: clamp(18px, 1.6vw, 24px); }
.c-type .c-text p:first-child { margin-top: 0; }
.c-type .c-shown { margin-top: 0; }
@media (max-width: 900px) { .c-type-grid { grid-template-columns: 1fr; gap: 24px; } }

/* motion: faixa em loop, discreta */
.motion.mq { background: #050505; padding: 14px 0 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mq-label { font-size: 12px; letter-spacing: .08em; text-transform: lowercase; color: rgba(254,255,227,.55); padding: 0 24px; }
.mq-window { overflow: hidden; }
.mq-track { display: flex; width: max-content; gap: 0; animation: mq-run var(--mq-dur, 100s) linear infinite; }
.mq-window:hover .mq-track { animation-play-state: paused; }
.mq-item { margin: 0; height: clamp(120px, 16vw, 190px); aspect-ratio: var(--ar, 1); flex: none; cursor: pointer; overflow: hidden; }
.mq-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
.mq-window:hover .mq-item video { opacity: .55; }
.mq-window .mq-item:hover video { opacity: 1; }
@keyframes mq-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .mq-window { overflow-x: auto; } }
@media (max-width: 600px) { .mq-label { padding: 0 14px; } .mq-item { height: 110px; } }

/* textos corridos com maiúscula normal (interface segue minúscula) */
.c-text, .c-text *, .c-credit, .c-shown, .c-shown *, .c-meta,
.v-text, .v-text *, .v-shown, .v-shown *, .v-meta, .wd-credit,
.about-copy, .about-copy *, .about-list-block, .about-list-block * { text-transform: none !important; }

/* bichos: série de desenhos, discreta e reta */
.bichos { background: #050505; padding: 8px 24px 40px; }
.bichos-head { display: flex; gap: 10px; align-items: baseline; padding: 6px 0 12px; font-size: 12px; letter-spacing: .08em; color: rgba(254,255,227,.55); }
.bichos-y { opacity: .7; }
.bichos-grid { display: flex; flex-direction: column; gap: 8px; max-width: 1200px; }
.bichos-row { display: flex; gap: 8px; }
.bichos-row figure { margin: 0; min-width: 0; }
.bichos-row img { width: 100%; height: auto; display: block; }
@media (max-width: 600px) { .bichos { padding: 6px 14px 30px; } .bichos-row { gap: 6px; } .bichos-grid { gap: 6px; } }

.mq-rev .mq-track { animation-direction: reverse; }
.mq-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
.mq-window:hover .mq-item img { opacity: .55; }
.mq-window .mq-item:hover img { opacity: 1; }
.motion.mq { gap: 0; }
.mq-label { padding-bottom: 10px; }

.motion.mq { padding: 0; }

/* livro conceito: uma página por vez, as outras empilhadas atrás, vira como livro */
.c-book { padding: clamp(40px, 7vw, 110px) clamp(16px, 5vw, 80px); }
.bk { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 28px 28px 0; }
.bk-pages { position: relative; aspect-ratio: 16 / 9; perspective: 2200px; }
.bk-page { position: absolute; inset: 0; margin: 0; background: #000; cursor: pointer; transform-origin: left center; z-index: calc(100 - var(--k)); transform: translate(calc(min(var(--d, 0), 4) * 7px), calc(min(var(--d, 0), 4) * 7px)); box-shadow: 0 14px 34px rgba(0,0,0,.45); transition: transform .8s cubic-bezier(.6,.05,.3,1), opacity .5s ease .3s; backface-visibility: hidden; }
.bk-page img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-page.is-turned { transform: rotateY(-178deg); opacity: 0; pointer-events: none; }
.bk-nav { position: absolute; top: calc(50% - 14px); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--c-pop, #ffd23f); color: #050505; font-size: 26px; line-height: 1; cursor: pointer; z-index: 120; }
.bk-prev { left: -22px; } .bk-next { right: 6px; }
.bk-nav:disabled { opacity: .25; cursor: default; }
.bk-count { position: absolute; left: 0; bottom: -6px; margin: 0; font-size: 12px; letter-spacing: .08em; color: var(--c-ink, #feffe3); opacity: .7; }
@media (max-width: 700px) { .bk { padding: 0 14px 30px 0; } .bk-prev { left: -8px; } .bk-next { right: -4px; } .bk-nav { width: 36px; height: 36px; font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .bk-page { transition: none; } }

.c-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.c-links a { display: inline-block; font-size: 13px; letter-spacing: .04em; color: var(--c-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; text-transform: lowercase; }
.c-links a:hover { color: var(--c-pop); }

/* about: retrato maior, em cima do texto */
.about-top { grid-template-columns: 1fr !important; gap: 34px; }
.about-top .about-portrait-burst { width: min(620px, 100%) !important; margin: 0 auto 0 0; }
@media (max-width: 820px) { .about-top .about-portrait-burst { width: 100% !important; } }

.about-portrait-burst, .about-top .about-portrait-burst { aspect-ratio: 1 / 1 !important; }
.about-portrait-burst, .about-top .about-portrait-burst { aspect-ratio: auto !important; }
.about-photo { display: block; width: 100%; height: auto; box-shadow: 10px 8px 0 var(--orchid); }

/* about: mais respiro */
.about-panel-inner { padding: 28px clamp(28px, 4vw, 64px) 120px; }
.about-close { margin-bottom: 48px; }
.about-kicker { margin-bottom: 40px; }
.about-top { gap: 56px !important; margin-bottom: 96px; }
.about-top .about-portrait-burst { width: min(440px, 80%) !important; }
.about-copy { max-width: 34em; }
.about-copy p { line-height: 1.45; letter-spacing: -0.01em; margin: 0 0 1.1em; }
.about-list-block { padding-top: 28px; }
.about-list-block h2 { margin: 88px 0 28px; }
.about-list-block h2:first-child { margin-top: 0; }
.about-year { padding: 24px 0; gap: 28px; }
@media (max-width: 820px) { .about-top .about-portrait-burst { width: 100% !important; } }

/* obras: hover só muda a cor, sem miniatura */
#wi-float { display: none !important; }
.wix-t, .wix-m, .wix-p, .wix-n { transition: color 200ms ease; }
@media (hover: hover) { .wix:hover .wix-t, .wix:hover .wix-n, .wix:hover .wix-m, .wix:hover .wix-p { color: var(--orchid); } }

/* menu não estoura a largura no computador */
.nav-links { gap: clamp(12px, 1.5vw, 44px); flex-wrap: wrap; row-gap: 10px; }

/* e-mail do contato cabe no celular */
.contact-email { overflow-wrap: anywhere; }
@media (max-width: 700px) { .contact-email { font-size: clamp(18px, 7vw, 40px) !important; } }

/* obras: hover pinta a barra inteira */
.wix { transition: background 200ms ease, box-shadow 200ms ease; }
@media (hover: hover) {
  .wix:hover { background: var(--orchid); box-shadow: -16px 0 0 var(--orchid), 16px 0 0 var(--orchid); }
  .wix:hover .wix-t, .wix:hover .wix-n, .wix:hover .wix-m, .wix:hover .wix-p { color: var(--black); }
}

/* dica da seção: cursor no computador, dedo no celular */
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.tag-lantern { touch-action: pan-y; }

/* menu fixo no celular: quebra em linhas, nada sai da tela */
@media (max-width: 700px) {
  body.nav-fixed .nav { height: auto; padding: 8px 14px; }
  body.nav-fixed .nav-links { flex-wrap: wrap; gap: 6px 16px; }
  body.nav-fixed .lang-switch { margin-left: 0; }
}


/* LAIKA */
.laika { background: var(--lime); color: var(--black); padding: 0 0 56px; }
.laika-head { display: flex; justify-content: space-between; gap: 24px; padding: 22px 4vw 18px; border-bottom: 1px solid var(--black); font-size: 15px; }
.laika-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4vw; align-items: end; padding: 40px 4vw 0; }
.laika-ascii { margin: 0; font-family: var(--mono), monospace; font-size: clamp(5px, 0.62vw, 10px); line-height: 1.02; letter-spacing: 0.02em; color: var(--black); white-space: pre; overflow: hidden; }
.laika-game { position: relative; }
.laika-game canvas { display: block; width: 100%; height: clamp(260px, 30vw, 420px); touch-action: manipulation; cursor: pointer; }
.laika-score { position: absolute; top: 0; left: 0; margin: 0; font-family: var(--mono), monospace; font-size: 13px; }
.laika-msg { margin: 12px 0 0; min-height: 1.4em; font-size: clamp(16px, 1.6vw, 24px); letter-spacing: -0.02em; }
.laika-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 8px; }
.laika-text { margin: 0; font-size: clamp(20px, 2vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.laika-btn { border: 0; background: var(--black); color: var(--lime); font: inherit; font-size: 15px; padding: 14px 22px; border-radius: 999px; cursor: pointer; text-transform: lowercase; }
.laika-btn:hover { background: var(--orchid); color: var(--black); }
.laika-hint { margin: 0; font-family: var(--mono), monospace; font-size: 12px; text-transform: lowercase; }
@media (max-width: 820px) { .laika-body { grid-template-columns: 1fr; } .laika-ascii { font-size: 1.15vw; } }
.laika-ascii { font-size: clamp(6px, 1.2vw, 12px); }
.laika-game canvas + .laika-score { }
@media (max-width: 820px) { .laika-ascii { font-size: 2vw; } .laika-game canvas { height: 300px; } }
@media (max-width: 700px) { .contact-email { font-size: 6.2vw !important; overflow-wrap: normal; } }
.laika-ascii-wrap { position: relative; display: inline-block; justify-self: start; }
.laika-ascii-wrap::before { content: ""; position: absolute; left: 8%; right: 4%; top: 14%; bottom: -2%; border-radius: 50%; background: var(--orchid); z-index: 0; }
.laika-ascii-wrap .laika-ascii { position: relative; z-index: 1; font-size: clamp(7px, 1.25vw, 15px); }
.laika-ascii-wrap[hidden] { display: none; }
@media (max-width: 820px) { .laika-ascii-wrap .laika-ascii { font-size: 2.3vw; } }

/* laika em adesivos: fundo laranja chapado, recortes com borda lilás e linha preta */
.laika { background: var(--red); }
.laika-stickers { display: flex; align-items: flex-end; gap: 0; padding: 0; }
.laika-stickers::before { display: none; }
.laika-stickers .stk { display: block; height: auto; }
.laika-stickers .stk-body { width: min(46%, 380px); }
.laika-stickers .stk-face { width: min(40%, 320px); margin-left: -4%; margin-bottom: 12%; }
.laika-btn:hover { background: var(--lime); color: var(--black); }
.laika { background: #ff7a21; }

/* laika v3: palavra gigante + adesivo grande da carinha + ossinhos adesivo */
.laika-body { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; padding-top: 24px; }
.laika-stickers { position: relative; display: block; min-height: clamp(320px, 38vw, 560px); }
.laika-word { position: absolute; left: -0.04em; bottom: -0.12em; font-size: clamp(120px, 21vw, 360px); line-height: .8; letter-spacing: -0.09em; color: var(--black); z-index: 0; }
.laika-stickers .stk-face { position: absolute; z-index: 2; width: min(62%, 460px); right: 2%; top: 0; }
.laika-stickers .stk-bone { position: absolute; z-index: 3; width: clamp(70px, 8vw, 120px); }
.laika-stickers .b1 { left: 4%; top: 4%; }
.laika-stickers .b2 { right: 0; bottom: 8%; width: clamp(56px, 6vw, 90px); }
.laika-text { font-size: clamp(22px, 2.3vw, 36px); }
@media (max-width: 820px) { .laika-stickers { min-height: 92vw; } .laika-word { font-size: 30vw; } .laika-stickers .stk-face { width: 70%; } }
.laika-stickers { width: 100%; justify-self: stretch; }
@media (max-width: 820px) { .laika-body { grid-template-columns: 1fr; } .laika-stickers { min-height: 88vw; } }
.laika-text { font-size: clamp(20px, 1.9vw, 30px); line-height: 1.2; }

/* LAIKA HIPNOTIZANDO */
.laika { padding: 0; overflow: hidden; }
.laika-head { align-items: baseline; }
.mono-hint { font-family: var(--mono), monospace; font-size: 12px; }
.hypno { position: relative; height: clamp(620px, 62vw, 900px); cursor: pointer; }
.hypno-spiral { position: absolute; left: 50%; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.hypno-rot { transform-origin: 0 0; animation: hyspin 14s linear infinite; }
.hypno.is-on .hypno-rot { animation-duration: 2.2s; }
@keyframes hyspin { to { transform: rotate(-360deg); } }
.hy-face { position: absolute; left: 50%; top: 50%; width: min(30vw, 330px); transform: translate(-50%, -54%); z-index: 3; transition: transform 400ms ease; }
.hypno.is-on .hy-face { transform: translate(-50%, -54%) scale(1.08); }
.hy-s { position: absolute; z-index: 2; height: auto; transition: transform 600ms ease; }
.s1 { width: clamp(110px, 13vw, 200px); left: 4%; top: 8%; }
.s2 { width: clamp(100px, 11vw, 170px); right: 6%; top: 6%; }
.s3 { width: clamp(120px, 14vw, 220px); right: 3%; bottom: 20%; }
.s4 { width: clamp(100px, 11vw, 170px); left: 6%; bottom: 22%; }
.s5 { width: clamp(80px, 9vw, 140px); left: 24%; top: 4%; }
.b1 { width: clamp(60px, 6vw, 96px); right: 26%; top: 14%; }
.b2 { width: clamp(50px, 5vw, 80px); left: 20%; bottom: 14%; }
.hypno.is-on .hy-s { animation: hybob 1.1s ease-in-out infinite alternate; }
.hypno.is-on .s2, .hypno.is-on .s4, .hypno.is-on .b2 { animation-delay: -.55s; }
@keyframes hybob { to { translate: 0 -12px; } }
.hy-text { position: absolute; left: 4vw; bottom: 28px; max-width: 30em; margin: 0; z-index: 4; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.25; letter-spacing: -0.01em; }
.hy-spell { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: min(90%, 760px); margin: 0; z-index: 5; text-align: center; font-size: clamp(24px, 2.8vw, 44px); line-height: 1.05; letter-spacing: -0.04em; min-height: 1em; }
.hy-spell:empty { display: none; }
.hy-spell { background: var(--ivory); border: 2px solid var(--black); border-radius: 22px; padding: 10px 18px; width: auto; max-width: min(90%, 760px); }
.hy-btn { position: absolute; right: 4vw; bottom: 28px; z-index: 6; opacity: 0; pointer-events: none; transition: opacity 300ms ease; text-decoration: none; }
.hypno.is-done .hy-btn { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) {
  .hypno { height: 150vw; }
  .hypno-spiral { width: 112vw; top: 46%; }
  .hy-face { width: 52vw; top: 46%; }
  .s1 { left: 2%; top: 3%; } .s2 { right: 2%; top: 3%; } .s3 { right: 1%; bottom: 26%; } .s4 { left: 1%; bottom: 27%; } .s5 { display: none; }
  .hy-text { left: 5vw; right: 5vw; bottom: 16px; font-size: 15px; }
  .hy-spell { bottom: 17%; font-size: 22px; }
  .hy-btn { right: auto; left: 5vw; bottom: auto; top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hypno-rot, .hypno.is-on .hy-s { animation: none; } }
.hy-spell { bottom: 17%; }
@media (max-width: 760px) { .hy-spell { bottom: 24%; } }

/* LAIKA v4: espiral de texto + terceiro olho */
.hypno { height: clamp(560px, 56vw, 860px); }
.hypno-spiral, .hy-spell, .hy-btn, .b1, .b2, .s5 { display: none !important; }
.hy-spiral { position: absolute; left: 50%; top: 50%; width: min(64vw, 820px); aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }
.hy-rot { transform-origin: 0 0; animation: hyspin 40s linear infinite; }
.hypno.is-on .hy-rot { animation-duration: 6s; }
.hy-spiral text { font-family: "Sora", Arial, sans-serif; font-weight: 800; font-size: 44px; letter-spacing: -0.02em; text-transform: uppercase; fill: var(--black); }
.hy-center { position: absolute; left: 50%; top: 50%; width: min(26vw, 300px); transform: translate(-50%, -50%); z-index: 3; transition: transform 500ms ease; }
.hypno.is-on .hy-center { transform: translate(-50%, -50%) scale(1.07); }
.hy-center .hy-face { position: static; width: 100%; transform: none; }
.third-eye { position: absolute; left: 57%; top: 19%; width: 19%; transform: translateX(-50%); overflow: visible; }
.te-lid { transform-box: fill-box; transform-origin: center; animation: teblink 4.2s infinite; }
.hypno.is-on .te-lid { animation: none; }
@keyframes teblink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.06); } }
.hy-s { width: clamp(100px, 11vw, 180px) !important; }
.s1 { left: 3%; top: 6%; right: auto; bottom: auto; } .s2 { right: 3%; top: 6%; left: auto; bottom: auto; }
.s3 { right: 3%; bottom: 6%; top: auto; left: auto; } .s4 { left: 3%; bottom: 6%; top: auto; right: auto; }
.hy-foot { display: flex; justify-content: space-between; align-items: center; gap: 4vw; padding: 26px 4vw 32px; border-top: 1px solid var(--black); }
.hy-foot .hy-text { position: static; max-width: 46em; font-size: clamp(16px, 1.3vw, 21px); margin: 0; }
.hy-foot .laika-btn { flex: none; text-decoration: none; }
@media (max-width: 760px) {
  .hypno { height: 118vw; }
  .hy-spiral { width: 104vw; }
  .hy-center { width: 40vw; }
  .hy-s { width: 22vw !important; }
  .hy-spiral text { font-size: 50px; }
  .hy-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .hy-rot, .te-lid { animation: none; } }
.hy-center { width: min(22vw, 270px); }
.third-eye { left: 48%; top: 15%; width: 16%; }
@media (max-width: 760px) { .hy-center { width: 34vw; } }
/* laika fica parada no centro; espiral mais lenta; terceiro olho só segue o cursor */
.hypno.is-on .hy-center { transform: translate(-50%, -50%); }
.hy-rot { animation-duration: 80s; }
.hypno.is-on .hy-rot { animation-duration: 24s; }
.te-lid, .hypno.is-on .te-lid { animation: none !important; }
.hypno .hy-center .hy-face, .hypno.is-on .hy-center .hy-face { transform: none !important; position: static !important; }

/* laika piscando: pálpebras chapadas sobre os olhos */
.lid { position: absolute; z-index: 2; border-radius: 50%; background: #6b4634; transform-origin: 50% 0; transform: scaleY(0); animation: lblink 4s infinite; pointer-events: none; }
.lid-l { left: 32.2%; top: 25.1%; width: 7.4%; height: 5.6%; background: #7a5a44; }
.lid-r { left: 56.6%; top: 24.3%; width: 8%; height: 5.8%; background: #6a3d2e; }
@keyframes lblink { 0%, 88%, 100% { transform: scaleY(0); } 91%, 93% { transform: scaleY(1); } 96% { transform: scaleY(0); } }
.third-eye { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .lid { animation: none; } }
/* mais adesivos em volta + piscada mais rápida e fofa */
.s7 { left: 13%; top: 38%; width: clamp(90px, 10vw, 160px) !important; }
.s8 { right: 13%; top: 36%; width: clamp(70px, 7.5vw, 120px) !important; }
.hypno.is-on .s7 { animation-delay: -.3s; } .hypno.is-on .s8 { animation-delay: -.8s; }
.lid { animation: lblink 2.6s infinite; }
@keyframes lblink { 0%, 78%, 100% { transform: scaleY(0); } 81% { transform: scaleY(1); } 84% { transform: scaleY(0); } 88% { transform: scaleY(1); } 91% { transform: scaleY(0); } }
@media (max-width: 760px) { .s7 { left: 1%; top: 40%; width: 18vw !important; } .s8 { right: 1%; top: 38%; width: 13vw !important; } }

/* DESIGN em painel lateral (abre pelo menu) */
.design-scrim { position: fixed; inset: 0; z-index: 199; background: rgba(5,5,5,.35); opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
.design-panel { position: fixed; z-index: 200; top: 0; right: 0; width: min(72vw, 1100px); height: 100svh; background: var(--ivory); color: var(--black); border-left: 1px solid var(--black); transform: translateX(102%); transition: transform 420ms cubic-bezier(.19, 1, .22, 1); overflow: hidden; }
.design-panel-inner { height: 100%; overflow-y: auto; padding: 22px 0 60px; }
.design-panel .about-close { margin: 0 28px 10px auto; }
.design-panel .live.design { padding-top: 0; }
body.design-is-open { overflow: hidden; }
body.design-is-open .design-panel { transform: none; }
body.design-is-open .design-scrim { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) { .design-panel { width: 100vw; } }
/* piscada mais lenta e fofa: ~3s aberta, fecha devagar e abre devagar */
.lid { animation: lblink2 3.6s ease-in-out infinite; }
@keyframes lblink2 { 0%, 83%, 100% { transform: scaleY(0); } 89%, 92% { transform: scaleY(1); } 99% { transform: scaleY(0); } }

/* piscada: de volta à primeira versão */
.lid { overflow: visible; border-radius: 50% !important; transform-origin: 50% 0; transform: scaleY(0); animation: lblinkV1 4s infinite !important; }
.lid::before, .lid::after { content: none !important; animation: none !important; }
.lid-l { left: 32.2%; top: 25.1%; width: 7.4%; height: 5.6%; background: #7a5a44 !important; }
.lid-r { left: 56.6%; top: 24.3%; width: 8%; height: 5.8%; background: #6a3d2e !important; }
@keyframes lblinkV1 { 0%, 88%, 100% { transform: scaleY(0); } 91%, 93% { transform: scaleY(1); } 96% { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .lid { animation: none !important; } }


/* contato: cursor de varinha mágica + faíscas */
.contact, .contact * { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2236%22%20height%3D%2256%22%20viewBox%3D%220%200%2036%2056%22%3E%3Crect%20x%3D%2215%22%20y%3D%2220%22%20width%3D%226%22%20height%3D%2234%22%20rx%3D%222%22%20fill%3D%22%23050505%22/%3E%3Crect%20x%3D%2215%22%20y%3D%2244%22%20width%3D%226%22%20height%3D%226%22%20fill%3D%22%23feffe3%22/%3E%3Cpath%20d%3D%22M18%201%20L22%2012%20L34%2012%20L24.5%2019%20L28%2031%20L18%2023.5%20L8%2031%20L11.5%2019%20L2%2012%20L14%2012%20Z%22%20fill%3D%22%23c9ff46%22%20stroke%3D%22%23050505%22%20stroke-width%3D%222.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") 18 2, auto !important; }
.wand-spark { position: fixed; z-index: 9999; pointer-events: none; color: var(--lime); font-size: 16px; line-height: 1; transform: translate(-50%, -50%); animation: wandSpark .9s ease-out forwards; -webkit-text-stroke: 1px #050505; }
@keyframes wandSpark { to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.4); } }
@media (prefers-reduced-motion: reduce) { .wand-spark { display: none; } }


/* LAIKA: cursor de patinha + rastro de pegadas */
.laika .hypno, .laika .hypno * { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cg%20fill%3D%22%23050505%22%20stroke%3D%22%23feffe3%22%20stroke-width%3D%221.5%22%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2227%22%20rx%3D%229%22%20ry%3D%228%22/%3E%3Cellipse%20cx%3D%229%22%20cy%3D%2217%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3Cellipse%20cx%3D%2216%22%20cy%3D%2210%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2210%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3Cellipse%20cx%3D%2231%22%20cy%3D%2217%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3C/g%3E%3C/svg%3E") 20 20, auto !important; }
.paw-print { position: absolute; z-index: 1; width: 26px; height: 26px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cg%20fill%3D%22%23050505%22%20stroke%3D%22%23feffe3%22%20stroke-width%3D%221.5%22%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2227%22%20rx%3D%229%22%20ry%3D%228%22/%3E%3Cellipse%20cx%3D%229%22%20cy%3D%2217%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3Cellipse%20cx%3D%2216%22%20cy%3D%2210%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2210%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3Cellipse%20cx%3D%2231%22%20cy%3D%2217%22%20rx%3D%224%22%20ry%3D%225%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; transform: translate(-50%, -50%); animation: pawFade 1.6s ease-out forwards; }
@keyframes pawFade { 0% { opacity: .9; } 100% { opacity: 0; } }

/* OBRAS: cursor vira a pílula "ver →" */
.view-pill { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--black); color: var(--lime); font-size: 14px; line-height: 1; white-space: nowrap; transform: translate(-50%, -50%) scale(0); transition: transform 160ms ease; }
.view-pill.on { transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) { #works-grid .wix, #works-grid .wix * { cursor: none !important; } }
.paw-print { width: 34px; height: 34px; z-index: 4; }
/* sem patinha: volta o cursor normal na seção da laika */
.laika .hypno, .laika .hypno * { cursor: auto !important; }
.paw-print { display: none !important; }

/* seção das palavras sem a nuvem amarela: palavras visíveis no céu, chapadas */
.green-reveal { display: none !important; }
.tag-field { mask: none !important; -webkit-mask: none !important; color: var(--ivory); }
.tag-field span { transition: color 200ms ease; }
.tag-field span.near { color: var(--lime); }
.what-header .hint-mouse, .what-header .hint-touch { display: none !important; }
.tag-lantern { cursor: default; }

/* velocidade da espiral controlada pelo script (sem pulo) */
.hypno.is-on .hy-rot { animation-duration: 80s; }
