/* TKG Home hero video — Japanese corporate / minimal */
.tkg-video-hero {
  position: relative;
  min-height: 560px;
  height: min(72vh, 760px);
  overflow: hidden;
  background: #10243a var(--tkg-hero-poster) center center / cover no-repeat;
  isolation: isolate;
}
.tkg-video-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .65s ease;
  z-index: -3;
}
.tkg-video-hero.is-video-ready .tkg-video-hero-media { opacity: 1; }
.tkg-video-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,17,32,.70) 0%, rgba(5,17,32,.42) 42%, rgba(5,17,32,.10) 72%, rgba(5,17,32,.20) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.02) 48%, rgba(0,0,0,.36) 100%);
}
.tkg-video-hero-content {
  position: relative;
  height: 100%;
  min-height: inherit;
}
.tkg-hero-caption {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-44%);
  max-width: 760px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.tkg-hero-caption.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
}
.tkg-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255,255,255,.86);
}
.tkg-hero-kicker::before {
  content: '';
  width: 36px;
  height: 2px;
  background: #7ec4ec;
}
.tkg-hero-caption h1,
.tkg-hero-caption h2 {
  color: #fff;
  margin: 0;
  max-width: 760px;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.16;
  text-shadow: 0 2px 20px rgba(0,0,0,.20);
}
.tkg-hero-caption h1 { font-size: clamp(36px, 4.5vw, 68px); }
.tkg-hero-caption h2 { font-size: clamp(34px, 4vw, 60px); }
.tkg-hero-caption p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.90);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.65;
  letter-spacing: .02em;
}
.tkg-hero-toggle {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  background: rgba(5,17,32,.26);
  color: #fff;
  font-size: 12px;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease;
}
.tkg-hero-toggle:hover,
.tkg-hero-toggle:focus {
  background: rgba(5,17,32,.58);
  border-color: rgba(255,255,255,.75);
  color: #fff;
  outline: none;
}
.tkg-hero-toggle-icon { min-width: 13px; text-align: center; font-weight: 700; }
.tkg-hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.20);
  z-index: 3;
}
.tkg-hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: rgba(255,255,255,.78);
  transform-origin: left center;
}
@media (max-width: 991px) {
  .tkg-video-hero { min-height: 500px; height: 62vh; }
  .tkg-hero-caption { max-width: 80%; }
}
@media (max-width: 767px) {
  .tkg-video-hero { min-height: 460px; height: 68vh; max-height: 620px; }
  .tkg-video-hero-shade {
    background: linear-gradient(90deg, rgba(5,17,32,.72) 0%, rgba(5,17,32,.40) 72%, rgba(5,17,32,.18) 100%),
                linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.38) 100%);
  }
  .tkg-hero-caption {
    left: 20px;
    right: 20px;
    max-width: none;
    transform: translateY(-40%);
  }
  .tkg-hero-caption.is-active { transform: translateY(-46%); }
  .tkg-hero-kicker { font-size: 11px; letter-spacing: .13em; margin-bottom: 12px; }
  .tkg-hero-kicker::before { width: 26px; }
  .tkg-hero-caption h1 { font-size: clamp(30px, 9vw, 46px); }
  .tkg-hero-caption h2 { font-size: clamp(28px, 8vw, 42px); }
  .tkg-hero-caption p { font-size: 14px; margin-top: 13px; }
  .tkg-hero-toggle { right: 16px; bottom: 18px; padding: 8px 10px; }
  .tkg-hero-toggle-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tkg-video-hero-media { display: none; }
  .tkg-hero-caption { display: none; }
  .tkg-hero-caption:first-of-type { display: block; opacity: 1; visibility: visible; transform: translateY(-50%); }
  .tkg-hero-toggle, .tkg-hero-progress { display: none; }
}
