*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --bg:       #f7f5f0;
    --surface:  #ffffff;
    --ink:      #1c1b19;
    --ink2:     #6b6860;
    --ink3:     #a8a59e;
    --border:   rgba(28,27,25,0.10);
    --border2:  rgba(28,27,25,0.18);
    --accent:   #1c1b19;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    min-height: 100vh;
  }

  .skip-link {
    position: absolute; top: -100%; left: 1rem; z-index: 300;
    padding: 0.75rem 1.25rem;
    background: var(--ink); color: var(--bg);
    font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none;
  }
  .skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }

  /* ── NAV ── */
  header {
    position: sticky; top: 0; z-index: 50;
    background: var(--bg);
    border-bottom: 0.5px solid var(--border);
  }
  nav {
    max-width: 1100px; margin: 0 auto;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px;
  }
  .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink2); text-decoration: none; transition: color 0.2s;
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--ink); }

  /* ── PAGES ── */
  .page { display: none; }
  .page.active { display: block; }

  /* ── HERO ── */
  .hero {
    max-width: 1100px; margin: 0 auto;
    padding: 5rem 2rem 3rem;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 1rem;
  }
  .hero-eyebrow {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink3);
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 300; line-height: 1.05;
    letter-spacing: -0.01em;
  }
  .hero-title em { font-style: italic; }
  .hero-line {
    width: 40px; height: 0.5px;
    background: var(--ink3); margin: 0.5rem 0;
  }
  .hero-sub {
    font-size: 14px; color: var(--ink2); line-height: 1.6; max-width: 380px;
  }

  /* ── FILTERS ── */
  .filters-bar {
    max-width: 1100px; margin: 0 auto;
    padding: 0 2rem 2rem;
    display: flex; gap: 0.5rem; flex-wrap: wrap;
  }
  .filter-btn {
    font-family: 'Jost', sans-serif;
    font-size: 11px; font-weight: 400;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 7px 18px;
    border: 0.5px solid var(--border2);
    border-radius: 999px;
    background: transparent; color: var(--ink2);
    cursor: pointer; transition: all 0.2s;
  }
  .filter-btn:hover { color: var(--ink); border-color: var(--ink); }
  .filter-btn:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }
  .filter-btn.active {
    background: var(--ink); color: var(--bg);
    border-color: var(--ink);
  }
  .filter-count {
    max-width: 1100px; margin: -1rem auto 1.5rem;
    padding: 0 2rem;
    font-size: 12px; letter-spacing: 0.06em;
    color: var(--ink3); text-transform: uppercase;
  }
  .gallery-empty {
    max-width: 1100px; margin: 0 auto 5rem;
    padding: 3rem 2rem;
    text-align: center;
    border: 0.5px solid var(--border);
    background: var(--surface);
  }
  .gallery-empty[hidden] { display: none; }
  .gallery-empty-text {
    font-size: 15px; color: var(--ink2);
    margin-bottom: 1.25rem;
  }
  .gallery-grid[hidden] { display: none; }

  /* ── GALLERY GRID ── */
  .gallery-grid {
    max-width: 1100px; margin: 0 auto;
    padding: 0 2rem 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem 1.5rem;
  }
  .painting-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .painting-card:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
  .painting-card.hidden { display: none; }

  /* ════ IMAGE ZONE ════
     Remplacez le SVG placeholder par une vraie <img> :
     <img src="chemin/vers/image.jpg" alt="Titre de l'œuvre" />
  */
  .painting-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--bg);
    border: 0.5px solid var(--border);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  .painting-card:hover .painting-img {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(28,27,25,0.10);
  }
  /* Vignettes : cadre 3/4 fixe — l'image ne peut plus dépasser la box */
  .painting-img img {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: 1;
  }
  .painting-img .placeholder-svg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
  }

  .painting-info {
    padding: 0.75rem 0 0;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }
  .painting-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px; font-weight: 400;
    margin-bottom: 3px;
  }
  .painting-meta {
    font-size: 11px; letter-spacing: 0.06em; color: var(--ink3);
    text-transform: uppercase;
  }

  /* ── LIGHTBOX ── */
  .lightbox-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(20, 19, 17, 0.82);
    align-items: center; justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(4px);
  }
  .lightbox-overlay.open { display: flex; }
  /* Panoramas : overlay plus serré pour maximiser l’image */
  .lightbox-overlay:has(.lightbox--panorama),
  .lightbox-overlay:has(.lightbox--panels-2) {
    padding: 0.5rem 0.75rem;
  }
  .lightbox {
    background: var(--surface);
    display: flex; gap: 0; max-width: 820px; width: 100%;
    height: min(90vh, calc(100dvh - 4rem));
    max-height: min(90vh, calc(100dvh - 4rem));
    min-height: 0;
    position: relative;
  }
  .lightbox-img {
    flex: 1 1 58%;
    min-width: 0;
    min-height: 0;
    position: relative;
    background: #e8e4dc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
    overflow: hidden;
  }
  /* L'image remplit la zone disponible sans dépasser */
  .lightbox-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .lightbox-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    cursor: zoom-in;
    text-decoration: none;
    color: inherit;
  }
  .lightbox-img-link:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 2px;
  }
  /* Diptyque (Marine…) — image large à gauche, texte à droite */
  .lightbox.lightbox--panels-2 {
    flex-direction: row;
    width: min(98vw, 1200px);
    max-width: min(98vw, 1200px);
    height: min(94vh, calc(100dvh - 1.5rem));
    max-height: min(94vh, calc(100dvh - 1.5rem));
  }
  .lightbox.lightbox--panels-2 .lightbox-img {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    padding: 0.5rem 0.625rem;
  }
  .lightbox.lightbox--panels-2 .lightbox-img img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  .lightbox.lightbox--panels-2 .lightbox-info {
    flex: 0 0 min(280px, 32%);
    min-height: 0;
    padding: 1.5rem 1.5rem 1.5rem 0.75rem;
    justify-content: flex-start;
    overflow-y: auto;
  }
  /* Panorama paysage (Bateaux…) — image en haut, texte compact en dessous */
  .lightbox.lightbox--panorama-wide {
    flex-direction: column;
    width: min(99vw, 1680px);
    max-width: min(99vw, 1680px);
    height: min(97vh, calc(100dvh - 1rem));
    max-height: min(97vh, calc(100dvh - 1rem));
  }
  .lightbox.lightbox--panorama-wide .lightbox-img {
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    padding: 0.25rem 0.375rem 0.125rem;
  }
  .lightbox.lightbox--panorama-wide .lightbox-img img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  .lightbox.lightbox--panorama-wide .lightbox-info {
    flex: 0 0 auto;
    padding: 0.625rem 1.5rem 0.875rem;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "cat counter"
      "title title"
      "year year"
      "details details"
      "btn btn";
    gap: 0.2rem 1rem;
    align-content: start;
  }
  /* Panorama portrait (Abstrait 8, 9…) — image à gauche, texte à droite */
  .lightbox.lightbox--panorama-tall {
    flex-direction: row;
    width: min(98vw, 960px);
    max-width: min(98vw, 960px);
    height: min(97vh, calc(100dvh - 1rem));
    max-height: min(97vh, calc(100dvh - 1rem));
  }
  .lightbox.lightbox--panorama-tall .lightbox-img {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    padding: 0.5rem 0.625rem;
  }
  .lightbox.lightbox--panorama-tall .lightbox-img img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  .lightbox.lightbox--panorama-tall .lightbox-info {
    flex: 0 0 min(260px, 34%);
    min-height: 0;
    padding: 1.5rem 1.5rem 1.5rem 0.75rem;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .lightbox.lightbox--panorama-wide .lb-eyebrow,
  .lightbox.lightbox--panorama-tall .lb-eyebrow {
    margin-bottom: 0.75rem;
  }
  .lightbox.lightbox--panorama-wide .lb-title,
  .lightbox.lightbox--panorama-tall .lb-title {
    font-size: 22px;
  }
  .lightbox.lightbox--panorama-wide .lb-eyebrow {
    grid-area: cat;
    margin-bottom: 0;
  }
  .lightbox.lightbox--panorama-wide .lb-title {
    grid-area: title;
    margin-bottom: 0;
  }
  .lightbox.lightbox--panorama-wide .lb-year {
    grid-area: year;
    margin-bottom: 0.35rem;
  }
  .lightbox.lightbox--panorama-wide .lb-counter {
    grid-area: counter;
    margin-bottom: 0;
    text-align: right;
    align-self: end;
  }
  .lightbox.lightbox--panorama-wide .lb-details {
    grid-area: details;
    margin-bottom: 0.5rem;
  }
  .lightbox.lightbox--panorama-wide .lb-row {
    padding: 7px 0;
  }
  .lightbox.lightbox--panorama-wide .lb-request-btn {
    grid-area: btn;
    justify-self: start;
  }
  .lightbox-img .placeholder-svg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .lightbox-info {
    flex: 1 1 42%;
    min-height: 0;
    padding: 2.5rem 2rem;
    display: flex; flex-direction: column; justify-content: center;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    background: var(--surface);
  }
  .lb-eyebrow {
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink3); margin-bottom: 0.75rem;
  }
  .lb-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 400; line-height: 1.15;
    margin-bottom: 0.25rem;
  }
  .lb-year {
    font-size: 13px; color: var(--ink3); margin-bottom: 0.75rem;
  }
  .lb-counter {
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink3); margin-bottom: 1.5rem;
  }
  .lb-open-hint {
    font-size: 11px; color: var(--ink3); margin: -1rem 0 1.25rem;
    letter-spacing: 0.02em;
  }
  .lb-details { border-top: 0.5px solid var(--border); margin-bottom: 1.5rem; }
  .lb-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0;
    border-bottom: 0.5px solid var(--border);
    font-size: 13px;
  }
  .lb-label { color: var(--ink2); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
  .lb-val { color: var(--ink); }
  .lightbox-close {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--surface); border: 0.5px solid var(--border2);
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 18px; color: var(--ink2);
    transition: all 0.2s; z-index: 10;
  }
  .lightbox-close:hover { color: var(--ink); border-color: var(--ink); }
  .lightbox-close:focus-visible,
  .lightbox-nav:focus-visible,
  .lb-request-btn:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }
  .lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 210;
    background: var(--surface); border: 0.5px solid var(--border2);
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 20px; color: var(--ink2);
    transition: all 0.2s;
  }
  .lightbox-nav:hover:not(:disabled) { color: var(--ink); border-color: var(--ink); }
  .lightbox-nav:disabled { opacity: 0.35; cursor: default; }
  .lightbox-nav--prev { left: max(0.5rem, calc(50% - 470px)); }
  .lightbox-nav--next { right: max(0.5rem, calc(50% - 470px)); }
  .lb-request-btn {
    width: 100%; padding: 12px;
    font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    background: transparent; color: var(--ink);
    border: 0.5px solid var(--border2);
    cursor: pointer; transition: all 0.2s;
  }
  .lb-request-btn:hover { border-color: var(--ink); background: var(--bg); }
  .lb-request-btn[hidden] { display: none; }

  /* ── BIO ── */
  .bio-wrap {
    max-width: 800px; margin: 0 auto;
    padding: 4rem 2rem 5rem;
  }
  .bio-eyebrow {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink3); margin-bottom: 2rem;
  }
  .bio-header {
    display: flex; gap: 2rem; align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 0.5px solid var(--border);
  }
  .bio-photo {
    flex: 0 0 140px; height: 180px;
    background: #e8e4dc;
    border: 0.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  /* Pour remplacer le placeholder, ajoutez une <img> dans .bio-photo */
  .bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .bio-name-block { padding-top: 0.5rem; }
  .bio-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; font-weight: 300; line-height: 1.1;
    margin-bottom: 0.5rem;
  }
  .bio-subtitle {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink3);
  }
  .bio-body p {
    font-size: 15px; line-height: 1.85; color: var(--ink2);
    margin-bottom: 1.25rem; max-width: 620px;
  }
  .bio-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    border: 0.5px solid var(--border);
    margin-top: 3rem;
  }
  .bio-stat {
    background: var(--surface);
    padding: 1.5rem 1rem; text-align: center;
  }
  .bio-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 300; display: block;
    margin-bottom: 4px;
  }
  .bio-stat-label {
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink3);
  }

  /* ── CONTACT ── */
  .contact-wrap {
    max-width: 600px; margin: 0 auto;
    padding: 4rem 2rem 5rem;
  }
  .contact-header { margin-bottom: 2.5rem; }
  .contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px; font-weight: 300; margin-bottom: 0.75rem;
  }
  .contact-title em { font-style: italic; font-family: 'Cormorant Garamond', serif; }
  .contact-desc {
    font-size: 14px; line-height: 1.75; color: var(--ink2);
  }
  .form-group { margin-bottom: 1.5rem; }
  label {
    display: block; font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink3);
    margin-bottom: 8px;
  }
  input[type=text], input[type=email], select, textarea {
    width: 100%; padding: 12px 16px;
    font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 300;
    background: var(--surface);
    border: 0.5px solid var(--border2);
    color: var(--ink);
    outline: none; transition: border-color 0.2s;
    -webkit-appearance: none; appearance: none;
  }
  input:focus, select:focus, textarea:focus { border-color: var(--ink); }
  textarea { height: 140px; resize: vertical; }
  select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6860' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
  .submit-btn {
    width: 100%; padding: 14px;
    font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 400;
    letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--ink); color: var(--bg);
    border: none; cursor: pointer; transition: opacity 0.2s;
  }
  .submit-btn:hover { opacity: 0.82; }
  .botcheck { display: none; }
  .submit-btn:disabled { opacity: 0.5; cursor: wait; }
  .success-msg {
    display: none; text-align: center; padding: 3rem 0;
    color: var(--ink2); font-size: 15px; line-height: 1.7;
  }
  .success-check {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px; display: block; margin-bottom: 1rem; color: var(--ink3);
  }
  .form-group--consent { margin-bottom: 1rem; }
  .consent-label {
    display: flex; gap: 0.75rem; align-items: flex-start;
    font-size: 13px; line-height: 1.6; color: var(--ink2);
    text-transform: none; letter-spacing: 0; font-weight: 300;
    cursor: pointer;
  }
  .consent-label input[type=checkbox] {
    flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px;
    accent-color: var(--ink); cursor: pointer;
  }
  .consent-label a { color: var(--ink); }
  .form-legal-hint {
    font-size: 12px; line-height: 1.65; color: var(--ink3);
    margin-bottom: 1.5rem;
  }
  .form-error {
    font-size: 13px; line-height: 1.5; color: #8b3a3a;
    margin-bottom: 1rem; padding: 0.75rem 1rem;
    border: 0.5px solid rgba(139, 58, 58, 0.25);
    background: rgba(139, 58, 58, 0.05);
  }
  .form-error[hidden] { display: none; }

  /* ── PAGES LÉGALES ── */
  .legal-wrap {
    max-width: 680px; margin: 0 auto;
    padding: 4rem 2rem 5rem;
  }
  .legal-eyebrow {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink3); margin-bottom: 1.5rem;
  }
  .legal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 300; line-height: 1.1;
    margin-bottom: 0.5rem;
  }
  .legal-updated {
    font-size: 12px; color: var(--ink3); margin-bottom: 2.5rem;
  }
  .legal-body section { margin-bottom: 2rem; }
  .legal-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px; font-weight: 400;
    margin-bottom: 0.75rem; color: var(--ink);
  }
  .legal-body p,
  .legal-body li {
    font-size: 14px; line-height: 1.75; color: var(--ink2);
    margin-bottom: 0.75rem;
  }
  .legal-body ul {
    padding-left: 1.25rem; margin-bottom: 0.75rem;
  }
  .legal-body a { color: var(--ink); }

  /* ── MUSIQUE DE FOND ── */
  .music-toggle {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 220;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    background: var(--surface);
    border: 0.5px solid var(--border2);
    color: var(--ink2);
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  .music-toggle:hover {
    color: var(--ink);
    border-color: var(--ink);
  }
  .music-toggle:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }
  .music-toggle[aria-pressed="true"] {
    color: var(--ink);
    border-color: var(--ink);
    background: #f0ece4;
  }
  .music-toggle-icon {
    font-size: 14px;
    line-height: 1;
  }
  .music-toggle[aria-pressed="false"] .music-toggle-icon {
    opacity: 0.45;
  }
  .music-toggle-text {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
  }
  .music-toggle-state {
    font-weight: 500;
    letter-spacing: 0.12em;
    min-width: 1.6em;
  }
  .music-toggle[aria-pressed="false"] .music-toggle-state {
    color: var(--ink3);
  }
  .music-toggle[aria-pressed="true"] .music-toggle-state {
    color: var(--ink);
  }

  /* ── FOOTER ── */
  footer {
    border-top: 0.5px solid var(--border);
    text-align: center; padding: 2rem;
    font-size: 11px; letter-spacing: 0.08em; color: var(--ink3);
  }
  .footer-links {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 0.5rem 0.75rem; margin-bottom: 1rem;
  }
  .footer-links a {
    color: var(--ink2); text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.08em;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--ink); }
  .footer-sep { color: var(--ink3); }
  .footer-copy {
    text-transform: uppercase; letter-spacing: 0.08em;
    margin: 0;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 720px) {
    .lightbox,
    .lightbox.lightbox--panels-2,
    .lightbox.lightbox--panorama-wide,
    .lightbox.lightbox--panorama-tall {
      flex-direction: column;
      width: 100%;
      max-width: 100%;
      height: min(95vh, calc(100dvh - 1.5rem));
      max-height: min(95vh, calc(100dvh - 1.5rem));
      overflow: hidden;
    }
    .lightbox-img {
      flex: 1 1 auto;
      width: 100%;
      min-height: 0;
      max-height: min(58vh, calc(100dvh - 13rem));
      padding: 0.75rem;
      overflow: hidden;
    }
    .lightbox-info {
      flex: 0 0 auto;
      justify-content: flex-start;
      background: var(--surface);
      z-index: 2;
    }
    .lightbox-img img,
    .lightbox-img-link img {
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    .lightbox.lightbox--panels-2 .lightbox-img,
    .lightbox.lightbox--panorama-wide .lightbox-img,
    .lightbox.lightbox--panorama-tall .lightbox-img {
      flex: 1 1 auto;
      min-height: 0;
      max-height: min(58vh, calc(100dvh - 13rem));
      padding: 0.375rem;
    }
    .lightbox.lightbox--panels-2 .lightbox-info,
    .lightbox.lightbox--panorama-tall .lightbox-info {
      flex: 0 0 auto;
      padding: 0.75rem 1rem 1rem;
    }
    .lightbox.lightbox--panorama-wide .lightbox-info {
      padding: 0.5rem 1rem 0.75rem;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-areas:
        "cat"
        "title"
        "year"
        "counter"
        "details"
        "btn";
    }
    .lightbox.lightbox--panorama-wide .lb-counter {
      text-align: left;
    }
    .lightbox.lightbox--panorama-tall .lightbox-img img {
      width: 100%;
      height: auto;
      max-height: 100%;
    }
    .lightbox.lightbox--panels-2 .lightbox-img img {
      width: 100%;
      height: auto;
      max-height: 100%;
    }
    .bio-header { flex-direction: column; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .lightbox-nav { width: 36px; height: 36px; font-size: 16px; }
    .lightbox-nav--prev { left: 0.5rem; }
    .lightbox-nav--next { right: 0.5rem; }
    .music-toggle {
      bottom: 0.75rem;
      right: 0.75rem;
      padding: 0.5rem 0.7rem;
    }
    .music-toggle-label { display: none; }
  }
