/* ===========================================================
   Michel Phelippeau — Peintre
   Version 9/10 — Galerie d'art internationale
   Palette : lin / charbon / sienne / olive
=========================================================== */

:root {
  --lin:      #F8F4EE;
  --charbon:  #18161399;
  --charbon-full: #181613;
  --sienne:   #A0522D;
  --sienne-light: #C8763A;
  --olive:    #6B7A5F;
  --beige:    #E4D9C8;
  --blanc:    #FFFFFF;
  --noir:     #0D0C0A;

  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1440px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--lin);
  color: var(--charbon-full);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
img { display: block; max-width: 100%; }
button { cursor: none; }

/* ===========================================================
   CURSEUR PERSONNALISÉ
=========================================================== */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border: 2px solid var(--charbon-full);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              border-color 0.3s ease,
              background 0.3s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.85), 0 1px 4px rgba(0,0,0,0.35);
}

#cursor.hover {
  width: 40px; height: 40px;
  background: rgba(160,82,45,0.12);
  border-color: var(--sienne);
}

#cursor.clicking {
  width: 8px; height: 8px;
  background: var(--sienne);
}

/* ===========================================================
   PAGE FADE-IN
=========================================================== */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-transition {
  animation: pageFadeIn 0.8s var(--ease-out-expo) both;
}

/* ===========================================================
   HEADER / NAV
=========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 56px;
  background: rgba(248,244,238,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige);
  transition: padding 0.4s var(--ease-out-expo);
}


.site-header.scrolled {
  padding: 14px 56px;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--charbon-full);
  transition: opacity 0.25s ease;
}
.site-title:hover { opacity: 0.65; }
.site-title .first { font-weight: 300; opacity: 0.6; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav.main-nav > a,
nav.main-nav .dropdown-toggle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charbon-full);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

nav.main-nav > a::after,
nav.main-nav .dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--sienne);
  transition: width 0.3s var(--ease-out-expo);
}

nav.main-nav > a:hover::after,
nav.main-nav > a.active::after,
nav.main-nav .dropdown-toggle:hover::after,
nav.main-nav .dropdown-toggle.active::after { width: 100%; }

nav.main-nav > a.active,
nav.main-nav .dropdown-toggle.active { color: var(--sienne); }

.nav-item-dropdown { position: relative; display: flex; align-items: center; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--beige);
}

.lang-switcher .lang-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.lang-switcher .lang-flag {
  width: 22px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.lang-switcher .lang-link:hover {
  color: var(--sienne);
  opacity: 1;
}

.lang-switcher .lang-link.lang-fr { color: #A0522D; }
.lang-switcher .lang-link.lang-en { color: #2F6690; }
.lang-switcher .lang-link.lang-de { color: #A68A3C; }
.lang-switcher .lang-link.lang-zh { color: #A63D40; }
.lang-switcher .lang-link.lang-ja { color: #5B5F97; }
.lang-switcher .lang-link.lang-ko { color: #3A7D63; }
.lang-switcher .lang-link.lang-current {
  opacity: 1;
  font-weight: 700;
  cursor: default;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-switcher .lang-link:hover { opacity: 1; filter: brightness(0.85); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(248,244,238,0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--beige);
  min-width: 190px;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out-expo);
  z-index: 50;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 11px 22px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.dropdown-menu a:hover { color: var(--sienne); padding-left: 28px; }
.dropdown-menu a.active { color: var(--sienne); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--charbon-full);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===========================================================
   HERO — DIAPORAMA
=========================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--noir);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-in-out);
  z-index: 0;
}

.hero-slideshow .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slideshow .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 3.2s var(--ease-out-expo);
  filter: brightness(0.88);
}

.hero-slideshow .slide.active img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13,12,10,0.08) 0%,
    rgba(13,12,10,0.38) 50%,
    rgba(13,12,10,0.72) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Nom du peintre */
.hero-name {
  position: absolute;
  bottom: 130px;
  left: 56px;
  z-index: 10;
}

@keyframes heroNameIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-name .prenom {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--lin);
  letter-spacing: 0.05em;
  line-height: 0.95;
  opacity: 0;
  animation: heroNameIn 1.2s var(--ease-out-expo) 0.3s forwards;
}

.hero-name .nom {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 8rem);
  font-weight: 500;
  color: var(--lin);
  letter-spacing: 0.02em;
  line-height: 0.95;
  opacity: 0;
  animation: heroNameIn 1.2s var(--ease-out-expo) 0.5s forwards;
}

