/* Background film with responsive copy overlays on desktop and mobile. */
.hero { min-height: 0; background: #102547; }
.hero-content {
  position: relative; max-width: none; width: 100%; margin: 0;
  min-height: max(760px, 56.25vw); padding: 135px clamp(24px, 5vw, 96px) 90px;
  display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  grid-template-rows: auto auto; align-content: center; column-gap: 48px;
}
.hero-showcase { display: contents; }
.hero-film-frame { position: absolute; inset: 0; width: 100%; height: 100%; background: #080d16; overflow: hidden; }
.hero-film { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-film-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,12,25,.88) 0%, rgba(5,12,25,.80) 26%, rgba(5,12,25,.72) 38%, rgba(5,12,25,.08) 55%, transparent 72%), linear-gradient(0deg, rgba(5,12,25,.78), transparent 23%);
}
.hero-intro { position: relative; z-index: 2; grid-column: 1; grid-row: 1; }
.hero-meta { display: block; margin-bottom: 22px; font-family: var(--sans-jp); font-size: 15px; letter-spacing: .08em; line-height: 1.8; color: #edf2fa; }
.hero-meta::before { display: none; }
.hero-meta-region { display: inline-block; color: #f5d17c; font-weight: 500; white-space: nowrap; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-meta-region {
    background-image: linear-gradient(110deg, #b8d5ff 0%, #f4f0df 48%, #f5d17c 100%);
    background-clip: text; -webkit-background-clip: text; color: transparent;
  }
}
.hero-title { font-size: clamp(40px, 4vw, 58px); line-height: 1.4; margin-bottom: 28px; letter-spacing: 0; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.hero-details { position: relative; z-index: 2; grid-column: 1; grid-row: 2; }
.hero-sub { font-family: var(--sans-jp); font-size: 16px; line-height: 1.95; margin-bottom: 18px; color: #f5f7fb; }
.hero-area { font-family: var(--sans-jp); font-size: 13px; line-height: 1.9; color: #e0e8f4; }
.hero-name { margin-top: 28px; padding-top: 20px; flex-wrap: wrap; gap: 8px 18px; border-color: rgba(255,255,255,.42); }
.hero-name-jp { font-size: 17px; }
.hero-role { margin-left: 0; font-size: 12px; color: #e0e8f4; letter-spacing: .03em; }
.hero-film-toggle { min-height: 44px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.85); border-radius: 0; background: rgba(5,12,25,.62); color: #fff; font: inherit; cursor: pointer; }
.hero-film-toggle:hover { background: #233b5f; }
.hero-film-toggle[hidden], .hero-film-status[hidden] { display: none; }
.hero-showcase figcaption { position: absolute; z-index: 3; right: clamp(24px, 5vw, 96px); bottom: 30px; margin: 0; font-family: var(--sans-jp); font-size: 12px; line-height: 1.8; color: #edf2fa; }
.hero-film-status { position: relative; z-index: 3; grid-column: 2; grid-row: 2; align-self: end; font-size: 13px; line-height: 1.8; color: #fff; padding: 12px; background: rgba(5,12,25,.8); }
.hero-film-status a { color: inherit; text-decoration: underline; }
.hero-showcase noscript { position: relative; z-index: 3; grid-column: 2; grid-row: 2; align-self: end; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 16px; font-family: var(--sans-jp); font-size: 14px; color: #fff; border: 1px solid #d1dceb; background: rgba(5,12,25,.35); }
.hero-action.primary { background: #fff; color: #102547; border-color: #fff; }
.hero-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero a:focus-visible, .hero button:focus-visible { outline: 3px solid #f5c842; outline-offset: 5px; }
.work-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-bottom: 38px; }
.work-content { padding: 26px 0; border-top: 1px solid var(--rule); }
.work-content h3 { font-family: var(--serif-jp); font-size: 21px; font-weight: 500; margin-bottom: 14px; }
.work-content p { font-size: 15px; line-height: 1.9; color: var(--ink-60); }
@media (min-width: 1101px) {
  .hero-showcase figcaption { background: rgba(5,12,25,.68); padding: 5px 9px; }
}
@media (min-width: 1101px) and (max-width: 1200px) {
  .hero-content { grid-template-columns: minmax(0, 410px) minmax(0, 1fr); }
  .hero-title { font-size: 44px; }
  .hero-showcase figcaption { font-size: 11px; }
}
@media (max-width: 1100px) {
  .hero-content { min-height: 760px; padding: 112px var(--gutter) 62px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(120px, 1fr) auto auto auto; gap: 0; align-content: stretch; }
  .hero-intro { display: contents; }
  .hero-meta { position: relative; z-index: 2; grid-column: 1; grid-row: 1; margin: 0; padding: 0; font-size: 13px; color: #edf2fa; }
  .hero-film-frame { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hero-film { object-fit: cover; object-position: 50% 45%; }
  .hero-film-frame::after { background: linear-gradient(180deg, rgba(5,12,25,.80) 0%, rgba(5,12,25,.64) 16%, rgba(5,12,25,.16) 24%, rgba(5,12,25,.76) 34%, rgba(5,12,25,.90) 48%, rgba(5,12,25,.94) 100%); }
  .hero-title { position: relative; z-index: 2; grid-column: 1; grid-row: 3; align-self: end; margin: 0 0 18px; font-size: clamp(24px, 4.4vw, 36px); line-height: 1.5; }
  .hero-title .break { display: inline; }
  .hero-title .break:last-child { display: block; }
  .hero-showcase figcaption { right: var(--gutter); bottom: 20px; padding: 0; font-size: 12px; color: #c7d3e5; }
  .hero-details { grid-column: 1; grid-row: 4; margin: 0; max-width: 660px; }
  .hero-sub { font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
  .hero-area { font-size: 12px; line-height: 1.85; }
  .hero-actions { margin-top: 20px; }
  .hero-name { max-width: none; margin-top: 20px; padding-top: 16px; }
  .hero-film-status, .hero-showcase noscript { grid-column: 1; grid-row: 5; margin: 18px 0 0; }
}
@media (max-width: 480px) {
  .hero-content { min-height: max(760px, 100svh); grid-template-rows: auto minmax(148px, 1fr) auto auto auto; padding-top: 110px; }
  .hero-meta { font-size: 12px; letter-spacing: .04em; }
  .hero-title { font-size: clamp(23px, 6.15vw, 29px); margin-bottom: 16px; }
  .hero-sub { font-size: 14px; }
  .hero-sub br, .hero-area br { display: none; }
  .hero-area { font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; }
  .hero-action { font-size: 12px; padding: 10px 8px; min-height: 44px; }
  .hero-name { gap: 8px 12px; }
  .hero-name-jp { font-size: 16px; }
  .hero-role { font-size: 11px; }
  .work-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-film-frame::after {
    background: linear-gradient(180deg, rgba(5,12,25,.66) 0%, rgba(5,12,25,.46) 16%, rgba(5,12,25,.06) 28%, rgba(5,12,25,.20) 36%, rgba(5,12,25,.64) 48%, rgba(5,12,25,.82) 62%, rgba(5,12,25,.90) 100%);
  }
  .hero-meta, .hero-title, .hero-sub, .hero-area, .hero-name, .hero-showcase figcaption { text-shadow: 0 1px 3px rgba(5,12,25,.65); }
}
@media (max-width: 360px) {
  .hero-film-frame::after {
    background: linear-gradient(180deg, rgba(5,12,25,.66) 0%, rgba(5,12,25,.46) 16%, rgba(5,12,25,.10) 23%, rgba(5,12,25,.40) 31%, rgba(5,12,25,.70) 39%, rgba(5,12,25,.84) 58%, rgba(5,12,25,.90) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
