/* * WASIAT4D2 LP v1.0.5 — Hero artwork as the EXISTING hero section background.
 * No second section, image card, or duplicated media container is created.
 * Artwork can be a source image of 800 × 800 or larger; cover cropping is
 * intentional when a square source fills a non-square viewport.
 * The introduction artwork remains an actual responsive 1:1 frame.
 * This stylesheet loads last to override older responsive hero styles. */

:root {
  --artwork-max: 800px;
}

/* Keep the original brand mark without a caption. */

.brand,
.footer__brand {
  gap: 0;
}

.intro-loader__mark {
  margin: 0;
}

.intro-loader__line {
  margin-top: clamp(14px, 2.8vw, 24px);
}

/* * HERO
 * Reuse .hero__visual / .hero__art-shell as a full-bleed background layer
 * inside section#home. All heading and button elements overlay this layer. */

.hero {
  display: block;
  position: relative;
  isolation: isolate;
  height: auto;
  min-height: max(780px, 100svh);
  max-height: none;
  padding: 0;
  overflow: hidden;
}

.hero__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  overflow: hidden;
  pointer-events: none;
}

.hero__art-shell {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  clip-path: none;
}

.hero__art-shell > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 8%;
}

/* Image / fallback artwork must never reduce text contrast. */

.hero__visual-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(12, 11, 15, 0.94) 0%,
      rgba(12, 11, 15, 0.76) 34%,
      rgba(12, 11, 15, 0.31) 74%,
      rgba(12, 11, 15, 0.24) 100%
    ),
    linear-gradient(
      0deg,
      rgba(12, 11, 15, 0.72) 0%,
      transparent 30%,
      transparent 76%,
      rgba(12, 11, 15, 0.33) 100%
    );
  pointer-events: none;
}

.hero__grid {
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: max(780px, 100svh);
  padding-top: 116px;
  padding-bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero__content > * {
  pointer-events: auto;
}

.hero__bottom {
  z-index: 3;
  bottom: 24px;
}

.hero__vertical-word,
.hero__vertical-line {
  z-index: 1;
}

/* * INTRO
 * Preserve the 800 × 800 source format as a true square composition. */

.intro__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 100px);
  min-height: 0;
  align-items: center;
}

.intro__composition {
  position: relative;
  width: min(100%, var(--artwork-max));
  max-width: var(--artwork-max);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  align-self: center;
  aspect-ratio: 1 / 1;
}

.intro__picture-frame {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  aspect-ratio: 1 / 1;
  box-shadow: clamp(8px, 1.3vw, 18px) clamp(8px, 1.3vw, 18px) 0 #242321;
}

.intro__picture-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.intro__floating-kanji {
  left: 0;
  top: 0;
  font-size: clamp(62px, 9vw, 115px);
}

.intro__frame-label {
  left: 5%;
  bottom: 0.5%;
}

.intro__corner {
  top: 0;
  right: 0;
}

/* Medium screens: the picture remains BEHIND the hero copy, not above it. */

@media (max-width: 900px) {
  .hero {
    display: block;
    padding: 0;
    min-height: max(720px, 100svh);
  }
  .hero__visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    transform: none;
    aspect-ratio: auto;
    order: initial;
  }
  .hero__visual-tint {
    background: linear-gradient(
        0deg,
        rgba(12, 11, 15, 0.95) 0%,
        rgba(12, 11, 15, 0.83) 31%,
        rgba(12, 11, 15, 0.49) 66%,
        rgba(12, 11, 15, 0.53) 100%
      );
  }
  .hero__content {
    position: relative;
    z-index: 2;
    order: initial;
    height: auto;
    min-height: max(720px, 100svh);
    padding: 116px 0 110px;
    justify-content: flex-end;
  }
  .hero__bottom {
    bottom: 23px;
  }
  .intro__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(26px, 5vw, 54px);
  }
  .intro__composition {
    flex: 0 0 auto;
    width: min(100%, var(--artwork-max));
    height: auto;
    min-height: 0;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: max(735px, 100svh);
  }
  .hero__content {
    min-height: max(735px, 100svh);
    padding: 110px 0 102px;
  }
  .hero__title {
    font-size: clamp(58px, 16.3vw, 91px);
  }
  .hero__eyebrow {
    margin-bottom: 18px;
  }
  .hero__description {
    margin: 22px 0;
  }
  .intro__composition {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 0;
  }
  .intro__floating-kanji {
    font-size: clamp(54px, 16vw, 85px);
  }
  .intro__frame-label {
    font-size: clamp(7px, 1.9vw, 9px);
    letter-spacing: 0.12em;
  }
}

@media (max-width: 380px) {
  .hero,
  .hero__content {
    min-height: max(720px, 100svh);
  }
  .hero__content {
    padding: 108px 0 96px;
  }
  .hero__title {
    font-size: clamp(48px, 16vw, 60px);
  }
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  .intro__floating-kanji {
    font-size: 56px;
  }
}

/* Override nonessential decorative movement when the OS requests less motion. */

@media (prefers-reduced-motion: reduce) {
  .hero__art-shell > img {
    animation: none;
  }
}

/* v1.0.5: Preserve the supplied 1:1 poster without overlapping decorative type. */

.intro__composition.has-artwork .intro__floating-kanji {
  display: none;
}

.intro__composition.has-artwork .intro__picture-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.intro__composition.has-artwork .intro__corner {
  opacity: 0.42;
}
