:root {
    --bg: #ffffff;
    --bg-soft: #faf8f4;
    --bg-warm: #f1f5fa;
    --ink: #0e1726;
    --ink-soft: #2a3650;
    --muted: #6a7488;
    --line: #e3e6ee;
    --line-strong: #cdd4e0;
    --accent: #1d4e8a;
    --accent-deep: #143764;
    --accent-soft: #dbe5f3;
    --gold: #c89b4f;
    --shadow: rgba(14, 23, 38, 0.08);
    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
}

::selection {
    background: var(--accent-soft);
    color: var(--ink);
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 300;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    padding: 10px 14px;
    font-weight: 600;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.section-shell {
    width: 100%;
    margin: 0;
    padding-left: 48px;
    padding-right: 0;
}

[data-section] {
    scroll-margin-top: 80px;
}

#home {
    scroll-margin-top: 0;
}

.site-frame {
    position: relative;
    width: min(1320px, 100%);
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(1320px, 100%);
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    padding: 6px 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    width: fit-content;
}

.brand-name {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-tag {
    color: var(--accent);
    font-family: 'Brush Script MT', cursive;
    font-size: 24px;
    font-style: italic;
    font-weight: 500;
    line-height: 0.8;
    margin-top: -2px;
    transform: rotate(-4deg);
    transform-origin: left;
    width: fit-content;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.top-nav .nav-link {
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    padding: 8px 2px;
    transition: color 0.2s ease;
}

.top-nav .nav-link:hover,
.top-nav .nav-link.active {
    color: var(--accent);
}

.top-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
}

.menu-toggle {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    background: #fff;
}

.menu-toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    align-content: space-between;
    padding: 110px 24px 28px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu nav {
    display: grid;
    gap: 6px;
}

.mobile-link {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 8vw, 3.2rem);
    line-height: 1;
}

.mobile-socials {
    display: flex;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
    gap: 0;
    align-items: stretch;
    min-height: 60svh;
    padding-top: 52px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: stretch;
    padding: 30px 32px 0 80px;
    max-width: 480px;
    margin-left: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.hero-copy h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.8vw, 2.5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
}

.hero-tag-container {
    margin: -38px 0 12px 160px;
    display: block;
    position: relative;
    z-index: 1;
}

.hero-tag-img {
    width: clamp(100px, 12vw, 150px);
    height: auto;
    display: block;
}

.hero-quote {
    max-width: 850px;
    margin: 0 0 14px;
    color: var(--accent-deep);
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1.6vw, 1.65rem);
    font-style: italic;
    line-height: 1.45;
    min-height: 90px;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    transform: translateX(0);
}

.hero-quote br {
    display: none;
}

.hero-quote.exit {
    opacity: 0;
    transform: translateX(-20px);
}

.hero-quote.enter {
    opacity: 0;
    transform: translateX(20px);
    transition: none;
}

.hero-quote-dots {
    display: flex;
    gap: 8px;
    margin: 8px 0 24px;
}

.quote-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line-strong);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.quote-dot:hover,
.quote-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.hero-copy .button {
    display: inline-flex;
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-start;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 72%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hero-image-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 8%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    border-radius: 0;
    box-shadow: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border-radius: 0;
    padding: 0 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button.primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

.button.primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
}

.button.outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.button.outline:hover {
    background: var(--accent);
    color: #fff;
}

.featured {
    padding-top: 60px;
    padding-bottom: 60px;
}

.featured-head,
.block-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.featured-head.left,
.artist-head,
.shows .block-head,
.reviews .block-head {
    align-items: flex-start;
    text-align: left;
}

.featured-head h2,
.block-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.1vw, 1.75rem);
    font-weight: 500;
    letter-spacing: 0.16em;
}

.rule {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.featured-card {
    display: grid;
    gap: 10px;
    text-align: center;
}

.featured-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 2px;
}

.featured-button img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    transition: transform 0.5s var(--ease), filter 0.3s ease;
}

