/* ==========================================================================
   01 · HERO — "Enter the world"
   ========================================================================== */

.hero {
    position: relative;
    z-index: 3;
    min-height: max(100svh, 700px);
    overflow-x: clip;
    isolation: isolate;
}

.hero__bloom {
    position: absolute;
    left: 50%;
    top: 56%;
    z-index: -1;
    width: min(110vmin, 1100px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(227, 24, 45, .42), rgba(122, 10, 20, .22) 45%, transparent 72%);
    transform: translate(-50%, -50%);
    filter: blur(10px);
    pointer-events: none;
}

/* giant wordmark behind the character */
.hero__word {
    position: absolute;
    left: 50%;
    top: 45%;
    z-index: 0;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: min(29vw, 46vh);
    line-height: .8;
    letter-spacing: -.06em;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    font-variation-settings: "opsz" 96;
}
.hero__word-fill, .hero__word-stroke { display: block; padding-right: .06em; }
.hero__word-fill { position: relative; }
.hero__char {
    display: inline-block;
    background: linear-gradient(180deg, rgba(227, 24, 45, .95) 0%, rgba(150, 10, 24, .55) 45%, rgba(58, 5, 8, 0) 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    will-change: transform;
}
.hero__word-stroke {
    position: absolute;
    inset: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(244, 234, 216, .16);
    transform: translate(1.2%, -4%);
}

/* stage: Gamja + floor */
.hero__stage {
    position: absolute;
    left: 50%;
    bottom: 9vh;
    z-index: 2;
    transform: translateX(-50%);
}
/* The banner art is landscape (~1.12:1) where the standing poses are portrait,
   so the height is also capped against the viewport width to stop it running
   off the sides. --gamja-h keeps the figure and its reflection in step. */
.hero__stage { --gamja-h: min(clamp(300px, 62vh, 660px), 78vw); }
.hero__gamja { position: relative; height: var(--gamja-h); transform-origin: 50% 100%; }
.hero__gamja-tilt { height: 100%; transform-style: preserve-3d; }
.hero__img { height: 100%; }
.hero__img img {
    height: 100%;
    width: auto;
    max-width: none;
    pointer-events: auto;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 60px rgba(227, 24, 45, .18));
}
.hero__spark { position: absolute; left: 57%; top: -5%; width: 2px; height: 2px; }

.hero__floor { position: absolute; left: 50%; top: 100%; width: 190%; transform: translateX(-50%); pointer-events: none; }
.hero__spot {
    position: absolute;
    left: 50%;
    top: -34px;
    width: 100%;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 58, 76, .75), rgba(227, 24, 45, .3) 45%, transparent 75%);
    transform: translateX(-50%);
    filter: blur(4px);
}
.hero__spot::after {
    content: "";
    position: absolute;
    inset: 28% 22%;
    border-radius: 50%;
    border: 1px solid rgba(255, 120, 130, .45);
}
.hero__reflection {
    position: absolute;
    left: 50%;
    top: -8px;
    height: var(--gamja-h);
    transform: translateX(-50%) scaleY(-1);
    transform-origin: 50% 50%;
    opacity: .2;
    filter: blur(2px);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 36%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 36%);
}
.hero__reflection .gamja-img, .hero__reflection img { height: 100%; width: auto; max-width: none; }

/* copy */
.hero__copy {
    position: absolute;
    left: var(--gutter);
    bottom: 15vh;
    z-index: 4;
    width: min(31vw, 460px);
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(18, 14, 15, .5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hot); box-shadow: var(--glow-sm); }
.hero__title { display: flex; flex-direction: column; gap: 14px; font-weight: 400; }
.hero__title-kr {
    font-family: var(--f-kr);
    font-size: clamp(3rem, 5.4vw, 6.2rem);
    line-height: .98;
    letter-spacing: -.01em;
}
.hero__title-kr .line { display: block; white-space: nowrap; }
.hero__title-kr em { font-style: normal; color: var(--red-hot); text-shadow: 0 0 34px rgba(227, 24, 45, .6); }
.hero__title-en {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 1.7vw, 1.7rem);
    letter-spacing: -.03em;
    line-height: 1.1;
}
.hero__intro { margin-top: 18px; max-width: 38ch; color: var(--muted); font-size: 1rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* @keyframes spin is shared with the story section's rotating mark */
@keyframes spin { to { transform: rotate(360deg); } }

.hero__meta {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
    font-size: .9rem;
    font-weight: 600;
}
.hero__meta span { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 700; }

.hero__scroll {
    position: absolute;
    right: var(--gutter);
    bottom: 15vh;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero__scroll-line { position: relative; width: 1px; height: 54px; background: var(--line-2); overflow: hidden; }
.hero__scroll-line i { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--red-hot); box-shadow: var(--glow-sm); animation: drip 1.8s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* crossing personality tapes sit on the Home → About seam */
.tapes {
    position: absolute;
    left: -6vw;
    right: -6vw;
    bottom: 0;
    z-index: 6;
    height: 150px;
    transform: translateY(50%);
    pointer-events: none;
}
.tape {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    overflow: hidden;
    padding: 14px 0;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.tape--a { background: linear-gradient(180deg, #ee1f33, #c10f1e); transform: translateY(-50%) rotate(-3.2deg); z-index: 2; }
.tape--b { background: var(--cream); color: var(--ink); transform: translateY(-50%) rotate(2.4deg); }
.tape__track { display: flex; width: max-content; will-change: transform; }
.tape__group { display: flex; align-items: center; flex: none; }
.tape__item {
    padding: 0 26px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(1.25rem, 2.3vw, 2.2rem);
    letter-spacing: -.03em;
    text-transform: uppercase;
    line-height: 1;
}
.tape--b .tape__item { font-family: var(--f-kr); font-weight: 400; text-transform: none; letter-spacing: 0; }
.tape__star { font-size: 1rem; color: var(--cream); opacity: .9; }
.tape--b .tape__star { color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
    .hero {
        display: flex;
        flex-direction: column;
        padding: calc(var(--header-h) + 3vh) var(--gutter) 150px;
    }
    .hero__word { top: 26%; font-size: min(30vw, 34vh); }
    .hero__stage { position: relative; left: auto; bottom: auto; transform: none; margin: 2vh auto 0; }
    .hero__stage { --gamja-h: min(clamp(260px, 44svh, 480px), 78vw); }
    .hero__copy { position: relative; left: auto; bottom: auto; width: 100%; max-width: 620px; margin: 60px auto 0; text-align: center; }
    .hero__title { align-items: center; }
    .hero__intro { margin-inline: auto; }
    .hero__ctas { justify-content: center; }
    .hero__meta, .hero__scroll { display: none; }
    .hero__bloom { top: 34%; }
}
@media (max-width: 560px) {
    .hero__eyebrow { font-size: .62rem; letter-spacing: .1em; }
    .hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
    .tapes { height: 110px; }
    .tape { padding: 10px 0; }
}
