.hero-canvas {
  --round-layer-height: 188px;
  --round-layer-bottom: -142px;
  --round-layer-top-offset: calc(var(--round-layer-height) + var(--round-layer-bottom));
  position: relative;
  background: var(--paper);
  height: 86vh;
  min-height: 620px;
  overflow: visible;
  isolation: isolate;
}

.photo-mat {
  position: absolute;
  left: 39%;
  top: 6%;
  width: 35%;
  height: 88%;
  background: #e9e9e9;
  z-index: 0;
}

.photo-layer {
  position: absolute;
  inset: 0;
  /* Permite o topo sair do canvas, mas corta qualquer sobra abaixo do round-layer. */
  clip-path: inset(-420px 0 calc(var(--round-layer-bottom) + 2px) 0);
  --hero-single-top: 3%;
  --hero-single-left: 42%;
  --hero-single-height: 116%;
  --hero-single-width: auto;
  --hero-single-shift-y: -112px;
  --hero-single-clip-bottom: 30px;
  --hero-photo-left: 44%;
  --hero-photo-shift-x: 100px;
  --hero-photo-height: 138%;
  --hero-body-bottom-anchor: var(--round-layer-top-offset);
  --hero-body-scale: 0.94;
  --hero-photo-clip-bottom: 30px;
  --forearm-top: 26%;
  --forearm-left: 9%;
  --forearm-height: 78%;
  --forearm-scale: 0.92;
  --forearm-shift-x: 0px;
  --forearm-shift-y: -12px;
  --forearm-origin: 26% 82%;
  --forearm-angle-a: -9deg;
  --forearm-angle-b: 6deg;
  --forearm-duration: 2.9s;
}

.photo-layer .hero-single,
.photo-layer .hero-body,
.photo-layer .hero-forearm {
  position: absolute;
  width: auto;
  pointer-events: none;
  filter: grayscale(1) brightness(0.68) contrast(1.15);
  will-change: transform;
}

.photo-layer .hero-single {
  display: none;
  top: var(--hero-single-top);
  left: var(--hero-single-left);
  width: var(--hero-single-width);
  height: var(--hero-single-height);
  transform: translate(-50%, var(--hero-single-shift-y));
  clip-path: inset(0 0 var(--hero-single-clip-bottom) 0);
}

.photo-layer .hero-body {
  top: auto;
  left: var(--hero-photo-left);
  bottom: calc(var(--hero-body-bottom-anchor) - var(--hero-photo-clip-bottom));
  height: var(--hero-photo-height);
  transform: translate(calc(-50% + var(--hero-photo-shift-x)), 0) scale(var(--hero-body-scale));
  clip-path: inset(0 0 var(--hero-photo-clip-bottom) 0);
}

.photo-layer .hero-forearm {
  top: var(--forearm-top);
  left: var(--forearm-left);
  height: var(--forearm-height);
  transform-origin: var(--forearm-origin);
  animation: forearmSwing var(--forearm-duration) ease-in-out infinite alternate;
}

:root[data-hero-image-mode="split"] .photo-layer.is-split-synced {
  --forearm-scale: 1;
  --forearm-shift-x: 0px;
  --forearm-shift-y: 0px;
  --forearm-angle-a: -5deg;
  --forearm-angle-b: 4deg;
}

:root[data-hero-image-mode="split"] .photo-layer.is-split-synced .hero-body {
  top: var(--split-body-top);
  left: var(--split-body-left);
  bottom: auto;
  width: var(--split-body-width);
  height: auto;
  transform: translate3d(0, 0, 0);
}

:root[data-hero-image-mode="split"] .photo-layer.is-split-synced .hero-forearm {
  top: var(--split-arm-top);
  left: var(--split-arm-left);
  width: var(--split-arm-width);
  height: auto;
  transform-origin: var(--split-arm-origin-x, 30%) var(--split-arm-origin-y, 84%);
}

:root[data-hero-image-mode="single"] .photo-layer .hero-single {
  display: block;
  visibility: visible;
  opacity: 1;
}

:root[data-hero-image-mode="single"] .photo-layer .hero-body,
:root[data-hero-image-mode="single"] .photo-layer .hero-forearm {
  display: none;
}

:root[data-hero-image-mode="split"] .photo-layer .hero-single {
  display: block;
  visibility: hidden;
  opacity: 0;
}

:root[data-hero-image-mode="split"] .photo-layer .hero-body,
:root[data-hero-image-mode="split"] .photo-layer .hero-forearm {
  display: block;
}

