/* Letícia Silva | Home hero em grade, sem sobreposições entre conteúdo e CTAs.
   Ordem intencional: nome > três especialidades > conteúdo de apoio > retrato.
   Faixa de tecnologias aparece inteiramente abaixo do retrato, em fluxo normal.
   O tema escuro e a redução de movimento são preservados. */

/* Dimensões guiadas pela altura real da janela, sem coordenadas absolutas. */
html body.home-page-v2 {
  --home-portrait-size: clamp(365px, calc(100svh - 365px), 520px);
  
}
/* O fundo da capa encontra a superfície dos projetos sem linha horizontal dura. */
html:not([data-theme="dark"]) body.home-page-v2 .home-portrait-center {
  background: linear-gradient(180deg,#F6F5F4 0%,#F3EFF1 58%,#F6F5F4 100%) !important;
}
html[data-theme="dark"] body.home-page-v2 .home-portrait-center {
  background: linear-gradient(180deg,#211E25 0%,#2A252D 58%,#211E25 100%) !important;
}
/* Corrige a emenda horizontal: a malha e os halos de atmosfera
   desaparecem antes do fim da seção, onde o fundo é #F6F5F4
   (ou #211E25 no tema escuro), igual à superfície seguinte. */
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__atmosphere {
  -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,.82) 73%,rgba(0,0,0,.34) 87%,transparent 100%);
  mask-image: linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,.82) 73%,rgba(0,0,0,.34) 87%,transparent 100%);
}

