/* ==========================================================================
   Hero — Mobile-first Layout & Asia-Deko
   ========================================================================== */

.hero-landing {
  background:
    radial-gradient(ellipse 130% 90% at 0% 0%, rgba(255, 252, 247, 0.95) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 100% 20%, rgba(255, 248, 242, 0.6) 0%, transparent 45%),
    linear-gradient(180deg, #fffef9 0%, var(--cream) 100%);
}

.hero-landing__kanji-bg {
  position: absolute;
  left: clamp(0.25rem, 2vw, 0.75rem);
  top: calc(var(--header-h) + 0.5rem);
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 28vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(46, 46, 46, 0.14);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero-landing__dojo-vertical {
  position: absolute;
  top: calc(var(--header-h) + 2.5rem);
  right: clamp(0.5rem, 2vw, 1.25rem);
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--ink);
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
}

.hero-landing__enso {
  z-index: 0;
}

.hero-landing__enso-path {
  stroke-dasharray: 920 120;
  stroke-dashoffset: 920;
  animation: enso-draw 1.5s cubic-bezier(0.33, 1, 0.45, 1) forwards;
}

@keyframes enso-draw {
  to { stroke-dashoffset: 95; }
}

.hero-landing__stage {
  padding-bottom: var(--space-lg);
}

.hero-landing__copy {
  z-index: 2;
}

.hero-landing__visual {
  z-index: 2;
}

/* Mobile & schmale Viewports (<700px) */
@media (max-width: 43.75rem) {
  .hero-landing__kanji-bg {
    font-size: clamp(4.5rem, 26vw, 6.5rem);
    top: calc(var(--header-h) + 0.25rem);
  }

  .hero-landing__enso {
    top: auto;
    bottom: 12%;
    right: -22%;
    width: min(70vw, 18rem);
    height: min(70vw, 18rem);
    opacity: 0.5;
  }

  .hero-landing__dojo-vertical {
    font-size: 0.5625rem;
    opacity: 0.22;
    right: 0.35rem;
  }

  .hero-landing__kanji-bg {
    opacity: 0.06;
  }

  .hero-landing__stage {
    min-height: auto;
    padding-top: calc(var(--header-h) + var(--space-sm));
    padding-bottom: var(--space-md);
  }

  .hero-landing__layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-block: var(--space-sm) 0;
  }

  .hero-landing__copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
  }

  .hero-landing__label { order: 1; }
  .hero-landing__title { order: 2; }
  .hero-landing__lead { order: 3; }
  .hero-landing__actions { order: 4; }
  .hero-landing__stats { order: 5; }
  .hero-landing__visual { order: 6; }

  .hero-landing__title {
    max-width: none;
    font-size: clamp(1.65rem, 7.8vw, 2.125rem);
  }

  .hero-landing__lead {
    max-width: none;
  }

  .hero-landing__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    max-width: none;
  }

  .hero-landing__actions .btn {
    width: 100%;
    max-width: none;
  }

  .hero-landing__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm) var(--space-md);
    margin-top: 0;
    padding-top: var(--space-md);
  }

  .hero-landing__stats li:last-child {
    grid-column: 1 / -1;
  }

  .hero-landing__visual {
    width: 100%;
    margin-top: var(--space-xs);
  }

  .hero-landing__motion {
    display: none;
  }

  .hero-landing__frame {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
  }

  .hero-landing__caption {
    margin-top: var(--space-xs);
  }

  .hero-landing__about-grid {
    padding-block: var(--space-lg);
    gap: var(--space-lg);
  }
}

@media (min-width: 43.76rem) and (max-width: 63.99rem) {
  .hero-landing__title {
    max-width: 18ch;
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .hero-landing__lead {
    max-width: 34rem;
  }
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .hero-landing__stage {
    padding-bottom: clamp(2rem, 4vw, 4rem);
  }
}

/* Desktop Hero */
@media (min-width: 64rem) {
  .hero-landing__dojo-vertical {
    display: none;
  }

  .hero-landing__kanji-bg {
    left: 1.5rem;
    font-size: clamp(6rem, 12vw, 10rem);
  }

  .hero-landing__stage {
    min-height: max(36rem, calc(100svh - var(--header-h)));
    align-items: center;
    padding-bottom: clamp(2.5rem, 5vh, 4rem);
  }

  .hero-landing__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: stretch;
    padding-block: clamp(2rem, 4vh, 3.5rem);
  }

  .hero-landing__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70svh;
    gap: var(--space-md);
  }

  .hero-landing__title {
    max-width: 12ch;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .hero-landing__lead {
    max-width: 36rem;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  }

  .hero-landing__actions {
    margin-top: 0.25rem;
  }

  .hero-landing__stats {
    margin-top: 0;
    padding-top: var(--space-md);
    gap: 1.5rem 2.75rem;
  }

  .hero-landing__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 70svh;
  }

  .hero-landing__frame {
    width: 100%;
    max-width: 540px;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    box-shadow:
      0 24px 56px rgba(46, 46, 46, 0.1),
      0 8px 20px rgba(46, 46, 46, 0.05);
  }

  .hero-landing__photo img {
    height: 100%;
    min-height: 100%;
    object-position: 55% 30%;
  }

  .hero-landing__caption {
    align-items: center;
    width: 100%;
    max-width: 540px;
    margin-top: var(--space-md);
    text-align: center;
  }

  .hero-landing__caption-main {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-landing__enso-path {
    animation: none;
    stroke-dashoffset: 95;
  }
}