.featured-card:hover img {
    transform: scale(1.03);
    filter: saturate(1.05);
}

.featured-card h3 {
    margin: 6px 0 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.featured-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.featured-cta {
    display: grid;
    justify-content: center;
    margin-top: 36px;
}

.artist {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: center;
    padding-top: 50px;
    padding-bottom: 60px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.artist-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.artist-copy .artist-head {
    margin-bottom: 22px;
}

.artist-copy .lead {
    margin: 0 0 16px;
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
}

.artist-copy p {
    margin: 0 0 14px;
    color: var(--ink-soft);
}

.artist-copy .button {
    margin-top: 14px;
}

.shows-reviews {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(34px, 5vw, 70px);
    padding-top: 0;
    padding-bottom: 60px;
}

.show-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 22px;
    align-items: center;
}

.show-row img {
    width: 100%;
    aspect-ratio: 1 / 0.85;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 16px 32px var(--shadow);
}

.show-row h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
}

.show-row p {
    margin: 0 0 4px;
    color: var(--ink-soft);
    font-size: 13.5px;
}

/* Home page exhibitions timeline styles */
.shows-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    margin-bottom: 28px;
}

.shows-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 65px;
    width: 1px;
    background: var(--line);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
}

.show-media,
.show-date-badge {
    width: 130px;
    height: 170px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px var(--shadow);
    border: 1px solid var(--line);
    z-index: 2;
}

.show-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.timeline-item:hover .show-media img {
    transform: scale(1.05);
}

.show-row .show-media img {
    aspect-ratio: auto;
    object-fit: cover;
    box-shadow: none;
    border-radius: 0;
}

.show-date-badge {
    background: var(--ink);
    color: #fff;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px;
    border: none;
}

