/* ================================================================
   Limista page stylesheet
   Depends on: global.css (variables, resets, .fp-container, .main--service)
   ================================================================ */

/* ----------------------------------------------------------------
   Hero / Keyvisual - mobile-first
   ---------------------------------------------------------------- */
.page-subhero {
    position: relative;
    overflow: clip visible;
    color: var(--fp-white);
    min-height: 521px;
}


.page-subhero__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow-y: visible;
}

.page-subhero__deco-img {
    position: absolute;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
}

/* ----------------------------------------------------------------
   Hero inner layout (mobile)
   ---------------------------------------------------------------- */
.page-subhero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 30px;
    gap: 0;
    position: relative;
    z-index: 2;
}

/* Oval photo - mobile */
.page-subhero__image-wrap {
    width: 315px;
    height: auto;
    flex-shrink: 0;
    margin-right: -30px;
    order: -1;
    align-self: flex-end;
}

.page-subhero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

/* Brand content - mobile */
.page-subhero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    align-self: flex-start;
}

.page-subhero__pentagon {
    margin-top: -7px;
    width: 72px;
}

.page-subhero__hero-heading {
    margin-top: 42px;
    margin-bottom: 24px;
    font-size: 44px;
    font-weight: 800;
    line-height: 120%;
    letter-spacing: 0.04em;
}

.page-subhero__hero-heading:has(img) {
    margin-top: 32px;
    margin-bottom: 24px;
}

.page-subhero__logo {
    display: block;
    width: 150px;
}

.page-subhero__subtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

/* ================================================================
   Content section - below hero
   ================================================================ */

.page-content {
    position: relative;
    overflow: hidden;
}

.page-content__inner {
    position: relative;
    z-index: 2;
}

.page-content__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.page-content__deco-img {
    position: absolute;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
}

/* ----------------------------------------------------------------
   Stats row (events 7000+ / artists 2000+)
   ---------------------------------------------------------------- */

.page-stats {
    margin-top: 43px;
    display: flex;
    padding: 0;
    border-bottom: none;
    letter-spacing: normal;
    column-gap: 32px;
    row-gap: 18px;
    flex-direction: column;
}

.page-stats__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: none;
    padding: 0;
}

.page-stats__label {
    font-size: 16px;
    font-weight: 800;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    letter-spacing: normal;
    font-feature-settings: normal;
    line-height: 1.45;
    display: block;
    margin-bottom: 0;
}

.page-stats__num {
    font-family: var(--fp-font-en);
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    color: #ffff00;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    letter-spacing: -0.03em;
    font-feature-settings: normal;
    margin-top: -12px;
}

.page-stats__unit {
    font-family: var(--fp-font-en);
    font-size: 16px;
    font-weight: 600;
    color: #ffff00;
    line-height: 100%;
    letter-spacing: 0.04em;
    margin-bottom: 7px;
    font-feature-settings: normal;
}

/* Body text beneath stats numbers */
.page-stats__desc {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    line-height: 2;
    letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------
   Text sections (section heading + body copy)
   ---------------------------------------------------------------- */

.page-sec {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    margin-top: 72px;
}

.page-sec__heading {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--fp-font-jp);
    line-height: 150%;
    color: var(--fp-white);
    margin-bottom: 0;
    font-style: normal;
    letter-spacing: 1.12px;
}

.page-sec__sub-heading {
    font-size: 24px;
    font-weight: 800;
    line-height: 150%;
    letter-spacing: 0.96px
}

.page-sec__body {
    font-size: 16px;
    font-weight: 500;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    line-height: 2;
}

.page-sec__body p {
    margin-bottom: 16px;
}

.page-sec__body p:last-child {
    margin-bottom: 0;
}

.page-sec__body em {
    font-style: normal;
    font-weight: 700;
    color: var(--fp-yellow);
}

.page-sec__image {
    margin-top: 0;
    border-radius: 20px;
    overflow: hidden;
}

.page-sec__image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-sec__features {
    display: grid;
    gap: 40px;
}

.page-sec__feature {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ----------------------------------------------------------------
   Capability cards
   ---------------------------------------------------------------- */

.page-caps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
    list-style: none;
    padding: 0;
}

.page-caps__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 6px 10px 6px 16px;
    background: linear-gradient(to right, #8D59FF, #1C4BFF);
    border-radius: 999px;
    height: 48px;
    width: 100%;
    border: none;
    color: var(--fp-white);
    font-family: var(--fp-font-jp);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: background var(--fp-ease);
    cursor: pointer;
    font-style: normal;
    line-height: 120%;
    letter-spacing: 0;
}

