  :root{
    --paper: #F4F3EF;
    --ink: #1C1B18;
    --grey: #87847B;
    --line: #E2DFD6;
    --accent: #2E5E74;
  }

  *{ box-sizing: border-box; }

  html{ scroll-behavior: smooth; }

  body{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Spectral', serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
  }

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

  .wrap{
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* Header */
  header{
    padding: 48px 0 0;
  }

  .header-inner{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .logo{
    position: relative;
    display: inline-block;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1;
    color: var(--ink);
    padding-right: 12px;
  }

  .logo-dot{
    position: absolute;
    right: 0;
    bottom: 0.26em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #B3552F;
    transition: transform 0.4s ease;
  }

  .logo:hover .logo-dot{ transform: scale(1.25); }

  .name{
    font-size: 20px;
    letter-spacing: 0.02em;
    font-weight: 500;
    line-height: 1;
    color: var(--ink);
  }



  @media (max-width: 560px){
    .name{ font-size: 18px; }
  }

  nav{
    display: flex;
    gap: 28px;
  }

  nav a{
    font-size: 13px;
    color: var(--grey);
    transition: color 0.2s ease;
  }

  nav a:hover{ color: var(--ink); }

  /* Intro — mostly empty space */
  .intro{
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .intro p{
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--grey);
    margin: 0;
  }

  /* Works */
  .works{
    padding: 0 0 40px;
  }

  .category{
    margin-bottom: 180px;
  }

  .wrap-wide{
    max-width: 1080px;
  }

  .category:last-child{ margin-bottom: 0; }

  .category h3{
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--grey);
    margin: 0 0 36px;
  }

  .piece{
    text-align: center;
  }

  /* Grid variant for categories with several photos */
  .photo-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .photo-grid figure{
    margin: 0;
  }

  .photo-grid img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
  }

  .photo-grid figure:hover img{ transform: scale(1.04); }

  .photo-grid figcaption{
    margin-top: 10px;
    font-size: 11px;
    color: var(--grey);
    text-align: center;
  }

  @media (max-width: 760px){
    .photo-grid{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .photo-grid img{ height: 220px; }
  }

  .piece img{
    max-width: 100%;
    width: 460px;
    height: auto;
    display: inline-block;
  }

  .piece .caption{
    margin-top: 18px;
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.02em;
  }

  /* About */
  .about{
    padding: 120px 0;
    border-top: 1px solid var(--line);
    text-align: center;
  }

  .about p{
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink);
    max-width: 44ch;
    margin: 0 auto;
  }

  /* Simple lists — Prix / Expositions */
  .list-section{
    padding: 100px 0;
    border-top: 1px solid var(--line);
  }

  .list-section h2{
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--grey);
    margin: 0 0 20px;
  }

  .list-section h2::after{
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    margin: 20px auto 48px;
    background: var(--grey);
    opacity: 0.5;
  }

  .list-row{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }

  .list-row:last-child{ border-bottom: 1px solid var(--line); }

  .list-row .detail{
    display: block;
    margin-top: 6px;
    color: var(--grey);
    font-size: 13px;
    line-height: 1.6;
  }

  .prize-photo{
    margin: 56px auto 0;
    text-align: center;
  }

  .prize-photo img{
    width: 360px;
    max-width: 100%;
    height: auto;
    display: inline-block;
  }

  .prize-photo figcaption{
    margin-top: 16px;
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.02em;
  }

  .list-row .place{
    color: var(--grey);
    font-size: 13px;
  }

  .list-row .year{
    color: var(--grey);
    font-size: 13px;
    white-space: nowrap;
  }

  /* Contact */
  .contact{
    padding: 100px 0 140px;
    text-align: center;
  }

  .contact .label{
    font-size: 12px;
    color: var(--grey);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
  }

  .contact a.mail{
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
    transition: border-color 0.2s ease;
  }

  .contact a.mail:hover{ border-color: var(--ink); }

  .contact .social{
    margin-top: 22px;
    font-size: 12px;
    color: var(--grey);
  }

  .contact .social a{ border-bottom: 1px solid transparent; }
  .contact .social a:hover{ color: var(--ink); border-color: var(--line); }

  footer{
    padding: 28px 0 48px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 11px;
    color: var(--grey);
  }

  footer .social-row{
    margin-bottom: 10px;
    font-size: 12px;
  }

  footer .social-row a{
    color: var(--grey);
    margin: 0 10px;
    transition: color 0.2s ease;
  }

  footer .social-row a:hover{ color: var(--ink); }

  a:focus-visible{
    outline: 1px solid var(--ink);
    outline-offset: 3px;
  }

  @media (max-width: 560px){
    .wrap{ padding: 0 24px; }
    header{ padding: 32px 0 0; }
    .header-inner{ flex-direction: column; align-items: flex-start; gap: 14px; }
    nav{ gap: 20px; }
    .intro{ min-height: 46vh; }
    .piece{ margin-bottom: 120px; }
    .piece img{ width: 100%; }
  }

  /* Couvertures des séries (accueil) */
  .series-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 36px;
  }

  .series{
    display: block;
  }

  .series .frame{
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--line);
  }

  .series img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
  }

  .series:hover img{ transform: scale(1.03); }

  .series .series-title{
    display: block;
    margin-top: 16px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.01em;
  }

  .series .series-count{
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--grey);
  }

  .series:focus-visible{ outline-offset: 6px; }

  @media (max-width: 900px){
    .series-grid{ grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  }

  @media (max-width: 560px){
    .series-grid{ grid-template-columns: 1fr; gap: 56px; }
  }

  /* Page d'une série */
  .gallery-head{
    padding: 96px 0 64px;
    text-align: center;
  }

  .gallery-head .back{
    font-size: 13px;
    color: var(--grey);
    transition: color 0.2s ease;
  }

  .gallery-head .back:hover{ color: var(--ink); }

  .gallery-head h1{
    margin: 40px 0 10px;
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 0.005em;
    line-height: 1.2;
  }

  .gallery-head p{
    margin: 0;
    font-size: 13px;
    color: var(--grey);
  }

  .gallery .photo-grid img{ height: 380px; cursor: zoom-in; }
  .gallery .photo-grid button{
    all: unset;
    display: block;
    width: 100%;
    overflow: hidden;
    cursor: zoom-in;
  }
  .gallery .photo-grid button:focus-visible{ outline: 1px solid var(--ink); outline-offset: 3px; }
  .gallery .photo-grid button:hover img{ transform: scale(1.04); }

  .gallery .piece img{ width: 640px; cursor: zoom-in; }
  .gallery .piece button{ all: unset; cursor: zoom-in; display: inline-block; max-width: 100%; }

  @media (max-width: 760px){
    .gallery .photo-grid img{ height: 240px; }
  }

  .series-nav{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 72px 0 96px;
    margin-top: 120px;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }

  .series-nav a{ color: var(--grey); transition: color 0.2s ease; }
  .series-nav a:hover{ color: var(--ink); }
  .series-nav .next{ text-align: right; margin-left: auto; }
  .series-nav small{ display: block; font-size: 11px; margin-bottom: 4px; }

  /* Visionneuse */
  .lightbox{
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--paper);
    display: none;
    align-items: center;
    justify-content: center;
  }

  .lightbox.open{ display: flex; }

  .lightbox figure{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: calc(100vw - 160px);
  }

  .lightbox img{
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    display: block;
    box-shadow: 0 1px 0 var(--line);
  }

  .lightbox figcaption{
    margin-top: 16px;
    font-size: 12px;
    color: var(--grey);
    text-align: center;
  }

  .lightbox button{
    position: absolute;
    background: none;
    border: 0;
    color: var(--grey);
    font-family: inherit;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    padding: 16px;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .lightbox button:hover{ color: var(--ink); }
  .lightbox button:focus-visible{ outline: 1px solid var(--ink); }
  .lightbox .lb-close{ top: 16px; right: 20px; font-size: 26px; }
  .lightbox .lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
  .lightbox .lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }

  @media (max-width: 560px){
    .lightbox figure{ max-width: calc(100vw - 32px); }
    .lightbox .lb-prev, .lightbox .lb-next{ top: auto; bottom: 12px; transform: none; }
    .gallery-head{ padding: 64px 0 48px; }
    .gallery-head h1{ font-size: 28px; }
  }

  @media (prefers-reduced-motion: reduce){
    *{ transition: none !important; scroll-behavior: auto !important; }
  }

  /* Haut de page : le cadre qui s'adapte à chaque photo */
  .intro{
    min-height: 0;
    padding: 64px 0 96px;
  }

  .hero{
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
  }

  .hero-frame{
    display: inline-block;
    margin: 0 auto 56px;
    background: #FFFFFF;
    padding: 12px;
    outline: 1px solid rgba(28, 27, 24, 0.14);
    box-shadow: 0 24px 40px -28px rgba(28, 27, 24, 0.5);
    opacity: 0;
    animation: hero-in 1.4s ease 0.1s forwards;
  }

  .hero-stage{
    position: relative;
    width: 300px;
    height: 520px;
    max-width: 100%;
    overflow: hidden;
    background: var(--line);
    transition: width 2.6s cubic-bezier(0.37, 0, 0.63, 1), height 2.6s cubic-bezier(0.37, 0, 0.63, 1);
  }

  .hero-stage img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2.6s cubic-bezier(0.37, 0, 0.63, 1);
  }

  .hero-stage img.is-active{ opacity: 1; }

  .hero-title{
    opacity: 0;
    animation: hero-in 1.6s ease 0.6s forwards;
  }

  .hero-slogan{
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    column-gap: 0.4em;
    row-gap: 6px;
    font-weight: 300;
  }

  .slogan-part{
    font-size: clamp(26px, 3.2vw, 38px);
    font-style: italic;
    color: var(--grey);
  }

  .logo--hero{
    font-size: clamp(38px, 4.9vw, 58px);
    padding-right: 0.2em;
  }

  .logo--hero .logo-dot{
    width: 0.12em;
    height: 0.12em;
  }

  .hero-phrase{
    margin: 0;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: var(--grey);
  }

  @keyframes hero-in{
    from{ opacity: 0; }
    to{ opacity: 1; }
  }

  @media (max-width: 560px){
    .intro{ padding: 40px 0 72px; }
    .hero{ padding: 0 16px; }
    .hero-frame{ padding: 7px; margin-bottom: 40px; }
  }

  @media (prefers-reduced-motion: reduce){
    .hero-frame, .hero-title{ opacity: 1; animation: none; }
    .hero-stage, .hero-stage img{ transition: none; }
  }




  /* À propos : portrait + biographie */
  .about .about-inner{
    max-width: 960px;
    display: grid;
    grid-template-columns: 300px minmax(0, 46ch);
    justify-content: center;
    gap: 72px;
    align-items: center;
    text-align: left;
  }

  .portrait{
    margin: 0;
    background: #FFFFFF;
    padding: 8px;
    outline: 1px solid rgba(28, 27, 24, 0.14);
    box-shadow: 0 18px 30px -22px rgba(28, 27, 24, 0.45);
  }

  .portrait img{
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--line);
  }

  .about .bio p{
    margin: 0;
    max-width: 46ch;
  }

  .about .bio p + p{ margin-top: 28px; }

  @media (max-width: 760px){
    .about .about-inner{
      grid-template-columns: 1fr;
      gap: 48px;
      justify-items: center;
      text-align: center;
    }
    .portrait{ width: 240px; }
    .about .bio p{ margin-left: auto; margin-right: auto; }
  }

  /* Phrase d'intention */
  .statement{
    padding: 140px 0 160px;
    text-align: center;
  }

  .statement p{
    margin: 0;
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
  }

  .section-title{
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--grey);
    margin: 0 0 20px;
  }

  .section-title::after{
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    margin: 20px auto 60px;
    background: var(--grey);
    opacity: 0.5;
  }

  .series .series-title{ transition: color 0.3s ease; }


  .works{ padding: 120px 0 140px; }

  @media (max-width: 820px){
    .section-title{ font-size: 27px; }
  }

  @media (max-width: 560px){
    .section-title{ font-size: 25px; }
    .statement{ padding: 96px 0 112px; }
    .statement p{ font-size: 23px; }
  }

  /* Tailles agrandies : listes et biographie */
  .list-row{ font-size: 18px; padding: 22px 0; }
  .list-row .place, .list-row .year, .list-row .detail{ font-size: 15px; }
  .about .bio p{ font-size: 18px; line-height: 1.85; }

  @media (max-width: 820px){
    .list-section h2{ font-size: 27px; }
  }

  @media (max-width: 560px){
    .list-section h2{ font-size: 25px; }
    .list-row{ font-size: 16px; }
    .about .bio p{ font-size: 16px; }
  }

  /* Contact */
  .contact-cta{
    display: inline-block;
    margin-top: 6px;
    padding: 14px 30px;
    border: 1px solid var(--ink);
    font-size: 15px;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .contact-cta:hover{ background: var(--ink); color: var(--paper); }

  .contact-or{
    margin-top: 22px;
    font-size: 13px;
    color: var(--grey);
  }

  .contact-or .mail{ font-size: 14px; color: var(--ink); }

  .contact-page{
    padding: 96px 0 140px;
  }

  .contact-page .wrap{ max-width: 680px; }

  .page-title{
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--grey);
    margin: 0 0 20px;
  }

  .page-title::after{
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    margin: 24px auto 0;
    background: var(--grey);
    opacity: 0.5;
  }

  .contact-intro{
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    max-width: 44ch;
    margin: 36px auto 64px;
  }

  .contact-form{
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .field-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .field label{
    display: block;
    font-size: 13px;
    color: var(--grey);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
  }

  .field .optional{ font-style: italic; }

  .field input,
  .field textarea{
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    font-weight: 300;
    color: var(--ink);
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 14px;
    transition: border-color 0.2s ease;
  }

  .field textarea{ resize: vertical; line-height: 1.6; }

  .field input:focus,
  .field textarea:focus{
    outline: none;
    border-color: var(--ink);
  }

  .contact-form button{
    align-self: center;
    margin-top: 8px;
    font-family: inherit;
    font-size: 15px;
    letter-spacing: 0.03em;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--ink);
    padding: 14px 34px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .contact-form button:hover{ background: var(--ink); color: var(--paper); }
  .contact-form button:focus-visible{ outline: 1px solid var(--ink); outline-offset: 3px; }
  .contact-form button:disabled{ opacity: 0.5; cursor: default; }

  .form-error,
  .form-status{
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
  }

  .form-error{ color: #9A3B2E; }
  .form-status{ color: var(--ink); }

  .contact-direct{
    margin-top: 88px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
    text-align: center;
  }

  .contact-direct .label{
    font-size: 13px;
    color: var(--grey);
    margin: 0 0 14px;
  }

  .contact-direct .mail{
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
    transition: border-color 0.2s ease;
  }

  .contact-direct .mail:hover{ border-color: var(--ink); }

  @media (max-width: 560px){
    .contact-page{ padding: 64px 0 100px; }
    .page-title{ font-size: 25px; }
    .field-row{ grid-template-columns: 1fr; }
  }

  /* Logo en bas de page */
  .footer-logo{
    margin-bottom: 26px;
  }

  .footer-logo .logo{
    font-size: 30px;
    padding-right: 13px;
  }

  /* Pages des catégories : photos entières, rangées de même hauteur */
  .photo-flow{
    display: flex;
    flex-wrap: wrap;
    gap: 36px 22px;
  }

  .photo-flow::after{
    content: "";
    flex-grow: 999999;
  }

  .photo-flow figure{
    margin: 0;
    flex: var(--r) 1 calc(var(--r) * 270px);
    min-width: 0;
  }

  .photo-flow button{
    all: unset;
    display: block;
    overflow: hidden;
    cursor: zoom-in;
  }

  .photo-flow button:focus-visible{ outline: 1px solid var(--ink); outline-offset: 3px; }

  .photo-flow img{
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
  }

  .photo-flow button:hover img{ transform: scale(1.03); }

  .photo-flow figcaption{
    margin-top: 10px;
    font-size: 11px;
    color: var(--grey);
    text-align: center;
  }

  @media (max-width: 760px){
    .photo-flow{ gap: 24px 12px; }
    .photo-flow figure{ flex-basis: calc(var(--r) * 150px); }
  }

  /* Biographie justifiée */
  .about .bio p{
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