.show-date-badge .badge-year {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.show-date-badge .badge-text {
    font-family: var(--font-sans);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.show-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-date {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.show-info h3 {
    margin: 0 0 6px !important;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
}

.show-loc {
    margin: 0 0 8px !important;
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
}

.show-desc {
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
}

.shows-cta {
    margin-top: 24px;
}


.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--accent-deep);
}

.review {
    position: relative;
    padding-top: 16px;
    margin: 0;
}

.review .quote-mark {
    position: absolute;
    left: -16px;
    top: -28px;
    color: var(--accent-soft);
    font-family: var(--font-serif);
    font-size: 5.5rem;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.review p {
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.45;
}

.review footer {
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 12px;
}

.review strong {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Reviews List Styles (V24 Design) */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.review-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 24px 28px;
    box-shadow: 0 4px 12px rgba(14, 23, 38, 0.015);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px var(--shadow);
    border-color: var(--line-strong);
}

.review-card .quote-symbol {
    position: absolute;
    top: 6px;
    right: 20px;
    color: var(--accent-soft);
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}

.review-quote-text {
    margin: 0 0 10px;
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.45;
    position: relative;
    z-index: 1;
}

.review-quote-footer {
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: var(--muted);
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.review-quote-footer strong {
    color: var(--ink);
    font-weight: 600;
}

.all-works {
    padding-top: 60px;
    padding-bottom: 60px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.filter {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-soft);
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter:hover,
.filter.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.all-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.all-card {
    text-align: center;
    transition: opacity 0.25s ease, transform 0.3s var(--ease);
}

.all-card.hidden {
    display: none;
}

.all-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 4px;
}

.all-button img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.all-card:hover img {
    transform: scale(1.04);
}

.all-card h3 {
    margin: 10px 0 2px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}

.all-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.cta-band {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 212px;
}

.cta-left-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 44%;
    height: 100%;
    background: url('images/progetto_left.png') left center/cover no-repeat;
    pointer-events: none;
    z-index: 1;
}

.cta-right-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 100%;
    background: url('images/progetto_right.png') right center/cover no-repeat;
    pointer-events: none;
    z-index: 1;
}

.cta-inner {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding-top: 56px;
    padding-bottom: 56px;
    text-align: center;
    z-index: 3;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .cta-left-bg,
    .cta-right-bg {
        display: none;
    }
    .cta-band {
        background: var(--bg-soft);
        min-height: auto;
    }
}

.cta-inner h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.cta-inner p {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-style: italic;
    line-height: 1.45;
}

.contact {
    padding-top: 60px;
}

.footer-brand {
    display: grid;
    line-height: 1.05;
    margin-bottom: 36px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 30px;
}

.contact-info h3,
.contact-socials h3,
.newsletter h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-info a,
.contact-info p {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: center;
    margin: 0 0 8px;
    color: var(--ink-soft);
    font-size: 14px;
}

.contact-info a:hover {
    color: var(--accent);
}

.contact-info span,
.contact-info a span {
    color: var(--accent);
    font-size: 14px;
}

.socials {
    display: flex;
    gap: 14px;
    color: var(--accent);
    font-size: 16px;
}

.socials a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.socials a svg {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.socials a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.socials a:hover svg {
    transform: scale(1.12);
}

.newsletter p {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-size: 13.5px;
}

.newsletter-row {
    display: flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.newsletter-row input {
    flex: 1;
    border: 0;
    padding: 12px 14px;
    outline: none;
    color: var(--ink);
    background: transparent;
}

.newsletter-row button {
    min-width: 50px;
    min-height: 44px;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    border: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-row button:hover {
    background: var(--accent-deep);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding: 22px 0 30px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links span {
    color: var(--line-strong);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: rgba(14, 23, 38, 0.94);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox figure {
    display: grid;
    justify-items: center;
    gap: 14px;
    margin: 0;
}

.lightbox img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 4px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
    text-align: center;
    color: #fff;
}

.lightbox strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
}

.lightbox span {
    color: var(--accent-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lightbox-close {
    position: absolute;
    right: 32px;
    top: 32px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .menu-toggle {
        display: flex;
    }

    .hero,
    .artist,
    .shows-reviews {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 52px;
        padding-bottom: 0;
    }

    .hero-copy {
        padding: 16px 30px 16px 50px;
        max-width: 440px;
        align-self: center;
        display: block;
        height: auto;
    }

    .hero-copy .button {
        margin: 16px 0 0;
    }

    .hero-quote-dots {
        margin: 8px 0 16px;
    }

    .hero-image {
        width: 60%;
        height: 100%;
    }

    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .all-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 14.5px;
    }

    .section-shell {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    .site-header {
        min-height: 48px;
        padding: 4px 16px;
    }

    .hero {
        display: grid;
        grid-template-columns: 1.88fr 0.12fr;
        min-height: auto;
        padding-top: 68px;
        padding-bottom: 0;
        position: relative;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-tag {
        font-size: 20px;
    }

    .hero-copy {
        padding: 16px 8px 16px 28px;
        max-width: none;
        margin-left: 0;
        text-align: left;
        z-index: 2;
    }

    .hero-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 12%;
        height: 100%;
        min-height: auto;
    }

    .hero-image img {
        object-position: left center;
    }

    .hero-image-fade {
        width: 30px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    }

    .hero-tag-container {
        margin: -24px 0 8px 65px;
    }

    .hero-copy h1 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .hero-tag-img {
        width: 22vw;
        max-width: 80px;
        height: auto;
    }

    .hero-quote {
        min-height: 130px;
        font-size: clamp(1.1rem, 4.5vw, 1.3rem);
        line-height: 1.5;
    }

    .featured-grid,
    .all-grid,
    .shows-reviews,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .all-grid {
        justify-items: center;
    }

    .featured-card,
    .all-card {
        max-width: 260px;
        width: 100%;
        margin: 0 auto;
    }

    .show-row {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .lightbox {
        grid-template-columns: 1fr;
        padding: 72px 14px 18px;
    }

    .lightbox-nav {
        width: 100%;
    }

    .review-card {
        padding: 20px 22px;
    }
    .review-card .quote-symbol {
        font-size: 4rem;
        right: 16px;
        top: 2px;
    }
    .review-quote-text {
        font-size: 1.05rem;
        line-height: 1.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   BIOGRAPHY SUBPAGE STYLE (artista.html)
   ========================================================================== */

.subpage-main {
    padding-top: 52px;
    background: var(--bg);
}

.biography-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    text-align: center;
    border-bottom: 1px solid var(--line);
    box-sizing: border-box;
}

.biography-hero.reviews-hero {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.68) 35%, rgba(255, 255, 255, 0.68) 65%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%), 
                url('images/recensioni_hero2.png') no-repeat;
    background-position: center 30%;
    background-size: 90%;
    padding: 0 48px;
}

.biography-hero.shows-hero {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.68) 35%, rgba(255, 255, 255, 0.68) 65%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%), 
                url('images/hero_mostre.png') no-repeat;
    background-position: center 30%;
    background-size: 90%;
    padding: 0 48px;
}

.biography-hero.portfolio-hero {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.68) 35%, rgba(255, 255, 255, 0.68) 65%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%), 
                url('images/hero_portfolio.png') no-repeat;
    background-position: center 30%;
    background-size: 90%;
    padding: 0 48px;
}

.biography-hero.about-hero {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.68) 35%, rgba(255, 255, 255, 0.68) 65%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%), 
                url('images/hero4_chi_sono.png') no-repeat;
    background-position: center 30%;
    background-size: 90%;
    padding: 0 48px;
}

