/* ================================================
   FONTS
   ================================================ */
@font-face {
  font-family: 'Diolce';
  src: url('fonts/diolce.woff2') format('woff2'),
       url('fonts/diolce.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  background: #fff;
  color: #000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

img {
  display: block;
  max-width: 100%;
  width: auto;
  pointer-events: none;
  -webkit-user-drag: none;
  max-height: 110vh;
}

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

/* ================================================
   INTRO SCREEN
   ================================================ */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
}
#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ================================================
   PAGE TRANSITION
   ================================================ */
#page-transition {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#page-transition.active { opacity: 1; pointer-events: all; }

/* ================================================
   PAGE WRAPPER
   ================================================ */
.page {
  width: 100%;
  padding: 24px 48px 72px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  min-height: 100vh;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.5s ease 0.05s forwards;
}
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

/* ================================================
   HEADER
   ================================================ */
.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.header a { font-size:13px; color:#000; letter-spacing:0.04em; transition:opacity 0.2s; }
.header a:hover { opacity:0.4; }
.header a.active { font-weight:700; }

/* ================================================
   PROJECT INTRO
   ================================================ */
.project-intro { display:flex; flex-direction:column; gap:6px; padding-top:12px; }
.project-meta  { display:flex; justify-content:space-between; width:100%; }
.project-client { font-size:13px; color:#a2a2a2; }
.project-year   { font-size:13px; color:#000; }
.project-title {
  font-family: 'Diolce', serif;
  font-size: 48px;
  font-weight: normal;
  line-height: 1.05;
  margin-top: 6px;
}

/* ================================================
   PROJECT INFO — 3 columns
   ================================================ */
.project-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px 48px;
  align-items: start;
  justify-items: end;
  
}
.info-col { display:flex; flex-direction:column; gap:10px; }
.info-label { font-size:13px; font-weight:700; color:#6c6c6c; }
.info-text  { font-size:13px; color:#323232; line-height:1.75; }

/* ================================================
   PROJECT VISUALS
   ================================================ */
.visuals-grid {display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 20px;
  justify-items: center;
}
.visuals-grid *:nth-child(1), .visuals-grid *:nth-child(4), .visuals-grid *:nth-child(7){grid-column: span 2;}






.project-visuals { display:flex; flex-direction:column; gap:10px; width:100%; }

.visuals-row { display:grid; gap:10px; }
.visuals-row.col-2 { grid-template-columns:1fr 1fr; }
.visuals-row.col-3 { grid-template-columns:1fr 1fr 1fr; }

.visuals-alm { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.visuals-alm .right { display:flex; flex-direction:column; gap:10px; }
.visuals-alm img, .visuals-split img { width:100%; height:100%; object-fit:cover; }

/* Chopard: narrow | wide */
.visuals-pair { display:grid; grid-template-columns:1fr 1fr; gap:10px; align-items:start; }
.visuals-pair img { width:100%; height:100%; object-fit:cover; }
.visuals-pair .video-wrapper { height:100%; }
.project-visuals .video-wrapper--vertical { aspect-ratio:4/5; }

/* Anish Kapoor */
.visuals-anish { display:flex; flex-direction:column; gap:10px; }
.visuals-anish-row2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.visuals-anish-row2 .col-right { display:flex; flex-direction:column; gap:10px; }
.visuals-anish-row3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.visuals-anish-row4 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }

/* Grey placeholder for missing images */
img[src=''], img:not([src]) {
  min-height: 200px;
  background: #d8d8d8;
}



/* ================================================
   Animation grid
   ================================================ */

.animate{
  opacity:0;
  transform: translateY(10vh);
  transition: all ease-out 750ms;
}
.animate.animated {
  opacity:1;
  transform: translateY(0);
}

/* ================================================
   VIDEO PLAYER
   ================================================ */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}

.video-wrapper1 {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: #111;
  overflow: hidden;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-controls {
  position: absolute;
  bottom:0; left:0; right:0;
  padding: 32px 24px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.52));
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}
.video-wrapper:hover .video-controls { opacity:1; }

.video-btn {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0.82; transition: opacity 0.15s;
  width: 28px; height: 28px; flex-shrink: 0;
}
.video-btn:hover { opacity:1; }
.video-btn svg { width:15px; height:15px; fill:currentColor; }

.video-progress {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.22);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.video-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  pointer-events: none;
  width: 0%;
}
.video-progress-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  left: 0%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.video-wrapper:hover .video-progress-dot { opacity:1; }
.video-time { font-size:11px; color:rgba(255,255,255,0.6); white-space:nowrap; flex-shrink:0; letter-spacing:0.03em; }

/* ================================================
   AUTRES PROJETS
   ================================================ */
.autres-projets { display:flex; flex-direction:row; align-items:flex-start; gap:24px; }
.autres-titre {
  font-family: 'Diolce', serif;
  font-size: 48px;
  font-weight: normal;
  color: #000;
  flex: 0 0 auto;
  min-width: 260px;
  line-height: 1.05;
}
.autres-grid {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.projet-card {
  display: block;
  flex: 0 0 calc(25% - 6px);
  max-width: 220px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.projet-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: filter 0.38s ease;
  min-height: 80px;
  background: #d8d8d8;
}
.projet-card-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 10px;
  transition: background 0.38s;
}
.projet-card-name {
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.32s, transform 0.32s;
  line-height: 1.35;
}
.projet-card:hover img { filter: brightness(0.38); }
.projet-card:hover .projet-card-overlay { background: rgba(0,0,0,0.1); }
.projet-card:hover .projet-card-name { opacity:1; transform:translateY(0); }

/* ================================================
   FOOTER
   ================================================ */
.footer { display:flex; flex-direction:column; }

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-links a { font-size:13px; color:#000; transition:opacity 0.2s; }
.footer-links a:hover { opacity:0.4; }

.footer-legal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal span { font-size:11px; color:#a2a2a2; }
.footer-legal a { font-size:11px; color:#a2a2a2; transition:color 0.2s; }
.footer-legal a:hover { color:#000; }

/* ================================================
   INDEX PAGE
   ================================================ */
.index-page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.index-spline { position:absolute; inset:0; }
.index-spline spline-viewer { width:100%; height:100%; border:none; display:block; }

.index-header {
  position: absolute;
  top: 24px; right: 48px;
  display: flex; gap: 24px;
  z-index: 10;
}
.index-header a { font-size:13px; color:#000; letter-spacing:0.04em; transition:opacity 0.2s; }
.index-header a:hover { opacity:0.4; }

.index-info {
  position: absolute;
  bottom: 40px; left: 48px;
  z-index: 10;
  display: flex; flex-direction: column; gap: 10px;
}
.index-role    { font-size:13px; color:#000; letter-spacing:0.03em; }
.index-tagline { font-size:13px; color:#a2a2a2; max-width:300px; line-height:1.6; }
.index-contact { display:flex; flex-direction:column; gap:3px; margin-top:4px; }
.index-contact a { font-size:13px; color:#000; transition:opacity 0.2s; }
.index-contact a:hover { opacity:0.4; }

/* ================================================
   SPLINE LOADER
   ================================================ */
.spline-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 2;
  transition: opacity 0.6s ease;
}
.spline-loader-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.6); }
}

/* ================================================
   INDEX NAME & PROJECTS FALLBACK
   ================================================ */
.index-name {
  font-family: 'Diolce', serif;
  font-size: 17px;
  font-weight: normal;
  color: #000;
  letter-spacing: 0.01em;
}

.index-projects-fallback {
  display: none; /* shown only if Spline fails or via JS */
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.index-projects-fallback a {
  font-size: 13px;
  color: #000;
  transition: opacity 0.2s;
}
.index-projects-fallback a:hover { opacity: 0.4; }

/* Show fallback after 5s if Spline hasn't loaded */
.index-page.spline-failed .index-projects-fallback { display: flex; }

/* ================================================
   A PROPOS
   ================================================ */
.apropos-body {
  flex:1;
  display:flex; flex-direction:row;
  align-items:center; justify-content:space-between;
  gap:40px;
}
.apropos-contact { display:flex; flex-direction:column; gap:3px; }
.apropos-contact a { font-size:13px; transition:opacity 0.2s; }
.apropos-contact a:hover { opacity:0.4; }
.apropos-bio { display:flex; flex-direction:column; gap:10px; max-width:380px; }
.apropos-role    { font-size:13px; color:#000; letter-spacing:0.03em; }
.apropos-tagline { font-size:13px; color:#a2a2a2; line-height:1.6; }

/* ================================================
   MENTIONS LEGALES
   ================================================ */
.mentions-content { display:flex; flex-direction:column; gap:40px; max-width:760px; }
.mentions-section { display:flex; flex-direction:column; gap:14px; }
.mentions-section h2 { font-family:'Diolce',serif; font-size:28px; font-weight:normal; }
.mentions-section h3 { font-size:13px; font-weight:700; letter-spacing:0.03em; margin-top:6px; }
.mentions-section p,
.mentions-section li { font-size:13px; color:#323232; line-height:1.8; }
.mentions-section ul { padding-left:18px; display:flex; flex-direction:column; gap:4px; }
.law-block { border-left:2px solid rgba(0,0,0,0.1); padding-left:16px; margin:4px 0; }
.law-block p { color:#6c6c6c; font-style:italic; line-height:1.8; }
.law-source { font-size:11px; color:#a2a2a2; margin-top:4px; font-style:normal; }
.law-source a { color:#a2a2a2; text-decoration:underline; text-underline-offset:2px; transition:color 0.2s; }
.law-source a:hover { color:#000; }

/* ================================================
   CONTACT
   ================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 12px;
}
.contact-info { display:flex; flex-direction:column; gap:36px; }
.contact-intro h2 {
  font-family:'Diolce', serif;
  font-size: 48px;
  font-weight: normal;
  line-height: 1.05;
  margin-bottom: 14px;
}
.contact-intro p { font-size:13px; color:#a2a2a2; line-height:1.75; max-width:300px; }
.contact-links { display:flex; flex-direction:column; gap:5px; }
.contact-links a { font-size:13px; color:#000; transition:opacity 0.2s; }
.contact-links a:hover { opacity:0.4; }

.contact-form { display:flex; flex-direction:column; gap:24px; }
.form-group { display:flex; flex-direction:column; gap:8px; }
.form-group label { font-size:10px; letter-spacing:0.1em; color:#a2a2a2; text-transform:uppercase; }
.form-group input,
.form-group textarea {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: #000;
  outline: none;
  transition: border-color 0.25s;
  resize: none; width: 100%;
  -webkit-user-select: text;
  user-select: text;
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: #000; }
.form-group input::placeholder,
.form-group textarea::placeholder { color:#d0d0d0; }

.btn-send {
  background: #000; color: #fff;
  border: none; padding: 13px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: opacity 0.2s;
  align-self: flex-start;
}
.btn-send:hover { opacity:0.7; }
.btn-send:disabled { opacity:0.4; cursor:default; }

.form-feedback { font-size:13px; color:#323232; display:none; padding:8px 0; }
.form-feedback.visible { display:block; }
.form-feedback.error { color:#c00; }


/* ================================================
   PAGE FULL HEIGHT (À Propos, Contact)
   ================================================ */
.page--full {
  height: 100vh;
  min-height: unset;
  overflow: hidden;
}

/* ================================================
   VIDEO CLICK LAYER (YouTube)
   ================================================ */
.video-click-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

/* ================================================
   ROLE CREDITS separator
   ================================================ */
.info-credits {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: #a2a2a2;
  line-height: 1.8;
}

/* ================================================
   INFO SPACER — hidden now that we have 3 real cols
   ================================================ */
.info-spacer { display: none; }

/* ================================================
   CONTACT (100vh layout)
   ================================================ */
.contact-layout {
  flex: 1;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .page { padding:20px 32px 56px; gap:44px; }
  .project-title, .autres-titre { font-size:40px; }
  .autres-titre { min-width:200px; }
  .contact-layout { grid-template-columns:1fr; gap:48px; }
}

@media (max-width: 900px) {
  .project-info { grid-template-columns: 1fr 1fr; }
  .project-info .info-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .page { padding:16px 20px 48px; gap:36px; }
  .project-info { grid-template-columns:1fr; }
  .project-title, .autres-titre { font-size:32px; }
  .autres-projets { flex-direction:column; gap:16px; }
  .autres-titre { min-width:unset; }
  .autres-grid { justify-content:flex-start; }
  .projet-card { max-width:none; }
  .visuals-row.col-2, .visuals-row.col-3,
  .visuals-alm, .visuals-pair,
  .visuals-anish-row2, .visuals-anish-row3, .visuals-anish-row4
  { grid-template-columns:1fr; }
  .apropos-body { flex-direction:column; align-items:flex-start; gap:28px; }
  .index-header { top:16px; right:20px; }
  .index-info   { bottom:28px; left:20px; }
  .footer-legal { flex-direction:column; gap:6px; }
}










