/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Romie';
  src: url('fonts/Romie-Regular-Italic.otf') format('opentype');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Romie';
  src: url('fonts/Romie-Regular-Italic.otf') format('opentype');
  font-weight: 300 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Romie';
  src: url('fonts/RomieTrial-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --cream: #FFFFFF;
  --black: #1A1A1A;
  --gray: #888888;
  --placeholder: #D8D0C6;
  --font-display: 'Romie', serif;
  --font-body: 'Inter', sans-serif;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --max-width: 1400px;
  --gutter: 4vw;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--cream);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
}

ul { list-style: none; }
address { font-style: normal; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), border 0.3s var(--ease);
  will-change: left, top;
}

.cursor.cursor--hover {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--black);
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  transition: transform 0.4s var(--ease);
  mix-blend-mode: multiply;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Romie', serif;
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ============================================================
   TOUCH DEVICES — disable custom cursor
   ============================================================ */
@media (pointer: coarse) {
  .cursor { display: none; }
  body { cursor: auto; }
  .newsletter-form input,
  .newsletter-form button,
  .photo-item { cursor: auto; }
  .burger { cursor: pointer; }
}

/* ============================================================
   BURGER MENU
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  transition: transform 0.35s var(--ease);
}

.burger.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.burger.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  text-align: center;
}

.nav-mobile.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--black);
}

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  padding: calc(var(--space-xl) + 5rem) var(--gutter) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   PROJECT LIST (HOME)
   ============================================================ */
.projects {
  padding: 0 var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project {
  padding-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.project-link {
  display: block;
}

.project-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: none;
  aspect-ratio: 3 / 1;
  background: var(--placeholder);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.project-image img {
  transition: transform 0.7s var(--ease);
}

.project-link:hover .project-image img {
  transform: scale(1.02);
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding-bottom: var(--space-md);
}

.project-category {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.project-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.2vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
}

.projects .project-title,
.projects .project-name {
  font-family: 'Romie', serif;
}

.project-name {
  font-family: var(--font-body);
  font-style: normal;
}

.project-theme {
  font-family: var(--font-display);
  font-style: italic;
}

.project-desc {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: #AAAAAA;
  max-width: 480px;
  margin: 0 auto;
}

.projects .project {
  margin-bottom: var(--space-lg);
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
[data-scroll] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.project-page {
  padding-top: calc(var(--space-xl) + 2rem);
}

.project-header {
  padding: var(--space-lg) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.project-year {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.project-title-large {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.04;
  max-width: 950px;
  margin-bottom: var(--space-md);
}

.project-title-large em {
  font-style: italic;
}

.project-title-large--resonances {
  max-width: none;
  font-size: clamp(2rem, 4vw, 4rem);
}

.project-intro {
  max-width: 520px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray);
  margin-left: auto;
}

.project-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: none;
  margin-bottom: var(--space-xl);
}

.full-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--placeholder);
}

.project-body {
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-text {
  padding: var(--space-xl) var(--gutter);
}

.project-text--flush-top {
  padding-top: 0;
}

.text-block {
  max-width: 520px;
}

.project-text--right .text-block {
  margin-left: auto;
}

.project-text--center .text-block {
  margin: 0 auto;
  text-align: center;
  max-width: 720px;
}

.text-block h3 {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.text-block p {
  font-size: 1rem;
  line-height: 1.85;
}

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
}

.project-text--center .pullquote--large {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 6.5rem);
  line-height: 1.04;
}

.project-image-block {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: none;
  margin-bottom: var(--space-xl);
}

.project-image-block > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--placeholder);
}

.project-image-block--specimen > img {
  aspect-ratio: 2400 / 1150;
  object-fit: contain;
  background: transparent;
}

.project-image-block--crop {
  height: 482px;
  overflow: hidden;
}

.project-image-block--crop > img {
  aspect-ratio: unset;
  height: 100%;
}

.project-image-block--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.project-image-block--content {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  padding: 0 var(--gutter);
}

.project-image-block--split img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--placeholder);
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.back-link,
.next-project {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

.back-link::after,
.next-project::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.35s var(--ease);
}

.back-link:hover::after,
.next-project:hover::after {
  width: 100%;
}

/* ============================================================
   INFOS PAGE
   ============================================================ */
