* {
    box-sizing: border-box;
}

html {
    background: #fff;
}

body {
    margin: 0;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.poster {
    display: grid;
    grid-template-rows: 27.7fr auto 26.7fr 45.6fr;
    width: 100%;
    aspect-ratio: 9 / 16;
    min-height: 100svh;
    margin: 0 auto;
    background: #fff;
}

.hero-panel,
.landscape-panel {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #000;
}

.hero-panel {
    isolation: isolate;
}

.panel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    position: absolute;
    inset: 0;
    object-position: left center;
    z-index: -2;
    mask-image: linear-gradient(to right, #000 45%, transparent 88%);
}

.hero-panel::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to right, transparent 35%, #000 67%);
    content: "";
    pointer-events: none;
}

.hero-title {
    position: absolute;
    top: 50%;
    right: 3%;
    width: 43%;
    margin: 0;
    color: #fff;
    font-size: clamp(1rem, 4vw, 5.75rem);
    line-height: 1.05;
    text-align: right;
    white-space: nowrap;
    opacity: 0;
    transform: translate(0.04em, calc(-50% - 0.04em));
    transition: opacity 1000ms ease-in-out;
}

.hero-title.is-visible {
    opacity: 1;
}

.page-menu {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
    background: #000;
}

.contact-link {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
    background: #fff;
    color: #000;
}

.landscape-image {
    object-position: center 48%;
}

.landscape-panel::after {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 15%);
    content: "";
}

.landscape-content {
    position: absolute;
    z-index: 1;
    top: 19%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4%;
    color: #fff;
    text-align: center;
}

#particleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.subtitle {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 5vw, 3.25rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
}

.europe-panel {
    display: grid;
    grid-template-columns: 34.8% 65.2%;
    grid-template-rows: 76.6% 23.4%;
    min-height: 0;
    background: #fff;
}

.europe-image {
    grid-row: 1;
    object-position: center 44%;
}

.europe-copy {
    display: flex;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    min-width: 0;
    padding: 5% 2%;
    text-align: center;
}

.europe-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 8.2vw, 5.6rem);
    line-height: 1.1;
}

.europe-copy p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 4.3vw, 3rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
}

.bottom-space {
    grid-column: 1 / -1;
    grid-row: 2;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 420px) {
    .europe-copy h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .europe-copy p {
        font-size: clamp(0.9rem, 4.1vw, 1.2rem);
    }
}

@media (max-width: 600px) {
    .poster {
        grid-template-rows: 27fr auto 27fr 46fr;
        min-height: 145svh;
    }

    .landscape-content {
        top: 16%;
    }
}
