/* ============================================
   LOUIS DUROT STUDIO — Global Stylesheet
   Aesthetic: Museum Contemporary / White Cube
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --white: #FAFAFA;
  --off-white: #F0EEEB;
  --black: #0A0A0A;
  --gray-900: #1A1A1A;
  --gray-700: #3D3D3D;
  --gray-500: #6B6B6B;
  --gray-300: #B0B0B0;
  --gray-100: #E8E8E8;
  --accent: #0038FF;
  --accent-hover: #002BD4;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --max-width: 1400px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- Utilities ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: transform 0.3s ease;
}

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

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-700);
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

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

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a { font-size: 1rem; }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px var(--gutter) 80px;
  position: relative;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
}

.hero-image {
  max-width: 500px;
  width: 60%;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

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

.hero .scroll-cue {
  position: absolute;
  bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---- Section Titles ---- */
.section-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  display: block;
}

/* ---- Works / Gallery Grid ---- */
.works-section {
  padding: 0 0 120px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}

.work-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--off-white);
  cursor: pointer;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-overlay h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.work-overlay p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-300);
}

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

@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* ---- On View (Featured exhibitions) ---- */
.on-view {
  padding: 120px 0;
  border-top: 1px solid var(--gray-100);
}

.on-view-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.on-view-card:nth-child(even) {
  direction: rtl;
}

.on-view-card:nth-child(even) > * {
  direction: ltr;
}

.on-view-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.on-view-info h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--gray-500);
}

.on-view-info h2 {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.on-view-info p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .on-view-card { grid-template-columns: 1fr; gap: 2rem; }
  .on-view-card:nth-child(even) { direction: ltr; }
}

/* ---- Biography ---- */
.bio-section {
  padding: 120px 0;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.bio-sidebar {
  position: sticky;
  top: 100px;
}

.bio-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 2rem;
}

.bio-sidebar-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  line-height: 2;
}

.bio-content h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

.bio-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.bio-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 1.2rem;
}

.bio-content .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--black);
  font-weight: 300;
}

@media (max-width: 900px) {
  .bio-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .bio-sidebar { position: static; }
}

/* ---- Exhibitions List ---- */
.exhibitions-section {
  padding: 120px 0;
  border-top: 1px solid var(--gray-100);
}

.exhibitions-list {
  margin-top: 3rem;
}

.exhibition-year-group {
  margin-bottom: 2rem;
}

.exhibition-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 0.8rem;
}

.exhibition-entry {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  padding: 0.3rem 0;
}

.exhibition-entry em {
  font-style: italic;
  color: var(--gray-500);
}

/* ---- Collections ---- */
.collections-section {
  padding: 80px 0;
  border-top: 1px solid var(--gray-100);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.collection-item {
  font-size: 0.95rem;
  color: var(--gray-700);
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.collection-item strong {
  display: block;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.collection-item span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---- Contact ---- */
.contact-section {
  padding: 120px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-info h2 {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.contact-block {
  margin-bottom: 2.5rem;
}

.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.6rem;
}

.contact-block p,
.contact-block a {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.contact-block a:hover {
  color: var(--accent);
}

.contact-image {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---- Footer ---- */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--black); }

/* ---- Page transitions ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Placeholder images ---- */
.placeholder-img {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Press ---- */
.press-section {
  padding: 120px 0;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--gray-100);
}

.press-item {
  background: var(--white);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  transition: background 0.3s ease;
}

.press-item:hover {
  background: var(--off-white);
}

.press-item h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.press-item .press-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.press-item .press-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray-300);
  margin-top: 0.3rem;
}

.press-item .press-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.press-item .press-link:hover {
  color: var(--accent-hover);
}

@media (max-width: 768px) {
  .press-grid { grid-template-columns: 1fr; }
}

/* ---- Collaborations / Apparitions ---- */
.collab-section {
  padding: 120px 0;
}

.collab-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--gray-100);
}

.collab-featured:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.collab-featured img,
.collab-featured .placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.collab-info .collab-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 1rem;
}

.collab-info h2 {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.collab-info h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.collab-info p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .collab-featured { grid-template-columns: 1fr; gap: 2rem; }
}
.hero--compact {
  min-height: 0 !important;
  padding: 100px var(--gutter) 20px;
}
.page-header {
  padding-top: 120px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
}