/* ANEY — typographies : Open Sans (texte) et Space Grotesk (titres). */

:root {
    --white:#fff;
    --black:#101010;
    --grey:#777;
    --line:#e5e5e5;
    --acid:;
    --font:"Open Sans", sans-serif;
    --display:"Space Grotesk", sans-serif
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    background:var(--white);
    color:var(--black);
    font-family:var(--font);
    font-weight:400
}
a {
    color:inherit;
    text-decoration:none
}
button,input,textarea {
    font:inherit
}
button {
    cursor:pointer
}
.top-progress {
    height:4px;
    background:var(--black);
    position:fixed;
    z-index:30;
    top:0;
    left:0;
    width:100%
}
header {
    height:82px;
    padding:0 5.5vw;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:absolute;
    top:4px;
    left:0;
    width:100%;
    z-index:20;
    border-bottom:1px solid #1112
}
.brand {
    font-family:var(--display);
    font-size:36px;
    font-weight:900;
    letter-spacing:-.04em;
    line-height:1
}
.brand span {
    display:inline-block;
    transform:skew(-10deg);
    background:var(--white);
    padding:0 5px;
    margin-left:2px
}
nav {
    display:flex;
    gap:35px;
    align-items:center
}
nav a {
    font-size:11px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    position:relative
}
nav a:after {
    content:"";
    position:absolute;
    left:0;
    bottom:-7px;
    width:0;
    height:2px;
    background:var(--black);
    transition:width .25s
}
nav a:hover:after {
    width:100%
}
.menu {
    display:none;
    border:0;
    background:transparent;
    color:#000;
    -webkit-text-fill-color:#000;
    -webkit-appearance:none;
    appearance:none;
    font-size:27px;
    cursor:pointer
}
.hero {
    padding:145px 5.5vw 65px;
    min-height:100svh;
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:5vw;
    align-items:center;
    overflow:hidden
}
.hero-copy {
    position:relative;
    z-index:2
}
.tag {
    font-size:10px;
    font-weight:800;
    letter-spacing:.2em;
    text-transform:uppercase;
    display:inline-flex;
    align-items:center;
    gap:10px
}
.tag:before {
    content:"";
    width:25px;
    height:3px;
    background:var(--black)
}
h1,h2,h3,p {
    margin-top:0
}
h1 {
    font-family:var(--display);
    font-size:clamp(82px,12vw,170px);
    line-height:.77;
    letter-spacing:-.055em;
    text-transform:uppercase;
    margin:30px 0 28px;
    font-weight:900
}
h1 .outline {
    -webkit-text-stroke:2px var(--black);
    color:transparent
}
.hero-copy p {
    font-size:14px;
    line-height:1.85;
    max-width:360px;
    color:#4d4d4d
}
.cta {
    display:inline-flex;
    align-items:center;
    gap:18px;
    margin-top:22px;
    background:var(--black);
    color:white;
    padding:16px 21px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    transition:background .2s,color .2s
}
.cta:hover {
    background:var(--acid);
    color:var(--black)
}
.hero-slider {
    height:min(70vh,690px);
    min-height:410px;
    position:relative;
    background:#eee;
    overflow:hidden
}
.slide {
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .65s ease
}
.slide.active {
    opacity:1
}
.slide img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}
.slide:after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,#0007,transparent 35%);
    pointer-events:none
}
.slide-label {
    position:absolute;
    z-index:2;
    bottom:28px;
    left:30px;
    color:white;
    font-family:var(--display);
    font-size:36px;
    font-weight:800;
    text-transform:uppercase
}
.slider-controls {
    position:absolute;
    z-index:4;
    right:20px;
    bottom:24px;
    display:flex;
    gap:8px
}
.slider-controls button,.gallery-controls button {
    width:42px;
    height:42px;
    border:1px solid #111;
    background:white;
    color:#111;
    font-size:20px;
    transition:.2s
}
.slider-controls button:hover,.gallery-controls button:hover {
    background:var(--acid)
}
.slide-count {
    position:absolute;
    top:20px;
    right:22px;
    z-index:4;
    background:var(--acid);
    padding:8px 11px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em
}
.marquee {
    overflow:hidden;
    background:var(--white);
    padding:13px 0;
    border-top:1px solid var(--black);
    border-bottom:1px solid var(--black);
    white-space:nowrap
}
.marquee div {
    font-family:var(--display);
    font-size:25px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    animation:marquee 24s linear infinite
}
@keyframes marquee {
    to {
        transform:translateX(-50%)
    }
}
section.content {
    padding:115px 5.5vw
}
.section-top {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:25px;
    margin-bottom:42px
}
.index {
    font-size:10px;
    font-weight:800;
    letter-spacing:.18em;
    color:#777;
    margin-bottom:12px
}
h2 {
    font-family:var(--display);
    font-size:clamp(58px,8vw,105px);
    font-weight:900;
    line-height:.82;
    letter-spacing:-.035em;
    text-transform:uppercase;
    margin:0
}
.section-desc {
    max-width:310px;
    color:#666;
    font-size:12px;
    line-height:1.8;
    margin:0
}
.gallery-wrap {
    position:relative
}
.gallery-track {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 36px)/3);
    gap:18px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    scroll-behavior:smooth
}
.gallery-track::-webkit-scrollbar {
    display:none
}
.art-card {
    scroll-snap-align:start;
    min-width:0
}
.art-card img {
    width:100%;
    height:clamp(260px,36vw,470px);
    object-fit:cover;
    display:block;
    filter:grayscale(12%);
    transition:filter .3s,transform .4s
}
.art-card:hover img {
    filter:grayscale(0);
    transform:translateY(-5px)
}
.art-meta {
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:15px 0;
    border-bottom:1px solid var(--line)
}
.art-meta strong {
    font-family:var(--display);
    font-size:25px;
    font-weight:800;
    text-transform:uppercase
}
.art-meta span {
    font-size:9px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:#777;
    padding-top:7px
}
.gallery-bottom {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:25px
}
.gallery-note {
    font-size:10px;
    color:#777;
    letter-spacing:.08em
}
.gallery-controls {
    display:flex;
    gap:8px
}
.statement {
    background:#111;
    color:#fff;
    padding:105px 5.5vw;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8vw;
    align-items:center;
    position:relative;
    overflow:hidden
}
.statement:after {
    content:"ANEY";
    position:absolute;
    right:-20px;
    bottom:-80px;
    font-family:var(--display);
    font-size:clamp(180px,32vw,440px);
    font-weight:900;
    color:#ffffff08;
    line-height:1;
    pointer-events:none
}
.statement h2 {
    position:relative;
    z-index:1
}
.statement h2 em {
    font-style:normal;
    color:var(--white)
}
.statement-copy {
    position:relative;
    z-index:1;
    max-width:470px
}
.statement-copy p {
    font-size:14px;
    line-height:2;
    color:#c6c6c6
}
.statement-copy strong {
    color:white
}
.about {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:8vw;
    align-items:center
}
.about-image {
    height:580px;
    background:url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&w=1200&q=85') center/cover
}
.about-text p {
    font-size:14px;
    line-height:2;
    color:#555;
    max-width:450px
}
.about-text h2 {
    margin-bottom:28px
}
.contact {
    background:#f3f3f0;
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:8vw;
    align-items:start
}
.contact-intro p {
    font-size:13px;
    line-height:1.9;
    color:#666;
    max-width:350px;
    margin-top:25px
}
form {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px
}
.field {
    display:flex;
    flex-direction:column;
    gap:9px
}
.field.full {
    grid-column:1/-1
}
.field label {
    font-size:9px;
    font-weight:800;
    letter-spacing:.15em;
    text-transform:uppercase
}
.field input,.field textarea {
    border:0;
    border-bottom:1px solid #aaa;
    background:transparent;
    padding:13px 0;
    color:#111;
    outline:none;
    border-radius:0;
    font-size:13px
}
.field input:focus,.field textarea:focus {
    border-color:#111
}
.field textarea {
    min-height:110px;
    resize:vertical
}
.submit {
    grid-column:1/-1;
    justify-self:start;
    border:0;
    background:#111;
    color:white;
    padding:17px 24px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.15em;
    text-transform:uppercase;
    transition:.2s
}
.submit:hover {
    background:var(--acid);
    color:#111
}
.form-hint {
    grid-column:1/-1;
    font-size:10px;
    color:#777;
    line-height:1.6;
    margin:0
}
footer {
    padding:30px 5.5vw;
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    border-top:1px solid var(--line)
}
footer small {
    font-size:9px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#777
}
footer .brand {
    font-size:27px
}
@media(max-width:800px) {
    header {
        height:70px;
        padding:0 6vw
    }
    .menu {
        display:block
    }
    nav {
        display:none;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:white;
        padding:25px 6vw;
        flex-direction:column;
        align-items:flex-start;
        gap:23px;
        border-bottom:1px solid var(--line)
    }
    nav.open {
        display:flex
    }
    .hero {
        padding:120px 6vw 55px;
        grid-template-columns:1fr;
        gap:35px;
        min-height:auto
    }
    .hero h1 {
        font-size:clamp(88px,22vw,145px);
        margin:25px 0
    }
    .hero-slider {
        height:60vh;
        min-height:360px
    }
    section.content {
        padding:80px 6vw
    }
    .section-top {
        display:block
    }
    .section-desc {
        margin-top:20px
    }
    .gallery-track {
        grid-auto-columns:78%;
        gap:14px
    }
    .art-card img {
        height:390px
    }
    .statement,.about,.contact {
        grid-template-columns:1fr;
        gap:35px
    }
    .statement {
        padding:80px 6vw
    }
    .about-image {
        height:390px;
        order:2
    }
    form {
        grid-template-columns:1fr
    }
    .field.full,.submit,.form-hint {
        grid-column:1
    }
    footer {
        padding:25px 6vw;
        flex-wrap:wrap
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        scroll-behavior:auto!important;
        animation:none!important;
        transition:none!important
    }
}
/* Header logo: preserve the original artwork and hover artwork. */
header {
    position: relative;
    top: auto;
    left: auto;
}
.brand-logo {
    display: block;
    width: 88px;
    height: 68px;
    position: relative;
    flex-shrink: 0;
}
.brand-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .25s ease;
}
.brand-logo .logo-hover {
    opacity: 0;
}
.brand-logo:hover .logo-hover, .brand-logo:focus-visible .logo-hover {
    opacity: 1;
}
.brand-logo:hover .logo-default, .brand-logo:focus-visible .logo-default {
    opacity: 0;
}
.home-banner {
    width: 100%;
    overflow: hidden;
    background: #eee;
}
.home-banner img {
    width: 100%;
    height: auto;
    max-height: 650px;
    min-height: 210px;
    object-fit: cover;
    display: block;
}
.hero {
    min-height: auto;
    padding-top: 30px;
}
.slide img {
    object-fit: contain;
    background: #f4f4f4;
}
.art-card img {
    object-fit: contain;
    background: #f7f7f7;
}

