#hero-home * {
  box-sizing: border-box;
}
#hero-home {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
#hero-home a {
  color: inherit;
  text-decoration: none;
}
#hero-home header {
  height: 88px;
  margin: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid currentColor;
}
#hero-home header .brand {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
}
#hero-home nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
#hero-home nav .try {
  border: 1px solid;
  padding: 13px 20px;
  border-radius: 30px;
}
#hero-home .brand i {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e9b76c;
  box-shadow: 0 0 18px #e9b76c66;
  margin-right: 10px;
}
#hero-home h1,
#hero-home p {
  margin: 0;
}
#hero-home h1 {
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.99;
}
#hero-home em {
  font-family: Georgia, serif;
  font-weight: 400;
}
#hero-home small,
#hero-home .eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
#hero-home .actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  font-size: 13px;
}
#hero-home .btn {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  padding: 18px 24px;
  border-radius: 30px;
}
#hero-home .sub {
  font-size: 17px;
  line-height: 1.6;
}
#hero-home .fine {
  font-size: 11px;
  letter-spacing: 0.03em;
}
#hero-home a:focus-visible {
  outline: 2px solid #c77e33;
  outline-offset: 5px;
}
#hero-home img {
  display: block;
  max-width: 100%;
}
@media (max-width: 700px) {
  #hero-home header {
    height: 72px;
  }
  #hero-home nav a:not(.try) {
    display: none;
  }
  #hero-home nav {
    gap: 0;
  }
  #hero-home .actions {
    gap: 18px;
  }
  #hero-home .sub {
    font-size: 16px;
  }
}
#hero-home {
  background: #f0ece3;
  color: #302e26;
}
#hero-home header {
  border-color: #302e2620;
}
#hero-home .stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 812px;
}
#hero-home .copy {
  padding: 110px 9% 65px 12%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
#hero-home .eyebrow {
  color: #867252;
  margin-bottom: 33px;
}
#hero-home h1 {
  font-size: 90px;
}
#hero-home h1 em {
  color: #956a3c;
}
#hero-home .sub {
  margin-top: 30px;
  max-width: 365px;
  color: #716b5f;
}
#hero-home .btn {
  background: #39392e;
  color: #fff9ed;
}
#hero-home .photo {
  margin: 30px 30px 30px 0;
  position: relative;
  border-radius: 160px 160px 8px 8px;
  overflow: hidden;
}
#hero-home .photo img {
  width: 100%;
  height: 752px;
  object-fit: cover;
  object-position: center 58%;
}
#hero-home .photo figcaption {
  position: absolute;
  bottom: 20px;
  left: 25px;
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px #000;
}
#hero-home .note {
  margin-top: 75px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: #716b5f;
}
#hero-home .note:before {
  content: '✧';
  font-size: 29px;
  color: #a47844;
}
@media (max-width: 700px) {
  #hero-home .stage {
    display: flex;
    flex-direction: column;
  }
  #hero-home .copy {
    padding: 49px 7% 35px;
  }
  #hero-home h1 {
    font-size: 62px;
  }
  #hero-home .eyebrow {
    margin-bottom: 25px;
  }
  #hero-home .note {
    margin-top: 30px;
  }
  #hero-home .photo {
    margin: 0 6% 25px;
    border-radius: 100px 100px 5px 5px;
  }
  #hero-home .photo img {
    height: 460px;
  }
  #hero-home .sub {
    max-width: 300px;
  }
}
#hero-feelings * {
  box-sizing: border-box;
}
#hero-feelings {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
#hero-feelings a {
  color: inherit;
  text-decoration: none;
}
#hero-feelings header {
  height: 88px;
  margin: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid currentColor;
}
#hero-feelings header .brand {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
}
#hero-feelings nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
#hero-feelings nav .try {
  border: 1px solid;
  padding: 13px 20px;
  border-radius: 30px;
}
#hero-feelings .brand i {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e9b76c;
  box-shadow: 0 0 18px #e9b76c66;
  margin-right: 10px;
}
#hero-feelings h1,
#hero-feelings p {
  margin: 0;
}
#hero-feelings h1 {
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.99;
}
#hero-feelings em {
  font-family: Georgia, serif;
  font-weight: 400;
}
#hero-feelings small,
#hero-feelings .eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
#hero-feelings .actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  font-size: 13px;
}
#hero-feelings .btn {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  padding: 18px 24px;
  border-radius: 30px;
}
#hero-feelings .sub {
  font-size: 17px;
  line-height: 1.6;
}
#hero-feelings .fine {
  font-size: 11px;
  letter-spacing: 0.03em;
}
#hero-feelings a:focus-visible {
  outline: 2px solid #c77e33;
  outline-offset: 5px;
}
#hero-feelings img {
  display: block;
  max-width: 100%;
}
@media (max-width: 700px) {
  #hero-feelings header {
    height: 72px;
  }
  #hero-feelings nav a:not(.try) {
    display: none;
  }
  #hero-feelings nav {
    gap: 0;
  }
  #hero-feelings .actions {
    gap: 18px;
  }
  #hero-feelings .sub {
    font-size: 16px;
  }
}
#hero-feelings {
  background: #f7f1e7;
  color: #422f24;
}
#hero-feelings header {
  border-color: #684a3225;
}
#hero-feelings .stage {
  min-height: 812px;
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  align-items: center;
  padding: 45px 4% 45px 6%;
  gap: 4%;
}
#hero-feelings .copy {
  padding-bottom: 20px;
}
#hero-feelings .eyebrow {
  color: #9b6b3c;
  margin-bottom: 30px;
}
#hero-feelings h1 {
  font-size: 79px;
}
#hero-feelings h1 em {
  color: #ae7750;
}
#hero-feelings .sub {
  max-width: 340px;
  margin-top: 28px;
  color: #806b5a;
}
#hero-feelings .btn {
  background: #68432d;
  color: #fff6e6;
}
#hero-feelings .art {
  margin: 0;
  position: relative;
}
#hero-feelings .art img {
  width: 100%;
  border-radius: 9px;
}
#hero-feelings .art figcaption {
  font-size: 10px;
  color: #927b68;
  margin-top: 15px;
  text-align: right;
}
#hero-feelings .modes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 27px 0 0;
}
#hero-feelings .modes span {
  font-size: 11px;
  border: 1px solid #9c7c5d44;
  padding: 9px 13px;
  border-radius: 20px;
}
#hero-feelings .fine {
  margin-top: 36px;
  color: #927b68;
}
@media (max-width: 700px) {
  #hero-feelings .stage {
    display: flex;
    flex-direction: column;
    padding: 48px 6% 30px;
    gap: 25px;
    align-items: stretch;
  }
  #hero-feelings h1 {
    font-size: 63px;
  }
  #hero-feelings .eyebrow {
    margin-bottom: 24px;
  }
  #hero-feelings .fine {
    margin-top: 25px;
  }
  #hero-feelings .art figcaption {
    text-align: left;
  }
  #hero-feelings .sub {
    max-width: 300px;
  }
  #hero-feelings .copy {
    padding: 0;
  }
}