.infos-page {
  padding-top: calc(var(--space-xl) + 2rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.infos-intro {
  padding: var(--space-lg) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}

.infos-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 300;
  line-height: 1;
  font-style: italic;
}

.infos-bio p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: var(--space-md);
  max-width: 580px;
}

.infos-bio em {
  font-style: italic;
  font-family: var(--font-display);
}

.infos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-xl) var(--gutter);
}

.infos-col-title {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.infos-col p,
.infos-col address,
.infos-col ul li {
  font-size: 0.875rem;
  line-height: 2.1;
}

.infos-col a {
  position: relative;
}

.infos-col a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.35s var(--ease);
}

.infos-col a:hover::after {
  width: 100%;
}

.infos-cv {
  padding: var(--space-lg) var(--gutter);
}

.infos-section-title {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.cv-list li {
  display: flex;
  gap: var(--space-lg);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  font-size: 0.9375rem;
}

.cv-year {
  color: var(--gray);
  min-width: 110px;
  flex-shrink: 0;
}

.cv-detail em {
  font-style: italic;
  font-family: var(--font-display);
}

.cv-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem var(--space-lg);
}

.cv-list--inline li {
  border: none;
  padding: 0;
  color: var(--gray);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin-top: 0;
  padding: var(--space-lg) var(--gutter) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto var(--space-xl);
}

.footer-label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.footer-col p,
.footer-col address,
.footer-social li {
  font-size: 0.875rem;
  line-height: 2.1;
}

.footer-col a {
  position: relative;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.35s var(--ease);
}

.footer-col a:hover::after {
  width: 100%;
}

.newsletter-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--black);
  padding-bottom: 0.25rem;
  margin-top: 0.25rem;
}

.newsletter-form input {
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--black);
  flex: 1;
  cursor: none;
}

.newsletter-form input::placeholder {
  color: var(--gray);
}

.newsletter-form button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: none;
  padding: 0 0 0 0.5rem;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-md);
  font-size: 0.6875rem;
  color: var(--gray);
  letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .project-info {
    grid-template-columns: 120px 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .project-info {
    gap: 0.375rem;
  }

  .infos-intro {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .infos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .project-image-block--split {
    grid-template-columns: 1fr;
  }

  .project-intro {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 6vw;
    --space-xl: 5rem;
  }

  .infos-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-nav {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .infos-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }
}

/* ============================================================
   SEE ALL LINK (HOME)
   ============================================================ */
.see-all-wrap {
  padding: 0 var(--gutter) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: right;
}

.see-all-link {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}

.see-all-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.35s var(--ease);
}

.see-all-link:hover::after {
  width: 100%;
}

/* ============================================================
   TRAVAUX PAGE
   ============================================================ */
.travaux-page {
  padding-top: calc(var(--space-xl) + 2rem);
}

.travaux-header {
  padding: var(--space-lg) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.travaux-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 300;
  font-style: italic;
}

.travaux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.travaux-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  background-color: var(--card-bg, var(--placeholder));
}

.travaux-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.55s ease;
}

.travaux-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.55s ease;
  text-align: center;
  color: var(--card-text, var(--black));
}

.travaux-card:hover .travaux-img {
  opacity: 0;
}

.travaux-card:hover .travaux-overlay {
  opacity: 1;
}

.travaux-card-cat {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.travaux-card-title {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.3vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  white-space: nowrap;
}

/* ============================================================
   PROJECT TWO-COLUMN LAYOUT
   ============================================================ */
.project-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 0 var(--gutter);
  margin: 0 auto var(--space-xl);
  max-width: var(--max-width);
}

.project-two-col__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--placeholder);
}

.project-two-col__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-two-col__text {
  padding: var(--space-md) 0 var(--space-md) var(--space-xl);
  position: sticky;
  top: calc(5rem + var(--space-md));
}

.project-two-col--reverse .project-two-col__img {
  order: 2;
}

.project-two-col--reverse .project-two-col__text {
  order: 1;
  padding: var(--space-md) var(--space-xl) var(--space-md) 0;
}

.project-details {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem var(--space-md);
  font-size: 0.875rem;
}

.project-details dt {
  color: var(--gray);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 0.15rem;
}

.project-details dd {
  line-height: 1.6;
}

