/* ========================================
   HOME PREMIUM — Immersive Scroll Experience
   Design: Editorial, Cinematic, Luxury
   ======================================== */

/* ── Reset & base ── */
.page-home { background: #faf9f7; }

/* ── Cursor Light ── */
.cursor-light {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    mix-blend-mode: screen;
}
body:hover .cursor-light { opacity: 1; }
@media (pointer: coarse) { .cursor-light { display: none; } }

/* ── Progress Bar ── */
.progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 10000;
}
.progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #f0d060, #d4af37);
    will-change: width;
}

/* ── Side Navigation Dots ── */
.side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.side-nav__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(6,6,6,0.15);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    position: relative;
    text-decoration: none;
}
.side-nav__dot span {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.side-nav__dot:hover span { opacity: 1; }
.side-nav__dot.is-active {
    background: #d4af37;
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(212,175,55,0.2);
}
.side-nav__dot.is-light { background: rgba(255,255,255,0.3); }
.side-nav__dot.is-light.is-active { background: #d4af37; }
.side-nav__dot.is-light span { color: rgba(255,255,255,0.5); }

@media (max-width: 768px) { .side-nav { display: none; } }

/* ── Header Glass — override critical.css ── */
.header--glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.header--glass.is-scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(6,6,6,0.04);
}
.header--glass:not(.is-scrolled) .logo__icon {
    filter: brightness(0) invert(1);
}
.header--glass:not(.is-scrolled) .logo__text-primary,
.header--glass:not(.is-scrolled) .logo__text-secondary { color: #fff; }
.header--glass:not(.is-scrolled) .nav-primary__link { color: rgba(255,255,255,0.8); }
.header--glass:not(.is-scrolled) .nav-primary__link:hover,
.header--glass:not(.is-scrolled) .nav-primary__link.is-active { color: #fff; }
.header--glass:not(.is-scrolled) .nav-toggle__line { background: #fff; }

/* ── Shared label ── */
.label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #d4af37;
    margin-bottom: 1.25rem;
}
.label--light { color: rgba(212,175,55,0.9); }

/* ── Section header ── */
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    color: #060606;
    margin: 0.5rem 0 0;
    letter-spacing: -0.5px;
}

/* ========================================
   HERO
   ======================================== */
.page-home .hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #060606;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

/* Override critical.css .hero__layer opacity: 0.03 */
.page-home .hero .hero__overlay,
.page-home .hero .hero__video-wrap {
    opacity: 1;
}

/* Video background */
.hero__video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero__video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 177.78vh;
    min-height: 56.25vw;
    width: 177.78vh;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}
.hero__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
/* Self-hosted video: always covers the hero, whatever the aspect ratio */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .hero__video { display: none; }
}
/* YouTube iframe: cover the hero box (not the viewport), no side bars on wide screens */
.hero__video-wrap { container-type: size; }
@supports (width: 1cqw) {
    .hero__video-wrap iframe {
        min-width: 0;
        min-height: 0;
        width: max(100cqw, 177.78cqh);
        height: max(100cqh, 56.25cqw);
    }
}
/* Poster stays visible until consent loads the video, which then covers it */
.hero__video-wrap iframe { z-index: 1; }
.hero__video-wrap iframe[data-sp-consent-src] { visibility: hidden; }

/* Overlays */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero__overlay--gradient {
    background: linear-gradient(
        180deg,
        rgba(6,6,6,0.6) 0%,
        rgba(6,6,6,0.5) 40%,
        rgba(6,6,6,0.75) 100%
    );
}
.hero__overlay--grain {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}
.hero__overlay--vignette {
    box-shadow: inset 0 0 250px 80px rgba(0,0,0,0.45);
}

/* Hero content — override critical.css center/max-width */
.page-home .hero__content {
    position: relative;
    z-index: 10;
    color: #fff;
    width: 100%;
    text-align: left;
    max-width: none;
    padding: 0;
}

