:root {
    --bg: #0a0a0a;
    --bg-light: #111111;
    --text: #f5f5f5;
    --text-muted: #666666;
    --accent: #8b7355;
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    touch-action: pan-x;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    cursor: default;
}

/* Custom Cursor - Desktop only */
@media (pointer: fine) {
    body { cursor: none; }
    .cursor { display: block; }
    .cursor-dot { display: block; }
}

@media (pointer: coarse) {
    .cursor { display: none !important; }
    .cursor-dot { display: none !important; }
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--text);
    border-radius: 50%;
    pointer-events: none !important;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s var(--transition), width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
    touch-action: none;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--text);
    border-radius: 50%;
    pointer-events: none !important;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    touch-action: none;
}

/* Typography */
.serif { font-family: 'Cormorant Garamond', serif; }
.sans { font-family: 'Inter', sans-serif; }
.display { font-family: 'Playfair Display', serif; }

/* Main Container - Horizontal Scroll */
.photobook {
    display: flex;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.photobook::-webkit-scrollbar {
    display: none;
}

/* Each Page */
.page {
    flex: 0 0 100vw;
    height: 100vh;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5vh max(60px, 5vw);
}

/* Page Background Variations */
.page:nth-child(odd) { background: var(--bg); }
.page:nth-child(even) { background: var(--bg-light); }

/* Grain Overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Vignette */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* Progress Bar (Top) */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--text));
    z-index: 1001;
    transition: width 0.1s linear;
}

/* Navigation - Left Side */
.nav-left {
    position: fixed;
    left: max(15px, 2vw);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: min(12px, 1.5vh);
    pointer-events: none;
    mix-blend-mode: difference;
}

.nav-left .nav-dot {
    pointer-events: auto;
}

/* Navigation left - masquer sous 1100px pour éviter chevauchement avec les cadres */
@media (max-width: 1200px), (max-height: 800px) {
    .nav-left {
        display: none;
    }
}

/* Sur très grands écrans, labels masqués */
@media (max-width: 1600px) {
    .nav-dot::before {
        display: none;
    }
}

@media (max-height: 700px) {
    .nav-left {
        gap: 8px;
    }
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--text-muted);
    cursor: pointer;
    transition: all 0.4s var(--transition);
    position: relative;
    padding: 0; /* Reset button padding */
}

.nav-dot::before {
    content: attr(data-title);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--text-muted);
}

.nav-dot:hover::before,
.nav-dot.active::before {
    opacity: 1;
}

.nav-dot.active {
    background: var(--text);
    border-color: var(--text);
    transform: scale(1.5);
}

.nav-dot:hover {
    border-color: var(--text);
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 3vh;
    left: 3vw;
    right: 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    height: 40px;
    opacity: 0.9;
    transition: opacity 0.3s;
    cursor: pointer;
}

.logo:hover {
    opacity: 1;
}

.menu {
    display: flex;
    gap: clamp(1.5vw, 2.5vw, 3vw);
    font-size: clamp(0.55rem, 0.65rem, 0.7rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 60vw;
    row-gap: 0.5rem;
}

.menu a {
    white-space: nowrap;
}

.menu a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
    position: relative;
    cursor: pointer;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.4s var(--transition);
}

.menu a:hover {
    opacity: 1;
}

.menu a:hover::after {
    width: 100%;
}

/* Page Counter (Bottom Right) */
.page-counter {
    position: fixed;
    bottom: 3vh;
    right: 3vw;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    z-index: 100;
    mix-blend-mode: difference;
}

.page-counter span {
    color: var(--text);
}

/* Scroll Hint */
.scroll-hint {
    position: fixed;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    mix-blend-mode: difference;
}

.scroll-line {
    width: 80px;
    height: 1px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text);
    animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* === COVER PAGE === */
.cover {
    flex-direction: column;
    text-align: center;
}

.cover-name {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 3vh;
    opacity: 0;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.cover-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    font-family: 'Playfair Display', serif;
    margin-bottom: 2vh;
}

.cover-divider {
    width: 1px;
    height: 60px;
    background: var(--text-muted);
    margin: 2vh auto;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
}

.cover-subtitle {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    opacity: 0;
}

/* === ARTWORK PAGES === */
.artwork-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    height: 70vh;
}

.artwork-layout.reverse {
    direction: rtl;
}

.artwork-layout.reverse > * {
    direction: ltr;
}

/* Image Container avec cadre américain réaliste - Style galerie */
.img-frame {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    cursor: zoom-in;
}

.img-frame-inner {
    position: relative;
    padding: 0;
    background: transparent;
    filter: drop-shadow(20px 30px 40px rgba(0,0,0,0.5));
    transition: all 0.4s var(--transition);
}

