/* Anniversary Hero Block Styles */

.cpm-anniversary-hero {
    position: relative;
    overflow: hidden;
    background: #000000;
    padding: 0;
    width: 100%;
    aspect-ratio: 1730/1220;
}

.cpm-anniversary-hero::before {
    content: "";
    position: absolute;
    inset: -30% -10%;
    z-index: 0;
    opacity: 0.35;
}

.cpm-anniversary-hero__canvas {
    position: absolute;
    inset: 0;
    margin: 12px;
    background: linear-gradient(180deg, #2c2c2c 0%, #000000 70%, #000000 100%);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.cpm-hero-circle {
    position: absolute;
    top: var(--circle-top);
    left: var(--circle-left);
    width: var(--circle-size);
    /* height: var(--circle-size); */
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: visible;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    opacity: 0.3;
}

.cpm-hero-circle.is-story {
    pointer-events: auto;
}

.cpm-hero-circle__link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.cpm-hero-circle__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    filter: saturate(110%) brightness(0.95);
}

.cpm-hero-circle__link:hover .cpm-hero-circle__image,
.cpm-hero-circle__link:focus .cpm-hero-circle__image {
    transform: scale(1.08);
    filter: saturate(120%) brightness(1.05);
}

.cpm-hero-circle__tooltip {
    position: absolute;
    bottom: 5%;
    left: 65%;
    transform: translate(-48px, -12px);
    background: #ffffff;
    color: #031021;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1;
    letter-spacing: 0%;
    text-align: center;
    z-index: 2;
}

.cpm-hero-circle:hover {
    opacity: 1;
}

.cpm-hero-circle:hover .cpm-hero-circle__tooltip,
.cpm-hero-circle:focus-within .cpm-hero-circle__tooltip {
    opacity: 1;
}

.cpm-hero-circle.is-placeholder {
    opacity: 0.65;
    filter: blur(0.2px);
    pointer-events: none;
}

.cpm-hero-circle__fill {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.02)
    );
    box-shadow: inset 0 18px 32px rgba(255, 255, 255, 0.04);
}

.cpm-hero-circle__fill.placeholder-2 {
    background: linear-gradient(
        135deg,
        rgba(0, 163, 125, 0.26),
        rgba(255, 255, 255, 0.04)
    );
}

.cpm-hero-circle__fill.placeholder-3 {
    background: linear-gradient(
        135deg,
        rgba(82, 115, 216, 0.24),
        rgba(12, 26, 67, 0.32)
    );
}

.cpm-hero-circle__fill.placeholder-4 {
    background: linear-gradient(
        135deg,
        rgba(189, 132, 255, 0.24),
        rgba(12, 26, 67, 0.28)
    );
}

.cpm-anniversary-hero__content {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: block;
    top: 45%;
    left: 50%;
    width: 62vw;
}

.cpm-anniversary-hero__heading {
    display: block;
}

.cpm-anniversary-hero__logo {
    width: 70vw;
    height: auto;
}

.cpm-anniversary-hero__headline {
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 1.875rem;
    letter-spacing: 0%;
}

.cpm-anniversary-hero__subheadline {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.78);
    text-align: right;
    display: block;
    max-width: 465px;
    margin-right: 0;
    margin-left: auto;
}

.cpm-anniversary-hero__cta {
    margin-top: 16px;
    text-align: right;
    padding: 0.825rem;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 10;
}

.cpm-anniversary-hero__site-mark {
    position: absolute;
    top: 40px;
    right: 60px;
    z-index: 2;
    color: #e9e9e9;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 100%;
    letter-spacing: 0.05rem;
    text-align: right;
    text-decoration: none;
}

/* Responsive adjustments for hero */
@media (max-width: 1280px) {
    .cpm-anniversary-hero__site-mark {
        right: 40px;
    }
}

@media (max-width: 1024px) {
    .cpm-anniversary-hero {
        padding: 120px 0 160px;
    }

    .cpm-anniversary-hero__heading {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .cpm-anniversary-hero {
        padding: 110px 0 150px;
    }

    .cpm-anniversary-hero__content {
        max-width: 100%;
    }

    .cpm-anniversary-hero__site-mark {
        display: none;
    }
}

@media (max-width: 768px) {
    .cpm-anniversary-hero {
        padding: 100px 0 140px;
        height: 100vh;
    }

    .cpm-anniversary-hero__content {
        align-items: center;
        text-align: center;
    }

    .cpm-anniversary-hero__heading {
        flex-direction: column;
        align-items: center;
    }

    .cpm-anniversary-hero__headline {
        font-size: 2.5rem;
        letter-spacing: 0.06em;
    }

    .cpm-anniversary-hero__subheadline {
        text-align: left;
    }

    .cpm-anniversary-hero__canvas {
        margin: 0;
        border-radius: 0;
        opacity: 1;
        margin: 0;
        border-radius: 0;
        opacity: 1;
        inset: unset;
        width: 120vh;
        height: 105vh;
        top: 0;
        transform: translate(-43%, 0);
        left: 50%;
    }

    .scrolled .cpm-anniversary-hero__canvas {
        opacity: 1;
    }

    .cpm-hero-circle {
        opacity: 1 !important;
    }

    .cpm-hero-circle.circle-index-6 {
        left: 20%;
        top: 22%;
    }

    .cpm-hero-circle.circle-index-15 {
        top: 68%;
    }
    .cpm-hero-circle.circle-index-16 {
        left: 62%;
        top: 50%;
    }
    .cpm-hero-circle.circle-index-18 {
        top: 65%;
        left: 45%;
    }

    .cpm-hero-circle.circle-index-20 {
        left: 72.5%;
    }

    .cpm-hero-circle__tooltip {
        display: none;
    }
    .cpm-anniversary-hero__cta {
    position: absolute;
        text-align: center;
        right: 0;
        left: 0;
        bottom: unset;
        top: calc(100vh - 200px);
    }
}

@media (max-width: 540px) {
    .cpm-anniversary-hero {
        padding: 90px 0 120px;
    }
}
