/* =========================
   AETHERFORGE SECTION
   ========================= */

.page-section--aetherforge::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.44)), linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 34%);
    z-index: -2;
}

.page-section--aetherforge::after {
    background: none;
}

.page-section--aetherforge .section-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - (var(--content-pad) * 2)));
    padding-top: clamp(42px, 4.6vw, 64px);
    padding-bottom: clamp(34px, 3.6vw, 52px);
}

.aetherforge-stage {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(620px, 1.28fr);
    grid-template-areas: "head showcase" "banner showcase";
    gap: 22px 36px;
    align-items: center;
}

.aetherforge-head {
    grid-area: head;
    max-width: 430px;
    align-self: end;
}

.section-title--aetherforge {
    max-width: none;
    margin-bottom: 6px;
    font-size: clamp(58px, 5vw, 92px);
    line-height: 0.92;
}

.aetherforge-head__subtitle {
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.aetherforge-head__lead {
    margin-top: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 1.9vw, 29px);
    line-height: 1.24;
    color: #f2fcff;
}

.aetherforge-head__summary {
    margin-top: 14px;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.68;
    color: var(--text-soft);
}

.aetherforge-showcase {
    position: relative;
    grid-area: showcase;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(380px, 52vh, 540px);
    padding: 42px 64px 40px;
}

.aetherforge-showcase__halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(72%, 620px);
    height: min(64%, 420px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 215, 227, 0.20), rgba(8, 110, 146, 0.08) 45%, transparent 72%);
    filter: blur(22px);
    pointer-events: none;
    z-index: 0;
}

.aetherforge-showcase__frame {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    padding: 16px;
    border: 1px solid rgba(0, 215, 227, 0.16);
    background: linear-gradient(180deg, rgba(8, 20, 38, 0.80), rgba(4, 10, 21, 0.60)), radial-gradient(circle at top left, rgba(0, 215, 227, 0.10), transparent 35%);
    backdrop-filter: blur(14px);
}

.aetherforge-ui-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(44vh, 390px);
    object-fit: contain;
    border: 1px solid rgba(0, 215, 227, 0.12);
    border-radius: 12px;
    background: rgba(5, 10, 18, 0.48);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.30);
}

.aetherforge-callout {
    position: absolute;
    z-index: 2;
    width: min(230px, 32%);
    padding: 14px 16px;
    border: 1px solid rgba(0, 215, 227, 0.16);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(8, 20, 38, 0.78), rgba(4, 10, 21, 0.60)), radial-gradient(circle at top left, rgba(0, 215, 227, 0.08), transparent 34%);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.aetherforge-callout__label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.aetherforge-callout p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-soft);
}

.aetherforge-callout--top {
    top: 0;
    right: 10px;
}

.aetherforge-callout--left {
    left: -8px;
    bottom: 86px;
}

.aetherforge-callout--bottom {
    right: 10px;
    bottom: 0;
}

.aetherforge-banner {
    display: grid;
    grid-area: banner;
    align-self: start;
    max-width: 430px;
    gap: 8px;
    padding: 16px 20px;
    border: 1px solid rgba(0, 215, 227, 0.14);
    background: linear-gradient(180deg, rgba(8, 20, 38, 0.8), rgba(5, 12, 24, 0.62)), radial-gradient(circle at top right, rgba(0, 215, 227, 0.06), transparent 32%);
    backdrop-filter: blur(12px);
}

.aetherforge-banner__label {
    display: inline-block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.aetherforge-banner p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.50;
    color: #ecfdff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1260px) {
    .page-section--aetherforge .section-content {
        width: min(1200px, calc(100% - (var(--content-pad) * 2)));
    }

    .aetherforge-stage {
        grid-template-columns: minmax(300px, 0.78fr) minmax(540px, 1.22fr);
        gap: 20px 28px;
    }

    .aetherforge-showcase {
        padding: 34px 42px 34px;
    }

    .aetherforge-callout {
        width: min(220px, 34%);
    }

    .aetherforge-ui-image {
        max-height: min(40vh, 340px);
    }
}

@media (max-width: 1080px) {
    .aetherforge-stage {
        grid-template-columns: 1fr;
        grid-template-areas: "head" "showcase" "banner";
        gap: 22px;
    }

    .aetherforge-head,
    .aetherforge-banner {
        max-width: none;
    }

    .aetherforge-ui-image {
        max-height: none;
    }

    .aetherforge-showcase {
        display: grid;
        gap: 12px;
        min-height: 0;
        padding: 0;
    }

    .aetherforge-showcase__halo {
        inset: 18% 16% auto 16%;
        width: auto;
        height: 54%;
        transform: none;
    }

    .aetherforge-callout {
        position: static;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .page-section--aetherforge .section-content {
        padding-top: 72px;
        padding-bottom: 58px;
    }

    .section-title--aetherforge {
        font-size: clamp(46px, 10vw, 68px);
    }

    .aetherforge-head__lead {
        font-size: 22px;
    }

    .aetherforge-banner {
        padding: 14px 16px;
    }

    .aetherforge-banner p {
        font-size: 16px;
    }

    .aetherforge-showcase__frame {
        padding: 14px;
    }
}

@media (max-width: 640px) {
    .aetherforge-ui-image,
    .aetherforge-callout,
    .aetherforge-banner {
        border-radius: 12px;
    }
}
