/* PSI 6.0.18 · Hero A
   Homepage-only styles. Navigation, other sections and secondary pages
   retain their 6.0.6 styles. The video file is not re-encoded. */
.hero.hero-a {
  --hero-nav-height: 70px;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  max-height: 100svh;
  isolation: isolate;
  background: #08131f;
  border: 0;
}

/* Keep the picture below the solid header rather than behind it. */

/* Smoothly blend the video into the first content section. */
.hero.hero-a::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(8, 20, 33, 0) 0%,
    rgba(8, 20, 33, .12) 28%,
    rgba(8, 20, 33, .42) 58%,
    rgba(8, 20, 33, .82) 82%,
    #081421 100%);
}

.hero.hero-a .hero-video {
  top: var(--hero-nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - var(--hero-nav-height));
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: saturate(.88) contrast(1.02) brightness(.98);
  z-index: 0;
}
.hero.hero-a .hero-overlay {
  top: var(--hero-nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(4, 11, 19, .38) 0%, rgba(4, 11, 19, .13) 38%, transparent 72%),
    linear-gradient(0deg, rgba(4, 11, 19, .67) 0%, rgba(4, 11, 19, .27) 36%, rgba(4, 11, 19, .07) 68%, rgba(4, 11, 19, .06) 100%);
}
.hero.hero-a .hero-a-content {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5.5vw, 96px);
  right: 24px;
  bottom: clamp(36px, 6.8vh, 72px);
  bottom: clamp(36px, 6.8svh, 72px);
  max-width: 560px;
  text-align: left;
  opacity: 1;
  transform: none;
  animation: hero-a-enter .65s .08s ease-out both;
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
/* Dedicated visible shade: soft diagonal edge expands toward the bottom. */
.hero.hero-a .hero-left-shade {
  position: absolute;
  top: var(--hero-nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(65deg,
      rgba(2, 8, 15, .88) 0%,
      rgba(2, 8, 15, .76) 12%,
      rgba(2, 8, 15, .50) 22%,
      rgba(2, 8, 15, .20) 31%,
      rgba(2, 8, 15, 0) 43%),
    linear-gradient(90deg, rgba(2, 8, 15, .28), rgba(2, 8, 15, 0) 20%);
}
.hero.hero-a #hero-title {
  margin: 0;
  padding: 0;
  color: #f7f9fb;
  font-size: clamp(56px, 4.8vw, 76px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.018em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .12);
}
.hero.hero-a .hero-a-subtitle {
  margin: 14px 0 22px;
  color: #e0e7ee;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .055em;
}
.hero.hero-a .hero-a-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 146px;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 3px;
  background: #263746;
  color: #f7f9fb;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .065em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, transform .2s ease;
}
.hero.hero-a .hero-a-chevron {
  flex: 0 0 14px;
  transition: transform .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .hero.hero-a .hero-a-button:hover { background: #354c60; }
  .hero.hero-a .hero-a-button:hover .hero-a-chevron { transform: translateX(2px); }
}
.hero.hero-a .hero-a-button:active { background: #20303d; transform: translateY(1px); }
/* Keyboard-only indicator, not an outline button style. */
.hero.hero-a .hero-a-button:focus-visible { outline: 2px solid #92b7d4; outline-offset: 5px; }
@keyframes hero-a-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .hero.hero-a { --hero-nav-height: 64px; height:100vh; height:100svh; min-height:0; max-height:100svh; }
  .hero.hero-a #hero-title { font-size: clamp(50px, 7vw, 62px); }
}
@media (max-width: 600px) {
  .hero.hero-a .hero-a-content {
    left: 24px;
    right: 24px;
    bottom: max(36px, calc(env(safe-area-inset-bottom, 0px) + 28px));
  }
  .hero.hero-a #hero-title { font-size: 50px; line-height: 1.13; }
  .hero.hero-a .hero-a-subtitle { margin: 12px 0 20px; font-size: 12px; letter-spacing: .045em; }
  .hero.hero-a .hero-a-button { min-width: 138px; min-height: 46px; padding: 12px 20px; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .hero.hero-a { min-height: 320px; }
  .hero.hero-a .hero-a-content { bottom: 24px; }
  .hero.hero-a #hero-title { font-size: 40px; line-height: 1.08; }
  .hero.hero-a .hero-a-subtitle { margin: 10px 0 14px; font-size: 12px; }
  .hero.hero-a .hero-a-button { min-height: 44px; padding: 11px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero-a .hero-a-content { animation: none; opacity: 1; transform: none; }
  .hero.hero-a .hero-a-button, .hero.hero-a .hero-a-chevron { transition: none; }
}
