/* Hermes product styles: the statue hero on the home page.
   Colours come from the theme variables (green palette set in site.config.js and tokens). */

.hero-statue{
  isolation:isolate; overflow:hidden;
  background:var(--night); color:var(--on-night);
  min-height:min(94vh, 880px); display:grid; align-items:center;
}
.hero-statue .statue{
  position:absolute; inset:0; z-index:0;
  background:url("../assets/images/hermes-statue.jpg") 78% 30% / cover no-repeat;
}
/* Pull the starfield towards the app's green, then fade the left side for the copy. */
.hero-statue .statue::before{
  content:""; position:absolute; inset:0;
  background:var(--brand-primary); mix-blend-mode:color; opacity:.42;
}
.hero-statue .statue::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(60% 55% at 72% 38%, rgba(var(--brand-accent-rgb, 94,211,176), .16), transparent 70%),
    linear-gradient(90deg, var(--night) 0%, color-mix(in srgb, var(--night) 88%, transparent) 32%, color-mix(in srgb, var(--night) 30%, transparent) 62%, transparent 100%),
    linear-gradient(0deg, var(--night) 0%, transparent 28%);
}
.hero-statue .hero-copy{ max-width:720px; }
.hero-statue h1{ color:#fff; }
.hero-statue .lede{ color:var(--on-night-2); }
.hero-statue .eyebrow{ color:var(--accent); }
.hero-statue .btn{ background:var(--accent); color:var(--night); }
.hero-statue .btn:hover{ background:#fff; color:var(--night); }
.hero-statue .btn.ghost{ background:transparent; color:#fff; box-shadow:inset 0 0 0 1px var(--night-line-2); }
.hero-statue .btn.ghost:hover{ background:rgba(255,255,255,.08); }

/* The five-step card sits just below the stage and overlaps it slightly. */
.hero-flow{ position:relative; z-index:2; margin-top:calc(-1 * clamp(40px, 6vw, 80px)); }
.hero-flow .hero-solo{ margin-top:0; }

@media (max-width:900px){
  .hero-statue .statue{ background-position:70% 20%; }
  .hero-statue .statue::after{
    background:
      linear-gradient(0deg, var(--night) 0%, color-mix(in srgb, var(--night) 82%, transparent) 55%, color-mix(in srgb, var(--night) 35%, transparent) 100%);
  }
}
@media (prefers-reduced-motion: no-preference){
  .hero-statue .statue{ animation:hermes-drift 24s var(--ease-io) infinite alternate; }
  @keyframes hermes-drift{ from{ transform:scale(1.02); } to{ transform:scale(1.07) translate3d(-1%, -1%, 0); } }
}

/* Nav over the statue stage, before the page scrolls: light text. */
body:has(.hero-statue) .nav:not(.scrolled):not(.open){ color:var(--on-night); }
body:has(.hero-statue) .nav:not(.scrolled):not(.open) .lockup .word{ color:#fff; }
body:has(.hero-statue) .nav:not(.scrolled):not(.open) ul a{ color:var(--on-night-2); }
body:has(.hero-statue) .nav:not(.scrolled):not(.open) ul a:hover{ color:#fff; background:rgba(255,255,255,.08); }
body:has(.hero-statue) .nav:not(.scrolled):not(.open) .menu-btn span{ background:#fff; }