/* 1. Palco principal e camadas */
html body.single-page-portfolio .home-portrait-center {
  position: relative;
  z-index: 2;
  isolation: isolate;
  scroll-margin-top: 84px; /* navegação Início: não esconder nome sob header sticky */
  min-height: 0 !important;
  overflow: hidden !important;
  padding: clamp(18px, 3vw, 32px) 0 0 !important;
}
html body.single-page-portfolio .home-portrait-center .container.portfolio-cinematic-hero__grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 540px) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: clamp(14px, 2.5vw, 38px) !important;
  row-gap: 12px !important;
  width: min(1360px, calc(100% - 88px)) !important;
  max-width: 1360px !important;
  min-height: 0 !important;
  margin-inline: auto;
  padding: 0 !important;
}
/* Mantém a semântica do bloco de texto sem prendê-lo em um único quadrante. */
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__copy {
  display: contents !important;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__intro {
  position: relative;
  z-index: 4;
  grid-area: 1 / 1 / 2 / -1;
  min-width: 0;
  width: 100%;
  text-align: center;
}
html body.single-page-portfolio .home-portrait-center #home-hero-title {
  position: relative !important;
  display: block !important;
  inset: auto !important;
  transform: none !important;
  width: 100%;
  max-width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0;
  color: var(--theme-text) !important;
  font-family: var(--font-signature,"DM Serif Display",Georgia,serif) !important;
  font-size: clamp(60px, 7.2vw, 112px) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
  letter-spacing: -.062em !important;
  text-align: center;
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
}
html body.single-page-portfolio .home-portrait-center #home-hero-title :is(.hero-name-typed,.hero-name-reserve) {
  font: inherit !important;
  letter-spacing: inherit !important;
}
/* 2. Especialidades editoriais lado a lado, na ordem indicada.
   Cada ícone acompanha seu rótulo; quebra somente em telas estreitas. */
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capabilities {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  max-width: 100% !important;
  column-gap: clamp(16px, 2.2vw, 32px) !important;
  row-gap: 8px !important;
  transform: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability,
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability + .portfolio-cinematic-hero__capability {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 7px !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #2D2A30 !important;
  font: 600 15px/1.42 var(--font-ui,Manrope,system-ui,sans-serif) !important;
  letter-spacing: -.015em !important;
  text-align: center !important;
  white-space: nowrap !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability::after {
  content: none !important;
  display: none !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  width: 18px !important;
  height: 18px !important;
  color: #865E72 !important;
  background: transparent !important;
  border: 0 !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability-icon svg {
  width: 16px !important;
  height: 16px !important;
}
html[data-theme="dark"] body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability {
  color: #F7F2F4 !important;
}
html[data-theme="dark"] body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability-icon {
  color: #D6A8BF !important;
}

/* 3. Conteúdo de apoio ao lado da foto; nenhum botão por baixo da faixa. */
html body.single-page-portfolio .home-portrait-center .home-portrait-center__details {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: center;
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 350px;
  margin: 0;
  padding: 0;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__description {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  max-width: 350px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--theme-text) !important;
  font-family: var(--font-body,Manrope,sans-serif) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  text-align: left;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__actions {
  position: static !important;
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  transform: none !important;
  width: 100% !important;
  max-width: 365px !important;
  margin: 27px 0 0 !important;
  padding: 0 !important;
  gap: 9px !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__actions a {
  flex: 0 0 auto;
  width: auto !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  gap: 7px !important;
  font-size: 13px !important;
  white-space: nowrap;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__actions svg {
  width: 16px !important;
  height: 16px !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__footnote {
  position: relative !important;
  z-index: 5;
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  inset: auto !important;
  transform: none !important;
  width: auto;
  max-width: 295px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--theme-text) !important;
  font-family: var(--font-editorial,"Instrument Serif",Georgia,serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: clamp(24px,2.5vw,32px) !important;
  line-height: 1.2 !important;
  text-align: left;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__footnote::before {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 1px !important;
  background: var(--theme-accent) !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__scroll-hint {
  display: none !important;
}

/* 4. Respiro editorial maior entre especialidades e retrato.
   O retrato continua no grid: aumentar sua margem superior faz a foto,
   a sombra e a faixa de tecnologias avançarem juntos no fluxo normal.
   Sem translação, posição absoluta ou mudanças no marquee. */
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__visual {
  position: relative !important;
  z-index: 3 !important;
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: end;
  inset: auto !important;
  display: block;
  /* Foto, sombra malva e órbitas crescem como uma só composição.
     Escala visual não modifica a caixa no grid nem desloca a faixa abaixo. */
  transform: scale(1.25) !important;
  transform-origin: center bottom !important;
  width: min(100%,var(--home-portrait-size)) !important;
  max-width: 520px !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  /* Deslocamento visível no desktop: foto e ribbon descem juntos. */
  margin: 140px auto 0 !important;
  pointer-events: none;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__portrait-frame {
  position: relative;
  inset: auto;
  display: block;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__photo-shell {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  /* A máscara deve afetar o contêiner inteiro, inclusive o recorte PNG,
     para terminar a transição antes da borda do fundo da capa. */
  -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 93%,rgba(0,0,0,.9) 96%,rgba(0,0,0,.48) 98.5%,transparent 100%);
  mask-image: linear-gradient(to bottom,#000 0%,#000 93%,rgba(0,0,0,.9) 96%,rgba(0,0,0,.48) 98.5%,transparent 100%);
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__photo-shell::after,
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__photo-top,
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__photo-bottom,
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__orbits,
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__orb,
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__float {
  display: none !important;
}
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__photo-shell img.home-portrait-center__photo {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  border-radius: 0 !important;
  filter: none !important;
  background: transparent !important;
  /* O contêiner controla a dissolução; não aplicar máscara dupla no IMG. */
}

/* 5. A faixa pertence ao fluxo normal da capa e vem DEPOIS da foto.
   Mantém o marquee e a paleta, sem absolute, offsets ou margin negativa. */
html body.home-page-v2 .home-portrait-center > .home-editorial-ribbon {
  position: relative !important;
  inset: auto !important;
  z-index: 8 !important;
  display: block !important;
  clear: both;
  width: 100%;
  margin: 6px 0 0 !important;
  overflow: hidden;
  background: rgba(232,226,225,.72) !important;
  border-top: 1px solid rgba(134,94,114,.19) !important;
  border-bottom: 1px solid rgba(134,94,114,.19) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.04);
  backdrop-filter: blur(3px) saturate(1.04);
}
html body.home-page-v2 .home-portrait-center > .home-editorial-ribbon::before {
  background: linear-gradient(90deg,rgba(232,226,225,.93),transparent) !important;
}
html body.home-page-v2 .home-portrait-center > .home-editorial-ribbon::after {
  background: linear-gradient(270deg,rgba(232,226,225,.93),transparent) !important;
}
html body.home-page-v2 .home-portrait-center > .home-editorial-ribbon .home-editorial-ribbon__item {
  color: #2D2A30 !important;
  font-weight: 750 !important;
  text-shadow: 0 1px 1px rgba(246,245,244,.6);
}
html[data-theme="dark"] body.home-page-v2 .home-portrait-center > .home-editorial-ribbon {
  background: rgba(53,47,57,.72) !important;
  border-color: rgba(214,168,191,.23) !important;
}
html[data-theme="dark"] body.home-page-v2 .home-portrait-center > .home-editorial-ribbon::before {
  background: linear-gradient(90deg,rgba(53,47,57,.88),transparent) !important;
}
html[data-theme="dark"] body.home-page-v2 .home-portrait-center > .home-editorial-ribbon::after {
  background: linear-gradient(270deg,rgba(53,47,57,.88),transparent) !important;
}
html[data-theme="dark"] body.home-page-v2 .home-portrait-center > .home-editorial-ribbon .home-editorial-ribbon__item {
  color: #F7F2F4 !important;
  text-shadow: 0 1px 1px rgba(33,30,37,.6);
}
/* Capa e projetos compartilham o mesmo tom de fundo na borda de encontro. */
html:not([data-theme="dark"]) body.home-page-v2 #portfolio.home-projects-section {
  background: #F6F5F4 !important;
}
html[data-theme="dark"] body.home-page-v2 #portfolio.home-projects-section {
  background: #211E25 !important;
}
/* Esconde somente a borda final da atmosfera, sem cobrir o marquee nem a foto. */
html:not([data-theme="dark"]) body.home-page-v2 .home-portrait-center::after,
html[data-theme="dark"] body.home-page-v2 .home-portrait-center::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: clamp(18px, 3.5vw, 54px);
  pointer-events: none;
}
html:not([data-theme="dark"]) body.home-page-v2 .home-portrait-center::after {
  background: linear-gradient(0deg,#F6F5F4,rgba(246,245,244,0));
}
html[data-theme="dark"] body.home-page-v2 .home-portrait-center::after {
  background: linear-gradient(0deg,#211E25,rgba(33,30,37,0));
}
html body.single-page-portfolio #portfolio.home-projects-section {
  position: relative;
  z-index: 0;
}

/* 6. Tablet: toda a informação no topo, retrato por último.
   Sem coordenadas top/bottom em pixels nos botões. */
@media(max-width:1180px) {
  html body.home-page-v2 {
    --home-portrait-size: clamp(310px, calc(100svh - 435px), 420px);
    
  }
  html body.single-page-portfolio .home-portrait-center {
    padding-top: 24px !important;
  }
  html body.single-page-portfolio .home-portrait-center .container.portfolio-cinematic-hero__grid {
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto auto auto auto !important;
    justify-items: center;
    align-items: start !important;
    row-gap: 10px !important;
    width: min(720px,calc(100% - 48px)) !important;
  }
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__intro {
    grid-area: 1 / 1 / 2 / 2;
  }
  html body.single-page-portfolio .home-portrait-center #home-hero-title {
    font-size: clamp(52px,8vw,82px) !important;
    margin-bottom: 9px !important;
  }
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__details {
    grid-area: 2 / 1 / 3 / 2;
    width: min(100%,600px);
    max-width: 600px;
    justify-self: center;
    text-align: center;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__description {
    margin-inline: auto !important;
    max-width: 540px !important;
    text-align: center;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__actions {
    justify-content: center !important;
    max-width: none !important;
    margin-top: 13px !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__footnote {
    grid-area: 3 / 1 / 4 / 2;
    justify-self: center;
    align-self: start;
    width: auto;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 24px !important;
    text-align: center;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__visual {
    grid-area: 4 / 1 / 5 / 2;
    width: min(76vw,var(--home-portrait-size)) !important;
    max-width: 420px !important;
    margin-top: 58px !important;
    transform: scale(1.16) !important;
  }
}
@media(max-width:600px) {
  html body.home-page-v2 {
    --home-portrait-size: clamp(255px, calc(100svh - 440px), 355px);
    
  }
  html body.single-page-portfolio .home-portrait-center {
    padding-top: 17px !important;
  }
  html body.single-page-portfolio .home-portrait-center .container.portfolio-cinematic-hero__grid {
    width: calc(100% - 32px) !important;
    row-gap: 9px !important;
  }
  html body.single-page-portfolio .home-portrait-center #home-hero-title {
    font-size: clamp(37px,9.6vw,56px) !important;
    letter-spacing: -.065em !important;
    margin-bottom: 8px !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capabilities {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    column-gap: 13px !important;
    row-gap: 4px !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability,
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__capability + .portfolio-cinematic-hero__capability {
    font-size: 12px !important;
    gap: 5px !important;
    min-height: 23px !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__description {
    font-size: 14px !important;
    line-height: 1.58 !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__actions {
    gap: 8px !important;
    margin-top: 12px !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__actions a {
    font-size: 12px !important;
    padding: 10px 12px !important;
    min-height: 44px !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__footnote {
    font-size: 23px !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__visual {
    width: min(91vw,var(--home-portrait-size)) !important;
    margin-top: 32px !important;
    transform: scale(1.14) !important;
    transform: none !important;
  }
}
@media(max-width:390px) {
  html body.single-page-portfolio .home-portrait-center #home-hero-title {
    font-size: clamp(34px,9.2vw,39px) !important;
  }
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__visual {
    width: min(96vw,var(--home-portrait-size)) !important;
    margin-top: 24px !important;
    transform: scale(1.12) !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__visual {
    transition: none !important;
  }
}

/* Ajusta a moldura à proporção real da foto para que não reste espaço vazio
   abaixo das camadas, sem modificar as margens da faixa de tecnologias. */
html body.single-page-portfolio .home-portrait-center .portfolio-cinematic-hero__photo-shell:has(> .home-portrait-center__layer-stack) {
  aspect-ratio: 1306 / 1204 !important;
}
/* 7. Camadas independentes: sombra -> órbitas -> pessoa.
   Quando PNGs ainda não existem no deploy, conserva o retrato anterior.
   Ambas compartilham exatamente a mesma caixa 1306:1204 e ponto de origem.
   Imagens originais têm razões diferentes: object-fit: contain evita deformar o rosto. */
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack {
  position: relative;
  display: grid;
  place-items: stretch;
  width: 100%;
  aspect-ratio: 1306 / 1204;
  isolation: isolate;
  --ls-orbit-stroke: rgba(134, 94, 114, .38);
  --ls-orbit-glow: rgba(214, 168, 191, .2);
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer {
  grid-area: 1 / 1;
  position: relative !important;
  display: block !important;
  inset: auto !important;
  align-self: stretch;
  justify-self: stretch;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1306 / 1204 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer--shadow {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  filter: none;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer--person {
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  filter: none;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer--fallback {
  z-index: 5;
  opacity: 0;
  visibility: hidden;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-field {
  grid-area: 1 / 1;
  z-index: 2;
  position: relative;
  width: 100%;
  height: 100%;
  align-self: stretch;
  justify-self: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack[data-layer-state="ready"] .home-portrait-center__layer--shadow,
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack:is([data-layer-state="ready"],[data-layer-state="person"]) .home-portrait-center__layer--person,
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack:is([data-layer-state="ready"],[data-layer-state="person"]) .home-portrait-center__orbit-field {
  opacity: 1;
  visibility: visible;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack[data-layer-state="fallback"] .home-portrait-center__layer--fallback {
  opacity: 1;
  visibility: visible;
}
/* A base do recorte deixa de dissolver só no off-white: um véu
   malva Rosé Smoke (#865E72) cobre apenas o fim das camadas.
   As laterais dissolvem para não aparecer uma faixa retangular.
   Como o efeito pertence à layer-stack, não altera escala, órbitas,
   máscara exterior nem a faixa animada de tecnologias. */
html body.home-page-v2.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(134, 94, 114, .58) 0%,
    rgba(134, 94, 114, .34) 36%,
    rgba(134, 94, 114, .13) 69%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
html[data-theme="dark"] body.home-page-v2.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack::after {
  background: linear-gradient(
    to top,
    rgba(214, 168, 191, .34) 0%,
    rgba(134, 94, 114, .27) 43%,
    transparent 100%
  );
}

/* Duas elipses finas, como traços de luz que circulam atrás do retrato.
   Animação dos arcos sem bolinhas, sem orbita sobre o rosto. */
html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-line,
html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-trace {
  position: absolute;
  left: 50%;
  top: 49%;
  display: block;
  border-radius: 50%;
  background: transparent;
  transform-origin: center;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-line--first {
  width: 90%;
  height: 37%;
  border: 1px solid var(--ls-orbit-stroke);
  box-shadow: 0 0 16px var(--ls-orbit-glow), inset 0 0 8px rgba(134, 94, 114, .05);
  animation: ls-orbit-one 28s linear infinite;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-line--second {
  width: 86%;
  height: 43%;
  border: 1px solid rgba(214, 168, 191, .38);
  box-shadow: 0 0 12px rgba(214, 168, 191, .13);
  animation: ls-orbit-two 34s linear infinite;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-trace--first {
  width: 91%;
  height: 39%;
  border: 1.5px solid transparent;
  border-top-color: rgba(246, 229, 238, .82);
  border-right-color: rgba(214, 168, 191, .18);
  filter: drop-shadow(0 0 3px rgba(214, 168, 191, .47));
  animation: ls-orbit-trace-one 20s linear infinite;
}
html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-trace--second {
  width: 86%;
  height: 44%;
  border: 1px solid transparent;
  border-bottom-color: rgba(134, 94, 114, .58);
  filter: drop-shadow(0 0 4px rgba(134, 94, 114, .24));
  animation: ls-orbit-trace-two 29s linear infinite;
}
@keyframes ls-orbit-one {
  from { transform: translate(-50%, -50%) rotate(-24deg); }
  to { transform: translate(-50%, -50%) rotate(336deg); }
}
@keyframes ls-orbit-two {
  from { transform: translate(-50%, -50%) rotate(30deg); }
  to { transform: translate(-50%, -50%) rotate(-330deg); }
}
@keyframes ls-orbit-trace-one {
  from { transform: translate(-50%, -50%) rotate(-24deg); }
  to { transform: translate(-50%, -50%) rotate(336deg); }
}
@keyframes ls-orbit-trace-two {
  from { transform: translate(-50%, -50%) rotate(30deg); }
  to { transform: translate(-50%, -50%) rotate(-330deg); }
}
html[data-theme="dark"] body.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack {
  --ls-orbit-stroke: rgba(214, 168, 191, .4);
  --ls-orbit-glow: rgba(214, 168, 191, .15);
}
@media (max-width: 600px) {
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-field {
    opacity: 0;
  }
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer-stack:is([data-layer-state="ready"],[data-layer-state="person"]) .home-portrait-center__orbit-field {
    opacity: .72;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-line,
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-trace {
    animation: none !important;
  }
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-line--first,
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-trace--first {
    transform: translate(-50%, -50%) rotate(-24deg);
  }
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-line--second,
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__orbit-trace--second {
    transform: translate(-50%, -50%) rotate(30deg);
  }
}

/* PageSpeed mobile: sombra de recorte com CSS, sem o PNG exclusivo do desktop. */
@media (max-width: 767px) {
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer--shadow {
    display: none !important;
  }
  html body.single-page-portfolio .home-portrait-center .home-portrait-center__layer--person {
    filter: drop-shadow(0 12px 26px rgba(134, 94, 114, .22)) !important;
  }
}