.biography-hero.contact-hero {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.68) 35%, rgba(255, 255, 255, 0.68) 65%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%), 
                url('images/hero_contatti.png') no-repeat;
    background-position: center 30%;
    background-size: 90%;
    padding: 0 48px;
}


.bio-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.bio-subtitle {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 16px;
}

.bio-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.biography-hero .rule {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
}

.biography-body {
    padding: 100px 48px;
    background: var(--bg);
}

.bio-container {
    max-width: 1100px;
    margin: 0 auto;
}

.bio-grid-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    margin-bottom: 80px;
    align-items: start;
}

.bio-grid-columns.reverse-desktop {
    grid-template-columns: 0.85fr 1.15fr;
}

.bio-text-side {
    display: flex;
    flex-direction: column;
}

.bio-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 500;
    color: var(--ink);
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.bio-lead-para {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.bio-text-side p {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.bio-text-side p strong {
    color: var(--ink-soft);
}

.bio-sub-heading {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-top: 24px;
    margin-bottom: 16px;
}

.bio-visual-side {
    position: sticky;
    top: 100px;
}

.bio-blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    color: var(--accent);
    margin: 0 0 40px;
    padding-left: 28px;
    border-left: 3px solid var(--accent-soft);
}

.bio-full-block {
    margin: 80px 0;
}

.quote-card-bio {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 56px 64px;
    text-align: center;
}

.quote-card-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.65;
    color: var(--ink-soft);
    font-style: italic;
    margin: 0;
}

.bio-image-wrapper {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 16px;
}

.artist-collab-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.artist-collab-img.portrait-collab {
    max-width: 440px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
}

.img-caption {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    font-style: italic;
    line-height: 1.4;
}

.collab-quote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 32px 0 0;
    padding-left: 24px;
    border-left: 2px solid var(--line-strong);
}

.collab-quote cite {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-top: 12px;
}

.word-trilogy {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin: 24px 0;
    font-weight: 500;
}

