/* Original SX hero, isolated from the reviewed services and contact content. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;700&display=swap');
.legacy-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: white;
  background: radial-gradient(circle at 70% 35%, #28274b 0, #151629 45%, #0c0e18 100%);
  font-family: Inter, 'Noto Sans JP', sans-serif;
  line-height: 1.7;
}
.legacy-hero .wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }
.legacy-hero #cityTwin, .legacy-hero .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.legacy-hero .hero-grid { background: linear-gradient(180deg, rgba(18,20,42,.08), rgba(12,14,24,.7)); pointer-events: none; }
.legacy-hero .hero-content { position: relative; z-index: 2; padding-top: 250px; }
.legacy-hero .eyebrow { font: 500 12px/1.2 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #46d9c7; margin: 0; }
.legacy-hero h1 { margin: 28px 0 0; font-size: clamp(52px,8vw,112px); line-height: .95; letter-spacing: -.055em; font-weight: 500; text-wrap: wrap; }
.legacy-hero .hero-outline { display: inline-block; width: min(900px,72vw); height: auto; overflow: visible; vertical-align: baseline; }
.legacy-hero .hero-outline text { font-family: Inter, 'Noto Sans JP', sans-serif; font-size: clamp(52px,8vw,112px); font-weight: 500; letter-spacing: -.055em; fill: #fff; stroke: none; }
.legacy-hero .hero-ja { color: white; font-size: clamp(18px,2vw,25px); font-weight: 500; margin: 42px 0 10px; letter-spacing: .02em; }
.legacy-hero .hero-sub { margin: 0; color: #b9bfce; font-size: 14px; }
.legacy-hero .hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.legacy-hero a { text-decoration: none; }
.legacy-hero .button { border: 1px solid rgba(255,255,255,.55); color: white; padding: 11px 20px; border-radius: 7px; font-size: 16px; }
.legacy-hero .button.primary { background: #4d46bf; color: white; padding: 12px 20px; }
.legacy-hero .scroll-cue { position: absolute; z-index: 2; bottom: 28px; left: 24px; display: flex; align-items: center; gap: 12px; color: #bac2d0; font-size: 10px; letter-spacing: .14em; }
.legacy-hero .scroll-cue i { display: block; width: 42px; height: 1px; background: #46d9c7; }
@media (max-width: 900px) {
  .legacy-hero .hero-content { padding-top: 220px; }
  .legacy-hero h1 { font-size: clamp(50px,10vw,88px); }
  .legacy-hero .hero-outline { width: min(760px,100%); }
  .legacy-hero .hero-outline text { font-size: 110px; }
}
@media (max-width: 760px) {
  .legacy-hero .wrap { width: min(calc(100% - 32px),560px); }
  .legacy-hero { min-height: 700px; }
  .legacy-hero .hero-ja { margin-top: 32px; }
}
@media (max-width: 600px) {
  .legacy-hero { min-height: 680px; }
  .legacy-hero .hero-content { padding-top: 180px; }
  .legacy-hero h1 { font-size: clamp(44px,13vw,64px); line-height: .98; }
  .legacy-hero .hero-outline { width: 100%; }
  .legacy-hero .hero-outline text { font-size: 100px; letter-spacing: -5px; }
  .legacy-hero .hero-ja { margin-top: 28px; font-size: 18px; }
  .legacy-hero .hero-sub { font-size: 12px; }
  .legacy-hero .hero-actions { flex-wrap: wrap; margin-top: 26px; }
  .legacy-hero .button { padding: 10px 14px; }
  .legacy-hero .scroll-cue { left: 20px; bottom: 20px; }
}

/* Three.js city stays behind the original hero content. */
.legacy-hero {
  background: radial-gradient(ellipse at 78% 38%, #18313e 0, #111d32 32%, #0a101f 72%);
}
.legacy-hero #cityTwin { pointer-events: none; }
.legacy-hero .hero-grid {
  background: linear-gradient(90deg, rgba(7,12,24,.77) 0, rgba(7,12,24,.45) 34%, rgba(7,12,24,.06) 72%),
    linear-gradient(180deg, rgba(7,12,24,.08) 40%, rgba(7,12,24,.7) 100%);
}
.legacy-hero .city-motion-toggle {
  position: absolute; z-index: 3; right: 24px; bottom: 22px;
  width: 44px; height: 44px; display: grid; place-items: center;
  padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  color: #ecf7ff; background: rgba(9,17,31,.7); cursor: pointer;
  backdrop-filter: blur(8px); transition: background .2s, border-color .2s;
}
.legacy-hero .city-motion-toggle[hidden] { display: none; }
.legacy-hero .city-motion-toggle:hover { background: #244353; border-color: #9be5f0; }
.legacy-hero .city-motion-toggle:focus-visible { outline: 3px solid #9be5f0; outline-offset: 4px; }
.legacy-hero .city-motion-toggle svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 760px) {
  .legacy-hero .hero-grid {
    background: linear-gradient(180deg, rgba(7,12,24,.3), rgba(7,12,24,.74) 48%, rgba(7,12,24,.6));
  }
  .legacy-hero .city-motion-toggle { right: 16px; bottom: 16px; }
}
/* Reduced motion stays static until the visitor explicitly presses Play. */