.italic {
    font-style: italic;
}
@media (max-width: 800px) {
    .brand-logo {
        width: 75px;
        height: 60px;
    }
    .home-banner img {
        min-height: 180px;
    }
    .hero {
        padding-top: 30px;
    }
}

.accent-dot { color: #000000; }
.light-index { color: #fff; }
.dark-dot { color: #000; }

/* Navigation toujours visible pendant le défilement, en position normale en haut. */
header {
    position: sticky;
    top: 4px;
    left: auto;
    z-index: 40;
    background: #fff;
    transition: box-shadow .2s ease;
}
header.is-scrolled {
    box-shadow: 0 5px 22px rgba(0, 0, 0, .09);
}
html {
    scroll-padding-top: 100px;
}
@media (max-width: 800px) {
    html { scroll-padding-top: 85px; }
}

/* Language switch — added without altering existing styles */
.language-switch { display: inline-flex; align-items: center; gap: 7px; margin-left: 14px; white-space: nowrap; }
.language-switch a { font-family: 'Open Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: #777; padding: 5px 3px; }
.language-switch a.active { color: #000; }
.language-switch a + a::before { content: '/'; color: #aaa; margin-right: 10px; }
.language-switch a::after { display: none !important; }
.language-switch a:hover { color: #000; }
@media (max-width: 800px) { .language-switch { margin: 12px 0 0; } }

/* Galerie : aperçu grand format des œuvres */
.gallery-track .art-card { cursor: zoom-in; }
.gallery-track .art-card:focus-visible { outline: 3px solid #111; outline-offset: 4px; }
.art-lightbox[hidden] { display: none !important; }
.art-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.art-lightbox-panel { position: relative; width: min(1050px,100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: #fff; color: #111; padding: 18px; }
.lightbox-close { position: sticky; top: 0; float: right; z-index: 2; background: #111; color: #fff; border: 0; width: 42px; height: 42px; font-size: 28px; cursor: pointer; }
.lightbox-image-wrap { clear: both; display: flex; justify-content: center; align-items: center; min-height: 160px; }
.lightbox-image-wrap img { display: block; max-width: 100%; max-height: 66dvh; width: auto; height: auto; object-fit: contain; }
.lightbox-info { padding: 16px 4px 8px; }
.lightbox-info h2 { font-family: 'Space Grotesk',sans-serif; font-size: clamp(22px,3vw,34px); margin: 0 0 8px; }
.lightbox-info p { margin: 0 0 18px; }
.lightbox-contact { display: inline-block; background: #111; color: #fff; padding: 13px 18px; text-decoration: none; }
.lightbox-contact:hover { background: #444; }
body.lightbox-open { overflow: hidden; }

/* Lightbox responsive : image et action toujours visibles sans défilement */
.art-lightbox {
  padding: clamp(8px, 2vw, 20px);
  overflow: hidden;
  box-sizing: border-box;
}
.art-lightbox-panel {
  box-sizing: border-box;
  width: min(1050px, 100%);
  height: min(860px, calc(100dvh - 2 * clamp(8px, 2vw, 20px)));
  max-height: none;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(10px, 1.5vw, 18px);
  gap: clamp(6px, 1.2vh, 12px);
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  float: none;
  width: 38px;
  height: 38px;
  flex: none;
}
.lightbox-image-wrap {
  clear: none;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  padding: 26px 36px 0;
  overflow: hidden;
}
.lightbox-image-wrap img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox-info {
  flex: 0 0 auto;
  min-height: 0;
  padding: 4px 4px 2px;
  text-align: center;
}
.italic {
    font-style: italic;
}
.lightbox-info h2 { font-size: clamp(17px, 2.5vw, 28px); margin: 0 0 3px; line-height: 1.15; }
.lightbox-info p { margin: 0 0 8px; font-size: clamp(12px, 1.5vw, 15px); line-height: 1.25; }
.lightbox-contact { padding: 10px 14px; font-size: clamp(12px, 1.4vw, 15px); line-height: 1.2; }
@media (max-width: 600px) {
  .art-lightbox-panel { padding: 9px; gap: 5px; }
  .lightbox-image-wrap { padding: 32px 2px 0; }
  .lightbox-close { top: 7px; right: 7px; width: 34px; height: 34px; }
  .lightbox-info { padding: 2px 2px 4px; }
  .lightbox-contact { max-width: 100%; box-sizing: border-box; }
}
.italic {
    font-style: italic;
}
@media (max-height: 480px) {
  .art-lightbox-panel { gap: 2px; padding: 5px; }
  .lightbox-image-wrap { padding-top: 4px; padding-right: 40px; }
  .lightbox-info h2 { font-size: 15px; margin-bottom: 1px; }
  .lightbox-info p { font-size: 11px; margin-bottom: 3px; }
  .lightbox-contact { padding: 5px 10px; font-size: 11px; }
}
.italic {
    font-style: italic;
}

/* Static hero image, original proportions preserved */
.hero-static{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;background:#f4f4f4}
.hero-static img{display:block;width:100%;height:auto;max-height:min(75vh,780px);object-fit:contain;object-position:center}
.portfolio-section{border-top:1px solid #e5e5e5}
.portfolio-section h2{font-family:var(--display);font-size:clamp(42px,7vw,100px);line-height:1.05;margin:24px 0}
.portfolio-section p{max-width:650px;margin:0 0 30px}
.contact-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
#form-status{min-height:1.5em}
@media(max-width:800px){.hero-static img{max-height:65vh}}

/* Instagram footer — gris foncé, noir au survol */
footer .footer-instagram { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; color:#555555; text-decoration:none; flex-shrink:0; transition:color .2s ease; }
footer .footer-instagram:hover, footer .footer-instagram:focus-visible { color:#000000; }
footer .footer-instagram:focus-visible { outline:2px solid currentColor; outline-offset:3px; border-radius:5px; }
footer .footer-instagram svg { display:block; }

/* Flèches de navigation dans la visionneuse, également sur mobile. */
.lightbox-image-wrap { position: relative; }
.lightbox-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 42px; height: 48px; border: 0; background: rgba(255,255,255,.88); color: #111; font-size: 27px; cursor: pointer; display: grid; place-items: center; border-radius: 3px; box-shadow: 0 2px 10px rgba(0,0,0,.13); }
.lightbox-arrow:hover, .lightbox-arrow:focus-visible { background: #111; color: #fff; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
@media (max-width: 600px) { .lightbox-arrow { width: 34px; height: 42px; font-size: 23px; } .lightbox-image-wrap { padding-left: 36px; padding-right: 36px; } }