/* Sea Section Trittico Styles */
.bio-sea-section {
    margin: 80px 0;
    padding: 56px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.bio-sea-section .bio-section-header {
    text-align: center;
    margin-bottom: 24px;
}

.bio-sea-section .bio-section-title {
    margin-bottom: 12px;
}

.bio-sea-section .rule {
    display: block;
    width: 50px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
}

.bio-sea-desc {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
    font-size: 15.5px;
    color: var(--muted);
    line-height: 1.75;
}

.trittico-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trittico-item {
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.trittico-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px var(--shadow);
}

.trittico-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* Responsive Overrides for Subpage */
@media (max-width: 1100px) {
    .biography-hero {
        height: 270px;
        padding: 0 32px;
    }
    .biography-hero.reviews-hero,
    .biography-hero.shows-hero,
    .biography-hero.portfolio-hero,
    .biography-hero.about-hero,
    .biography-hero.contact-hero {
        height: 270px;
        padding: 0 32px;
    }
    .biography-body {
        padding: 60px 32px;
    }
    .bio-grid-columns {
        gap: 40px;
    }
}

@media (max-width: 720px) {
    .subpage-main {
        padding-top: 48px;
    }
    .biography-hero {
        height: 240px;
        padding: 0 20px;
    }
    .biography-hero.reviews-hero,
    .biography-hero.shows-hero,
    .biography-hero.portfolio-hero,
    .biography-hero.about-hero,
    .biography-hero.contact-hero {
        height: 240px;
        padding: 0 20px;
    }
    .biography-hero.about-hero {
        background-position: center 30%;
    }
    .biography-body {
        padding: 40px 20px;
    }
    .bio-grid-columns,
    .bio-grid-columns.reverse-desktop {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 48px;
    }
    .bio-visual-side {
        position: static;
    }
    .bio-blockquote {
        margin-bottom: 32px;
    }
    .quote-card-bio {
        padding: 36px 20px;
    }
    .bio-sea-section {
        padding: 32px 16px;
        margin: 48px 0;
    }
    .trittico-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   REVIEWS SUBPAGE STYLE (recensioni.html)
   ========================================================================== */

.reviews-page-body {
    padding: 80px 48px;
    background: var(--bg);
}

/* Reviews subpage sub-navigation */
.reviews-subnav {
    position: sticky;
    top: 64px; /* Sticks right below the fixed site-header */
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 16px 48px;
    margin-top: -80px; /* pull up to offset parent padding-top */
    margin-left: -48px; /* negate parent padding-left */
    margin-right: -48px; /* negate parent padding-right */
    margin-bottom: 56px;
}

.subnav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.subnav-link {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.3s var(--ease);
    position: relative;
    padding: 6px 0;
}

.subnav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 1.5px;
    background: var(--accent);
    transition: transform 0.3s var(--ease);
}

.subnav-link:hover {
    color: var(--accent);
}

.subnav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.reviews-page-container {
    max-width: 1100px;
    margin: 0 auto;
}

.reviews-section {
    margin-bottom: 96px;
    scroll-margin-top: 140px; /* Leave room for sticky site-header and subnav */
}

.reviews-section:last-child {
    margin-bottom: 0;
}

.section-divider {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 40px;
}

.section-divider h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 12px;
}

.section-divider .sub-rule {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* Grid Layout for News Excerpts with Images */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.review-page-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.review-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px var(--shadow);
}

.review-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.review-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

.review-page-card:hover .review-card-img img {
    transform: scale(1.04);
}

.review-card-body {
    position: relative;
    padding: 32px 32px 20px;
    flex-grow: 1;
}

.review-page-card .quote-icon {
    position: absolute;
    left: 20px;
    top: 6px;
    color: var(--accent-soft);
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.review-page-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.review-excerpt {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0;
    position: relative;
    z-index: 1;
}

.review-page-card footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 32px 32px;
    font-size: 12px;
    color: var(--muted);
}

.review-page-card footer strong {
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Essay (Long Criticisms) Alternating Row Layout */
.reviews-essay-layout {
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.review-essay-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.review-essay-row.reverse-desktop {
    grid-template-columns: 0.85fr 1.15fr;
}

.essay-text {
    position: relative;
}

.essay-text .essay-quote-mark {
    position: absolute;
    left: -20px;
    top: -24px;
    color: var(--accent-soft);
    font-family: var(--font-serif);
    font-size: 5.5rem;
    line-height: 1;
    z-index: 0;
    user-select: none;
}

.essay-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

.essay-text p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.essay-quote {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--accent);
    margin: 24px 0;
    padding-left: 20px;
    border-left: 2px solid var(--accent-soft);
}

.essay-quote cite {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-top: 8px;
}

.essay-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 24px;
    font-size: 12px;
    color: var(--muted);
}

