@font-face {
    font-family: Affiche;
    src: url('fonts/cormorant-roman.woff2') format('woff2');
    font-weight: 500;
    font-display: swap
}

@font-face {
    font-family: Affiche;
    src: url('fonts/cormorant-italic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Spectral;
    src: url('fonts/spectral-normal.woff2') format('woff2');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: Spectral;
    src: url('fonts/spectral-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Legende;
    src: url('fonts/dm-sans-roman.woff2') format('woff2');
    font-weight: 400 600;
    font-display: swap
}

:root {
    color-scheme: dark;
    --coal: #0d0c0b;
    --bar-height: 4.7rem;
    --ivory: #eae5dc;
    --gold: #f5d08a;
    --amber: #ffb347;
    --fine: #463e32;
    --pad: clamp(1.2rem, 6vw, 7rem);
    background: var(--coal);
    color: var(--ivory);
    font: 400 1rem/1.6 Legende, system-ui, sans-serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

a,
button {
    color: inherit
}

button {
    font: inherit;
    cursor: pointer
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: .4em
}

a:focus-visible,
button:focus-visible {
    outline: 1px dashed #b6a48b;
    outline-offset: 4px
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3,
.signature,
.brand {
    font-family: Affiche, Georgia, serif;
    font-weight: 500;
    line-height: .91;
    letter-spacing: -.05em
}

h2 {
    font-size: clamp(3.8rem, 8vw, 9rem)
}

h3 {
    font-family: Spectral, Georgia, serif;
    font-size: clamp(1.85rem, 3.8vw, 4.2rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.025em
}

em {
    color: var(--gold);
    font-weight: inherit
}

.wrap {
    max-width: 108rem;
    margin-inline: auto;
    padding-inline: var(--pad)
}

.eyebrow,
.etat {
    font: .72rem/1.6 Legende, sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase
}

.eyebrow {
    color: var(--gold)
}

.eyebrow {
    margin-bottom: 1.55rem
}

.eyebrow b {
    margin: 0 .4em
}

.skip {
    position: fixed;
    left: 1rem;
    top: -8rem;
    z-index: 100;
    padding: .7rem;
    background: var(--coal)
}

.skip:focus {
    top: 1rem
}

.bar {
    min-height: var(--bar-height);
    padding: .45rem var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--fine)
}

.bar a {
    text-decoration: none
}

/* Le déclencheur n'apparaît que dans la feuille dédiée aux téléphones. */
.mobile-menu-toggle {
    display: none
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .22em;
    font-size: clamp(1.45rem, 2.4vw, 2.35rem)
}

.brand img {
    width: 5rem;
    height: 3.75rem;
    flex: none;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 54%, #000 65%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, #000 54%, #000 65%, transparent 100%);
    margin-right: .45rem
}

nav {
    display: flex;
    gap: clamp(.8rem, 3vw, 3rem)
}

nav a,
.entry-link,
footer a {
    font-size: .87rem;
    letter-spacing: .025em
}

nav a:hover {
    color: var(--gold)
}

.hero {
    --photo-height: min(103%, 58vw);
    --photo-x: calc(50% + 17vw);
    --x: 68%;
    --y: 45%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100svh - var(--bar-height));
    display: grid;
    align-items: center;
    background: var(--coal)
}

.wall,
.beam {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    mix-blend-mode: screen
}

.wall,
.lamp-dust-anchor {
    position: absolute;
    inset: 50% auto auto var(--photo-x);
    height: var(--photo-height);
    aspect-ratio: 1024 / 680;
    transform: translate(-50%, -50%)
}

.wall {
    filter: brightness(.88)
}

.wall img {
    display: block;
    width: 100%;
    height: 100%
}

.lamp-dust-anchor {
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
    overflow: hidden;
    /* Le cliché source comporte des bandes noires latérales (25 % et 75 %). */
    -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 28%, #000 72%, transparent 75%);
    mask-image: linear-gradient(90deg, transparent 25%, #000 28%, #000 72%, transparent 75%)
}

.beam {
    background: url('/home_images/9.jpg') var(--photo-x) center / auto var(--photo-height) no-repeat;
    z-index: -2;
    mask-image: radial-gradient(circle clamp(10rem, 22vw, 26rem) at var(--x) var(--y), #fff 4%, transparent 100%);
    filter: brightness(1.16)
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse at var(--x) var(--y), #ffb34721, transparent 46%), url('/assets/home-overlay.png');
    mask-image: radial-gradient(circle 23rem at var(--x) var(--y), #fff, transparent 100%);
    opacity: .62
}

.hero-inner {
    padding: 4rem var(--pad) 7rem;
    max-width: max-content;
    background: linear-gradient(90deg, #0d0c0bd9, transparent)
}

.hero h1 {
    font-size: clamp(4rem, 8.5vw, 10.5rem)
}

.entry-link {
    display: inline-flex;
    gap: 1rem;
    color: var(--ivory);
    margin-top: 3rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid #aa8e65;
    text-decoration: none
}

.entry-link span {
    color: var(--amber)
}

.room {
    padding-block: clamp(4rem, 9vw, 11rem);
    position: relative;
    isolation: isolate
}

.heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(3.4rem, 7vw, 8rem)
}

.room-tools {
    font-size: .9rem;
    max-width: 19rem
}

.room-tools a {
    display: inline-block;
    margin-top: .7rem;
    color: var(--gold)
}

.hang {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 10vw, 12rem);
    row-gap: clamp(4rem, 9vw, 10rem);
    align-items: start
}

.piece:nth-child(even) {
    margin-top: clamp(4rem, 14vw, 15rem)
}

.piece {
    position: relative;
    width: 90%;
    justify-self: center
}

.art {
    cursor: pointer;
    display: block;
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    transition: box-shadow 1.25s ease
}

.art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.25s ease
}

.art .cadrage-haut {
    object-position: center top
}

.art .cadrage-globe {
    transform: scale(1.75);
    transform-origin: 93% 14%
}

.art .night {
    opacity: 0
}

/* Le reflet s’atténue dans la marge autour de la photographie. */
.piece.lit .art {
    box-shadow:
        -.45rem -.15rem 2.4rem -.35rem var(--reflet-gauche, rgb(236 188 130 / 17%)),
        .55rem .15rem 2rem -.45rem var(--reflet-droit, rgb(236 188 130 / 12%))
}

.piece.lit .night {
    opacity: 1
}

.rail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--fine);
    padding-top: .95rem;
    margin-top: .7rem
}

.rail h3 {
    font-size: clamp(1.7rem, 3vw, 3.6rem)
}

.etat {
    color: #c1b29a;
    font-size: .64rem;
    letter-spacing: .09em
}

[hidden] {
    display: none !important
}

.atelier {
    position: relative;
    isolation: isolate;
    background: #151310
}

.atelier-wall {
    position: sticky;
    top: 0;
    height: 100svh;
    z-index: -1;
    pointer-events: none
}

.atelier-wall img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.atelier-wall::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #100f0eef 0%, #100f0eb8 49%, #100f0e70)
}

.story {
    margin-top: -100svh;
    padding-block: 12vh 14vh
}

.story header {
    padding-bottom: 10vh
}

.bio-composition {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem)
}

