@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  ::view-transition-group(root),
  ::view-transition-group(project-media) {
    animation-duration: .65s;
    animation-timing-function: cubic-bezier(.22, .7, .26, 1);
  }

  :root:active-view-transition-type(project-entry)::view-transition {
    background: #000;
  }

  :root:active-view-transition-type(project-entry)::view-transition-group(project-media) {
    z-index: 1;
    animation-delay: .22s;
    animation-fill-mode: both;
  }

  :root:active-view-transition-type(project-entry)::view-transition-old(root) {
    animation: project-entry-fade-out .28s ease-in both;
    mix-blend-mode: normal;
  }

  :root:active-view-transition-type(project-entry)::view-transition-new(root) {
    animation: project-entry-fade-in .44s ease-out .87s both;
    mix-blend-mode: normal;
  }
}

@keyframes project-entry-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes project-entry-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Each palette is shared by the work rail and its case page. */
.opening { --project-bg: #faf6ee; }
.theme-depth {
  --project-bg: #101939;
  --project-ink: #eff3ff;
  --project-accent: #9cbdff;
}
.theme-motion {
  --project-bg: #211a12;
  --project-ink: #fff4d9;
  --project-accent: #ffd567;
}
.theme-opportunity {
  --project-bg: #263466;
  --project-ink: #f0f4ff;
  --project-accent: #a5e8fd;
}

.work-pin { background: var(--paper); overflow: clip; }

.work-pin .opening .welcome-title,
.work-pin .opening .welcome-title:hover {
  width: 76%;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: var(--orange);
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  font-size: clamp(64px, min(17vw, 21svh), 215px);
  line-height: .88;
}
.welcome-word { display: flex; justify-content: center; }
.welcome-word + .welcome-word { color: #ed970e; }
.welcome-letter { position: relative; display: inline-block; }

.welcome-glyph { display: block; }
.welcome-effects { display: none; }

@media (prefers-reduced-motion: no-preference) and (any-hover: hover) and (any-pointer: fine) {
  .welcome-word { width: max-content; margin-inline: auto; user-select: none; }
  .welcome-glyph {
    transform-origin: center 74%;
    pointer-events: none;
  }
  .welcome-ready .welcome-word { pointer-events: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .work-track { --welcome-length: 64svh; }
  .opening { perspective: 950px; }

  .welcome-ready .welcome-letter,
  .opening:not(.welcome-frames-visible) .orbit { opacity: 0; }

  .welcome-playing .welcome-letter {
    animation: welcome-letter-in 820ms cubic-bezier(.22, .65, .34, 1) both;
    animation-delay: calc(48ms * var(--order));
    transform-origin: center 72%;
  }
  .welcome-letter:nth-child(even) { --letter-tilt: 14deg; }
  .welcome-word + .welcome-word .welcome-letter { --letter-offset: .52em; }

  .welcome-frames-visible .orbit {
    animation: welcome-frame-in 950ms cubic-bezier(.17, .75, .32, 1) both;
    animation-delay: calc(65ms * var(--frame-order));
  }
  .opening .orbit-1 { --frame-order: 1; }
  .opening .orbit-2 { --frame-order: 2; }
  .opening .orbit-3 { --frame-order: 3; }
  .opening .orbit-4 { --frame-order: 4; }
  .opening .orbit-5 { --frame-order: 5; }
  .opening .orbit-6 { --frame-order: 6; }

  .welcome-playing .welcome-effects {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 4;
    pointer-events: none;
  }
  .welcome-effects span {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 7px;
    height: 7px;
    color: var(--orange);
    background: currentColor;
    animation: welcome-particle 920ms cubic-bezier(.24, .51, .42, 1) var(--delay) both;
  }
  .welcome-effects span:nth-child(even) { color: #ed970e; }
  .welcome-effects span::before {
    content: "";
    position: absolute;
    top: 2px;
    right: 3px;
    width: min(var(--trail), 15vw);
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor);
  }
}

@keyframes welcome-letter-in {
  0% { opacity: 0; transform: translateY(var(--letter-offset, -.48em)) rotate(var(--letter-tilt, -14deg)) scale(.7, .48); }
  32% { opacity: 1; transform: translateY(-.07em) rotate(-3deg) scale(.84, 1.34); }
  52% { transform: translateY(.035em) rotate(2deg) scale(1.13, .81); }
  73% { transform: translateY(-.018em) rotate(-1deg) scale(.96, 1.09); }
  100% { opacity: 1; transform: none; }
}

@keyframes welcome-frame-in {
  from { opacity: 0; translate: 0 0 -950px; }
  to { opacity: 1; translate: 0 0 0; }
}

@keyframes welcome-particle {
  0% { opacity: 0; transform: rotate(var(--angle)) scale(.75); }
  22% { opacity: .85; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--angle)) scale(.55); }
}

.work-progress { color: var(--work-ink, var(--ink)); pointer-events: none; }
body.work-dark > header { color: #fff; }
body.work-dark > header:has(.menu-toggle[aria-expanded="true"]) { color: var(--ink); }

.work-depth-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--depth-presence, 0);
}
.work-depth-surface {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(140px, 32vh, 350px);
  background: url('./depth-surface.svg') center top / cover no-repeat,
              radial-gradient(ellipse at 53% 0%, #83edff6b, #3bafff30 34%, transparent 72%);
  mask-image: linear-gradient(#000 10%, transparent 96%),
              linear-gradient(to right, transparent, #000 17% 83%, transparent);
  mask-composite: intersect;
  opacity: .68;
}
.work-depth-stone {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: clamp(26px, var(--size), 155px);
  height: auto;
  opacity: .78;
  transform: translate3d(calc(-50% + var(--depth-offset, 0) * var(--depth) * 12vw),
                        calc(-50% + var(--depth-offset, 0) * var(--depth) * 13vh), 0)
             rotate(calc(var(--angle) + var(--depth-offset, 0) * var(--depth) * 14deg));
}

@media (prefers-reduced-motion: no-preference) {
  .work-depth-stone {
    animation: work-depth-drift 8s ease-in-out -2s infinite alternate;
  }
  .work-depth-stone:nth-of-type(even) {
    animation-duration: 11s;
    animation-delay: -7s;
    animation-direction: alternate-reverse;
  }
  .work-depth-stone:nth-of-type(3n) {
    animation-duration: 13s;
    animation-delay: -5s;
  }
}

@keyframes work-depth-drift {
  from { translate: -4px 5px; rotate: -2deg; }
  to { translate: 5px -6px; rotate: 2deg; }
}

.work-pin .orbit { transition: opacity .25s ease; }
.work-depth .work-pin .orbit { opacity: 0; }

.project-scene { color: var(--project-ink); }
.project-scene .project-title {
  width: 90%;
  top: 42%;
  white-space: normal;
  text-transform: uppercase;
  text-shadow: 0 2px 20px #080b18b3, 0 1px 4px #080b18b3;
  font-size: clamp(44px, min(11vw, 15svh), 156px);
}
.scene .project {
  display: block;
  max-width: 84svh;
}
.scene .project-entry-poster { background: #000 var(--entry-poster) center / cover no-repeat; }
.project-entry-poster video { visibility: hidden; }
.project-scene .orbit {
  aspect-ratio: 1;
  box-shadow: 0 10px 32px #080b1840;
}
.project-scene .orbit-1 { top: 21%; }
.project-scene .orbit-2 { top: 57%; }
.project-scene .scene-meta {
  bottom: max(52px, 10%);
  font-size: 13px;
  align-items: end;
}
.scene-kicker, .case-kicker {
  display: block;
  color: var(--project-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}
.scene-meta p { max-width: 43ch; margin: 8px 0 0; line-height: 1.5; }
.scene-meta a, .case-link {
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
  padding-bottom: 5px;
}
.scene-meta a:hover, .case-link:hover, .case-next a:hover { color: var(--project-accent); }

body.case-page {
  height: auto;
  min-height: 100vh;
  background: var(--project-bg);
  color: var(--project-ink);
}
.case-page a:focus-visible { outline-color: var(--project-accent); }
.case-header {
  position: static;
  align-items: center;
  border-bottom: 1px solid #ffffff30;
}
.case-header .case-link, .case-footer .case-link { font-size: 12px; }
.case-main { width: min(88%, 1260px); margin-inline: auto; }
.case-intro { padding: clamp(50px, 9vw, 120px) 0 clamp(24px, 4vw, 52px); }
.case-intro h1, .case-copy h2, .case-next strong {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.035em;
}
.case-intro h1 {
  margin: 14px 0 20px;
  font-size: clamp(58px, 13vw, 172px);
  text-transform: uppercase;
}
.case-intro p, .case-copy p {
  max-width: 57ch;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.65;
  margin: 0;
}
.case-film {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0b13;
  object-fit: contain;
}
.case-copy, .case-next {
  border-top: 1px solid #ffffff30;
  margin-top: clamp(48px, 8vw, 112px);
  padding-top: clamp(20px, 4vw, 54px);
}
.case-copy { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.case-copy h2 { font-size: clamp(40px, 7vw, 82px); margin-bottom: 14px; }
.case-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1/-1;
  gap: clamp(12px, 3vw, 34px);
  margin-top: 12px;
}
.case-frames img { display: block; width: 100%; height: auto; }
.case-credits { margin: 0; }
.case-credits div { display: flex; flex-wrap: wrap; gap: 5px 20px; padding: 10px 0; }
.case-credits dt { flex-basis: 7rem; color: var(--project-accent); }
.case-credits dd { margin: 0; }
.case-next a { display: inline-grid; gap: 12px; padding-bottom: 10px; }
.case-next strong { font-size: clamp(44px, 8vw, 104px); }
.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(48px, 8vw, 100px);
  border-top: 1px solid #ffffff30;
  padding: 24px 6%;
}

@media (max-width: 700px) {
  .project-scene .project-title { top: 42%; font-size: clamp(42px, 13vw, 82px); }
  .project-scene .orbit-1 { top: 23%; }
  .project-scene .orbit-2 { top: 56%; }
  .project-scene .scene-meta { font-size: 12px; gap: 12px; align-items: start; }
  .scene-meta p { margin-top: 5px; }
  .scene-meta a { align-self: end; }
  .case-copy, .case-frames { grid-template-columns: 1fr; }
  .case-copy { gap: 12px; }
}

@media (max-height: 490px) and (orientation: landscape) {
  .project-scene .scene-meta { bottom: 36px; }
  .project-scene .orbit { max-width: 21svh; }
  .scene .project { max-width: 72svh; }
  .work-progress { bottom: 10px; }
}

.project-title a { pointer-events: auto; }
.project-title a:hover { color: var(--project-accent); }
@media (prefers-reduced-motion: reduce) {
  .project-motion-frame { display: none; }
}

/* A Profundeza */
.case-page.depth-case {
  background: radial-gradient(ellipse at 62% 14%, #19275a 0, transparent 36%), var(--project-bg);
  overflow-x: clip;
}
.depth-case .case-main {
  position: relative;
  isolation: isolate;
}
.depth-field {
  --case-gutter: max(6%, (100% - 1260px) / 2);
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: clip;
  z-index: -1;
  pointer-events: none;
}
.depth-stone {
  position: absolute;
  top: var(--stone-top);
  width: clamp(52px, var(--stone-size), 190px);
  height: auto;
  overflow: visible;
  opacity: var(--stone-opacity, .72);
  transform: translate3d(0, var(--stone-y, 0px), 0) rotate(calc(var(--stone-angle) + var(--stone-turn, 0deg)));
}
.depth-stone:nth-child(1) { --stone-top: 2%; --stone-size: 12vw; --stone-angle: -16deg; right: calc(var(--case-gutter) - 2%); }
.depth-stone:nth-child(2) { --stone-top: 13%; --stone-size: 8vw; --stone-angle: 16deg; left: calc(var(--case-gutter) - 5%); }
.depth-stone:nth-child(3) { --stone-top: 31%; --stone-size: 9vw; --stone-angle: 24deg; right: calc(var(--case-gutter) - 6%); }
.depth-stone:nth-child(4) { --stone-top: 39%; --stone-size: 12vw; --stone-angle: -17deg; left: calc(var(--case-gutter) - 8%); }
.depth-stone:nth-child(5) { --stone-top: 51%; --stone-size: 8vw; --stone-angle: 7deg; right: calc(var(--case-gutter) - 7%); }
.depth-stone:nth-child(6) { --stone-top: 68%; --stone-size: 8vw; --stone-angle: -29deg; left: calc(var(--case-gutter) - 6%); }
.depth-stone:nth-child(7) { --stone-top: 81%; --stone-size: 10vw; --stone-angle: 19deg; right: calc(var(--case-gutter) - 5%); }
.depth-stone:nth-child(8) { --stone-top: 94%; --stone-size: 8vw; --stone-angle: 13deg; right: 25%; }

@media screen and (prefers-reduced-motion: no-preference) {
  .depth-case [data-reveal] {
    transition: opacity .75s ease, translate .75s cubic-bezier(.2,.7,.3,1);
  }
  .depth-case [data-reveal].awaiting-reveal:not(:focus-within) {
    opacity: 0;
    translate: 0 18px;
  }
}
@media (max-width: 700px) {
  .depth-stone { --stone-opacity: .52; width: clamp(48px, var(--stone-size), 92px); }
  .depth-stone:nth-child(1) { right: 2%; }
  .depth-stone:nth-child(8) { right: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  .depth-stone { --stone-y: 0px !important; --stone-turn: 0deg !important; }
}

.depth-audio {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  color: #eff3ff;
  background: #121829ec;
  border: 1px solid #dbe4ff44;
  border-radius: 12px;
  box-shadow: 0 6px 24px #0005;
}
.work-dark .depth-audio { bottom: max(43px, calc(env(safe-area-inset-bottom) + 28px)); }
body:has(.depth-audio:not([hidden])) #a-profundeza .scene-meta { bottom: max(101px, 12%); }
.depth-audio[hidden] { display: none; }
.depth-audio button {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 12px;
  text-align: left;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
}
.depth-audio button:disabled { cursor: default; }
.depth-audio button:focus-visible { outline-color: #a8c2ff; outline-offset: -3px; border-radius: inherit; }
.depth-audio svg { flex: none; color: #b3c5fb; }
.depth-audio button[aria-pressed="true"] svg { color: #e2f1ff; }
.depth-audio small { display: block; margin-top: 2px; font-size: 10px; color: #c4cde8; font-weight: 400; }

.descent-bubbles > span {
  position: absolute;
  bottom: calc(-1 * var(--size));
  left: var(--lane);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #d9f7ffad, transparent 34%),
              radial-gradient(circle, transparent 40%, #8bcaff9e 85%, #c7e9ffb0);
  filter: grayscale(var(--descent, 0));
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .descent-bubbles > span {
    animation: descent-bubble-rise var(--duration) linear var(--delay) infinite;
  }
}

@keyframes descent-bubble-rise {
  0% { transform: translate(0, 0); opacity: 0; }
  18% { opacity: .32; }
  48% { transform: translate(var(--drift), -49vh); }
  78% { opacity: .32; }
  100% { transform: translate(0, calc(-100vh - var(--size))); opacity: 0; }
}

.depth-glow,
body.work-depth:not(:has(.menu:not([hidden]), .player:not([hidden]))) .cursor {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  background: #dcffff;
  box-shadow: 0 0 5px 2px #7df5ff, 0 0 13px 5px #18afffbd, 0 0 25px 8px #244dff70;
  border: 0;
}

.theme-tsu {
  --project-bg: #0b1420;
  --project-ink: #f1f5fc;
  --project-accent: #8cc6ff;
}
.theme-tsu.project-scene .orbit { aspect-ratio: 4 / 5; }
.tsu-frames video, .tsu-takes video {
  display: block;
  width: 100%;
  object-fit: contain;
  background: #070d16;
}
.tsu-frames video { aspect-ratio: 4 / 5; }
.tsu-takes video { aspect-ratio: 4 / 5; }

.theme-ambition {
  --project-bg: #251441;
  --project-ink: #fbf2ff;
  --project-accent: #acf9ec;
}

body.case-page.theme-ambition {
  --project-ink: #211c43;
  --project-accent: #55398a;
  overflow-x: clip;
  background: linear-gradient(#baadf4, #a2dff7 36rem, #eafaff 70rem, #faf4ff);
}
.theme-ambition :is(.case-header, .case-copy, .case-next, .case-footer) {
  border-color: #55398a38;
}
.ambition-intro {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 12vw, 148px) clamp(42px, 7vw, 86px);
}
.ambition-intro h1 { color: #281e50; }
.ambition-intro p { max-width: 44ch; }
.ambition-landscape {
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100vw) / 2) -8rem;
  overflow: hidden;
  pointer-events: none;
  background: repeating-linear-gradient(141deg, transparent 0 11%, #f5efff50 11% 15%, transparent 15% 24%);
  mask-image: linear-gradient(transparent, #000 14% 76%, transparent);
}
.ambition-hill {
  position: absolute;
  inset: 55% 13% -30% -38%;
  border-radius: 55% 70% 0 0;
  background: linear-gradient(160deg, #ecffffb8, #45cfee8c 60%, transparent 80%);
  transform: rotate(11deg);
}
.ambition-hill:nth-child(2) {
  inset: 60% -36% -28% 28%;
  background: linear-gradient(195deg, #8bf2ffb8, #fff9fdad 54%, transparent 80%);
  transform: rotate(-12deg);
}
.ambition-square {
  position: absolute;
  top: 41%;
  right: 17%;
  width: clamp(34px, 8vw, 126px);
  aspect-ratio: 1;
  background: linear-gradient(140deg, #ffee7f, #f4a8ec 64%, #a9c4ff);
  box-shadow: 0 0 40px 12px #fff5dcad;
}
.ambition-square::before, .ambition-square::after {
  content: "";
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  bottom: 6%;
  background: #f5b4e8a3;
}
.ambition-square::before { right: 115%; }
.ambition-square::after { left: 120%; background: #f4ffff9c; }
@media (max-width: 600px) {
  .ambition-square { top: 19%; right: 13%; }
}
.theme-ambition .case-film {
  position: relative;
  box-shadow: 0 16px 48px #51459a42;
}
.theme-ambition .case-frames img { border: 1px solid #7663a442; }

.ambition-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d9d4f0;
  object-fit: contain;
}
.ambition-media picture { display: block; }

/* Universo de Ambition na vitrine da home. */
.rail #ambition { --project-bg:#b9d9f3; --project-accent:#54265d; }
.ambition-showcase { position:absolute; inset:0; z-index:1; overflow:hidden; pointer-events:none; opacity:var(--ambition-presence,0); mask-image:linear-gradient(90deg,transparent,#000 14% 86%,transparent); background:radial-gradient(ellipse at 51% 70%,#fff4e8d9,transparent 35%),linear-gradient(180deg,#b7a1f2,#9fbef5 32%,#5fd7ed 63%,#ddf6f7); }
.ambition-showcase-light { position:absolute; inset:-20%; background:repeating-linear-gradient(140deg,transparent 0 15%,#fff6ff32 15% 22%,transparent 22% 32%); transform:translateX(calc(var(--ambition-offset,0) * 6%)); }
.ambition-showcase-cloud { position:absolute; inset:-25% -30%; filter:blur(30px); background:radial-gradient(ellipse at 22% 55%,#f7ffffb0,transparent 34%),radial-gradient(ellipse at 70% 75%,#e7f6ffb0,transparent 32%); opacity:.65; animation:ambition-home-cloud 25s ease-in-out infinite alternate; animation-play-state:paused; }
.ambition-showcase .cloud-two { opacity:.45; animation-duration:36s; animation-delay:-12s; animation-direction:alternate-reverse; }
.ambition-showcase-plane { position:absolute; width:18%; height:35%; background:#6a8fe51a; transform:translateY(calc(var(--ambition-offset,0) * -80px)); }
.ambition-showcase .plane-one { left:18%; top:30%; }
.ambition-showcase .plane-two { right:14%; top:43%; width:13%; height:28%; }
.ambition-showcase-flock { position:absolute; top:18%; left:0; color:#365270; animation:ambition-home-flight 24s linear infinite; animation-delay:-5s; animation-play-state:paused; }
.ambition-showcase-flock svg { position:absolute; width:24px; height:12px; left:calc(var(--bird-index) * -32px); top:calc(var(--bird-index) * 9px); overflow:visible; }
.ambition-showcase-flock path { fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; transform-origin:20px 15px; animation:ambition-home-wing .7s ease-in-out infinite alternate; animation-delay:calc(var(--bird-index) * -.19s); animation-play-state:paused; }
.ambition-showcase-flock .wing-right { animation-direction:alternate-reverse; }
.ambition-showcase .flock-close { top:63%; color:#20374f; filter:blur(.7px); animation-duration:19s; animation-delay:-11s; }
.flock-close svg { width:65px; height:33px; }
.work-ambition .ambition-showcase :is(.ambition-showcase-cloud,.ambition-showcase-flock,path) { animation-play-state:running; }
.work-ambition .rail > .scene:not(#ambition) .orbit { opacity:0; }
.rail #ambition .project-title,.rail #ambition .scene-meta { color:#301a43; }
@keyframes ambition-home-cloud { from { translate:-5% -2%; } to { translate:8% 5%; } }
@keyframes ambition-home-flight { 0% { transform:translateX(-20vw); } 65%,100% { transform:translateX(130vw); } }
@keyframes ambition-home-wing { from { rotate:-12deg; } to { rotate:18deg; } }
@media(prefers-reduced-motion:reduce) { .ambition-showcase :is(.ambition-showcase-cloud,.ambition-showcase-flock,path) { animation:none; } .ambition-showcase-flock { left:75%; } .ambition-showcase .flock-close { display:none; } }
@media(max-width:600px) { .ambition-showcase-cloud { filter:blur(18px); } .flock-close svg { width:42px; height:22px; } }
.rail #ambition .project-title { color:#fff8ff; text-shadow:0 2px 24px #21113199; }
.rail #ambition .project-title a:hover { color:#e2faff; }

/* Nuages plus présents et fragments du cube en profondeur. */
.ambition-showcase-cloud { opacity:.88; filter:blur(19px); background:radial-gradient(ellipse at 15% 37%,#ffffffdb,transparent 28%),radial-gradient(ellipse at 82% 59%,#f4fdffe0,transparent 29%),radial-gradient(ellipse at 42% 85%,#e7faffc4,transparent 30%); }
.ambition-showcase .cloud-two { opacity:.72; }
.ambition-showcase-shards { position:absolute; inset:0; }
.ambition-shard { position:absolute; left:var(--shard-x); top:var(--shard-y); width:clamp(22px,var(--shard-size),6vw); aspect-ratio:1; transform:translate(calc(var(--ambition-offset,0) * var(--shard-depth) * 160px),calc(var(--ambition-offset,0) * var(--shard-depth) * -95px)); }
.ambition-shard i { display:block; width:100%; height:100%; background:linear-gradient(135deg,#25d9e4 0%,#b27de9 33%,#f6a5dc 60%,#fff278 100%); clip-path:polygon(8% 8%,96% 21%,65% 94%,30% 65%); transform:rotate(var(--shard-angle)); filter:drop-shadow(0 0 7px #f8d4fa88); animation:ambition-shard-drift 9s ease-in-out infinite alternate; animation-delay:var(--shard-delay); animation-play-state:paused; }
.ambition-shard:nth-child(3n) i { clip-path:polygon(18% 0,88% 22%,64% 100%,5% 62%); }
.ambition-shard:nth-child(even) i { animation-direction:alternate-reverse; }
.work-ambition .ambition-shard i { animation-play-state:running; }
@keyframes ambition-shard-drift { from { rotate:-8deg; translate:0 5px; } to { rotate:9deg; translate:0 -7px; } }
@media(max-width:600px) {
 .ambition-showcase-cloud { filter:blur(16px); }
 .ambition-shard { width:clamp(18px,calc(var(--shard-size) * .6),34px); }
 .ambition-shard:nth-child(n+7) { display:none; }
}
@media(prefers-reduced-motion:reduce) { .ambition-shard i { animation:none; } }
@media(prefers-reduced-motion:no-preference) {
 .ambition-shard i { animation:ambition-shard-drift 8s ease-in-out infinite alternate; animation-delay:var(--shard-delay,0s); animation-play-state:paused; }
 .work-ambition .ambition-shard i { animation-play-state:running; }
}
@media(prefers-reduced-motion:no-preference) {
 .ambition-shard i { animation:ambition-shard-turn 9s ease-in-out infinite alternate; animation-delay:var(--shard-delay,0s); animation-play-state:paused; }
 .work-ambition .ambition-shard i { animation-play-state:running; }
 @keyframes ambition-shard-turn { from { transform:rotate(calc(var(--shard-angle) - 9deg)) rotateY(-12deg); } to { transform:rotate(calc(var(--shard-angle) + 12deg)) rotateY(18deg); } }
}

/* Passagem contínua entre universos na vitrine. */
.work-depth-atmosphere,.tsu-showcase.tsu-atmosphere,.ambition-showcase { mask-image:linear-gradient(90deg,transparent 0%,#0003 9%,#000b 20%,#000 30% 70%,#000b 80%,#0003 91%,transparent 100%); }
.work-pin .orbit { transition:opacity .8s ease; }
body > header { transition:color .65s ease; }
.work-pin .work-progress { transition:color .65s ease; }
@media(prefers-reduced-motion:no-preference) {
 .tsu-showcase :is(.tsu-trail,.tsu-beam,.tsu-map-pin) { visibility:visible; }
 .tsu-showcase.tsu-atmosphere,.ambition-showcase,.work-depth-atmosphere { transition:opacity .18s linear; }
}
@media(prefers-reduced-motion:reduce) { body > header,.work-pin .orbit,.work-pin .work-progress { transition:none; } }

/* Sobre compartilha a identidade tipográfica da entrada Bem-vindo. */
.about { position:relative; background:var(--paper); }
.about #about-title { text-transform:uppercase; font-weight:700; line-height:.94; letter-spacing:-.035em; }
.about #about-title .about-title-line { display:block; color:var(--orange); animation:none; transform:none; opacity:1; }
.about #about-title .about-title-line + .about-title-line { color:#ed970e; }
.about #about-title .about-title-letter { display:inline-block; color:inherit; animation:none; transform-origin:50% 85%; }
.about .about-highlights strong { color:var(--orange); }
.about-portrait { perspective:900px; }
@media(max-width:600px) { .about #about-title { font-size:clamp(48px,11vw,72px); } }
.about #about-title .about-title-line { display:block; color:var(--orange); animation:none; transform:none; opacity:1; }
.about #about-title .about-title-line + .about-title-line { color:#ed970e; }
.about #about-title .about-title-letter { display:inline-block; color:inherit; animation:none; transform-origin:center bottom; }

/* Perfil, serviços e contato em preto e cinza, num fundo contínuo. */
.profile-region { position:relative; isolation:isolate; overflow:clip; background:#090a0c; color:#eeeef0; }
.profile-region::before { content:''; position:absolute; z-index:-1; inset:-10% -20%; pointer-events:none; background:radial-gradient(ellipse at 12% 18%,#57595c60,transparent 37%),radial-gradient(ellipse at 82% 55%,#777a7f38,transparent 39%),radial-gradient(ellipse at 30% 90%,#34363b70,transparent 38%); animation:profile-gradient-drift 24s ease-in-out infinite alternate; }
.profile-region :is(.about,.services,.contact) { background:transparent; color:inherit; }
.profile-region .about #about-title .about-title-line { color:#f2f2f4; }
.profile-region .about #about-title .about-title-line + .about-title-line { color:#aaaeb5; }
.profile-region .about .about-highlights strong { color:#e3e5e9; }
.profile-region .about-highlights li,.profile-region .services-list li { border-color:#ffffff26; }
.profile-region .about-portrait figcaption { color:#aeb0b6; }
.profile-region .about-transition { background:linear-gradient(#ffffff08,#ffffff4d) center/1px 100% no-repeat; }
.profile-region .about-transition span { background:#b8bbc3; }
.profile-region .contact h2 a,.profile-region .contact h2 a:hover,.profile-region .contact h2 a:focus-visible { background:linear-gradient(135deg,#fff,#9fa4ad); background-clip:text; -webkit-background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.profile-region .contact-actions a,.profile-region .contact-actions a:first-child { color:#eeeef0; border-color:#ffffff65; }
.profile-region .contact-actions a:hover,.profile-region .social a:hover { color:#fff; border-color:#fff; }
.profile-region a:focus-visible { outline-color:#d5d8df; }
.profile-region .eyebrow { color:#b4b7bf; }
body.profile-active > header { color:#f2f2f4; }
body.profile-active > header:has(.menu-toggle[aria-expanded="true"]) { color:var(--ink); }
@keyframes profile-gradient-drift { from { transform:translate3d(-3%,-2%,0) scale(1); } to { transform:translate3d(5%,3%,0) scale(1.12); } }
@media(prefers-reduced-motion:reduce) { .profile-region::before { animation:none; } }

/* Chamada de contato com luz e gradiente em movimento. */
.profile-region .contact h2 a,
.profile-region .contact h2 a:hover,
.profile-region .contact h2 a:focus-visible {
 background:linear-gradient(110deg,#8f949e 0%,#e3e6ed 22%,#ffffff 38%,#b8beca 52%,#ffffff 67%,#959ba6 84%,#e3e6ed 100%);
 background-size:260% 100%;
 background-clip:text; -webkit-background-clip:text;
 color:transparent; -webkit-text-fill-color:transparent;
 filter:drop-shadow(0 0 9px #e9efff40) drop-shadow(0 0 28px #d9e3ff24);
 animation:contact-shimmer 7s ease-in-out infinite alternate;
 transition:filter .5s ease;
}
.profile-region .contact h2 a:hover,
.profile-region .contact h2 a:focus-visible { filter:drop-shadow(0 0 12px #f2f5ff70) drop-shadow(0 0 36px #d9e3ff40); }
@keyframes contact-shimmer { from { background-position:0% 50%; } to { background-position:100% 50%; } }
@media(prefers-reduced-motion:reduce) { .profile-region .contact h2 a { animation:none; } }

/* Contato retoma o gradiente laranja/amarelo do Bem-vindo. */
.profile-region .contact h2 a,
.profile-region .contact h2 a:hover,
.profile-region .contact h2 a:focus-visible {
 background:linear-gradient(110deg,#f06420 0%,#ff8c18 18%,#ffd142 34%,#ffed91 43%,#ecaf19 54%,#ff7719 72%,#f06420 88%,#ffd142 100%);
 background-size:300% 100%;
 background-clip:text; -webkit-background-clip:text;
 color:transparent; -webkit-text-fill-color:transparent;
 filter:drop-shadow(0 0 10px #ff8b2665) drop-shadow(0 0 32px #f5a51d50);
 animation:contact-shimmer 3.2s ease-in-out infinite alternate;
}
.profile-region .contact h2 a:hover,
.profile-region .contact h2 a:focus-visible { filter:drop-shadow(0 0 15px #ffaf4b99) drop-shadow(0 0 48px #ff8b266b); }
@media(prefers-reduced-motion:reduce) { .profile-region .contact h2 a { animation:none; } }

/* A vitrine se dissolve no fundo escuro do Sobre, sem intervalo extra. */
/* Escurece a cena inteira durante a saída da vitrine. */
.work-pin::after { content:''; position:absolute; inset:0; z-index:24; pointer-events:none; background:#090a0c; opacity:var(--work-exit,0); }
.profile-region { margin-top:-1px; }
.profile-region::before { mask-image:linear-gradient(transparent 0%,#000 12%); }
.work-pin::before { content:''; position:absolute; z-index:25; inset:auto 0 0; height:45%; pointer-events:none; background:linear-gradient(transparent,#090a0c 94%); opacity:clamp(0,calc(var(--work-exit,0) * 12),1); }
.profile-region::before { mask-image:linear-gradient(transparent 0% 12%,#000 28%); }

/* Serviços com o mesmo gradiente animado da chamada de contato. */
.profile-region .services-list h3 {
 background:linear-gradient(110deg,#8f949e 0%,#e3e6ed 22%,#ffffff 38%,#b8beca 52%,#ffffff 67%,#959ba6 84%,#e3e6ed 100%);
 background-size:300% 100%;
 background-clip:text; -webkit-background-clip:text;
 color:transparent; -webkit-text-fill-color:transparent;
 filter:drop-shadow(0 0 8px #e9efff26);
 animation:contact-shimmer 3.2s ease-in-out infinite alternate;
}
.profile-region .services-list h3 {
 background-image:linear-gradient(110deg,#f06420 0%,#ff8c18 18%,#ffd142 34%,#ffed91 43%,#ecaf19 54%,#ff7719 72%,#f06420 88%,#ffd142 100%);
 filter:drop-shadow(0 0 8px #ff8b2638);
}
.profile-region .services-list li:nth-child(2) h3 { animation-delay:-.8s; }
.profile-region .services-list li:nth-child(3) h3 { animation-delay:-1.6s; }
.profile-region .services-list li:nth-child(4) h3 { animation-delay:-2.4s; }
@media(prefers-reduced-motion:reduce) { .profile-region .services-list h3 { animation:none; } }

/* Serviços saem; o contato ocupa o centro com uma revelação suave. */
.profile-region .contact { min-height:100vh; min-height:100svh; display:grid; grid-template-rows:1fr auto; gap:48px; padding:100px 6% 28px; }
.contact-focus { align-self:center; justify-self:center; width:100%; max-width:1100px; text-align:center; }
.profile-region .contact h2 { margin:24px 0; font-size:clamp(64px,10vw,142px); line-height:.92; }
.profile-region .contact h2 a { position:relative; display:inline-block; }
.profile-region .contact-copy { max-width:43ch; margin:0 auto 24px; color:#b8bbc2; }
.profile-region .contact .footer-line { width:100%; margin-top:0; color:#b0b3bb; }
.profile-region .services { opacity:var(--services-visible,1); }
.contact-motion-ready .contact-focus { opacity:var(--contact-visible,1); transform:translateY(calc((1 - var(--contact-visible,1)) * 30px)); }
.contact-focus:focus-within { opacity:1!important; transform:none!important; }
@media(max-width:600px) { .profile-region .contact { padding-top:96px; gap:36px; } .profile-region .contact h2 { font-size:clamp(62px,16vw,92px); } }
@media(prefers-reduced-motion:reduce) { .profile-region .services,.contact-motion-ready .contact-focus { opacity:1; transform:none; } }

.profile-region .contact h2 { text-align:center; width:100%; }
.profile-region .contact h2 a { display:inline-block; text-align:center; margin-inline:auto; }

/* Destaques pessoais na paleta laranja da Vinimotion. */
.profile-region .about #about-title .about-title-line + .about-title-line,
.profile-region .about .about-highlights strong {
 background:linear-gradient(135deg,#f06420 0%,#ff8b1c 48%,#ecaf19 100%);
 background-clip:text;
 -webkit-background-clip:text;
 color:transparent;
 -webkit-text-fill-color:transparent;
}
.profile-region .about #about-title .about-title-line + .about-title-line .about-title-letter {
 background:inherit;
 background-clip:text;
 -webkit-background-clip:text;
 color:transparent;
 -webkit-text-fill-color:transparent;
}

/* Destaques animados e capítulos com espaço próprio. */
.profile-region .about #about-title .about-title-line + .about-title-line,
.profile-region .about .about-highlights strong {
 background-image:linear-gradient(110deg,#f06420 0%,#ff8c18 22%,#ffd142 42%,#ecaf19 62%,#f06420 82%,#ffd142 100%);
 background-size:260% 100%; animation:about-gradient-flow 7s ease-in-out infinite alternate;
}
.profile-region .about { min-height:100vh; min-height:100svh; padding-top:110px; padding-bottom:90px; opacity:var(--topic-visible,1); grid-template-areas:'intro portrait' 'copy portrait'; }
.profile-region .about-transition { display:none; }
.profile-region .services { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:center; padding:110px 9% 100px; }
.profile-region .services h2 { margin-top:0; }
.profile-region .about #about-title span,
.profile-region .about-portrait img,
.profile-region .about-highlights li { animation:none; transform:none; clip-path:none; }
/* Restaura só o gradiente, sem animação de geometria. */
.profile-region .about #about-title .about-title-line + .about-title-line { animation:about-gradient-flow 7s ease-in-out infinite alternate; }
@keyframes about-gradient-flow { from { background-position:0% 50%; } to { background-position:100% 50%; } }
@media(max-width:700px) {
 .profile-region .about { grid-template-areas:'intro' 'portrait' 'copy'; padding-top:100px; padding-bottom:84px; }
 .profile-region .services { padding:100px 9% 84px; }
}
@media(prefers-reduced-motion:reduce) {
 .profile-region .about #about-title .about-title-line + .about-title-line,
 .profile-region .about .about-highlights strong { animation:none; }
 .profile-region .about { opacity:1; }
}

/* Troca mais compacta entre Sobre e Serviços. */
.profile-region .about { padding-bottom:52px; }
.profile-region .services { justify-content:flex-start; padding-top:64px; padding-bottom:64px; }
@media(max-width:700px) { .profile-region .about { padding-bottom:48px; } .profile-region .services { padding-top:64px; padding-bottom:64px; } }

/* Serviços entram um a um, sem um intervalo de tela vazia. */
.profile-region .about { min-height:auto; padding-bottom:40px; }
.profile-region .services { min-height:auto; padding-top:44px; padding-bottom:96px; }
.profile-region .services-list { margin-top:24px; }
@media(prefers-reduced-motion:no-preference) {
 .services-reveal-ready .service-reveal { opacity:0; translate:0 16px; transition:opacity .7s ease,translate .7s cubic-bezier(.2,.7,.3,1); transition-delay:var(--service-delay,0ms); }
 .services-reveal-ready .service-revealed { opacity:1; translate:0 0; }
 .services-reveal-ready .service-reveal:focus-within { opacity:1; translate:0; }
}
@media(max-width:700px) { .profile-region .about { padding-bottom:32px; } .profile-region .services { padding-top:40px; padding-bottom:80px; } }

/* Chegada do contato mais próxima do fim dos Serviços. */
.profile-region .services { padding-bottom:28px; }
.profile-region .contact { margin-top:-12vh; margin-top:-12svh; padding-top:64px; }
@media(max-width:700px) { .profile-region .services { padding-bottom:24px; } .profile-region .contact { margin-top:-8svh; padding-top:56px; } }
@media(prefers-reduced-motion:no-preference) {
 .services-reveal-ready .services-list .service-reveal { transition-duration:.6s; }
}

.project-title-word { display:inline-block; white-space:nowrap; }
.project-letter-slot,.project-letter { display:inline-block; }
.project-letter { transform-origin:50% 85%; }

/* Serviços permanecem legíveis; contato entra somente após sua saída. */
.profile-region .contact { margin-top:0; }

/* Reflexos fluidos sobre preto, inspirados na referência de vidro/metal. */
.profile-region { background:#040507; }
.profile-region::before {
 inset:-8% -10%;
 background:linear-gradient(90deg,#04050770,#040507bc 35% 65%,#04050760),url('./profile-reflections.svg') center / cover no-repeat;
 opacity:.8;
 animation:profile-reflection-drift 26s ease-in-out infinite alternate;
 mask-image:linear-gradient(transparent 0% 10%,#000 23%);
}
@keyframes profile-reflection-drift {
 from { transform:translate3d(-3%,-2%,0) scale(1.04) rotate(-2deg); }
 to { transform:translate3d(3%,2%,0) scale(1.12) rotate(2deg); }
}
@media(max-width:700px) { .profile-region::before { background-size:auto,auto 100%; opacity:.65; } }
@media(prefers-reduced-motion:reduce) { .profile-region::before { animation:none; } }

/* Superfície fluida deformada em tempo real. */
.profile-region::before { background:radial-gradient(ellipse at 70% 70%,#242a3533,transparent 65%); animation:none; opacity:1; }
.profile-fluid { position:absolute; inset:0; z-index:-1; pointer-events:none; mask-image:linear-gradient(transparent 0%,#000 9%); }
.profile-fluid canvas { display:block; position:sticky; top:0; width:100%; height:100vh; height:100svh; }
.profile-fluid { z-index:0; isolation:isolate; }
.profile-region > :is(.about,.services,.contact) { position:relative; z-index:1; }

/* Luz difusa texturizada: substitui a superfície de vidro. */
.profile-region { background:#08090a; }
.profile-region::before {
 inset:-8% -12%;
 background:repeating-linear-gradient(90deg,#0000 0 58px,#00000024 58px 77px,#ffffff05 77px 100px),radial-gradient(ellipse at 14% 24%,#d4d4d43b,transparent 27%),radial-gradient(ellipse at 79% 66%,#bfc1c138,transparent 30%);
 background-size:100% 100%;
 opacity:.64;
 filter:blur(1px);
 animation:profile-soft-light 30s ease-in-out infinite alternate;
 mask-image:linear-gradient(transparent 0% 8%,#000 22%);
}
.profile-region::after {
 content:''; position:absolute; z-index:0; inset:0; pointer-events:none; opacity:.035;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h180v180H0z' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
@keyframes profile-soft-light { from { transform:translate3d(-3%,-1%,0); opacity:.5; } to { transform:translate3d(4%,2%,0); opacity:.7; } }
@media(max-width:700px) { .profile-region::before { background-size:100% 100%; } }
@media(prefers-reduced-motion:reduce) { .profile-region::before { animation:none; } }

/* Textura imóvel, visível somente dentro do feixe de luz móvel. */
.profile-region { background:#050607; }
.profile-region::before {
 inset:0;
 transform:none;
 filter:none;
 opacity:1;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h180v180H0z' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"),repeating-linear-gradient(90deg,#c7c7c7 0 52px,#a2a2a2 52px 72px,#b8b8b8 72px 100px);
 background-size:180px 180px,100px 100%;
 background-repeat:repeat;
 mask-image:radial-gradient(ellipse at center,#0005 0%,#0003 22%,#0001 40%,transparent 61%);
 mask-size:180% 100%;
 mask-repeat:no-repeat;
 mask-position:140% 50%;
 animation:profile-light-sweep 18s ease-in-out infinite alternate;
}
.profile-region::after { content:none; }
@keyframes profile-light-sweep {
 from { mask-position:140% 50%; }
 to { mask-position:-40% 50%; }
}
@media(max-width:700px) { .profile-region::before { background-size:180px 180px,72px 100%; } }
@media(prefers-reduced-motion:reduce) { .profile-region::before { animation:none; mask-position:50% 50%; } }

/* Vidro fosco imóvel iluminado por uma fonte de luz difusa. */
.profile-window { position:absolute; inset:0; z-index:0; pointer-events:none; isolation:isolate; opacity:.38; mask-image:linear-gradient(transparent,#000 8%); }
.profile-window canvas { display:block; position:sticky; top:0; width:100%; height:100vh; height:100svh; }
.profile-region::before { opacity:.10; animation:none; }
.profile-region:has(.profile-window)::before { display:none; }

/* Entrada gradual dos blocos do Sobre, sem rebote ou deslocamento. */
.profile-region .about .about-opacity-reveal { opacity:var(--about-opacity,1); }
.profile-region .about .about-opacity-reveal:focus-within { opacity:1; }
@media(prefers-reduced-motion:reduce) { .profile-region .about .about-opacity-reveal { opacity:1; } }



/* Três serviços em linhas editoriais: título e descrição alinhados. */
.profile-region .services-list { grid-template-columns:minmax(0,1fr); gap:0; margin-top:32px; }
.profile-region .services-list li { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:clamp(24px,5vw,72px); padding:28px 0; }
.profile-region .services-list h3 { margin:0; font-size:clamp(32px,3.4vw,48px); line-height:1.05; text-wrap:balance; }
.profile-region .services-list p { max-width:44ch; padding-top:3px; line-height:1.65; }
@media(max-width:700px) {
 .profile-region .services-list { margin-top:24px; }
 .profile-region .services-list li { grid-template-columns:minmax(0,1fr); gap:12px; padding:24px 0; }
 .profile-region .services-list p { padding-top:0; }
}

/* Seletor discreto e acessível, compartilhado entre home e cases. */
body > header .language-switch { display:flex; flex-shrink:0; align-items:center; gap:4px; padding-top:5px; font:500 11px/1.4 Inter,Arial,sans-serif; letter-spacing:.06em; }
.language-switch a { display:block; padding:5px 7px; opacity:.5; border-bottom:1px solid transparent; }
.language-switch a:hover,.language-switch a:focus-visible { opacity:1; }
.language-switch a[aria-current] { opacity:1; border-bottom-color:currentColor; }
body:not(.case-page) > header .language-switch { margin-left:auto; }
.case-header > .case-link { margin-left:auto; }
html[lang="en"] .work-pin .opening .welcome-title { font-size:clamp(58px,min(14vw,21svh),190px); }
@media(max-width:700px) {
 body > header { gap:12px; }
 body > header .language-switch { padding-top:0; font-size:10px; gap:0; }
 .language-switch a { padding:6px; }
 .case-header { flex-wrap:wrap; }
 .case-header > .case-link { max-width:45%; }
}

.ambition-audio { background:#111727e8; border-color:#dcd2ff45; }
.work-ambition .ambition-audio { bottom:max(43px,calc(env(safe-area-inset-bottom) + 28px)); }

/* Cursor da identidade Vinimotion na região escura do perfil. */
body.profile-active:not(:has(.menu:not([hidden]),.player:not([hidden]))) .cursor {
 background:linear-gradient(110deg,#f06420 0%,#ff8c18 18%,#ffd142 34%,#ffed91 43%,#ecaf19 54%,#ff7719 72%,#f06420 88%,#ffd142 100%);
 background-size:260% 100%;
 border-color:#ffb73b;
 box-shadow:0 0 9px #ff8b2640;
 animation:about-gradient-flow 7s ease-in-out infinite alternate;
}
@media(prefers-reduced-motion:reduce) { body.profile-active .cursor { animation:none; } }

/* Destaque luminoso da chamada ao passar o cursor. */
.profile-region .contact h2 a {
 filter:brightness(1) drop-shadow(0 0 7px #ffe9a600) drop-shadow(0 0 10px #ff8b2665) drop-shadow(0 0 32px #f5a51d50);
 transition:filter 1.4s ease-in-out;
}
.profile-region .contact h2 a:hover,
.profile-region .contact h2 a:focus-visible {
 filter:brightness(1.18) drop-shadow(0 0 7px #ffe9a6cc) drop-shadow(0 0 24px #ffb43bb3) drop-shadow(0 0 58px #ff8b267a);
}

/* Folga para o desenho da última letra no texto com gradiente. */
.profile-region .contact h2 a { padding-inline:.12em; overflow:visible; }

/* Os frames completam a saída pelo scroll, independentemente do título. */
.work-depth .work-pin .opening.welcome-frames-visible .orbit { opacity:1; }
/* A cor final do projeto é compartilhada com o início do perfil. */
.work-pin::before { height:38%; z-index:23; background:linear-gradient(transparent,#ddf6f7); opacity:var(--ambition-exit-base,0); }
.work-pin::after { background:#040507; }
.profile-region { background:linear-gradient(180deg,var(--profile-entry-color,#040507),#040507 65svh); }
/* Nova marca preserva o movimento da abertura e a identidade laranja. */
body > header .logo {
 background:linear-gradient(110deg,#f06420,#ff8c18 22%,#ffd142 42%,#ffed91 52%,#ecaf19 65%,#ff7719 85%,#f06420);
 background-size:260% 100%; background-clip:text; -webkit-background-clip:text;
 color:transparent; -webkit-text-fill-color:transparent;
 animation:about-gradient-flow 7s ease-in-out infinite alternate;
 font-weight:700; letter-spacing:-.065em; white-space:nowrap;
}
.hero-pin .vini { font-size:clamp(90px,17vw,242px); }
.hero-pin .motion { font-size:clamp(110px,19vw,270px); }
@media(max-width:700px) {
 .hero-pin .vini { font-size:26vw; }
 .hero-pin .motion { font-size:31vw; }
 body > header .logo { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) { body > header .logo { animation:none; } }

/* Sobreposição curta dissolve a emenda física entre as duas seções. */
.profile-region { margin-top:-64px; padding-top:64px; mask-image:linear-gradient(transparent,#000 64px); }

/* Logo alinhada à tipografia condensada da abertura. */
body > header .logo {
 font-family:var(--display); font-size:32px; font-weight:700;
 line-height:1; letter-spacing:-.035em; text-transform:uppercase;
 padding-inline:.04em;
}
@media(max-width:700px) { body > header .logo { font-size:28px; } }

/* Folga de pintura para os glifos e o wiggle da marca na abertura. */
.hero-pin .vini,.hero-pin .motion { padding:.06em .12em; overflow:visible; }

/* Teste de assinatura pessoal Vini Ciriano. */
.hero-pin .vini { font-size:clamp(110px,19vw,270px); }
.hero-pin .motion { font-size:clamp(90px,17vw,242px); }
@media(max-width:700px) { .hero-pin .vini { font-size:31vw; } .hero-pin .motion { font-size:26vw; } }

/* Assinatura de profissão e entrada tipográfica da primeira cena. */
.hero-pin .name { background:none; }
.hero-glyph { display:inline-block; padding-inline:.04em; margin-inline:-.04em; transform-origin:50% 90%; background:linear-gradient(180deg,var(--orange),var(--gold)); background-clip:text; -webkit-background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.hero-pin .blue-reveal .hero-glyph { background:none; -webkit-text-fill-color:inherit; }
.hero-specialty { position:absolute; z-index:5; left:50%; top:calc(50% + clamp(90px,17vw,242px) + 48px); transform:translateX(-50%); display:flex; align-items:center; justify-content:center; gap:12px; width:max-content; max-width:88%; margin:0; font:500 clamp(12px,1.4vw,17px)/1.5 Inter,Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; text-align:center; color:var(--ink); }
.hero-specialty > [aria-hidden] { color:var(--orange); }
@media(max-width:700px) { .hero-specialty { top:calc(50% + 26vw + 38px); gap:8px; font-size:11px; letter-spacing:.06em; } }