/* Badge */
.hero__badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.hero__badge-line {
    width: 40px;
    height: 1px;
    background: rgba(212,175,55,0.5);
}
.hero__badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #d4af37;
}

/* Title — override critical.css dark color */
.page-home .hero__title {
    margin: 0;
    line-height: 1;
    color: #fff;
    font-size: unset;
    margin-bottom: 0;
}
.hero__word {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 400;
    letter-spacing: -3px;
    overflow: hidden;
}
.hero__word--accent {
    font-style: italic;
    color: #d4af37;
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    letter-spacing: -1px;
}

/* Divider */
.hero__divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, #d4af37, transparent);
    margin: 2rem 0;
    transform-origin: left;
}

/* Description */
.hero__desc {
    font-family: 'Lora', serif;
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    max-width: 480px;
    margin: 0;
}

/* CTA — override critical.css center */
.page-home .hero__cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Premium button */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: #d4af37;
    color: #060606;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    position: relative;
    overflow: hidden;
}
.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-premium:hover::before { transform: translateX(100%); }
.btn-premium:hover {
    background: #e8c547;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}
.btn-premium__arrow {
    display: flex;
    transition: transform 0.3s ease;
}
.btn-premium:hover .btn-premium__arrow { transform: translateX(4px); }

.btn-premium--light {
    background: #fff;
    color: #060606;
}
.btn-premium--light:hover {
    background: #d4af37;
    box-shadow: 0 8px 24px rgba(212,175,55,0.35);
}

/* Ghost button */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.75rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}
.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
}

/* Scroll indicator */
.hero__bottom {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.hero__scroll-line {
    width: 1px;
    height: 56px;
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d4af37;
    animation: lineScroll 2.2s cubic-bezier(0.65,0,0.35,1) infinite;
}
@keyframes lineScroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
.hero__scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.3);
}

/* ========================================
   INTRO
   ======================================== */
.intro {
    padding: 10rem 0 8rem;
    background: #fff;
    position: relative;
}
.intro::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,6,6,0.08), transparent);
}
.intro__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 6rem;
    align-items: start;
}
@media (max-width: 900px) {
    .intro__grid { grid-template-columns: 1fr; gap: 3rem; }
    .intro { padding: 6rem 0; }
}
.intro__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: #060606;
    line-height: 1.35;
    margin: 0 0 1.5rem;
    letter-spacing: -0.5px;
}
.intro__title em {
    font-style: italic;
    color: #d4af37;
}
.intro__text {
    font-family: 'Lora', serif;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #555;
    margin-bottom: 2.5rem;
}

/* Link arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    text-decoration: none;
    transition: gap 0.3s ease;
}
.link-arrow:hover { gap: 1.25rem; }
.link-arrow svg { transition: transform 0.3s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Stat cards */
.intro__right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}
.stat-card {
    background: #faf9f7;
    border: 1px solid rgba(6,6,6,0.04);
    padding: 2rem 2.25rem;
    border-radius: 12px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.5s ease;
}
.stat-card:hover {
    box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}
