/* AFTERIMAGE: one photographic opening and a low strip of real film frames. */
.hero.afterimage-hero {
  --hero-gutter: clamp(24px, 4.6vw, 100px);
  --hero-strip-height: 23.3svh;
  position: relative;
  display: block;
  height: 100svh;
  min-height: 780px;
  max-height: none;
  padding: 0;
  color: #f1f2f0;
  background: #0c1012;
}
.hero.afterimage-hero .hero-parallax { inset: -12px; }
.hero.afterimage-hero .echo-image {
  left: 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hero.afterimage-hero[data-atmosphere=echo] .echo-image img {
  width: calc(100% + 14vw);
  max-width: none;
  height: 100%;
  object-position: 50% 50%;
  transform: translate(-14vw, -20svh);
  filter: brightness(.88);
  animation: none;
}
.hero.afterimage-hero::after {
  opacity: 1;
  background: linear-gradient(0deg, #0c1012 0%, #0c1012 24%, #0c101200 44%);
}
.hero.afterimage-hero .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px var(--hero-gutter) 0;
  font-size: 16px;
}
.hero.afterimage-hero .site-header nav {
  display: flex;
  width: auto;
  order: initial;
  justify-content: flex-start;
  gap: 32px;
  font-size: inherit;
}
.hero.afterimage-hero .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.hero.afterimage-hero .site-header > button {
  font-size: 12px; opacity: 1; min-height: 44px; margin: 0;
  padding: 8px 12px; color: #f1f2f0; background: #0c1012e6;
}
.hero.afterimage-hero .hero-identity {
  position: absolute;
  left: calc(var(--hero-gutter) + 20px);
  top: 19.4%;
  right: auto;
  width: min(34vw, 550px);
  max-width: none;
  margin: 0;
}
.hero.afterimage-hero .hero-identity h1 { width: 100%; }
.hero.afterimage-hero .hero-identity h1 img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.hero.afterimage-hero .hero-release-label {
  margin-top: 34px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: -.025em;
}
.hero.afterimage-hero .hero-services { display: flex; flex-wrap: nowrap; gap: 30px; margin-top: 40px; font-size: 16px; }
.hero.afterimage-hero .hero-services [data-open-platform] {
  flex-shrink: 0;
  min-width: 196px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 0;
  border: 0;
  background: #eceeed;
  color: #141a1d;
  font-size: 18px;
  line-height: 1.4;
}
.hero.afterimage-hero .hero-services > a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  border-bottom-color: #e3eee4a0;
}
.hero.afterimage-hero .hero-release-details { display: grid; gap: 5px; margin-top: 62px; font-size: 16px; line-height: 1.5; font-weight: 300; }
.hero.afterimage-hero .hero-bottom {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  left: var(--hero-gutter);
  right: var(--hero-gutter);
  top: auto;
  bottom: calc(var(--hero-strip-height) + 48px);
  gap: 24px;
  margin: 0;
}
.hero.afterimage-hero .hero-utility { display: flex; align-items: center; gap: 22px; }
.hero.afterimage-hero .scroll-cue { font-size: 12px; color: #d5dbda; white-space: nowrap; }
.hero.afterimage-hero .scroll-cue span { margin-left: 12px; }
.hero.afterimage-hero .hero-signal { position: static; left: auto; top: auto; transform: none; min-width: 44px; min-height: 44px; padding: 10px; margin: 0; }
.hero.afterimage-hero .signal-bars { height: 24px; gap: 4px; }
.hero.afterimage-hero .signal-bars i { width: 3px; height: 7px; }
.hero.afterimage-hero .signal-bars i:nth-child(2),
.hero.afterimage-hero .signal-bars i:nth-child(4) { height: 16px; }
.hero.afterimage-hero .signal-bars i:nth-child(3) { height: 24px; }
.hero.afterimage-hero .signal-caption { display: none; }
.hero.afterimage-hero .mood-tools { gap: 0; }
.hero.afterimage-hero .mood-nav { gap: 24px; }
.hero.afterimage-hero .mood-nav button { font-size: 12px; min-height: 44px; }
.hero.afterimage-hero .mood-nav button[aria-pressed=true]::before { display: none; }
.hero.afterimage-hero .scene-playback-row { font-size: 11px; line-height: 1.35; }
.hero.afterimage-hero .hero-films {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 40px;
  left: var(--hero-gutter);
  right: var(--hero-gutter);
  bottom: 36px;
  height: var(--hero-strip-height);
  padding-top: 35px;
  border-top: 1px solid #d5dedc99;
}
.hero.afterimage-hero .hero-film {
  display: grid;
  grid-template-columns: minmax(0, 3.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
  color: inherit;
  background: none;
}
.hero.afterimage-hero .hero-film-image { display: block; min-width: 0; height: 100%; overflow: hidden; }
.hero.afterimage-hero .hero-film img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity 220ms; }
.hero.afterimage-hero .hero-film:hover img { opacity: .86; }
.hero.afterimage-hero .hero-film-label { font-size: clamp(18px, 1.7vw, 26px); line-height: 1.3; font-weight: 300; letter-spacing: -.025em; }

@media (max-height: 950px) and (min-width: 901px) {
  .hero.afterimage-hero { min-height: 740px; --hero-strip-height: 170px; }
  .hero.afterimage-hero .hero-identity { top: 14%; width: min(34vw, 470px); }
  .hero.afterimage-hero .hero-release-label { margin-top: 18px; }
  .hero.afterimage-hero .hero-services { margin-top: 24px; }
  .hero.afterimage-hero .hero-release-details { margin-top: 26px; font-size: 14px; }
  .hero.afterimage-hero .hero-films { padding-top: 24px; bottom: 26px; }
  .hero.afterimage-hero .hero-bottom { bottom: calc(var(--hero-strip-height) + 34px); }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .hero.afterimage-hero { min-height: 950px; }
  .hero.afterimage-hero .hero-identity { left: var(--hero-gutter); width: 43vw; }
  .hero.afterimage-hero .hero-services { gap: 22px; }
  .hero.afterimage-hero .hero-services [data-open-platform] { padding-inline: 22px; }
  .hero.afterimage-hero .hero-films { gap: 28px; --hero-strip-height: 22svh; }
  .hero.afterimage-hero .hero-film { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
  .hero.afterimage-hero .hero-film-label { font-size: 18px; }
}
@media (max-width: 700px) {
  .hero.afterimage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(80px, 14svh) auto auto;
    gap: 0;
    height: auto;
    min-height: 100svh;
    padding: 0 var(--hero-gutter) 28px;
  }
  .hero.afterimage-hero .hero-parallax { grid-area: auto; }
  .hero.afterimage-hero .echo-image { left: 0; }
  .hero.afterimage-hero .hero-image img { object-position: 60% center; }
  .hero.afterimage-hero[data-atmosphere=echo] .echo-image img { width: 100%; max-width: 100%; height: 100%; object-position: 60% 38%; transform: none; filter: brightness(.52); }
  .hero.afterimage-hero .site-header { grid-column: 1; grid-row: 1; padding: 16px 0 0; gap: 14px; flex-wrap: wrap; }
  .hero.afterimage-hero .site-header nav { width: auto; gap: 22px; font-size: 14px; }
  .hero.afterimage-hero .site-header > button { font-size: 11px; gap: 8px; }
  .hero.afterimage-hero .hero-identity { position: relative; grid-column: 1; grid-row: 2; top: auto; left: auto; right: auto; width: 100%; max-width: 450px; margin-top: 68px; align-self: start; }
  .hero.afterimage-hero .hero-release-label { font-size: 23px; margin-top: 22px; }
  .hero.afterimage-hero .hero-services { gap: 22px; margin-top: 28px; flex-wrap: wrap; }
  .hero.afterimage-hero .hero-services [data-open-platform] { padding: 12px 19px; min-height: 48px; min-width: 0; font-size: 14px; }
  .hero.afterimage-hero .hero-services > a { font-size: 14px; min-height: 48px; }
  .hero.afterimage-hero .hero-release-details { font-size: 14px; margin-top: 34px; gap: 3px; }
  .hero.afterimage-hero .hero-bottom { position: relative; grid-column: 1; grid-row: 4; top: auto; left: auto; right: auto; bottom: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 22px; }
  .hero.afterimage-hero .mood-tools { grid-row: 1; align-items: stretch; }
  .hero.afterimage-hero .mood-nav { justify-content: space-between; gap: 12px; }
  .hero.afterimage-hero .mood-nav button { font-size: 13px; min-width: 44px; }
  .hero.afterimage-hero .scene-playback-row { font-size: 11px; }
  .hero.afterimage-hero .hero-utility { grid-row: 2; justify-content: space-between; }
  .hero.afterimage-hero .scroll-cue { font-size: 12px; }
  .hero.afterimage-hero .scroll-cue span { display: inline; }
  .hero.afterimage-hero .hero-films { position: relative; grid-column: 1; grid-row: 5; top: auto; left: auto; right: auto; bottom: auto; height: auto; min-width: 0; gap: 20px; padding-top: 24px; }
  .hero.afterimage-hero .hero-film { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; align-items: start; }
  .hero.afterimage-hero .hero-film-image { height: auto; aspect-ratio: 1.5; width: 100%; }
  .hero.afterimage-hero .hero-film-label { font-size: 17px; line-height: 1.35; }
}
@media (max-width: 380px) {
  .hero.afterimage-hero .site-header nav { gap: 18px; }
  .hero.afterimage-hero .site-header > button { font-size: 10px; }
  .hero.afterimage-hero .hero-services { gap: 16px; }
  .hero.afterimage-hero .hero-films { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.afterimage-hero .hero-film img { transition: none; }
}
