html { scroll-behavior: smooth; background: #0b0d10; }
body { font-family: 'Zen Kaku Gothic New', sans-serif; }
:focus-visible { outline: 3px solid #5fe3e8; outline-offset: 3px; }
.fixed-nav, .mobile-apply {
  position: fixed;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, visibility .2s;
}
.is-visible { visibility: visible; opacity: 1; pointer-events: auto; }
.fixed-nav {
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
  background: rgba(11,13,16,.96);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.fixed-nav img { display: block; width: auto; }
.fixed-nav a, .mobile-apply a { color: #ece8e1; text-decoration: none; }
.section-links { margin-left: auto; display: flex; gap: 24px; }
.section-links a { padding: 12px 0; font-size: 15px; }
.section-links a:hover { color: #5fe3e8; }
.nav-apply, .mobile-apply a {
  display: flex;
  align-items: center;
  padding: 0 20px;
  min-height: 44px;
  background: #e8431f;
  font-weight: 700;
  border-radius: 4px;
}
.mobile-apply {
  inset: auto 16px max(12px, env(safe-area-inset-bottom)) 16px;
}
.mobile-apply a {
  justify-content: space-between;
  max-width: 520px;
  margin: auto;
  padding: 0 28px;
  min-height: 72px;
  box-sizing: border-box;
  color: white;
  border-radius: 6px;
  font-size: 20px;
  letter-spacing: .12em;
}
.mobile-apply span { font: 26px Oswald, sans-serif; }
[data-apply][aria-disabled="true"] { background: #3a3f46 !important; color: #a7a29a !important; border-color: #3a3f46 !important; }
.video-player { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }
.video-link { display: inline-block; margin-top: 10px; color: #ffb23a; }
@media (min-width: 1000px) {
  .mobile-apply { display: none; }
  section { scroll-margin-top: 68px; }
}
@media (max-width: 999.98px) { .fixed-nav { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fixed-nav, .mobile-apply { transition: none; }
}

.hero-title { display: contents; }

@media (max-width: 699px) {
  #top {
    display: flex;
    flex-direction: column;
    min-height: min(100svh, 920px);
  }
  #top-strip { padding: 8px 16px !important; gap: 4px 8px !important; }
  #top-strip p { font-size: clamp(10px, 3vw, 13px) !important; }
  #top-strip a { padding-inline: 12px !important; }
  .hero-layout {
    flex: 1;
    flex-direction: column;
    flex-wrap: nowrap !important;
  }
  .hero-photo {
    flex: 1 0 130px !important;
    min-height: 130px !important;
  }
  .hero-photo > div:last-child { height: 26% !important; }
  .hero-copy {
    flex: none !important;
    padding: 6px clamp(16px, 5vw, 24px) max(12px, env(safe-area-inset-bottom)) !important;
  }
  .hero-title {
    display: grid;
    justify-items: center;
  }
  .hero-title p { display: none; }
  .hero-title img {
    width: min(55vw, 22svh, 230px) !important;
    margin: 0 0 6px !important;
  }
  .hero-title h1 { font-size: clamp(34px, 10vw, 52px) !important; }
  .hero-copy > div:not(.hero-title) { margin-block: 10px 12px !important; }
  .hero-title + div > div { padding-block: 5px !important; line-height: 1.4; }
  .hero-copy > [data-apply] { min-height: 52px !important; padding-inline: 18px !important; }
  #hero-note { margin-top: 6px !important; line-height: 1.5; text-align: center; }
}

@media (max-width: 360px) {
  .hero-title + div > div { grid-template-columns: 52px minmax(0, 1fr) !important; gap: 8px !important; }
  .hero-title + div > div:nth-child(2) { font-size: 14px; }
  #hero-note { font-size: 13px !important; letter-spacing: 0; }
}