.stat-card--gold {
    background: linear-gradient(135deg, #d4af37, #e8c547);
    border-color: transparent;
}
.stat-card--gold .stat-card__number { color: #060606; }
.stat-card--gold .stat-card__label { color: rgba(6,6,6,0.7); }
.stat-card--gold .stat-card__detail { color: rgba(6,6,6,0.5); }

.stat-card--dark {
    background: #060606;
    border-color: transparent;
}
.stat-card--dark .stat-card__number { color: #d4af37; }
.stat-card--dark .stat-card__label { color: rgba(255,255,255,0.8); }
.stat-card--dark .stat-card__detail { color: rgba(255,255,255,0.4); }

.stat-card__number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #d4af37;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-card__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
}
.stat-card__detail {
    font-family: 'Lora', serif;
    font-size: 0.8125rem;
    color: #999;
    margin-top: 0.5rem;
}

/* ========================================
   ARCHIVIO — Cinematic Photo Reveal
   ======================================== */
.archivio {
    position: relative;
    height: 250vh;
    background: #060606;
}
.archivio__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* home-3d.js tweens --reveal 1 → 0. Animating the variable (not clip-path itself) keeps the
   inset symmetric: Chrome shortens "inset(25% 35% 25% 35%)" to "inset(25% 35%)" and GSAP then
   paired the numbers wrongly, opening the image off-centre. */
.archivio__mask {
    --reveal: 1;
    --mask-y: 25%;
    --mask-x: 35%;
    --mask-r: 16px;
    position: absolute;
    inset: 0;
    will-change: clip-path;
    clip-path: inset(calc(var(--mask-y) * var(--reveal)) calc(var(--mask-x) * var(--reveal)) round calc(var(--mask-r) * var(--reveal)));
}
.archivio__mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%) brightness(0.6);
    transform: scale(1.2);
    will-change: transform, filter;
}
.archivio__caption {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 460px;
    padding: 2rem;
}
.archivio__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 1.25rem;
    letter-spacing: -1px;
}
.archivio__text {
    font-family: 'Lora', serif;
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ========================================
   MOSAIC GALLERY
   ======================================== */
.mosaic {
    padding: 8rem 0;
    background: #fff;
}
.mosaic__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.mosaic__head .section-header__title { margin: 0; }
.mosaic__intro {
    max-width: 26rem;
    margin: 0;
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #5c5c5c;
}
/* 12-column grid + dense flow: large = 8x2, tall = 4x2, normal = 4x1.
   With the default 5 photos (large, normal, tall, normal, normal) every cell is filled. */
.mosaic__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(180px, 20vw, 270px);
    grid-auto-flow: dense;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mosaic__item { grid-column: span 4; margin: 0; min-width: 0; }
.mosaic__item--hero { grid-column: span 8; grid-row: span 2; }
.mosaic__item--tall { grid-row: span 2; }
@media (max-width: 900px) {
    .mosaic__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 0.75rem; }
    .mosaic__item { grid-column: span 1; }
    .mosaic__item--hero { grid-column: span 2; grid-row: span 1; }
    .mosaic__item--tall { grid-row: span 1; }
}
@media (max-width: 480px) {
    .mosaic__grid { grid-auto-rows: 160px; gap: 0.5rem; }
    .mosaic__item--hero { grid-row: span 2; }
}
.mosaic__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #eeebe6;
    color: #fff;
    text-decoration: none;
    cursor: zoom-in;
    isolation: isolate;
}
div.mosaic__link { cursor: default; }
.mosaic .mosaic__link { color: #fff; } /* beat .elementor-kit-5 a */
.mosaic__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease;
}
.mosaic__link:hover img,
.mosaic__link:focus-visible img { transform: scale(1.05); }
.mosaic__link:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}
/* Caption always visible (touch devices have no hover) */
.mosaic__caption {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 3.5rem 1.25rem 1.1rem;
    background: linear-gradient(transparent, rgba(6,6,6,0.82));
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.3px;
    pointer-events: none;
}
.mosaic__item--hero .mosaic__caption-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
}
.mosaic__caption time {
    color: #d4af37;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.mosaic__zoom {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(6,6,6,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mosaic__link:hover .mosaic__zoom,
.mosaic__link:focus-visible .mosaic__zoom { opacity: 1; transform: scale(1); }
@media (hover: none) {
    .mosaic__zoom { opacity: 1; transform: none; width: 34px; height: 34px; }
}
.mosaic__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.mosaic__all {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #060606;
    cursor: pointer;
    transition: color 0.3s ease;
}
.mosaic__all:hover,
.mosaic__all:focus-visible { color: #a8872a; }

/* ========================================
   HORIZONTAL SCROLL
   ======================================== */
.hscroll {
    background: #f5f3f0;
    overflow: hidden;
}
.hscroll__intro { padding: 7rem 0 2.5rem; }
.hscroll__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #060606;
    margin: 0.5rem 0 0;
    letter-spacing: -1px;
    line-height: 1.1;
}
.hscroll__sub {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #888;
    margin-top: 1rem;
}
.hscroll__viewport { padding: 1rem 0 7rem; overflow: visible; }
.hscroll__track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 2rem;
    will-change: transform;
}