.page-caps__card:hover {
    background: linear-gradient(to right, #6728F1, #0232EA);
}

.page-caps__card:focus-visible {
    background: linear-gradient(to right, #6728F1, #0232EA);
    outline: 2px solid var(--fp-yellow);
    outline-offset: 0;
}

.page-caps__label small {
    display: none;
}

.page-caps__icon {
    display: none;
}

.page-caps__card::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("../image/chev-down.svg") center center no-repeat;
    background-size: 24px 24px;
}

/* ----------------------------------------------------------------
   Feature detail sections  (each individual service)
   ---------------------------------------------------------------- */

.page-feat {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    border-top: none;
    margin-top: 80px;
}


.page-feat__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    flex-direction: column;
}

/* Circular gradient icon */
.page-feat__icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(125.39deg, #794fff 62.26%, #0037d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.page-feat__icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
}

.page-feat__title-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 0;
}

.page-feat__heading {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin-bottom: 0;
    text-align: center;
}

/* Subtitle beneath heading */
.page-feat__lead {
    font-size: 22px;
    font-weight: 800;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: center;
}


.page-feat__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    line-height: 2;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}


.page-feat__body p {
    margin-bottom: 0;
}

/* Bullet list inside feature body */
.page-feat__list {
    margin: 0;
    padding-left: 32px;
    list-style: disc;
    line-height: 2;
    font-size: 16px;
    color: var(--fp-white);
}

.page-feat__list li {
    margin: 0;
}

.page-feat__image-wrap {
    margin-top: 24px;
    width: 350px;
    margin-right: -30px;
    align-self: flex-end;
}

.page-feat--reverse .page-feat__image-wrap {
    margin-left: -30px;
    align-self: flex-start;
}


.page-feat__list-container {
    display: flex;
    align-items: stretch;
}

.page-feat__sep-wrap {
    display: flex;
    align-items: center;
    container-type: size;
}

.page-feat__list-separator {
    border: none;
    margin: 0;
    width: 1px;
    height: 50px;
    background-color: var(--fp-white);
    flex: none;
}

@container (height >= 96px) {
    .page-feat__list-separator {
        height: 80px;
    }
}

.page-feat__image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------------------------------------
   Steps flow (inside online session)
   ---------------------------------------------------------------- */