.vue-exposition {
    margin: 0;
    justify-self: end;
    width: min(100%, 34rem)
}

.vue-exposition img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 32rem;
    object-fit: contain;
    filter: drop-shadow(0 1rem 2rem #0005)
}

.vue-exposition figcaption {
    margin-top: .7rem;
    text-align: right;
    color: #c8bbae;
    font-size: .8rem;
    letter-spacing: .025em
}

@media (max-width: 960px) {
    .bio-composition {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .vue-exposition {
        justify-self: center;
        margin-bottom: 2rem
    }
}

.passage {
    max-width: 50rem;
    padding: 3rem 0
}

.passage h3 {
    margin-bottom: 1.4rem
}

.passage p {
    margin-bottom: 1.1rem;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.75
}

.passage a {
    color: var(--gold)
}

.watch .passage {
    opacity: .45;
    transition: opacity .9s
}

.watch .passage.in-light,
.watch .passage:focus-within {
    opacity: 1
}

.contact {
    padding-block: clamp(4rem, 10vw, 11rem);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 3rem
}

.invitation {
    border-left: 1px solid var(--fine);
    padding-left: clamp(1.2rem, 4vw, 4rem);
    display: grid;
    justify-items: start;
    gap: 1rem
}

.invitation p {
    font: 500 clamp(1.7rem, 3vw, 3rem)/1.08 Affiche, Georgia, serif
}

.invitation address {
    font-style: normal
}

.invitation img {
    width: min(100%, 16rem);
    height: auto
}

footer {
    border-top: 1px solid var(--fine);
    display: flex;
    justify-content: space-between;
    padding-block: 1.7rem;
    color: #c2b9ae
}

dialog {
    background: var(--coal);
    color: var(--ivory);
    border: none;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    padding: 1rem;
    margin: 0;
    text-align: center
}

dialog[open] {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .7rem
}

@media (min-width:64rem) {
    html {
        scroll-padding-top: var(--bar-height);
    }

    .bar {
        position: sticky;
        top: 0;
        z-index: 30;
        background: var(--coal);
    }
}

@media(max-width:700px) {
    .bar {
        flex-wrap: wrap;
        min-height: 5rem;
        gap: .6rem;
        padding-block: .85rem
    }

    .brand {
        font-size: 1.45rem
    }

    .brand img {
        width: clamp(3rem, 14vw, 4.25rem);
        height: auto;
        margin-right: .25rem
    }

    .bar nav {
        gap: 1rem;
        flex-wrap: wrap
    }

    .bar nav a {
        font-size: .77rem
    }

    .hero {
        --photo-height: 64%;
        --photo-x: calc(50% + 3vw);
        min-height: 82svh;
        align-items: end
    }

    .wall,
    .lamp-dust-anchor {
        top: 0;
        transform: translateX(-50%)
    }

    .beam {
        background-position: var(--photo-x) top
    }

    .hero-inner {
        background: linear-gradient(0deg, var(--coal) 8%, #0d0c0bd9 53%, transparent);
        width: 100%;
        max-width: none;
        padding: 4rem var(--pad) 4.2rem
    }

    .hero h1 {
        font-size: clamp(3.4rem, 13vw, 5.4rem)
    }

    .hero .eyebrow {
        margin-bottom: .85rem
    }

    .entry-link {
        margin-top: 1.1rem
    }

    .heading {
        display: grid;
        gap: 1.3rem
    }

    .hang {
        display: block
    }

    .piece {
        width: 84%;
        margin-bottom: 3.75rem
    }

    .piece:nth-child(even) {
        margin: 0 0 3.75rem auto
    }

    .rail {
        gap: .5rem
    }

    .rocker {
        flex-shrink: 0
    }

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

    .atelier-wall img {
        object-position: 62% center
    }

    .passage {
        padding: 1.65rem 0
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important
    }

    .watch .passage {
        opacity: 1
    }
}

.hero .beam {
    filter: brightness(1.09) saturate(1.04);
    mask-image: radial-gradient(ellipse 29% 42% at var(--x) var(--y), #fff 0%, #ffffffb0 25%, #ffffff30 60%, transparent 100%)
}

.hero::before {
    background: url('/assets/home-overlay.png');
    mask-image: none;
    opacity: .075
}

.rocker {
    appearance: none;
    display: block;
    width: 4rem;
    height: 4rem;
    border: 1px solid #514738;
    border-radius: 4px;
    padding: 0;
    background: #201e1c url('/visuels/interrupteur.webp') 100% center / 200% 100% no-repeat;
    box-shadow: 0 2px 6px #080706;
}

.rocker[aria-checked=true] {
    background-position: 0% center
}

.rocker[hidden] {
    display: none
}

.visit-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    max-width: 90rem;
    margin: clamp(3rem, 8vw, 8rem) auto;
    background: #221d18
}

.ed-visit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 0
}

.ed-visit-card {
    align-self: center;
    padding: clamp(2rem, 4.7vw, 5rem)
}

.ed-label {
    font-size: .77rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #dfad88
}

.ed-visit-card h2 {
    font-size: clamp(3.2rem, 6vw, 6.6rem);
    margin: .8rem 0 1.8rem
}

.ed-visit-card address {
    font-style: normal
}

.ed-contact-links {
    display: grid;
    gap: .85rem;
    justify-items: start;
    margin: 1.4rem 0
}

.ed-courriel {
    display: grid;
    gap: .3rem;
    font-size: .85rem;
    color: #c6bbac
}

.ed-courriel img {
    width: min(100%, 16rem);
    height: auto
}

.ed-visit-note {
    font-size: .9rem;
    color: #c6bbac
}

#projection-v3[open] {
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    display: block;
    border: 0;
    background: #0d0c0b
}

