body.home-scroll-page {
    display: block;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #ffffff;
}

body.home-scroll-page #content-area {
    display: block;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    margin: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    overflow: hidden;
}

body.home-scroll-page .home-main {
    display: block;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-left: none;
    padding-top: 0;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body.home-scroll-page .home-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
}

body.home-scroll-page .home-section > [data-include] {
    width: 100%;
    min-width: 100%;
}

body.home-scroll-page .home-section--overview,
body.home-scroll-page .home-section--projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    background: radial-gradient(circle at 20% 20%, #f0f8ff 0%, #ffffff 55%, #f4f2ee 100%);
}

body.home-scroll-page .home-section--overview {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: #0d1622;
    height: 100%;
    min-height: 100%;
}

body.home-scroll-page .home-section--overview > [data-include] {
    display: block;
    width: 100%;
    height: 100%;
}

body.home-scroll-page .home-section--studio {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: #10161d;
    height: 100%;
    min-height: 100%;
}

body.home-scroll-page .home-section--studio > [data-include] {
    display: block;
    width: 100%;
    height: 100%;
}

.section-copy {
    width: min(860px, 100%);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.home-scroll-page .section-copy .section-kicker,
body.home-scroll-page .section-copy .section-title,
body.home-scroll-page .section-copy .section-description {
    text-align: center;
}

.section-kicker {
    margin: 0;
    font-family: 'AritaBuriKR', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5d6b73;
}

.section-title {
    margin: 12px 0 18px;
    font-family: 'PlayfairDisplay', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
    color: #0b1620;
}

.section-description {
    margin: 0;
    color: #2f3f4a;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.overview-hero {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.overview-hero__image {
    position: absolute;
    inset: 0;
    background-image: url('https://d2acbkrrljl37x.cloudfront.net/aliceeggie/art_works/webp/Transparent_Still_life_5.webp');
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
}

.overview-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: clamp(28px, 5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(10, 20, 35, 0.08) 5%, rgba(10, 20, 35, 0.56) 72%, rgba(10, 20, 35, 0.78) 100%);
}

.overview-hero .section-kicker {
    color: rgba(247, 250, 255, 0.84);
}

.overview-hero .section-title {
    color: #ffffff;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.overview-hero .section-description {
    max-width: 760px;
    color: rgba(244, 247, 252, 0.95);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.overview-hero .section-title::before,
.overview-hero .section-title::after {
    content: none;
}

.studio-hero {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.studio-hero__image {
    position: absolute;
    inset: 0;
    background-image: url('https://d2acbkrrljl37x.cloudfront.net/aliceeggie/profiles/webp/alicestudio02.webp');
    background-size: cover;
    background-position: center;
}

.studio-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: clamp(28px, 5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.08) 5%, rgba(8, 12, 18, 0.5) 72%, rgba(8, 12, 18, 0.74) 100%);
}

.studio-hero .section-kicker {
    color: rgba(246, 248, 252, 0.84);
}

.studio-hero .section-title {
    color: #ffffff;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.studio-hero .section-description {
    max-width: 760px;
    color: rgba(244, 247, 252, 0.95);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.studio-hero .section-title::before,
.studio-hero .section-title::after {
    content: none;
}

.projects-copy {
    margin-bottom: 22px;
}

.projects-grid {
    margin: 0 auto;
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 22px;
}

.project-card {
    background: #ffffff;
    border: 1px solid #dde5ea;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(17, 33, 48, 0.08);
}

.project-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #d5dce1;
}

.project-meta {
    padding: 18px 16px 20px;
}

.project-status {
    margin: 0 0 8px;
    color: #5d6b73;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-meta h3 {
    margin: 0;
    font-family: 'PlayfairDisplay', serif;
    font-size: 1.45rem;
    color: #131d23;
}

.project-subtitle {
    margin: 8px 0 10px;
    color: #2d4658;
    font-size: 0.95rem;
}

.project-description {
    margin: 0;
    color: #3f515e;
    line-height: 1.6;
    font-size: 0.92rem;
}

.projects-status {
    text-align: center;
    color: #3f515e;
}

#map-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

#background-image-layer,
#background-image-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

#background-image-layer video,
#background-image-layer-2 video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

#canvas-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    background: transparent;
}

.info-tooltip {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 20px;
    border-radius: 8px;
    pointer-events: none;
    display: none;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
    z-index: 1000;
    font-family: 'AritaBuriKR', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-family: 'AritaBuriKR', sans-serif;
    z-index: 100;
}

.map-text-overlay {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    pointer-events: none;
    z-index: 1003;
    max-width: 500px;
    width: 85%;
}

.digital-info-box {
    background: rgba(255, 255, 255, 0.92);
    border: none;
    padding: 16px 20px 0 20px;
    box-shadow: none;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.digital-info-box::before {
    content: '>';
    position: absolute;
    left: 8px;
    top: 16px;
    color: #00aaff;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.typing-text {
    color: #1a1a1a;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.typing-text .cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #00aaff;
    margin-left: 3px;
    animation: blink 1s infinite;
    vertical-align: baseline;
    border-radius: 1px;
}

.typing-text.typing .cursor,
.typing-text.complete .cursor {
    animation: blink 1s infinite;
    display: inline-block;
}

.current-location {
    color: #0066cc;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    padding-left: 16px;
    letter-spacing: 0.5px;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

@media (max-width: 980px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    body.home-scroll-page #content-area,
    body.home-scroll-page .home-main,
    body.home-scroll-page .main-content {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        border-left: none !important;
    }

    body.home-scroll-page .home-section {
        width: 100vw;
        margin: 0;
    }

    .info-tooltip {
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: auto !important;
        right: auto !important;
        max-width: 90%;
        width: calc(100% - 40px);
    }

    .map-text-overlay {
        top: 70px;
        width: 90%;
        max-width: 90%;
        padding: 0 10px;
    }

    .digital-info-box {
        padding: 10px 12px;
    }

    .digital-info-box::before {
        top: 10px;
        font-size: 14px;
    }

    .typing-text {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 8px;
        padding-left: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .current-location {
        font-size: 12px;
        padding-left: 16px;
        margin-top: 8px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .overview-hero {
        min-height: 100%;
    }
}

@media (max-width: 480px) {
    .map-text-overlay {
        top: 65px;
        width: 95%;
        max-width: 95%;
        padding: 0 5px;
    }

    .digital-info-box {
        padding: 8px 10px;
    }

    .digital-info-box::before {
        top: 8px;
        font-size: 12px;
    }

    .typing-text {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 6px;
        padding-left: 14px;
    }

    .current-location {
        font-size: 11px;
        padding-left: 14px;
        margin-top: 6px;
    }
}

.home-dot-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-dot-nav__dot {
    width: 10px;
    height: 10px;
    border: 1px solid #a8adb2;
    border-radius: 999px;
    background: rgba(208, 212, 216, 0.45);
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-dot-nav__dot:hover {
    transform: scale(1.15);
    border-color: #8f959b;
}

.home-dot-nav__dot.is-active {
    background: #7f868d;
    border-color: #7f868d;
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .home-dot-nav {
        display: none !important;
    }
}
