/* =========================================================================
 * HOME page
 * ========================================================================= */

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh; /* iOS/Chrome モバイルで URL バー高を除いた実表示高 */
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad-x-pc) 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Aurora Drift — two radial-gradient layers (yellow on top, pink on bottom)
 * gently drift around the hero on independent loops. The base linear gradient
 * stays static. GPU-friendly (transform-only animation). */
.hero-bg-grad {
  position: absolute;
  inset: 0;
  /* Mirrors the keiichi-hasegawa-hero.svg gradient style (linear + radial),
   * but combines TWO colors (navy → plum → black) for a 2-tone HOME hero. */
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.7)  0%,
      rgba(0,0,0,0)    30%,
      rgba(0,0,0,0)    60%,
      rgba(0,0,0,0.98) 100%),
    linear-gradient(135deg, #0d1f3a 0%, #3a0d2e 60%, #000 100%);
  overflow: hidden;
}

/* Grid lines layer — same 5-line layout as keiichi-hasegawa-hero.svg.
 * Inline SVG kept as a data URI so no extra HTTP request. */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080' preserveAspectRatio='none'><g stroke='rgba(255,255,255,0.05)' stroke-width='1' fill='none'><line x1='0' y1='270' x2='1920' y2='270'/><line x1='0' y1='540' x2='1920' y2='540'/><line x1='0' y1='810' x2='1920' y2='810'/><line x1='640' y1='0' x2='640' y2='1080'/><line x1='1280' y1='0' x2='1280' y2='1080'/></g></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero-bg-grad::before,
.hero-bg-grad::after {
  content: '';
  position: absolute;
  inset: -20%;
  pointer-events: none;
  will-change: transform;
}

.hero-bg-grad::before {
  /* Yellow aurora — softened to match the darker base tone */
  background: radial-gradient(ellipse 50% 45% at center,
    rgba(255, 230, 0, 0.14) 0%,
    rgba(255, 230, 0, 0.06) 35%,
    transparent 70%);
  animation: aurora-yellow 40s ease-in-out infinite;
}

.hero-bg-grad::after {
  /* Pink aurora — softened (offset cycle so they don't sync) */
  background: radial-gradient(ellipse 55% 50% at center,
    rgba(255, 80, 140, 0.12) 0%,
    rgba(255, 80, 140, 0.05) 40%,
    transparent 70%);
  animation: aurora-pink 55s ease-in-out infinite;
}

@keyframes aurora-yellow {
  0%   { transform: translate( 22%, -25%); }
  25%  { transform: translate( -8%, -28%); }
  50%  { transform: translate(-22%, -18%); }
  75%  { transform: translate(  4%, -12%); }
  100% { transform: translate( 22%, -25%); }
}

@keyframes aurora-pink {
  0%   { transform: translate(-28%,  28%); }
  20%  { transform: translate( -6%,  22%); }
  45%  { transform: translate( 18%,  30%); }
  70%  { transform: translate(  6%,  36%); }
  100% { transform: translate(-28%,  28%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-grad::before,
  .hero-bg-grad::after {
    animation: none;
  }
}

.hero-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  gap: 24px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  margin-bottom: 32px;
  margin-left: 5px;
}

/* Mask Reveal for eyebrow — slides up just before the title animation */
.hero-eyebrow-mask {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.2em; /* reserve room for descenders / letter-spacing tail */
  vertical-align: bottom;
}

.hero-eyebrow-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-mask-up 0.7s var(--ease-out) 0.05s forwards;
}

.hero-eyebrow span {
  position: relative;
}

.hero-eyebrow span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-mute);
  transform: translateY(-50%);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 11.1vw, 145px);
  letter-spacing: 0.02em;
  line-height: 0.92;
  display: block;
  /* All hero text shares the same left edge (margin-left: 0 from .hero-inner)
   * so EST. 2025 TOKYO / BEYOND BORDERS / sub-copy align on the same x-axis. */
  margin-left: 0;
}

/* Mask Reveal — each line clips its inner span which slides up from below */
.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-mask-up 1s var(--ease-out) forwards;
}

.hero-title-line:nth-child(1) .hero-title-inner {
  animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) .hero-title-inner {
  animation-delay: 0.35s;
}

@keyframes hero-mask-up {
  to {
    transform: translateY(0);
  }
}

.hero-sub {
  margin-top: 32px;
  margin-left: 5px;
  max-width: 480px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-mute);
  opacity: 0;
  transform: translateY(8px);
  animation: hero-sub-in 0.9s var(--ease-out) 0.9s forwards;
}

@keyframes hero-sub-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-inner,
  .hero-title-inner {
    transform: none;
    animation: none;
  }
  .hero-sub {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero-scroll {
  position: absolute;
  right: var(--pad-x-pc);
  bottom: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-mute);
}

.hero-scroll-arrow {
  font-size: 14px;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow {
    animation: none;
  }
}

@media (max-width: 768px) { /* --bp-sp */
  .hero {
    padding: 0 var(--pad-x-sp) 88px;
    min-height: 540px;
  }
  .hero-sub {
    margin-top: 24px;
  }
  .hero-scroll {
    right: var(--pad-x-sp);
    bottom: 92px;
  }
}

/* Artists section — slightly larger padding than the base section */
.section-artists {
  padding-top: 200px;
  padding-bottom: 200px;
}

@media (max-width: 768px) { /* --bp-sp */
  .section-artists {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* About */
.section-about {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto;
}

.about-left .section-en {
  font-size: clamp(32px, 3.6vw, 50px);
}

.about-lead {
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.about-body {
  font-size: 13px;
  line-height: 2;
  color: var(--text-mute);
  margin-bottom: 32px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding: 8px 0;
}

.about-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 768px) { /* --bp-sp */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* SP only — 10% smaller for the marker-reveal lead lines */
  .about-lead {
    font-size: 16px;
  }
  /* SP — keep "出演・取材・業務に関するお問い合わせ" (18 chars) on a single line
   * across viewports down to ~320px wide. */
  .cta-title {
    font-size: clamp(13px, 3.8vw, 15px);
  }
}

/* CTA */
.section-cta {
  text-align: center;
  padding-top: 200px;
  padding-bottom: 200px;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-mute);
  margin-bottom: 24px;
}

.cta-title {
  /* Match .about-lead font-size for consistency */
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 28px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 36px;
  border: 1px solid var(--text);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta-button:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

@media (max-width: 768px) { /* --bp-sp */
  .section-cta {
    padding-top: 70px;
    padding-bottom: 100px;
  }
  .cta-button {
    gap: 13px;
    padding: 10px 32px;
    font-size: 10px;
  }
}