.page-steps {
    background: none;
    border-radius: 0;
    padding: 0;
    margin-top: 31px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.page-steps__title {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.page-steps__list {
    display: flex;
    flex-direction: column;
    row-gap: 28px;
}

.page-step {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.page-step__image {
    flex: 0 0 140px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
}

.page-step__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-step__text-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.page-step__num {
    font-family: var(--fp-font-en);
    font-size: 24px;
    font-weight: 700;
    color: var(--fp-white);
    line-height: 17px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.page-step__text {
    font-size: 16px;
    font-weight: 500;
    font-family: var(--fp-font-jp);
    color: var(--fp-white);
    line-height: 2;
    letter-spacing: 0.04em;
}

/* ================================================================
   Desktop overrides (>= 1024px)
   ================================================================ */

@media (min-width: 1024px) {
    /* Hero */
    .page-subhero {
        min-height: auto;
    }
    
    .page-subhero__hero-heading {
        margin-top: 24px;
        margin-bottom: 16px;
        font-size: 56px;
        font-weight: 900;
        line-height: 120%;
        letter-spacing: 0.04em;
    }

    .page-subhero__inner {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        min-height: 530px;
        max-width: 1000px;
        margin: 0 auto;
        padding: 0;
    }

    .page-subhero__content {
        padding-top: 52px;
        max-width: 600px;
        flex-shrink: 0;
        order: 0;
    }

    .page-subhero__pentagon {
        margin-top: 0;
        width: 90px;
    }

    .page-subhero__hero-heading:has(img) {
        margin-top: 24px;
        margin-bottom: 20px;
    }

    .page-subhero__logo {
        width: 232px;
    }

    .page-subhero__subtitle {
        font-size: 40px;
        font-weight: 800;
        line-height: 150%;
        letter-spacing: 0.04em;
    }

    .page-subhero__image-wrap {
        position: absolute;
        left: 354px;
        order: 0;
        width: 785px;
        height: auto;
        margin: 0;
        align-self: start;
    }


    /* Content */
    .page-content {
        padding-bottom: 120px;
    }


    /* Stats */
    .page-stats {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 72px;
        row-gap: 22px;
    }

    .page-stats__item {
        gap: 2px;
    }

    .page-stats__num {
        gap: 6px;
        font-size: 80px;
        font-weight: 600;
        line-height: 100%;
        letter-spacing: -2.4px;
        text-transform: capitalize;
        margin-top: 2px;
    }

    .page-stats__unit {
        font-size: 20px;
        font-weight: 600;
        line-height: 100%; /* 20px */
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .page-stats__desc {
        margin-top: 0;
        width: 100%;
        flex-shrink: 0;
        font-size: 16px;
        line-height: 200%;
        letter-spacing: 0.04em;
        font-feature-settings: normal;
    }

    /* Section heading wrapper */
    .page-sec {
        gap: 24px;
    }
    
    .page-sec__features {
        margin-top:28px;
        grid-template-columns: repeat(2, 1fr);
        gap: 52px;
        align-items: start;
    }

    .page-sec__feature {
        padding: 0;
        gap: 20px;
    }

    .page-sec__heading {
        font-size: 44px;
        font-weight: 800;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }

    .page-sec__sub-heading {
        font-size: 36px;
        font-weight: 800;
        line-height: 130%;
        letter-spacing: 0.04em;
    }

    .page-sec__body {
        font-size: 16px;
        line-height: 2;
        letter-spacing: 0.04em;
        margin-top: 0;
        font-feature-settings: normal;
    }

    /* Highlight emphasis line */
    .page-sec__body em {
        font-style: normal;
        font-weight: 700;
    }

    /* Capability cards: 3-col grid on desktop */
    .page-caps {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-top: 4px;
    }

    .page-caps__card {
        height: 68px;
        font-size: 16px;
        padding: 4px 20px;
        gap: 8px;
        justify-content: flex-start;
    }

    .page-caps__icon {
        display: block;
        width: 60px;
        height: 60px;
    }

    .page-caps__label {
        flex: 1;
        text-align: left;
        font-size: 16px;
        font-weight: 700;
        line-height: 110%;
    }

    .page-caps__label small {
        display: block;
        font-size: 11px;
        font-weight: 500;
        opacity: 0.85;
        margin-top: 2px;
    }

    /* ----------------------------------------------------------------
       Feature row - text (560px) + image (612px, bleeds outside container)
       ---------------------------------------------------------------- */
    .page-feat {
        display: grid;
        grid-template-columns: 560px 1fr;
        grid-template-rows: 150px auto;
        column-gap: 60px;
        row-gap: 20px;
        align-items: start;
        margin-top: 120px;
    }

    .page-feat--reverse {
        grid-template-columns: minmax(0, 1fr) 560px;
    }

    /* Default: text in col 1 (left), image in col 2 (right, bleeds out right) */
    .page-feat__header {
        grid-column: 1;
        grid-row: 1;
        align-items: center;
        flex-direction: row;
        gap: 20px;
    }

    .page-feat__body {
        margin-top: 0;
        grid-column: 1;
        grid-row: 2;
        max-width: 560px;
        font-size: 16px;
        line-height: 2;
        letter-spacing: 0.04em;
        gap: 12px;
    }


    .page-feat__image-wrap {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        width: 612px;
        max-width: none;
        justify-self: start;
    }

    .page-feat__image-wrap img {
        max-width: none;
    }


    .page-feat__list-container {
        display: flex;
        
    }

    /* Reverse: image in col 1 (left, bleeds out left), text in col 2 (right) */
    .page-feat--reverse .page-feat__header {
        grid-column: 2;
    }

    .page-feat--reverse .page-feat__body {
        grid-column: 2;
        width: 560px;
        gap: 12px;
    }
    
    .page-feat__list {
        padding-left: 41px;
    }

    .page-feat--reverse .page-feat__image-wrap {
        grid-column: 1;
        justify-self: end;
        width: 612px;
        max-width: none;
        margin-top: 0;
    }

    .page-feat__steps {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 52px;
    }

    /* Feature icon stays 150px gradient circle on desktop */
    .page-feat__icon-wrap {
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }

    .page-feat__icon {
        width: 124px;
        height: 124px;
    }

    .page-feat__title-group {
        gap: 12px;
        flex: 1;
        min-width: 0;
    }

    .page-feat__heading {
        font-size: 44px;
        font-weight: 800;
        line-height: 1.5;
        letter-spacing: 0.04em;
        text-align: left;
    }

    .page-feat__lead {
        font-size: 24px;
        font-weight: 800;
        line-height: 1.5;
        letter-spacing: 0.04em;
        text-align: left;
    }
    

    /* Curve mask is baked into the PNG transparency - no border-radius needed */
    /* ----------------------------------------------------------------
       Steps flow - desktop
       ---------------------------------------------------------------- */
    .page-steps {
        gap: 32px;
    }

    .page-steps__title {
        font-size: 36px;
        font-weight: 800;
        line-height: 1.3;
        letter-spacing: 0.04em;
    }

    .page-steps__list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 50px;
    }

    .page-step {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .page-step__image {
        flex: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 300px;
        border-radius: 40px;
        overflow: hidden;
    }

    .page-step__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .page-step__text-wrap {
        display: flex;
        flex-direction: column;
        gap: 13px;
        justify-content: flex-start;
    }

    .page-step__num {
        font-family: var(--fp-font-en);
        font-size: 32px;
        font-weight: 700;
        line-height: 28px;
        letter-spacing: 0.04em;
    }

    .page-step__text {
        font-size: 16px;
        line-height: 2;
        letter-spacing: 0.04em;
    }

}

