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


:root {
  --cream: #f5f0e8;
  --linen: #ede6d8;
  --sand:  #d6c9b4;
  --terra: #c47060;
  --ink:   #1a1714;
  --muted: #7a6f65;
  --blue:  #4f86c6;
}


html { scroll-behavior: smooth; }
body { font-family: 'Inconsolata', monospace; background: var(--cream); color: var(--ink); overflow-x: hidden; }



/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */


#hero {
  position: relative;
  width: 100%; height: 100vh;
  overflow: hidden;
  background: #0d0b0a;
}


#hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

/* Mute toggle button */
#hero-mute-btn {
  position: absolute;
  bottom: 48px; left: 56px;
  z-index: 3;
  background: rgba(13,11,10,0.35);
  border: 1px solid rgba(245,240,232,0.18);
  border-radius: 2px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s, border-color 0.3s, background 0.3s;
}
#hero-mute-btn:hover {
  opacity: 1;
  border-color: rgba(196,112,96,0.6);
  background: rgba(196,112,96,0.15);
}
#hero-mute-btn svg {
  width: 14px; height: 14px;
  stroke: #f5f0e8;
}


#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px;
  animation: grain 0.5s steps(1) infinite;
}


@keyframes grain {
  0%  { background-position: 0% 0%; }
  20% { background-position: -15% 5%; }
  40% { background-position: 20% 25%; }
  60% { background-position: 15% 5%; }
  80% { background-position: 25% 35%; }
}


#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(13,11,10,0.10) 0%,
    rgba(13,11,10,0.02) 35%,
    rgba(13,11,10,0.55) 78%,
    rgba(13,11,10,0.93) 100%);
}


.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 56px 56px;
}


.hero-title-block {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 40px;
}


.hero-title-label {
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem; color: var(--terra);
  letter-spacing: 0.22em; text-transform: uppercase;
}


.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  font-weight: 300; font-style: italic;
  color: #f5f0e8; line-height: 0.95;
}


.hero-subtitle {
  font-family: 'Inconsolata', monospace;
  font-size: 0.72rem; color: rgba(245,240,232,0.38);
  letter-spacing: 0.18em; margin-top: 6px;
}


/* hero-bottom / discover-btn removed — scroll arrow is the sole CTA */



/* ═══════════════════════════════════
   PROJECTS
═══════════════════════════════════ */


#projects-section {
  position: relative; min-height: 100vh;
  background: var(--cream); overflow: hidden;
}


.projects-bg-img {
  position: absolute; right: -4%; top: 0;
  width: 52%; height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(0.88);
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1);
  z-index: 0; pointer-events: none;
}


.projects-bg-img.active { opacity: 0.70; }


#projects-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    var(--cream) 0%, var(--cream) 28%,
    rgba(245,240,232,0.60) 48%,
    rgba(245,240,232,0.05) 100%);
  pointer-events: none;
}


.projects-inner {
  position: relative; z-index: 2;
  width: 60%;
  padding: 0 48px 100px;
}


.projects-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 52px 0 0; margin-bottom: 44px;
}


.projects-section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem; font-weight: 400; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase; padding-top: 4px;
}


.filters-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }


.filter-label {
  font-family: 'Inconsolata', monospace;
  font-size: 0.60rem; color: var(--sand);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 3px;
}


.filter-btn {
  background: none; border: none;
  font-family: 'Inconsolata', monospace;
  font-size: 0.73rem; color: var(--muted);
  letter-spacing: 0.08em; cursor: pointer; padding: 2px 0;
  text-align: right; transition: color 0.25s; position: relative;
}


.filter-btn::after {
  content: '';
  position: absolute; right: 0; bottom: 0;
  width: 0; height: 1px; background: var(--terra);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}


.filter-btn:hover, .filter-btn.active { color: var(--ink); }
.filter-btn.active::after { width: 100%; }
.filter-btn:hover::after  { width: 55%; }


.project-list { list-style: none; }