@media(max-width:700px) {
    .visit-card {
        grid-template-columns: 1fr;
        margin-inline: var(--pad)
    }

    .ed-visit-image {
        height: auto;
        aspect-ratio: 4/3
    }

    .ed-visit-card {
        padding: 1.6rem
    }
}

.expo-shell {
    width: 100%;
    height: 100%;
    background: #0d0c0b
}

.expo-page,
.expo-shell {
    text-align: left;
    --ink: #eae5dc;
    --muted: #c0b6aa;
    --paper: #100f0e;
    --line: #423c34;
    --oxide: #a69781;
    --control-line: #70604b;
    --sans: Legende, sans-serif;
    --serif: Affiche, Georgia, serif;
    --gutter: var(--pad);
}

.expo-shell>p,
.expo-dismiss {
    margin: 1rem
}

.piece.lit .day {
    opacity: 0
}

.notice {
    color: #c1b6a7;
    font-size: .86rem;
    line-height: 1.55;
    margin: .7rem 0
}

.notice a {
    color: inherit;
    text-underline-offset: .2em
}

.expo-entry {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    margin: 1rem 0 0 1.2rem;
    padding: .45rem 1rem;
    border: 1px solid #887455;
    border-radius: .2rem;
    color: var(--gold);
    background: #191511;
    text-decoration: none
}

