/* Only the two localized assistant homepages use this shared layout. */
#entry #avatarstudio.unified-hero {
  --hero-space: clamp(30px, 4vw, 64px);
  display: grid;
  grid-template-columns: 55% 45%;
  grid-template-rows: 1fr auto;
  grid-template-areas: "copy visual" "profile visual";
  height: auto;
  min-height: clamp(560px, 46vw, 690px);
  padding: 0;
  margin-top: 18px;
  background-position: center;
}
#entry #avatarstudio.unified-hero .hero-copy {
  grid-area: copy;
  position: relative;
  inset: auto;
  align-self: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: var(--hero-space) 0 28px var(--hero-space);
  z-index: 1;
}
#entry #avatarstudio.unified-hero .hero-eyebrow {
  color: var(--accent);
  font: 600 .67rem/1.5 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  max-width: none;
  margin: 0 0 20px;
}
#entry #avatarstudio.unified-hero #platform-title {
  font-family: "Jomri Display", Inter, Arial, sans-serif;
  font-size: clamp(2.65rem, 4.3vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.04;
  margin: 0 0 22px;
  max-width: 12.5ch;
  text-wrap: balance;
}
#entry #avatarstudio.unified-hero .hero-lead {
  color: #c3cece;
  font-size: clamp(.98rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  max-width: 38ch;
  margin: 0;
}
#entry #avatarstudio.unified-hero .hero-actions {
  margin-top: 26px;
  gap: 10px;
  flex-wrap: wrap;
}
#entry #avatarstudio.unified-hero .hero-actions > button {
  min-height: 46px;
  padding-inline: 16px;
  font-size: .9rem;
}
#entry #avatarstudio.unified-hero .hero-note {
  position: static;
  margin: 10px 0 0;
  max-width: 44ch;
  font-size: .75rem;
  line-height: 1.5;
}
#entry #avatarstudio.unified-hero .hero-note:empty { display: none; }
#entry #avatarstudio.unified-hero .hero-profile {
  grid-area: profile;
  z-index: 1;
  margin: 0 var(--hero-space) 30px;
  padding-top: 18px;
  border-top: 1px solid #b8d8d229;
  max-width: 480px;
}
#entry #avatarstudio.unified-hero .hero-profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#entry #avatarstudio.unified-hero #hero-title {
  margin: 0;
  font-family: "Jomri Display", Inter, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
}
#entry #avatarstudio.unified-hero #hero-description {
  font-size: .85rem;
  line-height: 1.5;
  color: #aabbbb;
  max-width: 43ch;
  margin-top: 8px;
}
#entry #avatarstudio.unified-hero #hero-enter {
  flex-shrink: 0;
  margin: 0;
  min-height: 34px;
  font-size: .75rem;
  text-underline-offset: 3px;
}
#entry #avatarstudio.unified-hero .hero-picture { left: 42%; }
#entry #avatarstudio.unified-hero .stage-light { inset: 0 0 0 42%; }
#entry #avatarstudio.unified-hero .hero-scrim {
  background: linear-gradient(90deg, #071014ad 0%, #0710149c 29%, #07101478 44%, #07101422 66%, transparent 82%);
}
#entry #avatarstudio.unified-hero .hero-top {
  left: auto;
  right: 25px;
  top: 25px;
  z-index: 1;
}
#entry #avatarstudio.unified-hero .hero-top .camera-label { display: none; }
#entry #avatarstudio.unified-hero .hero-indicator { bottom: 26px; right: 25px; }
@media (min-width: 901px) and (max-width: 1100px) {
  #entry #avatarstudio.unified-hero { grid-template-columns: 57% 43%; --hero-space: 32px; }
  #entry #avatarstudio.unified-hero #platform-title { font-size: 2.8rem; }
  #entry #avatarstudio.unified-hero .hero-actions > button { padding-inline: 12px; font-size: .85rem; }
}
@media (max-width: 900px) {
  #entry #avatarstudio.unified-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto var(--portrait-height) auto;
    grid-template-areas: "copy" "portrait" "profile";
    --hero-space: clamp(22px, 5vw, 38px);
    --portrait-height: clamp(300px, 66vw, 450px);
    min-height: 0;
    height: auto;
    padding: 0;
    margin-top: 12px;
  }
  #entry #avatarstudio.unified-hero .hero-copy {
    padding: 30px var(--hero-space) 22px;
    position: relative;
    inset: auto;
    max-width: none;
    margin: 0;
    background: linear-gradient(180deg, #071014f7, #071014e8 80%, #071014d9);
  }
  #entry #avatarstudio.unified-hero .hero-eyebrow { margin-bottom: 16px; font-size: .61rem; }
  #entry #avatarstudio.unified-hero #platform-title {
    font-size: clamp(2.15rem, 6.5vw, 3.7rem);
    max-width: 17ch;
    margin-bottom: 18px;
  }
  #entry #avatarstudio.unified-hero .hero-lead { font-size: .98rem; max-width: 44ch; line-height: 1.6; }
  #entry #avatarstudio.unified-hero .hero-actions { margin-top: 22px; gap: 8px; }
  #entry #avatarstudio.unified-hero .hero-picture {
    grid-area: portrait;
    position: relative;
    inset: auto;
    width: 100%;
    height: var(--portrait-height);
    max-height: none;
    z-index: 0;
  }
  #entry #avatarstudio.unified-hero .stage-light {
    grid-area: portrait;
    position: relative;
    inset: auto;
    height: var(--portrait-height);
    z-index: -2;
  }
  #entry #avatarstudio.unified-hero .light-arc { width: min(100%, 450px); }
  #entry #avatarstudio.unified-hero .hero-scrim {
    z-index: -1;
    background: linear-gradient(180deg, #071014aa, transparent 55%, #07101470);
  }
  #entry #avatarstudio.unified-hero .hero-top {
    grid-area: portrait;
    align-self: start;
    justify-self: end;
    position: relative;
    inset: auto;
    margin: 16px 20px;
  }
  #entry #avatarstudio.unified-hero .hero-profile {
    margin: 0;
    padding: 18px var(--hero-space) 24px;
    max-width: none;
    background: #071014e8;
    border-top: 1px solid #b8d8d21c;
  }
  #entry #avatarstudio.unified-hero #hero-description { max-width: 48ch; }
  #entry #avatarstudio.unified-hero #hero-enter { min-height: 44px; }
  #entry #avatarstudio.unified-hero .hero-indicator { display: none; }
}
@media (max-width: 420px) {
  #entry #avatarstudio.unified-hero { --hero-space: 20px; }
  #entry #avatarstudio.unified-hero #platform-title { font-size: clamp(1.95rem, 8.4vw, 2.2rem); }
  #entry #avatarstudio.unified-hero .hero-actions > button { padding-inline: 12px; font-size: .84rem; flex: 1 1 auto; }
}
@media (max-width: 360px) {
  #entry #avatarstudio.unified-hero { --hero-space: 17px; }
  #entry #avatarstudio.unified-hero .hero-eyebrow { font-size: .55rem; letter-spacing: .1em; }
  #entry #avatarstudio.unified-hero .hero-actions { flex-direction: column; align-items: stretch; }
  #entry #avatarstudio.unified-hero .hero-actions > button { justify-content: center; }
}

/* One continuous scene across the hero, with portrait framing on mobile. */
#entry #avatarstudio.unified-hero[data-scene] { background-image: none; }
#entry #avatarstudio.unified-hero[data-scene]::before {
  content: "";
  position: absolute;
  /* Keep the scene reflection visible beside the foreground portrait. */
  inset: 0 -20% 0 0;
  z-index: -5;
  pointer-events: none;
  background: var(--scene-image) center / cover no-repeat;
}
@media (max-width: 900px) {
  #entry #avatarstudio.unified-hero[data-scene]::before {
    grid-area: portrait;
    position: relative;
    inset: auto;
    height: var(--portrait-height);
    z-index: -3;
  }
}