.project-photo-credit {
  margin-top: var(--space-sm);
  font-size: 0.6875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   PROJECT CREDITS
   ============================================================ */
.project-credits {
  padding: var(--space-lg) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-credits h3 {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.credit-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  font-size: 0.875rem;
}

.credit-row:first-of-type {
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.credit-role {
  color: var(--gray);
}

/* ============================================================
   RESPONSIVE — NEW COMPONENTS
   ============================================================ */
@media (max-width: 900px) {
  .travaux-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-two-col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .project-two-col__text {
    padding: var(--space-md) 0 0;
    position: static;
  }

  .project-two-col--reverse .project-two-col__img,
  .project-two-col--reverse .project-two-col__text {
    order: unset;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .travaux-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PHOTO GALLERY PAGE
   ============================================================ */
.photo-page {
  padding-top: calc(var(--space-xl) + 2rem);
}

.photo-intro {
  padding: var(--space-lg) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.photo-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.photo-page-intro {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gray);
  line-height: 1.8;
}

.photo-grid {
  column-count: 3;
  column-gap: 3px;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 3px;
  cursor: none;
}

.photo-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  transition: box-shadow 0.4s ease;
}

.photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  color: transparent;
}

.photo-item:hover .photo-wrap {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.photo-item:hover .photo-wrap img {
  transform: scale(1.025);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 0.875rem 0.75rem;
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.6));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #F5EFE6;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.photo-item:hover .photo-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 88vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 88vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--cream);
  cursor: none;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.1em;
  padding: 1.25rem;
  transition: opacity 0.25s ease;
  opacity: 0.5;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 1.75rem;
  right: 2rem;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-info {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  gap: 2.5rem;
  opacity: 0.5;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE — PHOTO PAGE
   ============================================================ */
@media (max-width: 900px) {
  .photo-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .photo-grid {
    column-count: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 5rem;
    transform: none;
  }

  .lightbox-prev { left: 2rem; }
  .lightbox-next { right: 2rem; }
}

/* ============================================================
   PHOTO CATEGORY NAVIGATION
   ============================================================ */
.photo-cat-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0 var(--gutter) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.photo-cat-nav a {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  position: relative;
  transition: color 0.25s var(--ease);
}

.photo-cat-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.35s var(--ease);
}

.photo-cat-nav a:hover {
  color: var(--black);
}

.photo-cat-nav a:hover::after {
  width: 100%;
}

.photo-cat-sep {
  color: var(--gray);
  font-size: 0.6875rem;
  opacity: 0.5;
  user-select: none;
}

/* ============================================================
   PHOTO CATEGORY SECTIONS
   ============================================================ */
.photo-section {
  padding: var(--space-xl) 0;
}

.photo-section + .photo-section {
  border-top: 1px solid rgba(26, 26, 26, 0.07);
}

.photo-section-header {
  text-align: center;
  padding: 0 var(--gutter) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.photo-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.625rem;
}

.photo-section-desc {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #AAAAAA;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .photo-section {
    padding: var(--space-lg) 0;
  }
}

@media (max-width: 480px) {
  .photo-cat-nav {
    flex-wrap: wrap;
    gap: 0.875rem;
  }

  .photo-cat-sep {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE ADDITIONS (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Burger visible, nav desktop cachée */
  .burger { display: flex; }
  .nav-links { display: none; }

  /* Intro home : texte pleine largeur */
  .intro-text {
    max-width: 100%;
    font-size: 0.9rem;
  }

  /* CV : années et détail empilés */
  .cv-list li {
    flex-direction: column;
    gap: 0.25rem;
  }
  .cv-year { min-width: unset; }

  /* Footer bas : empilé et centré */
  .footer-bottom {
    flex-direction: column;
    gap: 0.375rem;
    align-items: center;
    text-align: center;
  }

  /* Project page — meta */
  .project-meta {
    flex-direction: column;
    gap: 0.25rem;
  }

  /* Project page — two-col padding reset */
  .project-two-col__text {
    padding: var(--space-md) 0 0;
  }
}

/* ============================================================
   RESPONSIVE — TABLET ADDITIONS (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Assure que les images en bleed ne débordent jamais */
  .project-image,
  .project-hero,
  .project-image-block {
    max-width: 100vw;
    overflow: hidden;
  }

  /* Photo grid : centrage de la nav catégories */
  .photo-cat-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