.essay-footer strong {
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.essay-visual {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 16px;
}

.essay-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.essay-visual.portrait-container {
    padding: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.essay-portrait-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    max-width: 380px;
    margin: 0 auto;
}

/* Works Analysis grid */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.analysis-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.analysis-card h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin: 0 0 16px;
    text-transform: uppercase;
}

.analysis-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 18px;
}

.analysis-author {
    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
    color: var(--muted);
}

.kandinskij-quote {
    font-family: var(--font-serif);
    font-size: 15.5px;
    font-style: italic;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 18px;
    padding-left: 14px;
    border-left: 2px solid var(--accent-soft);
}

.kandinskij-quote cite {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-top: 6px;
}

/* Exhibitions timeline layout */
.shows-page-body {
    padding: 80px 48px;
    background: var(--bg);
}

.shows-page-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Timeline central line */
.shows-page-container .timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.timeline-card-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline-card-wrapper.left {
    flex-direction: row;
}

.timeline-card-wrapper.right {
    flex-direction: row-reverse;
}

.exhibition-card {
    width: calc(50% - 40px);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    box-sizing: border-box;
}

.timeline-date-side {
    width: calc(50% - 40px);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    text-transform: uppercase;
    padding-top: 32px;
    box-sizing: border-box;
}

.timeline-card-wrapper.left .timeline-date-side {
    text-align: left;
    padding-left: 40px;
}

.timeline-card-wrapper.right .timeline-date-side {
    text-align: right;
    padding-right: 40px;
}

.exhibition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px var(--shadow);
    border-color: var(--accent-soft);
}

/* Timeline Node */
.timeline-node {
    position: absolute;
    top: 36px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    transform: translateX(-50%);
    z-index: 2;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.exhibition-card:hover ~ .timeline-node,
.timeline-card-wrapper:hover .timeline-node {
    background: var(--accent);
    transform: translateX(-50%) scale(1.3);
}

.exh-date {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.exh-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.3;
}

.exh-sub {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 500;
    margin: 0 0 16px;
}

.exh-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 20px;
}

/* Poster layout in page */
.zoomable-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--line);
    cursor: zoom-in;
    display: inline-block;
    max-width: 100%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 10px var(--shadow);
}