.project-item {
  position: relative;
  border-top: 1px solid rgba(214,201,180,0.55);
  padding: 26px 0; cursor: pointer;
  display: grid; grid-template-columns: 88px 1fr 190px;
  gap: 0 32px; align-items: center;
  transition: background 0.35s ease, padding 0.35s ease, margin 0.35s ease;
}


.project-item:last-child { border-bottom: 1px solid rgba(214,201,180,0.55); }
.project-item.is-hidden  { display: none; }


.project-item:hover {
  background: rgba(196,112,96,0.04);
  padding-left: 16px; padding-right: 16px;
  margin: 0 -16px;
}


.project-meta { display: flex; flex-direction: column; gap: 5px; }


.project-cat {
  font-family: 'Inconsolata', monospace;
  font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terra);
}


.project-cat.blue { color: var(--blue); }


.project-year {
  font-family: 'Inconsolata', monospace;
  font-size: 0.65rem; color: var(--sand); letter-spacing: 0.1em;
}


.project-content { min-width: 0; }


.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400; font-style: italic; color: var(--ink);
  line-height: 1.0; letter-spacing: -0.01em;
  margin-bottom: 9px; transition: color 0.3s;
}


.project-item:hover .project-title { color: var(--terra); }
.project-item.scroll-active .project-title { color: var(--terra); }


.project-item.scroll-active {
  background: rgba(196,112,96,0.04);
  padding-left: 16px; padding-right: 16px;
  margin: 0 -16px;
}


.project-item.scroll-active .project-thumb {
  opacity: 1;
  filter: grayscale(0%) saturate(1.05);
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(196,112,96,0.26), 0 2px 8px rgba(0,0,0,0.13);
}


.project-desc {
  font-family: 'Inconsolata', monospace;
  font-size: 0.76rem; color: var(--muted);
  line-height: 1.65; letter-spacing: 0.02em;
}


.project-thumb {
  width: 190px; height: 128px;
  object-fit: cover; display: block;
  opacity: 0.72;
  filter: grayscale(10%) saturate(0.9);
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  transition: opacity 0.4s, filter 0.4s, transform 0.4s, box-shadow 0.4s;
}


.project-item:hover .project-thumb {
  opacity: 1;
  filter: grayscale(0%) saturate(1.05);
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(196,112,96,0.26), 0 2px 8px rgba(0,0,0,0.13);
}



/* ═══════════════════════════════════
   STICKY PILL
═══════════════════════════════════ */


#about-pill {
  position: fixed; bottom: 36px; right: 36px; z-index: 90;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 22px 16px 16px;
  background: var(--cream);
  border: 1px solid rgba(214,201,180,0.7);
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16,1,0.3,1), transform 0.45s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s, background 0.3s, box-shadow 0.3s;
}


#about-pill.visible { opacity: 1; transform: translateY(0); pointer-events: all; }


#about-pill:hover {
  border-color: rgba(196,112,96,0.55); background: #fff;
  box-shadow: 0 12px 40px rgba(196,112,96,0.14), 0 2px 10px rgba(0,0,0,0.07);
}


#about-pill:hover .pbl-name { color: var(--terra); }
#about-pill:hover .pbl-arrow { opacity: 1; transform: translateY(4px); }


.pbl-portrait {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--sand), var(--terra));
  flex-shrink: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
}


.pbl-portrait img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pbl-portrait span { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-style: italic; color: rgba(255,255,255,0.7); z-index: 1; }


.pbl-info { display: flex; flex-direction: column; gap: 2px; }


.pbl-eyebrow {
  font-family: 'Inconsolata', monospace;
  font-size: 0.62rem; color: var(--terra); letter-spacing: 0.22em; text-transform: uppercase;
}


.pbl-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-style: italic; font-weight: 400;
  color: var(--ink); transition: color 0.3s;
}


.pbl-arrow {
  width: 17px; height: 17px; stroke: var(--terra);
  opacity: 0.5; margin-left: 4px; flex-shrink: 0;
  transition: opacity 0.3s, transform 0.35s;
}



/* ═══════════════════════════════════
   BIOGRAPHY
═══════════════════════════════════ */


