html {
  --homebar-height: var(--emporio-header-height);
  --homebar-gutter: 34px;
  scroll-padding-top: var(--homebar-height);
}

.header.home-header {
  position: sticky;
  inset: 0 auto auto;
  height: var(--homebar-height);
  margin: 0 calc(-1 * var(--homebar-gutter)) calc(-1 * var(--homebar-height));
  padding-inline: var(--homebar-gutter);
  background: transparent;
  color: #fff;
  border-bottom: 0;
}

/* The existing scroll state restores contrast once the hero has passed. */
.header.home-header.is-solid { background: var(--paper); color: var(--ink); }
.home-header:not(.is-solid) .logo-frame img { filter: brightness(0) invert(1); }
.home-header:not(.is-solid) .nav,
.home-header:not(.is-solid) .menu-toggle,
.home-header:not(.is-solid) .language-picker summary {
  text-shadow: 0 1px 3px rgb(19 18 17 / 70%);
}


.hero {
  margin-inline: calc(-1 * var(--homebar-gutter));
  aspect-ratio: auto;
  min-height: 100vh;
  min-height: 100svh;
}
.hero > .hero-model {
  object-fit: cover;
  object-position: 50% 43%;
}

.hero::after {
  inset: 0 0 auto;
  height: calc(var(--homebar-height) + 46px);
  background: linear-gradient(to bottom, rgb(19 18 17 / 38%), transparent);
}

.hero .hero-copy {
  inset: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 59vh;
  padding-top: 59svh;
  pointer-events: none;
}
.hero .hero-cta {
  position: relative;
  transform: none;
  background: none;
  border: 0;
  padding: 13px 8px;
  color: #fff;
  font-size: clamp(11px, 1.05vw, 14px);
  white-space: nowrap;
  pointer-events: auto;
}
.hero .hero-cta:hover { opacity: 1; }
.hero .hero-cta::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}
.hero .hero-cta:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .hero .hero-cta:hover::after { transform: scaleX(1); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero .hero-cta::after { transition: transform .3s ease; }
}
@media (max-width: 700px) {
  html {
    --homebar-gutter: 16px;
  }
  .header.home-header {
    --homebar-safe-inline: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    padding: env(safe-area-inset-top, 0px) var(--homebar-safe-inline) 0;
  }
  .hero > .hero-model { object-position: 49% center; }
  .hero .hero-copy {
    padding-top: 60vh;
    padding-top: 60svh;
  }
  .hero .hero-cta { font-size: 13px; min-height: 44px; align-items: center; }
}