/* Le cadre blanc épais - couche extérieure avec coins arrondis */
.img-frame-inner::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
    background: 
        linear-gradient(135deg, 
            rgba(255,255,255,0.95) 0%, 
            rgba(245,245,245,0.98) 30%,
            rgba(230,230,230,1) 50%,
            rgba(220,220,220,1) 70%,
            rgba(200,200,200,0.95) 100%
        );
    border-radius: 3px;
    box-shadow: 
        inset 0 1px 3px rgba(255,255,255,0.5),
        inset 0 -2px 5px rgba(0,0,0,0.3),
        inset 2px 0 5px rgba(0,0,0,0.1),
        inset -2px 0 5px rgba(0,0,0,0.1),
        0 4px 6px rgba(0,0,0,0.1),
        0 10px 20px rgba(0,0,0,0.15);
    z-index: -1;
}

/* Bordure fine extérieure - finition */
.img-frame-inner::after {
    content: '';
    position: absolute;
    top: -14px;
    left: -14px;
    right: -14px;
    bottom: -14px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 3px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.15);
    z-index: -1;
}

.img-frame-inner img {
    max-height: 52vh;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s var(--transition-slow);
    display: block;
    border-radius: 2px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.img-frame.active .img-frame-inner img {
    opacity: 1;
}

.img-frame:hover .img-frame-inner {
    transform: translateY(-3px) scale(1.005);
    filter: drop-shadow(25px 35px 50px rgba(0,0,0,0.6));
}

.img-frame:hover .img-frame-inner::before {
    box-shadow: 
        inset 0 1px 3px rgba(255,255,255,0.5),
        inset 0 -2px 5px rgba(0,0,0,0.3),
        inset 2px 0 5px rgba(0,0,0,0.1),
        inset -2px 0 5px rgba(0,0,0,0.1),
        0 8px 15px rgba(0,0,0,0.2),
        0 20px 40px rgba(0,0,0,0.3);
}

/* Artwork Info */
.artwork-info {
    padding: 0 2vw;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s var(--transition) 0.2s;
}

.artwork-layout.reverse .artwork-info {
    transform: translateX(-30px);
    text-align: right;
}

.artwork-info.active {
    opacity: 1;
    transform: translateX(0);
}

.artwork-num {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    color: var(--accent);
    margin-bottom: 2vh;
    text-transform: uppercase;
}

.artwork-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2vh;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.artwork-meta {
    font-size: 0.75rem;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 3vh;
}

.artwork-status {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--text-muted);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: all 0.4s var(--transition);
}

.artwork-status:hover {
    border-color: var(--text);
    background: rgba(255,255,255,0.05);
}

.artwork-status.sold {
    opacity: 0.5;
}

.artwork-status.available {
    border-color: var(--accent);
    background: rgba(139, 115, 85, 0.1);
}

/* === ABOUT PAGE === */
.about-page {
    background: var(--bg) !important;
}

.about-content {
    max-width: 750px;
    text-align: center;
    padding: 0 5vw;
}

/* Profile Image */
.about-profile {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 4vh;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--transition);
}

.about-profile.active {
    opacity: 1;
    transform: scale(1);
}

.about-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    border-radius: 50%;
}

.about-profile::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0.4;
}

.about-profile::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    opacity: 0.2;
}

.about-label {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4vh;
    opacity: 0;
}

.about-quote-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 4vh;
}

.about-quote {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    padding: 0 2.5rem;
}

.quote-mark {
    position: absolute;
    font-size: clamp(3rem, 6vw, 4rem);
    color: var(--accent);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    pointer-events: none;
}

.quote-mark.open {
    top: -0.5rem;
    left: 0;
}

.quote-mark.close {
    bottom: -1.5rem;
    right: 0;
}

.about-signature {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    opacity: 0;
    color: var(--text);
    margin-bottom: 5vh;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

.about-story {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    opacity: 0;
    font-weight: 300;
}

.about-story strong {
    color: var(--text);
    font-weight: 400;
}

/* === CONTACT PAGE === */
.contact-content {
    text-align: center;
    max-width: 600px;
    padding: 0 5vw;
}

.contact-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 5vh;
    opacity: 0;
    transform: translateY(30px);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.contact-cta {
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 3vh;
}

.contact-mailto {
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    letter-spacing: 0.08em;
    color: var(--text-muted);
    opacity: 0;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-top: 2vh;
    transition: all 0.3s;
    text-decoration: underline;
    text-decoration-color: rgba(139, 115, 85, 0.4);
    text-underline-offset: 4px;
    display: inline-block;
    position: relative;
    z-index: 101;
    pointer-events: auto;
    padding: 8px 16px;
    background: transparent;
    border: none;
}

.contact-mailto:hover {
    color: var(--text);
    text-decoration-color: var(--accent);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    border: 1px solid var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text);
    text-decoration: none;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
	z-index: 101;
    pointer-events: auto;
}

.contact-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.4s var(--transition);
    z-index: -1;
}

.contact-email:hover {
    border-color: var(--accent);
    color: var(--bg);
}

.contact-email:hover::before {
    left: 0;
}