/* Scoped integration of the two approved previews; no global engine styling. */
.home-with-hero-switch > .site-header {
  background: #f0ece3;
  color: #302e26;
  border-color: #302e2620;
}
.home-with-hero-switch > .site-header a:hover {
  color: #78502a;
}
.home-with-hero-switch > .site-header .nav-cta {
  border-color: #6b6459;
  border-radius: 30px;
}
.home-with-hero-switch > .site-header a:focus-visible {
  outline-color: #78502a;
}
.hero-switch {
  position: relative;
  overflow: hidden;
  background: #f0ece3;
  color: #302e26;
  color-scheme: light;
}
.hero-switch .site-particles {
  opacity: 0.12;
  z-index: 1;
}
.hero-switch-bar,
.hero-variant {
  position: relative;
}
.hero-switch-bar {
  z-index: 2;
  min-height: 68px;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hero-switch-label {
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #77674f;
}
.hero-selector {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #81736055;
  border-radius: 28px;
  background: #f7f3eb;
}
.hero-selector button {
  background: transparent;
  border: 0;
  border-radius: 24px;
  padding: 12px 20px;
  min-height: 44px;
  color: #574b3c;
  font-size: 12px;
  white-space: nowrap;
}
.hero-selector button[aria-pressed='true'] {
  background: #39392e;
  color: #fff9ed;
}
.hero-switch [hidden],
.feelings-story[hidden] {
  display: none !important;
}
.hero-switch a:focus-visible,
.hero-switch button:focus-visible,
.hero-switch summary:focus-visible {
  outline: 2px solid #85562c;
  outline-offset: 4px;
}
#hero-home em,
#hero-feelings em {
  font-style: italic;
}
#hero-home .eyebrow,
#hero-feelings .eyebrow {
  line-height: 1.5;
}
#hero-home .photo {
  margin-top: 5px;
}
#hero-home .stage,
#hero-feelings .stage {
  min-height: 740px;
}
#hero-home .copy {
  padding-top: 45px;
}
#hero-home .photo img {
  height: 705px;
}
#hero-feelings .stage {
  padding-top: 15px;
}
#hero-home .note,
#hero-feelings .fine {
  line-height: 1.6;
}
#hero-feelings .hero-transcript {
  font-size: 12px;
  color: #675645;
  margin-top: 12px;
}
#hero-feelings .hero-transcript p {
  font-size: 12px;
  color: inherit;
  line-height: 1.6;
}
#hero-feelings .hero-transcript ul {
  padding-left: 20px;
  line-height: 1.7;
}
.hero-switch-animated .hero-variant:not([hidden]) {
  animation: hero-reveal 0.32s ease-out;
}
@keyframes hero-reveal {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  #hero-home h1 {
    font-size: 62px;
  }
  #hero-feelings h1 {
    font-size: 57px;
  }
  #hero-home .note {
    margin-top: 32px;
  }
  #hero-home .copy {
    padding: 30px 7% 40px 10%;
  }
  #hero-home .photo {
    border-radius: 100px 100px 6px 6px;
  }
}
@media (max-width: 700px) {
  .hero-switch-bar {
    padding: 12px 6%;
    min-height: 70px;
  }
  .hero-switch-label {
    font-size: 9px;
    max-width: 70px;
    line-height: 1.6;
  }
  .hero-selector button {
    padding: 11px 14px;
  }
  #hero-home .stage,
  #hero-feelings .stage {
    min-height: 0;
  }
  #hero-home .copy {
    padding-top: 24px;
  }
  #hero-home h1,
  #hero-feelings h1 {
    font-size: clamp(47px, 14.5vw, 62px);
  }
  #hero-home .photo img {
    height: 460px;
  }
  #hero-home .actions {
    flex-wrap: wrap;
  }
  #hero-home .photo {
    margin-top: 0;
  }
  #hero-feelings .stage {
    padding-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-switch-animated .hero-variant:not([hidden]) {
    animation: none;
  }
}
#hero-feelings .art img {
  height: auto;
}
#hero-home h1 em,
#hero-feelings h1 em {
  font-style: italic;
  font-synthesis: style;
}