/* Cards */
.card {
    flex: 0 0 360px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.5s ease;
    text-decoration: none;
    color: inherit;
}
.card:hover { box-shadow: 0 28px 56px rgba(0,0,0,0.1); }

.card--dark { background: #060606; color: #fff; }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,0.6); }
.card--dark blockquote {
    border-left: 2px solid #d4af37;
    padding-left: 1rem;
    margin: 1rem 0 0;
    font-style: italic;
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    line-height: 1.6;
}
.card--accent { background: linear-gradient(145deg, #d4af37, #e8c547); }
.card--accent .card__year { color: rgba(6,6,6,0.35); }
.card--accent h3 { color: #060606; }
.card--accent p { color: rgba(6,6,6,0.65); }

.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 2rem; }
.card__year {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d4af37;
    margin-bottom: 0.75rem;
}
.card__body h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #060606;
    margin-bottom: 0.625rem;
    line-height: 1.2;
}
.card__body p {
    font-family: 'Lora', serif;
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.65;
}

/* CTA card */
.card--cta {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px dashed rgba(6,6,6,0.12);
    text-align: center;
    gap: 1.25rem;
    padding: 2rem;
    cursor: pointer;
}
.card--cta:hover { border-color: #d4af37; }
.card__cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}
.card__cta-arrow {
    font-size: 2.5rem;
    color: #d4af37;
    transition: transform 0.3s ease;
    line-height: 1;
}
.card--cta:hover .card__cta-arrow { transform: translateX(8px); }

/* ========================================
   ESPLORA CARDS
   ======================================== */
.esplora {
    padding: 8rem 0 10rem;
    background: #faf9f7;
}
.esplora__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 900px) { .esplora__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .esplora__grid { grid-template-columns: 1fr; } }

.xcard {
    background: #fff;
    border: 1px solid rgba(6,6,6,0.04);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: #060606;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    will-change: transform;
    transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
    position: relative;
    overflow: hidden;
}
.xcard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #d4af37;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.xcard:hover::before { transform: scaleX(1); }
.xcard:hover {
    border-color: rgba(212,175,55,0.2);
    box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}
.xcard__icon {
    width: 44px; height: 44px;
    color: #d4af37;
    margin-bottom: 1.5rem;
}
.xcard__icon svg { width: 100%; height: 100%; }
.xcard__title {
    font-family: 'Crimson Text', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #060606;
    margin-bottom: 0.625rem;
}
.xcard p {
    font-family: 'Lora', serif;
    font-size: 0.9375rem;
    color: #777;
    line-height: 1.6;
    flex: 1;
}
.xcard__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    margin-top: 1.75rem;
    transition: gap 0.3s ease;
}
.xcard:hover .xcard__link { gap: 0.875rem; }

/* ========================================
   FINALE CTA
   ======================================== */
.finale {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #060606;
}
.finale__bg {
    position: absolute;
    inset: 0;
}
.finale__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(30%);
}
.finale__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,6,6,0.6) 0%, rgba(6,6,6,0.9) 100%);
}
.finale__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 4rem 0;
}
.finale__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}
.finale__text {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.5);
    max-width: 460px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}
.finale__cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER — Premium
   ======================================== */