.expo-entry:hover {
    background: #30271e
}

@media(max-width:480px) {
    .hero-inner .expo-entry {
        display: flex;
        width: fit-content;
        margin-left: 0
    }
}


.films {
    max-width: 38rem;
    padding-top: 2rem
}

.films h3 {
    margin-bottom: 1.35rem
}

.films-liste {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem
}

.film {
    display: block;
    color: var(--ivory);
    text-decoration: none
}

.film-image {
    display: block;
    position: relative
}

.film-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover
}

.film-play {
    position: absolute;
    bottom: .65rem;
    left: .65rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding-left: .12rem;
    border-radius: 50%;
    border: 1px solid #eae5dc99;
    background: #171410de;
    font-size: .73rem
}

.film:hover .film-play,
.film:focus-visible .film-play {
    color: var(--gold);
    border-color: currentColor
}

.film-legende,
.film-entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem
}

.film-legende {
    padding-block: .55rem;
    border-bottom: 1px solid var(--fine);
    flex-wrap: wrap
}

.film-titre {
    font: 500 1.65rem/1.1 Affiche, Georgia, serif
}

.film-legende small {
    color: #c1b6a7;
    font-size: .78rem
}

#film-lecteur {
    width: min(96vw, 60rem);
    height: fit-content;
    max-height: 96dvh;
    margin: auto;
    padding: 1rem;
    background: var(--coal);
    text-align: left
}

#film-lecteur[open] {
    display: block
}

#film-lecteur::backdrop {
    background: rgb(10 9 8 / .93)
}

.film-entete {
    margin-bottom: .75rem
}

.film-entete h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem)
}

.film-fermer {
    color: var(--ivory);
    border: 0;
    background: transparent;
    padding: .65rem .4rem
}

#film-lecteur video {
    display: block;
    width: 100%;
    max-height: min(80dvh, calc(96dvh - 6.5rem));
    object-fit: contain;
    background: #100f0e
}

.film-secours {
    display: inline-block;
    margin-top: .7rem
}

@media(max-width:480px) {
    .films-liste {
        gap: .9rem
    }

    .film-legende {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem
    }
}