#biography {
  background: linear-gradient(135deg, #e8e0d4 0%, #ede6d8 50%, #e0d8cc 100%);
  padding: 96px 56px; position: relative;
}


#biography::before {
  content: '';
  position: absolute; top: 0; left: 56px; right: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sand), transparent);
}


.bio-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }


.bio-eyebrow {
  font-family: 'Inconsolata', monospace;
  font-size: 0.65rem; color: var(--terra); letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}


.bio-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terra); display: inline-block; }


.bio-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 300; font-style: italic;
  color: var(--ink); line-height: 1.1; margin-bottom: 28px;
}


.bio-body p { font-family: 'Inconsolata', monospace; font-size: 0.82rem; color: #4a4038; line-height: 1.95; letter-spacing: 0.02em; margin-bottom: 14px; }


.bio-contact {
  margin-top: 36px; border: 1px solid rgba(196,112,96,0.25);
  padding: 22px 24px; background: rgba(255,255,255,0.22); position: relative;
}


.bio-contact::before { content: ''; position: absolute; top: -1px; left: -1px; width: 22px; height: 22px; border-top: 1.5px solid var(--terra); border-left: 1.5px solid var(--terra); }


.bio-contact-label { font-family: 'Inconsolata', monospace; font-size: 0.65rem; color: var(--terra); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }


.bio-actions { display: flex; flex-wrap: wrap; gap: 8px; }


.bio-btn { font-family: 'Inconsolata', monospace; font-size: 0.73rem; color: var(--muted); border: 1px solid rgba(214,201,180,0.7); padding: 8px 16px; background: none; cursor: pointer; letter-spacing: 0.06em; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: all 0.3s; }
.bio-btn:hover, .bio-btn--primary { border-color: var(--terra); color: var(--terra); }
.bio-btn--primary { background: rgba(196,112,96,0.06); }


.bio-img-col { position: relative; }
.bio-img-col::before { content: ''; position: absolute; bottom: -12px; right: -12px; width: 55%; height: 55%; border: 1px solid rgba(196,112,96,0.2); z-index: -1; }


.bio-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--linen);
}


.bio-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 0.3s;
}


.bio-img-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.30) 0%, transparent 50%);
  pointer-events: none;
}


.bio-img-frame img[src]:not([src=""]) + .bio-img-placeholder { display: none; }


.bio-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #d9cfbf, #c5b9a8); display: flex; align-items: center; justify-content: center; }
.bio-img-placeholder span { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.4); letter-spacing: 0.2em; text-transform: uppercase; }


.bio-gallery-thumbs {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 8px;
  width: 100%;
  overflow: hidden;
}

.bio-gallery-arrow {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(214,201,180,0.5);
  width: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.bio-gallery-arrow:hover { border-color: var(--terra); color: var(--terra); }
.bio-gallery-arrow svg { width: 12px; height: 12px; stroke: currentColor; flex-shrink: 0; }

.bio-gallery-thumbs-track {
  display: flex;
  gap: 4px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.bio-gallery-thumbs .bio-thumb {
  flex: 1 1 0;
  min-width: 0;
  height: 38px;
  object-fit: cover; cursor: pointer;
  opacity: 0.4; border: 1px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}

.bio-gallery-thumbs .bio-thumb.active,
.bio-gallery-thumbs .bio-thumb:hover {
  opacity: 1; border-color: var(--terra);
}



/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */


footer { background: var(--cream); border-top: 1px solid rgba(214,201,180,0.5); padding: 22px 56px; display: flex; align-items: center; justify-content: space-between; }
footer span { font-family: 'Inconsolata', monospace; font-size: 0.70rem; color: var(--muted); letter-spacing: 0.1em; }



/* ═══════════════════════════════════
   MODAL
═══════════════════════════════════ */


#modal-overlay {
  position: fixed; inset: 0;
  background: rgba(13,11,10,0);
  backdrop-filter: blur(0px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  pointer-events: none;
  transition: background 0.45s, backdrop-filter 0.45s;
}


#modal-overlay.open {
  background: rgba(13,11,10,0.88);
  backdrop-filter: blur(12px);
  pointer-events: all;
}


#modal {
  background: var(--cream);
  width: min(1080px, 96%);
  max-height: 90vh;
  height: auto;                  /* ← plus de hauteur fixe, le contenu décide */
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15), 0 20px 60px rgba(0,0,0,0.3);
}