.footer {
    background: #060606;
    color: rgba(255,255,255,0.6);
    padding: 5rem 0 2rem;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer__logo {
    margin-bottom: 1rem;
    filter: brightness(10);
    opacity: 0.9;
}
.footer__tagline {
    font-family: 'Crimson Text', serif;
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.footer__address {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.4);
}
.footer__nav-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.25rem;
}
.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__list li { margin-bottom: 0.75rem; }
.footer__list a {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer__list a:hover { color: #d4af37; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}
.footer__bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}
.footer__back-top {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.footer__back-top:hover {
    border-color: #d4af37;
    color: #d4af37;
}

/* ========================================
   RESPONSIVE — Tablet & Mobile (≤ 768px)
   ======================================== */
@media (max-width: 768px) {

    /* Mobile menu, hamburger and compact logo: see main.css §2 */

    /* ── Hero ── */
    .page-home .hero {
        padding: 0;
        min-height: 100vh;
        min-height: 100svh;
        align-items: flex-end;
    }
    .page-home .hero__content {
        text-align: left;
        padding-bottom: 6rem;
    }
    .hero__badge { margin-bottom: 1.5rem; gap: 0.75rem; }
    .hero__badge-line { width: 24px; }
    .hero__badge-text { font-size: 0.5625rem; letter-spacing: 3px; }
    .hero__word {
        font-size: clamp(2.5rem, 11vw, 4rem);
        letter-spacing: -1.5px;
    }
    .hero__word--accent {
        font-size: clamp(2.125rem, 9vw, 3.25rem);
        letter-spacing: -0.5px;
    }
    .hero__divider { margin: 1.25rem 0; width: 40px; }
    .hero__desc {
        font-size: 0.9375rem;
        max-width: 100%;
        line-height: 1.7;
    }
    .hero__desc br { display: none; }
    .page-home .hero__cta { margin-top: 1.75rem; gap: 0.75rem; }
    .btn-premium {
        padding: 0.875rem 1.25rem;
        font-size: 0.6875rem;
        letter-spacing: 1px;
    }
    .btn-ghost {
        padding: 0.875rem 1.25rem;
        font-size: 0.6875rem;
        letter-spacing: 1px;
    }
    .hero__bottom { bottom: 1.5rem; }
    .hero__scroll-line { height: 36px; }

    /* ── Video — cover in portrait ── */
    .hero__video-wrap iframe {
        min-width: 300%;
        min-height: 100%;
        width: 300%;
    }

    /* ── Intro ── */
    .intro { padding: 5rem 0 4rem; }
    .intro__grid { gap: 2.5rem; }
    .intro__title { font-size: clamp(1.75rem, 6vw, 2.25rem); margin-bottom: 1rem; }
    .intro__text { font-size: 1rem; margin-bottom: 1.75rem; }
    .intro__right { padding-top: 0; gap: 0.75rem; }
    .stat-card { padding: 1.5rem 1.75rem; }
    .stat-card__number { font-size: 2.25rem; }
    .stat-card__label { font-size: 0.6875rem; letter-spacing: 1.5px; }

    /* ── Archivio ── */
    .archivio { height: 180vh; }
    .archivio__mask { --mask-y: 20%; --mask-x: 15%; --mask-r: 12px; }
    .archivio__title { font-size: clamp(2rem, 8vw, 3rem); }
    .archivio__text { font-size: 0.9375rem; }
    .archivio__caption { max-width: 320px; padding: 1.5rem; }

    /* ── Mosaic ── */
    .mosaic { padding: 5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .mosaic__grid { gap: 0.75rem; }

    /* ── Horizontal Scroll ── */
    .hscroll__intro { padding: 4rem 0 1.5rem; }
    .hscroll__title { font-size: clamp(2rem, 7vw, 3rem); }
    .hscroll__sub { font-size: 0.9375rem; }
    .hscroll__viewport { padding: 0.5rem 0 4rem; }
    .hscroll__track { padding: 1rem; gap: 1rem; }
    .card { flex: 0 0 280px; }
    .card--cta { flex: 0 0 180px; }
    .card__body { padding: 1.5rem; }
    .card__body h3 { font-size: 1.25rem; }
    .card__body p { font-size: 0.875rem; }

    /* ── Esplora ── */
    .esplora { padding: 5rem 0 6rem; }
    .xcard { padding: 2rem 1.5rem; }
    .xcard__icon { width: 36px; height: 36px; margin-bottom: 1.25rem; }
    .xcard__title { font-size: 1.25rem; }
    .xcard p { font-size: 0.875rem; }
    .xcard__link { margin-top: 1.25rem; }

    /* ── Finale ── */
    .finale { min-height: 70vh; }
    .finale__content { padding: 3rem 0; }
    .finale__title { font-size: clamp(2rem, 7vw, 3rem); }
    .finale__text { font-size: 1rem; margin-bottom: 2rem; }
    .finale__cta { gap: 0.75rem; }

    /* ── Footer ── */
    .footer { padding: 3.5rem 0 1.5rem; }
    .footer__grid { gap: 2.5rem; padding-bottom: 2.5rem; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ========================================
   RESPONSIVE — Small phones (≤ 480px)
   ======================================== */
@media (max-width: 480px) {

    /* ── Hero — extra compact ── */
    .page-home .hero__content { padding-bottom: 5rem; }
    .hero__word {
        font-size: clamp(2rem, 12vw, 3rem);
        letter-spacing: -1px;
    }
    .hero__word--accent {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
    .hero__badge-text { font-size: 0.5rem; letter-spacing: 2px; }
    .hero__desc { font-size: 0.875rem; }
    .page-home .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }
    .page-home .hero__cta .btn-premium,
    .page-home .hero__cta .btn-ghost {
        justify-content: center;
        text-align: center;
    }

    /* ── Intro ── */
    .intro { padding: 3.5rem 0 3rem; }
    .stat-card { padding: 1.25rem 1.5rem; }
    .stat-card__number { font-size: 2rem; }

    /* ── Archivio ── */
    .archivio { height: 150vh; }
    .archivio__mask { --mask-y: 15%; --mask-x: 8%; --mask-r: 8px; }
    .archivio__title { font-size: clamp(1.75rem, 9vw, 2.5rem); }
    .archivio__caption { max-width: 280px; }

    /* ── Mosaic ── */
    .mosaic { padding: 3.5rem 0; }

    /* ── HScroll ── */
    .hscroll__intro { padding: 3rem 0 1rem; }
    .card { flex: 0 0 260px; }
    .card--cta { flex: 0 0 160px; }
    .card__img { aspect-ratio: 16/9; }
    .card__body { padding: 1.25rem; }

    /* ── Esplora ── */
    .esplora { padding: 3.5rem 0 4rem; }

    /* ── Finale ── */
    .finale { min-height: 60vh; }
    .finale__title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .finale__text { font-size: 0.9375rem; max-width: 100%; }
    .finale__cta {
        flex-direction: column;
        align-items: stretch;
    }
    .finale__cta .btn-premium,
    .finale__cta .btn-ghost {
        justify-content: center;
        text-align: center;
    }
}

/* ========================================
   RESPONSIVE — Landscape mobile
   ======================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .page-home .hero {
        min-height: 100vh;
        min-height: 100svh;
        align-items: center;
    }
    .page-home .hero__content { padding-bottom: 2rem; }
    .hero__word { font-size: clamp(1.75rem, 6vw, 3rem); }
    .hero__word--accent { font-size: clamp(1.5rem, 5vw, 2.5rem); }
    .hero__badge { margin-bottom: 1rem; }
    .hero__divider { margin: 0.75rem 0; }
    .hero__desc { font-size: 0.8125rem; }
    .page-home .hero__cta { margin-top: 1rem; }
    .hero__bottom { display: none; }
    .archivio { height: 200vh; }
}

/* ========================================
   ANIMATION BASE (JS drives these)
   ======================================== */
[data-scroll] {
    opacity: 0;
    transform: translateY(40px);
}
[data-anim] {
    opacity: 0;
    transform: translateY(30px);
}
[data-anim="word"] {
    transform: translateY(100%);
    display: block;
}
[data-anim="scale"] {
    transform: scaleX(0);
    opacity: 1;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    [data-scroll], [data-anim] { opacity: 1; transform: none; }
    .cursor-light { display: none; }
    .archivio { height: auto; }
    .archivio__sticky { position: relative; }
    .archivio__mask { clip-path: none; }
}
