:root {
    --ink: #F4EEDC;
    --bg-deep: #122A24;
    --bg-deep-2: #0D211C;
    --paper: #F6F1E5;
    --gold: #D9AA53;
    --gold-soft: #E8C57E;
    --line: rgba(18, 42, 36, 0.14);
}

* {
    box-sizing: border-box;
}

.filler {
    max-width: 640px;
    margin: 0 auto;
    padding: 8vh 6vw;
    font-size: 15.5px;
    line-height: 1.75;
    opacity: .68;
}

.scroll-hint {
    text-align: center;
    font-size: 12.5px;
    letter-spacing: .04em;
    opacity: .5;
    padding-bottom: 6vh;
}

.scroll-track {
    position: relative;
    height: 100vh;
}

.stat-section {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: visible;
    background-color: #fff;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-stage {
    position: relative;
    width: 100%;
    height: 84vh;
    margin: 0 auto;
    padding: 0 3vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.stage {
    width: 100%;
    max-width: 640px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    z-index: 1;
}

@media (max-width: 767px) {
    .stage, .stat-section {
        display: none;
    }
    .scroll-track {
        height: unset;
    }
}

.stage-mobile {
    display: none;
}

@media (max-width: 767px) {
    .stage-mobile {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    }
}

.intro {
    will-change: opacity, transform;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: .02em;
    color: var(--gold-soft);
    margin-bottom: 18px;
}

.kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
}

h2.headline {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(28px, 4.4vw, 40px);
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.sub {
    font-size: 15.5px;
    line-height: 1.55;
    color: rgba(244, 238, 220, 0.72);
    max-width: 440px;
    margin: 0 auto;
}

.map-wrap {
    position: relative;
    width: min(60vw, 600px);
    aspect-ratio: 1 / 1;
    margin: 36px auto 0;
}

.map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
    opacity: 0;
    will-change: opacity;
}

.marker {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e16100;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.30);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.4);
    will-change: opacity, transform;
}

.marker.small {
    width: 18px;
    height: 18px;
    background: #e16100;
    border-radius: 50%;
}

.marker.small::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 9px;
    height: 9px;

    background: inherit;
    transform: translateX(-50%) rotate(45deg);
}

.photo-card {
    position: absolute;
    overflow: hidden;
    background: #eee;
    opacity: 0;
    transition: opacity .5s ease;
    will-change: opacity, transform;
    pointer-events: none;
    z-index: 2;
}

.photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-card.rounded {
    border-radius: 14px;
}

.photo-card.circle {
    border-radius: 50%;
}

.cta {
    margin-top: 14px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1C2B22;
    background: var(--gold);
    border: none;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.cta:hover {
    background: var(--gold-soft);
    transform: translateY(-1px);
}

.cta:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.after {
    max-width: 640px;
    margin: 0 auto;
    padding: 12vh 6vw 20vh;
    font-size: 15.5px;
    line-height: 1.75;
    opacity: .68;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-track {
    height: auto;
    }

    .stat-section {
    position: relative;
    height: auto;
    padding: 14vh 6vw;
    }

    .map-svg,
    .marker,
    #statCard,
    .photo-card {
    opacity: 1 !important;
    transform: none !important;
    }
}

@media (max-width: 767px) {

    .photo-card {
        display: none;
    }
}

#statCard {
    position: absolute;
    top: 25%;
    left: 0%;
    width: 100%;
    opacity: 0;
    transform: scale(.94);
    pointer-events: none;
}

.mobile-project-banner {
    display: block;
    text-align: center;
    background-color: #f0ece3;
    border-radius: 20px;
    padding: 50px;
    margin-top: 50px;
}

.mobile-project-banner__title {
    text-transform: uppercase;
    font-size: 24px;
    color: #00212e;
    font-weight: 700;
    margin-bottom: 15px;
}

.mobile-project-banner__title strong {
    color: #e16100;
}

.mobile-project-banner__title span {
    font-size: 16px;
}

.mobile-project-banner span {
    display: block;
}