#modal-overlay.open #modal { opacity: 1; transform: translateY(0) scale(1); }


#modal-close {
  position: absolute; top: 16px; right: 18px; z-index: 20;
  background: rgba(13,11,10,0.45);
  border: 1px solid rgba(245,240,232,0.2);
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem; letter-spacing: 0.12em;
  color: rgba(245,240,232,0.7);
  padding: 5px 13px; cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}


#modal-close:hover {
  background: rgba(196,112,96,0.7);
  border-color: var(--terra);
  color: #fff;
}


/* ── Colonne gauche : image ── */
.modal-left {
  display: flex;
  flex-direction: column;
  background: #0d0b0a;
}


.modal-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 190 / 128;      /* ← même ratio que les vignettes de la liste */
  flex: none;
  overflow: hidden;
  background: #0d0b0a;
}


#modal-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.22s ease;
}


/* Galerie thumbnails sous l'image */
.modal-gallery-nav {
  display: flex; gap: 4px;
  padding: 8px 12px;
  background: #0d0b0a;
  flex-shrink: 0;
  flex-wrap: wrap;
}


.modal-thumb {
  width: 52px; height: 38px;
  object-fit: cover; opacity: 0.35;
  cursor: pointer; transition: opacity 0.2s;
  border: 1px solid transparent;
}


.modal-thumb.active,
.modal-thumb:hover { opacity: 1; border-color: var(--terra); }


.modal-arrow {
  position: absolute; top: 50%; z-index: 3;
  background: rgba(13,11,10,0.38);
  border: none;
  border-top: 1.5px solid rgba(245,240,232,0.55);
  border-right: 1.5px solid rgba(245,240,232,0.55);
  width: 13px; height: 13px;
  cursor: pointer; transition: border-color 0.25s, background 0.25s;
}


#modal-prev { left: 16px;  transform: translateY(-50%) rotate(-135deg); }
#modal-next { right: 16px; left: auto; transform: translateY(-50%) rotate(45deg); }
#modal-prev:hover, #modal-next:hover {
  border-color: var(--terra);
  background: rgba(196,112,96,0.25);
}


/* ── Colonne droite : infos ── */
.modal-right {
  display: flex; flex-direction: column;
  padding: 36px 32px 32px;
  overflow-y: auto; scrollbar-width: none;
  max-height: 90vh;              /* scroll interne si synopsis long */
  background: linear-gradient(160deg, var(--cream) 0%, var(--linen) 100%);
  border-left: 1px solid rgba(214,201,180,0.5);
  gap: 0;
}


.modal-right::-webkit-scrollbar { display: none; }


.modal-header-info {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(214,201,180,0.5);
}


.modal-role-block { display: flex; flex-direction: column; gap: 5px; }


.modal-role-label {
  font-family: 'Inconsolata', monospace;
  font-size: 0.58rem; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase;
}


.modal-role-value {
  font-family: 'Inconsolata', monospace;
  font-size: 0.82rem; color: var(--terra);
  letter-spacing: 0.08em; font-weight: 700;
  text-transform: lowercase;
}


.modal-year-block { text-align: right; }


.modal-year-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300; font-style: italic;
  color: var(--sand); line-height: 1;
}


.modal-year-lang {
  font-family: 'Inconsolata', monospace;
  font-size: 0.60rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 3px;
}


.modal-cat {
  font-family: 'Inconsolata', monospace;
  font-size: 0.60rem; color: var(--terra);
  letter-spacing: 0.22em; text-transform: uppercase;
  display: block; margin-bottom: 6px;
}


.modal-cat.blue { color: var(--blue); }


#modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 300; font-style: italic;
  color: var(--ink); line-height: 1.05;
  margin-bottom: 20px;
}


