.camera-landing-page {
    min-height: 100vh;
    overflow-x: hidden;
    color: #201714;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.visually-hidden:focus {
    z-index: 100000;
    top: 0.75rem;
    left: 0.75rem;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    margin: 0 !important;
    padding: 0.75rem 1rem !important;
    background: #fff;
    color: #201714;
    white-space: normal !important;
}

.camera-landing-page.gallery-open,
.camera-landing-page.camera-menu-open {
    overflow: hidden;
}

.camera-landing-header {
    position: relative;
    z-index: 80;
    padding: 3rem clamp(1.5rem, 3.4vw, 3rem) 2rem;
}

.camera-landing-header__bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.camera-landing-brand {
    display: block;
    width: min(320px, 52vw);
}

.camera-landing-brand img {
    width: 100%;
    height: auto;
}

.camera-landing-header__desktop {
    display: none;
    align-items: center;
    gap: 1.75rem;
    padding-top: 1rem;
}

.camera-landing-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.camera-landing-menu a,
.camera-landing-header .camera-languages a {
    position: relative;
    color: inherit;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.camera-landing-menu a::after,
.camera-landing-header .camera-languages a::after {
    position: absolute;
    right: 0;
    bottom: -0.35rem;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.camera-landing-menu a:hover::after,
.camera-landing-menu a:focus-visible::after,
.camera-landing-header .camera-languages a:hover::after,
.camera-landing-header .camera-languages a:focus-visible::after,
.camera-landing-header .camera-languages a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.camera-landing-header .camera-languages {
    display: flex;
    gap: 0.65rem;
    border-left: 1px solid rgb(32 23 20 / 35%);
    padding-left: 1.25rem;
}

.camera-landing-menu-button {
    display: inline-grid;
    width: 56px;
    height: 48px;
    flex: 0 0 auto;
    align-content: center;
    gap: 7px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.camera-landing-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: #201714;
}

.camera-landing-mobile-menu {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 3rem;
    background: #d9d1cf;
}

.camera-landing-mobile-menu[hidden] {
    display: none;
}

.camera-landing-mobile-menu nav ul {
    display: grid;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.camera-landing-mobile-menu nav a {
    color: inherit;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 10vw, 3.25rem);
    line-height: 1;
    text-transform: uppercase;
}

.camera-landing-mobile-menu .camera-languages {
    position: absolute;
    bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.camera-landing-mobile-menu .camera-languages a {
    color: inherit;
    font-size: 1.125rem;
    text-transform: uppercase;
}

.camera-landing-menu-close {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    width: 56px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.camera-landing-menu-close span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #201714;
    transform: rotate(32deg);
}

.camera-landing-menu-close span:last-child {
    transform: rotate(-32deg);
}

.camera-landing-hero {
    padding: 0 clamp(1.5rem, 3.4vw, 3rem) clamp(4rem, 8vw, 8rem);
}

.camera-landing-hero__media {
    position: relative;
    min-height: min(760px, 78vh);
    margin: 0;
    overflow: hidden;
    background: #201714;
}

.camera-landing-hero__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .65, .25, 1);
}

.camera-landing-hero__media:hover > img {
    transform: scale(1.018);
}

.camera-landing-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(32 23 20 / 8%) 25%, rgb(32 23 20 / 76%) 100%);
}

.camera-landing-hero__content {
    position: absolute;
    z-index: 2;
    right: clamp(1.25rem, 4vw, 4rem);
    bottom: clamp(2rem, 6vw, 5rem);
    left: clamp(1.25rem, 4vw, 4rem);
    color: #fff;
}