.hero-name .trait {
  display: block;
  width: 0;
  height: 2px;
  background: var(--sienne);
  margin: 18px 0 14px;
  animation: traitExpand 1s var(--ease-out-expo) 0.9s forwards;
}

@keyframes traitExpand {
  from { width: 0; }
  to   { width: 80px; }
}

.hero-name .metier {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.7);
  opacity: 0;
  animation: heroNameIn 1s var(--ease-out-expo) 1.1s forwards;
}

/* Cartel de l'œuvre */
.hero-cartel {
  position: absolute;
  bottom: 40px;
  right: 56px;
  text-align: right;
  z-index: 10;
  opacity: 0;
  animation: heroNameIn 1s var(--ease-out-expo) 1.4s forwards;
}

.hero-cartel .titre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--lin);
  transition: opacity 0.4s ease;
}

.hero-cartel .detail {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.6);
  margin-top: 3px;
  transition: opacity 0.4s ease;
}

/* Indicateurs */
.slideshow-indicators {
  position: absolute;
  bottom: 44px;
  left: 56px;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.slideshow-indicators button {
  width: 24px; height: 2px;
  background: rgba(248,244,238,0.35);
  border: none;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.slideshow-indicators button.active {
  background: var(--lin);
  width: 40px;
}

/* Flèches navigation diaporama */
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
  pointer-events: none;
}

.slideshow-nav button {
  pointer-events: auto;
  background: rgba(248,244,238,0.12);
  border: 1px solid rgba(248,244,238,0.3);
  color: var(--lin);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(4px);
}
.slideshow-nav button:hover {
  background: rgba(248,244,238,0.25);
  border-color: rgba(248,244,238,0.6);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(248,244,238,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroNameIn 1s var(--ease-out-expo) 1.8s forwards;
}

.scroll-cue::after {
  content: '';
  width: 1px; height: 32px;
  background: rgba(248,244,238,0.5);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { transform: scaleY(0.3); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ===========================================================
   REVEAL AU SCROLL
=========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ===========================================================
   SECTIONS GÉNÉRIQUES
=========================================================== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 56px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienne);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  max-width: 760px;
  margin-bottom: 28px;
  line-height: 1.15;
}

.section-lede {
  font-size: 1.08rem;
  max-width: 640px;
  opacity: 0.82;
  line-height: 1.75;
}

/* Citation en italique */
.section-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--sienne);
  max-width: 720px;
  margin: 48px 0;
  line-height: 1.4;
  position: relative;
  padding-left: 28px;
}
.section-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 3px; height: calc(100% - 16px);
  background: var(--sienne);
  opacity: 0.4;
}

/* ===========================================================
   GALERIE
=========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 56px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--beige);
  cursor: none;
}

/* Blur-to-sharp au chargement */
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.95);
  transform: scale(1.04);
  transition: transform 0.8s var(--ease-out-expo),
              filter 0.6s ease;
}

.gallery-item img.loaded {
  filter: blur(0) brightness(1);
  transform: scale(1);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: blur(0) brightness(1.03);
}

.gallery-item .cartel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 20px 20px;
  background: linear-gradient(to top, rgba(13,12,10,0.82), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.gallery-item:hover .cartel {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item .cartel .titre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--lin);
}

.gallery-item .cartel .detail {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.65);
  margin-top: 4px;
}

.placeholder-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--olive);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px;
  border: 1px dashed var(--beige);
}

/* ===========================================================
   LIGHTBOX
=========================================================== */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13,12,10,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}

#lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: 88vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-inner img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.5s var(--ease-out-expo);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
}

#lightbox.open .lightbox-inner img {
  transform: scale(1);
}

.lightbox-cartel {
  text-align: center;
}

.lightbox-cartel .titre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--lin);
}

.lightbox-cartel .detail {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.5);
  margin-top: 6px;
}

#lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: rgba(248,244,238,0.6);
  font-size: 1.6rem;
  line-height: 1;
  transition: color 0.2s ease;
}
#lightbox-close:hover { color: var(--lin); }

#lightbox-prev,
#lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(248,244,238,0.08);
  border: 1px solid rgba(248,244,238,0.2);
  color: var(--lin);
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.25s ease;
}
#lightbox-prev { left: 24px; }
#lightbox-next { right: 24px; }
#lightbox-prev:hover,
#lightbox-next:hover { background: rgba(248,244,238,0.18); }

/* ===========================================================
   BIOGRAPHIE
=========================================================== */
.bio-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}