.modal-meta {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 22px;
}


.modal-badge {
  font-family: 'Inconsolata', monospace;
  font-size: 0.64rem;
  border: 1px solid rgba(214,201,180,0.65);
  padding: 4px 10px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: lowercase;
  background: rgba(255,255,255,0.3);
}


.modal-badge.rose  { border-color: rgba(196,112,96,0.4); color: var(--terra); background: rgba(196,112,96,0.06); }
.modal-badge.terra { border-color: rgba(196,112,96,0.3); color: var(--terra); background: rgba(196,112,96,0.04); }
.modal-badge.muted { color: var(--sand); }


#modal-synopsis {
  font-family: 'Inconsolata', monospace;
  font-size: 0.79rem; color: #4a4038;
  line-height: 1.85; letter-spacing: 0.02em;
  margin-bottom: 24px;
  border-left: 1.5px solid rgba(196,112,96,0.22);
  padding-left: 14px;
}


.modal-info-block {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid rgba(214,201,180,0.5);
  position: relative;
}


.modal-info-block::before {
  content: '';
  position: absolute; top: -1px; left: -1px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--terra);
  border-left: 1.5px solid var(--terra);
}


.modal-info-row {
  display: flex; align-items: baseline; gap: 10px;
}


.modal-info-label {
  font-family: 'Inconsolata', monospace;
  font-size: 0.58rem; color: var(--sand);
  letter-spacing: 0.18em; text-transform: uppercase;
  flex-shrink: 0; min-width: 72px;
}


.modal-info-value {
  font-family: 'Inconsolata', monospace;
  font-size: 0.76rem; color: var(--ink);
  letter-spacing: 0.04em;
}



/* ═══════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════ */


[data-fade] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1) var(--delay, 0ms),
              transform 0.7s cubic-bezier(0.16,1,0.3,1) var(--delay, 0ms);
}


[data-fade].visible {
  opacity: 1;
  transform: translateY(0);
}



/* ═══════════════════════════════════
   FILTER
═══════════════════════════════════ */


.project-item.is-hidden { display: none; }



/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */


@media (max-width: 1000px) {
  /* ── Hero ── */
  .hero-content { padding: 0 28px 40px; }
  #hero-mute-btn { bottom: 48px; left: auto; right: 28px; }

  /* ── Projects ── */
  .projects-inner { width: 100%; padding: 0 24px 80px; }

  /* Image de fond réactivée sur mobile */
  .projects-bg-img {
    display: block;
    right: 0; top: 0;
    width: 100%; height: 100%;
    filter: blur(14px) saturate(0.75);
  }

  /* Dégradé vertical pour lisibilité sur mobile */
  #projects-section::before {
    background: linear-gradient(to bottom,
      rgba(245,240,232,0.92) 0%,
      rgba(245,240,232,0.80) 50%,
      rgba(245,240,232,0.92) 100%);
  }

  /* Grille : meta à gauche, contenu + thumb à droite */
  .project-item {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    gap: 0 20px;
    align-items: start;
  }

  .project-meta {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 4px;
  }

  .project-content {
    grid-column: 2;
    grid-row: 1;
  }

  .project-thumb {
    display: block;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 110px;
    margin-top: 12px;
  }

  /* ── Biography ── */
  .bio-inner { grid-template-columns: 1fr; gap: 48px; }
  #biography { padding: 64px 24px; }

  /* ── Footer ── */
  footer { padding: 20px 24px; }

  /* ── Modal ── */
  #modal { grid-template-columns: 1fr; height: auto; max-height: 95vh; overflow-y: auto; }
  .modal-left { height: auto; }
  .modal-img-wrap {
    aspect-ratio: 190 / 128;
    flex: none;
  }
  #modal-img { position: absolute; }
  .modal-right { padding: 24px 20px 28px; border-left: none; border-top: 1px solid rgba(214,201,180,0.5); max-height: none; }

  /* ── Pill ── */
  #about-pill { bottom: 20px; right: 20px; }
}