.camera-landing-hero__content p {
    margin: 0 0 1rem;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.camera-landing-hero__content h1 {
    max-width: 13ch;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 300;
    line-height: 0.82;
    text-wrap: balance;
    text-transform: uppercase;
}

.camera-landing-hero__back {
    position: absolute;
    z-index: 3;
    top: 1.5rem;
    right: 1.5rem;
    border: 1px solid rgb(255 255 255 / 75%);
    padding: 0.75rem 1rem;
    color: #fff;
    background: rgb(32 23 20 / 22%);
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: color 180ms ease, background-color 180ms ease;
}

.camera-landing-hero__back:hover,
.camera-landing-hero__back:focus-visible {
    background: #fff;
    color: #201714;
}

.camera-landing-intro {
    display: grid;
    gap: 3rem;
    padding: clamp(4rem, 8vw, 9rem) clamp(1.5rem, 7vw, 7rem);
}

.camera-landing-kicker,
.camera-landing-features > p,
.camera-landing-gallery-section > header > p {
    margin: 0;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.camera-landing-description {
    max-width: 22ch;
    margin-top: 2rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.1rem, 5vw, 4.75rem);
    font-weight: 300;
    line-height: 1.02;
}

.camera-landing-description p {
    margin: 0;
}

.camera-landing-description p + p {
    margin-top: 1em;
}

.camera-landing-features {
    align-self: end;
    border-top: 1px solid #201714;
    padding-top: 1.5rem;
}

.camera-landing-features [xdata="caratteristiche-camera"] {
    margin: 2rem 0;
    color: #648f72;
    font-size: 1rem;
    line-height: 1.8;
    text-transform: uppercase;
}

.camera-landing-features > a {
    display: inline-block;
    border: 1px solid #a3cbb1;
    padding: 0.9rem 1.25rem;
    background: #a3cbb1;
    color: #201714;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 180ms ease;
}

.camera-landing-features > a:hover,
.camera-landing-features > a:focus-visible {
    background: transparent;
}

.camera-landing-gallery-section {
    padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 3.4vw, 3rem);
    background: #d9d1cf;
}

.camera-landing-gallery-section > header {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.camera-landing-gallery-section h2 {
    max-width: 12ch;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.75rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 0.9;
    text-transform: uppercase;
}

.camera-landing-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.camera-landing-gallery > a {
    display: block;
    min-height: 180px;
    overflow: hidden;
    background: #201714;
}

.camera-landing-gallery > a:first-child {
    grid-column: 1 / -1;
    min-height: min(68vh, 620px);
}

.camera-landing-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 260ms ease, transform 600ms cubic-bezier(.2, .65, .25, 1);
}

.camera-landing-gallery a:hover img,
.camera-landing-gallery a:focus-visible img {
    opacity: 0.84;
    transform: scale(1.025);
}

.camera-landing-room-navigation {
    display: grid;
    grid-template-columns: 1fr;
}

.camera-landing-room-navigation a {
    display: grid;
    min-height: 230px;
    align-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    color: #f3f3ee;
    background: #201714;
    transition: color 220ms ease, background-color 220ms ease;
}

.camera-landing-room-navigation__next {
    text-align: right;
}

.camera-landing-room-navigation a:hover,
.camera-landing-room-navigation a:focus-visible {
    background: #a3cbb1;
    color: #201714;
}

.camera-landing-room-navigation span {
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.camera-landing-room-navigation strong {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 0.9;
    text-transform: uppercase;
}

.camera-landing-footer {
    display: grid;
    gap: 2rem;
    align-items: end;
    padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3.4vw, 3rem) 2.5rem;
}

.camera-landing-footer__brand {
    width: min(310px, 78vw);
}

.camera-landing-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    text-transform: uppercase;
}