/* Decorative SVG overlays retain the original source imagery and robot geometry. */
.hero-living-media {
  position: relative;
  overflow: hidden;
}
#hero-home .photo img {
  object-position: center center;
}
.hero-life-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Brighter localized light; the original photo remains the source of form and texture. */
.hero-orb-light {
  mix-blend-mode: screen;
}
.hero-orb-breath {
  opacity: 0.38;
  animation: hero-orb-breathe 5.8s ease-in-out infinite;
  animation-delay: var(--phase, 0s);
}
.hero-orb-spill {
  opacity: 0.42;
  animation: hero-orb-breathe 5.8s ease-in-out infinite;
  animation-delay: var(--phase, 0s);
}
.hero-orb-mote {
  opacity: 0;
  animation: hero-mote-rise 7s ease-in-out infinite;
  mix-blend-mode: screen;
}
.hero-mote-calm {
  animation-duration: 9s;
}
.hero-mote-sad {
  animation-name: hero-mote-fall;
  animation-duration: 9.5s;
}
.hero-mote-dynamic {
  animation-duration: 5.5s;
}
.hero-gaze,
.hero-eye,
.hero-blink {
  transform-box: fill-box;
  transform-origin: center;
}
.hero-gaze {
  animation: hero-warm-gaze 7.4s ease-in-out infinite;
}
.hero-blink {
  animation: hero-warm-blink 7.4s ease-in-out infinite;
}
.hero-face-calm .hero-gaze {
  animation: hero-calm-gaze 10.6s ease-in-out infinite;
}
.hero-face-calm .hero-blink {
  animation: hero-calm-blink 10.6s ease-in-out infinite;
}
.hero-face-sad .hero-gaze {
  animation: hero-sad-gaze 11.3s ease-in-out infinite;
}
.hero-face-sad .hero-blink {
  animation: hero-sad-blink 11.3s ease-in-out infinite;
}
.hero-face-dynamic .hero-gaze {
  animation: hero-dynamic-gaze 6.8s ease-in-out infinite;
}
.hero-face-dynamic .hero-blink {
  animation: hero-dynamic-blink 6.8s ease-in-out infinite;
}
.hero-face-dynamic .hero-eye-1 {
  animation: hero-dynamic-brow 6.8s ease-in-out infinite;
}
@keyframes hero-orb-breathe {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.72;
  }
}
@keyframes hero-mote-rise {
  0% {
    opacity: 0;
    transform: translate(0, 24px);
  }
  18% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
  82% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift, 12px), -64px);
  }
}
@keyframes hero-mote-fall {
  0% {
    opacity: 0;
    transform: translate(0, -28px);
  }
  24% {
    opacity: 0.85;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift, 12px), 36px);
  }
}
@keyframes hero-warm-gaze {
  0%,
  100% {
    transform: translate(0, 0);
  }
  28%,
  43% {
    transform: translate(3px, -5px) scale(1.05, 1.08);
  }
  70% {
    transform: translate(-2px, 0);
  }
}
@keyframes hero-warm-blink {
  0%,
  59%,
  65%,
  100% {
    transform: scaleY(1);
  }
  61%,
  62% {
    transform: scaleY(0.12);
  }
}
@keyframes hero-calm-gaze {
  0%,
  100% {
    transform: translate(0, 0) scaleY(0.85);
  }
  45%,
  65% {
    transform: translate(0, 2px) scaleY(0.65);
  }
}
@keyframes hero-calm-blink {
  0%,
  72%,
  85%,
  100% {
    transform: scaleY(1);
  }
  77%,
  80% {
    transform: scaleY(0.12);
  }
}
@keyframes hero-sad-gaze {
  0%,
  100% {
    transform: translate(0, 0);
  }
  38%,
  68% {
    transform: translate(-2px, 5px) rotate(-2deg);
  }
}
@keyframes hero-sad-blink {
  0%,
  47%,
  60%,
  100% {
    transform: scaleY(1);
  }
  51%,
  55% {
    transform: scaleY(0.18);
  }
}
@keyframes hero-dynamic-gaze {
  0%,
  100% {
    transform: translate(0, 0);
  }
  18%,
  34% {
    transform: translate(-4px, -2px) rotate(-2deg);
  }
  62%,
  77% {
    transform: translate(3px, 0);
  }
}
@keyframes hero-dynamic-blink {
  0%,
  37%,
  43%,
  49%,
  100% {
    transform: scaleY(1);
  }
  39%,
  40%,
  46% {
    transform: scaleY(0.12);
  }
}
@keyframes hero-dynamic-brow {
  0%,
  100% {
    transform: translateY(0);
  }
  20%,
  36% {
    transform: translateY(-5px) rotate(-4deg);
  }
}
.hero-switch:not(.hero-alive-running) .hero-life-overlay * {
  animation-play-state: paused !important;
}
.hero-switch.hero-motion-paused .hero-life-overlay {
  display: none;
}
.hero-life-toggle {
  border: 0;
  background: transparent;
  color: #675645;
  font-size: 11px;
  min-height: 44px;
  padding: 8px;
  cursor: pointer;
  margin-left: 12px;
}
.hero-switch-bar {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.hero-switch-label {
  margin-right: auto;
}
@media (max-width: 700px) {
  .hero-life-toggle {
    margin-left: 0;
  }
  .hero-switch-bar {
    row-gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-life-overlay,
  .hero-life-toggle {
    display: none;
  }
}

/* Original v0.1 hero restored as an additional option; current engine stays intact. */
#hero-original {
  background: #090a0b;
  color: #f3f0e8;
  color-scheme: dark;
}
#hero-original .hero-lede {
  color: #b8b3a7;
}
#hero-original .hero-index {
  margin-top: 30px;
}
.hero-switch[data-hero-style='original'] {
  background: #090a0b;
  color: #f3f0e8;
}
.hero-switch[data-hero-style='original'] .hero-switch-label {
  color: #c8b68e;
}
.hero-switch[data-hero-style='original'] .hero-life-toggle {
  color: #d8cdb6;
}
.hero-switch[data-hero-style='original'] .site-particles {
  opacity: 0.5;
}
#hero-original .hero-art {
  z-index: 0;
}
@media (max-width: 700px) {
  .hero-switch-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-selector button {
    padding: 11px 12px;
  }
  .hero-switch-label {
    max-width: 50px;
  }
  .hero-selector {
    max-width: 100%;
  }
  .hero-life-toggle {
    margin-left: auto;
  }
  #hero-original .hero-art {
    height: 380px;
  }
}
@media (max-width: 360px) {
  .hero-switch-label {
    display: none;
  }
  .hero-selector {
    margin: auto;
  }
}