.contact-email svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.contact-email:hover svg {
    transform: translateX(3px);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growLine {
    to {
        opacity: 0.5;
        transform: scaleY(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* === ATELIER PAGE === */
.atelier-page { 
    background: var(--bg-light) !important;
    overflow: hidden;
}

.atelier-content {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10vh 5vw;
}

.atelier-header {
    text-align: center;
    margin-bottom: 4vh;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.3s forwards;
}

.atelier-label {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1vh;
}

.atelier-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.atelier-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.5vh;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.atelier-image-container {
    position: relative;
    max-width: 75vw;
    max-height: 60vh;
    cursor: zoom-in;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.5s forwards;
    transition: transform 0.4s var(--transition);
}

.atelier-image-container:hover {
    transform: scale(1.02);
}

.atelier-image-container:hover .atelier-image-hint {
    opacity: 1;
}

.atelier-frame {
    position: relative;
    padding: 12px;
    background: 
        linear-gradient(135deg, 
            rgba(40,40,40,1) 0%, 
            rgba(25,25,25,1) 50%,
            rgba(15,15,15,1) 100%
        );
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.atelier-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(139, 115, 85, 0.3);
    pointer-events: none;
}

.atelier-image {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    display: block;
    filter: contrast(1.02);
}

.atelier-image-hint {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.atelier-image-hint::before,
.atelier-image-hint::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.atelier-zoom {
    position: fixed;
    inset: 0;
    background: rgba(5,5,5,0.98);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--transition);
}

.atelier-zoom.active {
    opacity: 1;
    pointer-events: all;
}

.atelier-zoom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3vh 3vw;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(5,5,5,0.9) 0%, transparent 100%);
}

.atelier-zoom-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.atelier-zoom-title span {
    color: var(--accent);
}

.atelier-zoom-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
}

.atelier-zoom-close:hover {
    opacity: 1;
    border-color: var(--text-muted);
}

.atelier-zoom-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    position: relative;
}

.atelier-zoom-container:active,
.atelier-zoom-container.dragging {
    cursor: grabbing;
}

.atelier-zoom-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

.atelier-zoom-controls {
    position: fixed;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(20,20,20,0.9);
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-radius: 50px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s 0.3s;
}

.atelier-zoom.active .atelier-zoom-controls {
    opacity: 1;
}

.zoom-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50%;
    font-size: 1.2rem;
}

.zoom-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.zoom-level {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    min-width: 50px;
    text-align: center;
}

.zoom-hint-text {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-left: 1rem;
    border-left: 1px solid rgba(139, 115, 85, 0.3);
    margin-left: 0.5rem;
}

@media (max-width: 1024px) {
    .nav-left { display: none; }
    .atelier-image-container { max-width: 85vw; }
    .atelier-zoom-controls { padding: 0.8rem 1.5rem; gap: 1rem; }
    .zoom-hint-text { display: none; }
}

@media (max-width: 768px) {
    .artwork-layout {
        grid-template-columns: 1fr;
        height: auto;
        gap: 4vh;
    }

    .artwork-layout.reverse {
        direction: ltr;
    }

    .img-frame {
        height: 40vh;
    }

    .img-frame img {
        max-height: 35vh;
    }

    .artwork-info,
    .artwork-layout.reverse .artwork-info {
        text-align: center;
        transform: translateY(30px);
        padding: 0 5vw;
    }

    .page { padding: 12vh 5vw; }

    .logo { height: 30px; }

    .about-quote {
        padding: 0 1.5rem;
    }

    .about-profile {
        width: 110px;
        height: 110px;
    }

    .contact-email {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
    
    .atelier-content { padding: 15vh 5vw; }
    .atelier-image-container { max-width: 95vw; }
    .atelier-image { max-height: 50vh; }
    .atelier-zoom-image { max-width: 95vw; max-height: 75vh; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5,5,5,0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--transition);
    padding: 5vh 5vw;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.95);
    transition: transform 0.5s var(--transition);
}

.lightbox.active .lightbox-inner {
    transform: scale(1);
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 30px 100px rgba(0,0,0,0.8);
}

.lightbox-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid transparent;
    border-image: linear-gradient(
        to bottom,
        #d4af37 0%,
        #b8941f 50%,
        #8b7355 100%
    ) 1;
    box-shadow: 
        inset 0 0 60px rgba(0,0,0,0.5),
        0 15px 50px rgba(0,0,0,0.6),
        0 0 30px rgba(212,175,55,0.15);
    pointer-events: none;
}

.lightbox-close {
    position: absolute;
    top: 3vh;
    right: 3vw;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    padding: 0;
    line-height: 1;
    -webkit-appearance: none;
	outline: none;
}

.lightbox-close:hover {
    opacity: 1;
    border-color: var(--text-muted);
	background: rgba(255,255,255,0.1);
}

.lightbox-hint {
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.5s 0.3s;
}

.lightbox.active .lightbox-hint {
    opacity: 1;
}

/* Zoom Hint on images */
.zoom-hint {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.zoom-hint:empty { display: none; }

.img-frame:hover .zoom-hint {
    opacity: 1;
}