.exh-zoom-img {
    display: block;
    max-width: 100%;
    max-height: 280px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.zoomable-container:hover .exh-zoom-img {
    transform: scale(1.03);
    filter: brightness(1.04);
}



/* Responsive queries for reviews subpage */
@media (max-width: 1100px) {
    .reviews-page-body {
        padding: 60px 32px;
    }
    .reviews-subnav {
        margin-top: -60px;
        margin-left: -32px;
        margin-right: -32px;
        padding: 16px 32px;
        margin-bottom: 44px;
    }
    .review-essay-row {
        gap: 40px;
    }
    .analysis-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Subpage exhibitions timeline responsive (1024px/1100px) */
    .shows-page-body {
        padding: 60px 32px;
    }
    .shows-page-container .timeline-line {
        left: 20px;
    }
    .timeline-card-wrapper {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 48px;
    }
    .exhibition-card {
        width: 100%;
        order: 2;
    }
    .timeline-date-side {
        width: 100%;
        order: 1;
        text-align: left !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0;
        margin-bottom: 12px;
    }
    .timeline-node {
        left: 20px;
        top: 4px;
        transform: translateX(-50%);
    }
    .exhibition-card:hover ~ .timeline-node,
    .timeline-card-wrapper:hover .timeline-node {
        transform: translateX(-50%) scale(1.3);
    }
}

@media (max-width: 720px) {
    .reviews-page-body {
        padding: 40px 20px;
    }
    .reviews-subnav {
        margin-top: -40px;
        margin-left: -20px;
        margin-right: -20px;
        padding: 12px 20px;
        margin-bottom: 32px;
    }
    .subnav-container {
        gap: 16px;
    }
    .subnav-link {
        font-size: 9.5px;
        letter-spacing: 0.08em;
    }
    .reviews-grid,
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    .review-essay-row,
    .review-essay-row.reverse-desktop {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }
    .essay-text {
        padding-top: 24px;
    }
    .essay-text .essay-quote-mark {
        top: 0;
        left: -10px;
    }
    .essay-visual,
    .essay-visual.portrait-container {
        grid-row: 1;
    }
    /* Subpage exhibitions timeline responsive (mobile) */
    .shows-page-body {
        padding: 40px 20px;
    }
    .shows-page-container .timeline-line {
        display: none;
    }
    .timeline-card-wrapper {
        padding-left: 0 !important;
    }
    .timeline-node {
        display: none;
    }
    .exhibition-card {
        padding: 24px 20px;
    }

    .review-page-card {
        padding: 0;
    }
    .review-card-body {
        padding: 24px 20px 16px;
    }
    .review-page-card footer {
        padding: 0 20px 24px;
    }

    /* Mobile timeline adjustments */
    .shows-timeline::before {
        display: none;
    }
    .shows-timeline .timeline-item {
        text-align: center;
        grid-template-columns: 1fr;
    }
    .shows-timeline .show-media,
    .shows-timeline .show-date-badge {
        margin: 0 auto 16px;
    }
}

/* Zoomable Image style for recensioni.html */
.zoomable-img {
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.zoomable-img:hover, 
.zoomable-img:focus {
    transform: scale(1.02);
    filter: brightness(1.06);
    outline: none;
}

/* Dedicated Portfolio Page Custom Styling */
.portfolio-collections {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.portfolio-section {
    scroll-margin-top: 80px;
    transition: opacity 0.3s ease;
}

.portfolio-section.hidden {
    display: none;
}

/* Portfolio Hero Shortcuts */
.portfolio-shortcuts {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.shortcut-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(14, 23, 38, 0.12);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.shortcut-btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(14, 23, 38, 0.08);
}

.collection-header {
    margin-bottom: 28px;
    border-left: 2px solid var(--accent);
    padding-left: 16px;
}

.collection-header h2 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.collection-desc {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px 18px;
}

/* Responsive Grid for Portfolio */
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px 16px;
    }
    .portfolio-collections {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 14px;
    }
    .collection-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
    }
    .collection-header {
        padding-left: 12px;
    }
    .collection-header h2 {
        font-size: 1.25rem;
    }
    .collection-desc {
        font-size: 12px;
    }
}

/* Contact Page Custom Styles */
.contact-page-body {
    padding: 80px 48px;
    background: var(--bg);
}

.contact-page-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--bg-soft);
    padding: 40px;
    border: 1px solid var(--line);
}

.contact-form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.contact-form-group label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    margin-bottom: 8px;
    text-align: left;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    background: #ffffff;
    color: var(--ink);
    border-radius: 0;
    font-size: 14.5px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-card-box {
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details-list {
    margin-bottom: 30px;
    text-align: left;
}

.contact-detail-item {
    margin-bottom: 24px;
}

.contact-detail-item h4 {
    margin: 0 0 6px 0;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    text-decoration: none;
}

.contact-detail-item a:hover {
    color: var(--accent);
}

.contact-map-placeholder {
    height: 240px;
    background: #f1f5fa;
    border: 1px solid var(--line-strong);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    color: var(--ink-soft);
    position: relative;
    overflow: hidden;
}

.contact-map-placeholder svg {
    margin-bottom: 12px;
    color: var(--accent);
}

.contact-map-placeholder .map-btn {
    margin-top: 16px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    padding: 8px 16px;
    min-height: auto;
}

@media (max-width: 720px) {
    .contact-page-body {
        padding: 40px 20px;
    }
    .contact-form-wrapper,
    .contact-card-box {
        padding: 24px 20px;
    }
}