.bio-highlight {
  max-width: 640px;
  margin: 32px 0 56px;
  padding: 32px 36px;
  background: linear-gradient(135deg, rgba(160,82,45,0.06), rgba(107,122,95,0.06));
  border: 1px solid var(--beige);
  border-radius: 4px;
}
.bio-highlight p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--charbon-full);
}
.bio-highlight-lead {
  font-size: 1.25rem !important;
  font-weight: 500;
}
.bio-highlight-meta {
  font-family: var(--font-mono) !important;
  font-style: normal !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive) !important;
}
.bio-highlight-cta {
  font-family: var(--font-mono) !important;
  font-style: normal !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em;
  margin-bottom: 0 !important;
}
.bio-highlight-cta a {
  color: var(--sienne);
  border-bottom: 1px solid var(--sienne);
}

.bio-portrait {
  position: sticky;
  top: 130px;
}

.bio-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 8px;
  filter: blur(4px);
  transition: filter 0.5s ease;
}
.bio-portrait img.loaded { filter: blur(0); }

.bio-portrait .caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--olive);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bio-text p {
  margin-bottom: 22px;
  font-size: 1.02rem;
  max-width: 640px;
  line-height: 1.8;
}

.bio-text p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--sienne);
  line-height: 1.5;
}

.credentials-list { margin-top: 48px; border-top: 1px solid var(--beige); padding-top: 32px; }
.credentials-list dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin-top: 22px;
}
.credentials-list dd { font-size: 0.98rem; margin-top: 5px; }

/* Sections prix / expositions */
.bio-text h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 56px;
  margin-bottom: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--beige);
}

.bio-text ul {
  list-style: none;
  padding: 0;
}

.bio-text ul li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(228,217,200,0.5);
  font-size: 0.98rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
}

.bio-text ul li strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sienne);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* ===========================================================
   CONTACT
=========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 64px;
}

.contact-info dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin-top: 32px;
}
.contact-info dd { font-size: 1.05rem; margin-top: 7px; }
.contact-info dd a { transition: color 0.2s ease; }
.contact-info dd a:hover { color: var(--sienne); }

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

form.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin-bottom: 6px;
  display: block;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--beige);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charbon-full);
  transition: border-color 0.25s ease;
}

form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--sienne);
}

form.contact-form textarea { resize: vertical; min-height: 130px; }

form.contact-form button {
  align-self: flex-start;
  margin-top: 12px;
  background: var(--charbon-full);
  color: var(--lin);
  border: none;
  padding: 16px 36px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.3s ease, transform 0.2s ease;
}
form.contact-form button:hover {
  background: var(--sienne);
  transform: translateY(-2px);
}

/* ===========================================================
   FOOTER
=========================================================== */
footer.site-footer {
  border-top: 1px solid var(--beige);
  padding: 52px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--olive);
}

footer.site-footer .footer-links { display: flex; flex-wrap: wrap; row-gap: 14px; gap: 24px; }
footer.site-footer a:hover { color: var(--sienne); }

.footer-links a { display: inline-flex; align-items: center; gap: 9px; }
.footer-icon { width: 26px; height: 26px; flex-shrink: 0; object-fit: contain; border-radius: 4px; }

/* ===========================================================
   FOCUS VISIBLE
=========================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sienne);
  outline-offset: 3px;
}

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .bio-layout { grid-template-columns: 1fr; }
  .bio-portrait { position: static; max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 700px) {
  body { cursor: auto; }
  #cursor { display: none; }

  .site-header { padding: 20px 24px; }
  .site-header.scrolled { padding: 14px 24px; }

  nav.main-nav {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh; width: 270px;
    background: var(--lin);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px;
    gap: 24px;
    transition: right 0.4s var(--ease-out-expo);
    box-shadow: -12px 0 40px rgba(0,0,0,0.08);
  }
  nav.main-nav.open { right: 0; }
  .nav-toggle { display: flex; }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 16px;
    border-top: 1px solid var(--beige);
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: none;
    padding: 4px 0 0 16px;
    background: transparent;
    display: none;
    backdrop-filter: none;
  }
  .nav-item-dropdown.open .dropdown-menu { display: block; }

  .section { padding: 80px 24px; }
  .hero-name { left: 24px; bottom: 110px; }
  .hero-cartel { right: 24px; }
  .slideshow-indicators { left: 24px; }
  .slideshow-nav button { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }

  footer.site-footer {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 40px 24px;
  }

  #lightbox-prev { left: 8px; }
  #lightbox-next { right: 8px; }
}
