/* Light moves through the letterforms and the page, while their reading and hit areas stay fixed. */
#profil .portfolio-intro {
  --hero-pointer-x: 50%;
  --hero-pointer-y: 35%;
  --hero-ink-x: 50%;
  --hero-type-shift: 0px;
  --hero-type-lift: 0px;
  --hero-light: rgb(178 144 74 / .15);
  --hero-ink-light: #34706d;
  --hero-ink-shade: rgb(20 56 59 / .24);
}
@media(prefers-reduced-motion:no-preference) {
  #profil #role-name .role-name-word {
    display: inline-block;
    transition: translate .14s ease-out;
  }
  #profil .portfolio-intro[data-hero-pointing] #role-name .role-name-word {
    translate: var(--hero-type-shift) var(--hero-type-lift);
  }
  #profil .portfolio-intro[data-hero-pointing] #role-name .role-name-word:last-child {
    translate: calc(var(--hero-type-shift) * -.8) calc(var(--hero-type-lift) * -.6);
  }
}
html[data-theme="dark"] #profil .portfolio-intro {
  --hero-light: rgb(242 200 122 / .13);
  --hero-ink-light: #f2cc88;
  --hero-ink-shade: rgb(0 8 11 / .53);
}
#profil .portfolio-intro[data-hero-pointing]::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 210px 140px at var(--hero-pointer-x) var(--hero-pointer-y),
    var(--hero-light), transparent 100%);
}
#profil .portfolio-intro[data-hero-contact]::after {
  background: radial-gradient(circle 88px at var(--hero-pointer-x) var(--hero-pointer-y),
    var(--hero-light) 5%, transparent 100%);
}
@supports (background-clip:text) {
  #profil .portfolio-intro[data-hero-pointing] #role-name .role-name-word {
    background-image: linear-gradient(102deg, currentColor max(0%,calc(var(--hero-ink-x) - 28%)),
      var(--hero-ink-light) var(--hero-ink-x), currentColor min(100%,calc(var(--hero-ink-x) + 28%)));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(var(--hero-type-shift) 1px .9px var(--hero-ink-shade));
  }
}
#profil .portfolio-intro [data-role-proof]:is(:hover,:active,:focus-visible) .role-proof-label {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}
#hero-model .orbit-stage[data-inspect]::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
  left: var(--hero-inspect-x);
  top: var(--hero-inspect-y);
  width: var(--hero-inspect-diameter);
  aspect-ratio: 1;
  border: 1px solid #f9d495;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(29 53 55 / .8), inset 0 0 9px rgb(19 49 56 / .24);
  transform: translate(-50%,-50%);
}
/* Hit the projected brass pin, without an invisible tooltip trapping a finger
   elsewhere on the model. The description remains part of the button's name. */
#hero-model #hero-reveal,
#hero-model #hero-reveal[data-right] {
  width: 44px;
  height: 44px;
  padding: 0;
  translate: -50% -50%;
}
#hero-model #hero-reveal i {
  left: 50%;
  right: auto;
  transform: translate(-50%,-50%);
}
#hero-model #hero-reveal::before { display: none; }
#hero-model #hero-reveal .orbit-tag {
  position: absolute;
  right: calc(50% + 10px);
  pointer-events: none;
}
#hero-model #hero-reveal[data-right] .orbit-tag { right: auto; left: calc(50% + 10px); }
@media(prefers-reduced-motion:reduce),(forced-colors:active),print {
  #profil .portfolio-intro[data-hero-pointing]::after { display: none; }
  #profil .portfolio-intro[data-hero-pointing] #role-name .role-name-word {
    background-image: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
  }
}