@keyframes forearmSwing {
  from {
    transform: translate(var(--forearm-shift-x), var(--forearm-shift-y)) rotate(var(--forearm-angle-a)) scale(var(--forearm-scale));
  }

  to {
    transform: translate(calc(var(--forearm-shift-x) + 2px), calc(var(--forearm-shift-y) - 2px)) rotate(var(--forearm-angle-b)) scale(var(--forearm-scale));
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-layer .hero-forearm {
    animation: none;
    transform: translate(var(--forearm-shift-x), var(--forearm-shift-y)) rotate(var(--forearm-angle-a)) scale(var(--forearm-scale));
  }
}

.name-stack {
  position: absolute;
  left: clamp(48px, 5.1vw, 76px);
  top: clamp(74px, 8vw, 102px);
}

.name-top-wrap {
  position: relative;
  width: fit-content;
  left: 0;
  top: 0;
  will-change: left, top;
}

.hero-name {
  margin: 0;
  color: #ffffff;
  mix-blend-mode: difference;
  font-size: clamp(5.45rem, 11.3vw, 10.8rem);
  line-height: 0.86;
  letter-spacing: -0.046em;
  font-weight: 700;
}

.hero-name.first {
  margin-left: clamp(34px, 2.7vw, 58px);
}

.hero-name.last {
  margin-left: clamp(420px, 33vw, 620px);
}

.typing-caret {
  display: inline-block;
  width: 0.085em;
  height: 0.84em;
  margin-left: 0.045em;
  vertical-align: -0.018em;
  background: currentColor;
  opacity: 1;
  animation: blink 1.05s linear infinite;
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.editor-outline {
  position: absolute;
  inset: -11px -13px -9px -13px;
  border: 3px solid var(--accent);
  pointer-events: none;
  z-index: 3;
}

.handle {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--accent);
  background: var(--paper);
}

.handle.tl {
  top: -11px;
  left: -11px;
}

.handle.tc {
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
}

.handle.tr {
  top: -11px;
  right: -11px;
}

.handle.cl {
  top: 50%;
  left: -11px;
  transform: translateY(-50%);
}

.handle.cr {
  top: 50%;
  right: -11px;
  transform: translateY(-50%);
}

.handle.bl {
  bottom: -11px;
  left: -11px;
}

.handle.bc {
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
}

.handle.br {
  bottom: -11px;
  right: -11px;
}

.role-copy {
  position: absolute;
  right: clamp(150px, 11vw, 182px);
  bottom: clamp(220px, 27%, 294px);
  z-index: 10;
  background: #e4e4e4;
}

.role-line {
  margin: 0;
  color: var(--dark-text);
  font-size: clamp(0.96rem, 1.6vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
}

.chip {
  display: inline-block;
  background: #1f242c;
  color: var(--accent);
  padding: 0 0.16em;
  line-height: 1;
}

.chip.fullstack {
  font-weight: 800;
}

.bottom-cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
  z-index: 8;
}

.bottom-cut span {
  position: absolute;
  left: 50%;
  bottom: -44px;
  color: #10c893;
  white-space: nowrap;
  font-size: clamp(7rem, 14vw, 12rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  transform: translateX(-50%) scaleX(1.55);
}

.round-layer {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: var(--round-layer-bottom);
  height: var(--round-layer-height);
  background: var(--bg);
  border-radius: 60px 60px 0 0;
  isolation: isolate;
  z-index: 9;
}

.round-layer::before {
  content: "";
  position: absolute;
  left: 38px;
  right: 38px;
  top: -26px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(26, 36, 49, 0.62) 0%,
    rgba(26, 36, 49, 0.36) 48%,
    rgba(26, 36, 49, 0) 100%
  );
  filter: blur(16px);
  pointer-events: none;
  z-index: -1;
}

.round-intro {
  --round-intro-shift: 30px;
  position: absolute;
  left: 50%;
  top: 57%;
  transform: translate(-50%, calc(-50% + var(--round-intro-shift)));
  width: min(96%, 960px);
  text-align: center;
  color: #f5f5f5;
}

.round-title {
  margin: 0;
  font-size: clamp(1.42rem, 3vw, 2.88rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.round-highlight {
  --rh-padding-bottom: 8px;
  --rh-line-thickness: 6px;
  --rh-arrow-width: 72px;
  --rh-arrow-top: 0px;
  --rh-arrow-overlap: 8px;
  position: relative;
  display: inline-block;
  padding-bottom: var(--rh-padding-bottom);
}

.round-highlight--plain {
  margin-right: 0.2em;
}

.round-highlight-text {
  display: inline-block;
}

.round-highlight-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--rh-line-thickness);
  background: var(--accent);
  border-radius: 100px;
}

.round-highlight-svg {
  position: absolute;
  left: calc(100% - var(--rh-arrow-overlap));
  top: var(--rh-arrow-top);
  display: block;
  width: var(--rh-arrow-width);
  height: auto;
  shape-rendering: geometricPrecision;
  overflow: visible;
}

.round-highlight-svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: var(--rh-line-thickness);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.round-highlight-svg .arrow-head {
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 3;
}

.round-subtitle {
  margin: clamp(8px, 1vw, 14px) auto 0;
  width: min(92%, 760px);
  font-size: clamp(0.82rem, 1.1vw, 1.18rem);
  font-weight: 400;
  line-height: 1.3;
  color: rgba(245, 245, 245, 0.92);
}

.clip-system {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.hero-mobile-kicker {
  display: none;
}

.hero-mobile-stack {
  display: none;
}

.decor-cursor {
  position: absolute;
  right: 4%;
  bottom: 58px;
  width: 112px;
  margin-top: 0;
  pointer-events: none;
  z-index: 11;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  will-change: transform;
}

.block-1 {
  margin-bottom: clamp(220px, 24vh, 320px);
}