.camera-landing-footer__links a {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.camera-landing-footer p {
    margin: 0;
}

@media (min-width: 768px) {
    .camera-landing-header__desktop {
        display: flex;
    }

    .camera-landing-menu-button {
        display: none;
    }

    .camera-landing-hero__media {
        width: calc(100% - clamp(6rem, 16vw, 15rem));
        margin-left: auto;
    }

    .camera-landing-hero__content {
        left: clamp(2rem, 4vw, 4rem);
    }

    .camera-landing-intro {
        grid-template-columns: minmax(0, 2.2fr) minmax(250px, 0.8fr);
        gap: clamp(4rem, 10vw, 11rem);
    }

    .camera-landing-gallery-section > header {
        grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
        align-items: end;
    }

    .camera-landing-gallery {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 1rem;
    }

    .camera-landing-gallery > a {
        grid-column: span 4;
        min-height: 300px;
    }

    .camera-landing-gallery > a:first-child {
        grid-column: span 8;
        grid-row: span 2;
        min-height: 680px;
    }

    .camera-landing-gallery > a:nth-child(2),
    .camera-landing-gallery > a:nth-child(3) {
        grid-column: span 4;
        min-height: 332px;
    }

    .camera-landing-gallery > a:nth-child(6n + 4) {
        grid-column: span 7;
        min-height: 470px;
    }

    .camera-landing-gallery > a:nth-child(6n + 5),
    .camera-landing-gallery > a:nth-child(6n + 6) {
        grid-column: span 5;
        min-height: 470px;
    }

    .camera-landing-room-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .camera-landing-room-navigation a {
        min-height: 320px;
    }

    .camera-landing-footer {
        grid-template-columns: 1.2fr 1fr auto;
    }
}

@media (max-width: 767px) {
    .camera-landing-header {
        padding-top: 1.5rem;
    }

    .camera-landing-brand {
        width: min(235px, 62vw);
    }

    .camera-landing-hero__media {
        min-height: 68vh;
    }

    .camera-landing-hero__back {
        top: 1rem;
        right: 1rem;
        padding: 0.65rem 0.8rem;
        font-size: 0.75rem;
    }

    .camera-landing-description {
        font-size: clamp(2rem, 10vw, 3.25rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .camera-landing-menu a::after,
    .camera-landing-header .camera-languages a::after,
    .camera-landing-hero__media > img,
    .camera-landing-hero__back,
    .camera-landing-features > a,
    .camera-landing-gallery img,
    .camera-landing-room-navigation a {
        transition: none;
    }
}

/* Header condiviso: stessa geometria e stessi elementi della homepage. */
.site-landing-header {
    position: relative;
    z-index: 80;
}

.site-landing-header__bar {
    align-items: flex-start;
}

.site-landing-brand {
    display: block;
}

.site-landing-brand img {
    width: 100%;
    height: auto;
}

.site-landing-header .nav-primary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-landing-header .nav-primary a {
    color: inherit;
    text-decoration: none;
}

.site-landing-languages {
    display: flex;
    gap: 0.5rem;
}

.site-landing-languages a {
    display: flex;
    min-width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #a3cbb1;
    padding: 0.75rem;
    color: #201714;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
}

.site-landing-languages a.is-current {
    background: #a3cbb1;
}

.site-landing-menu-button {
    flex: 0 0 64px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.site-landing-mobile-menu {
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgb(0 0 0 / 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.site-landing-mobile-menu[hidden] {
    display: none;
}

.site-landing-mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-landing-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: min(66.666%, 560px);
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    overflow: auto;
    padding: 3rem;
    background: #d9d1cf;
    transform: translateX(100%);
    transition: transform 300ms ease;
}

.site-landing-mobile-menu.is-open .site-landing-mobile-menu__panel {
    transform: translateX(0);
}

.site-landing-menu-close {
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.site-landing-mobile-menu nav:first-of-type {
    margin: auto 0;
}

.site-landing-mobile-menu nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-landing-mobile-menu nav ul a {
    color: #201714;
    font-family: "Cormorant Garamond", serif;
    line-height: 1;
}

.site-landing-languages--mobile {
    margin-top: auto;
}

@media (max-width: 767px) {
    .site-landing-header {
        padding-top: 3rem;
    }

    .site-landing-mobile-menu__panel {
        width: min(84%, 440px);
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-landing-mobile-menu,
    .site-landing-mobile-menu__panel {
        transition: none;
    }
}

