/* FUZIO ATELIER — style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #39ff14;
  --card-radius: 10px;
  --gap: 7px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
  min-height: 100dvh;
}

a { color: inherit; text-decoration: none; cursor: none; }
img { display: block; }
button { background: none; border: none; font: inherit; color: inherit; cursor: none; padding: 0; }

/* ── Cursor ─────────────────────────────────────────── */
#cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .15s, height .15s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 14px; height: 14px; }

@media (hover: none) {
  #cursor { display: none; }
  body, a, button { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ── Hamburger ──────────────────────────────────────── */
#burger {
  position: fixed;
  top: 22px; right: 28px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

#burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transform-origin: center;
  transition: transform .28s ease, opacity .2s, width .28s ease;
}

#burger span:nth-child(2) { width: 16px; }

#burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; }
#burger.open span:nth-child(2) { opacity: 0; width: 0; }
#burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* ── Overlay menu ───────────────────────────────────── */
#overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.68)),
    url('data/LUJIPEKA BRULER TOUR PARIS 2026/LUJIPEKA BRULER TOUR PARIS 20261.jpg') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding-right: clamp(2rem, 10vw, 10rem);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  -webkit-font-smoothing: antialiased;
}

#overlay.open { opacity: 1; pointer-events: all; }

/* nav links */
#overlay nav {
  display: flex;
  flex-direction: column;
  gap: .1em;
  text-align: right;
}

#overlay nav a {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .32s ease, transform .32s ease, color .2s;
}

#overlay.open nav a:nth-child(1) { opacity:1; transform:none; transition-delay:.07s; }
#overlay.open nav a:nth-child(2) { opacity:1; transform:none; transition-delay:.14s; }
#overlay.open nav a:nth-child(3) { opacity:1; transform:none; transition-delay:.21s; }
#overlay nav a:hover { color: rgba(255,255,255,.45); }

/* instagram link under menu */
.overlay-ig {
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
  opacity: 0;
  transition: opacity .3s .28s ease;
}

#overlay.open .overlay-ig { opacity: 1; }

.overlay-ig a {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .06em;
  transition: color .2s;
}

.overlay-ig a:hover { color: var(--white); }

.overlay-ig svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
}

/* ── Site header ────────────────────────────────────── */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 80px;
  position: fixed;
  top: clamp(1rem, 2vw, 1.5rem);
  left: 0;
  right: 0;
  z-index: 900;
  pointer-events: none;
}

.site-logo {
  height: clamp(28px, 4vw, 52px);
  width: auto;
  display: block;
  object-fit: contain;
}

.site-logo-link {
  display: inline-block;
  pointer-events: auto;
}

.project-logo-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) 80px 0;
}

.project-logo-header .site-logo-link {
  pointer-events: auto;
}

/* ── Homepage intro ─────────────────────────────────── */
.home-intro {
  width: min(calc(100% - 2rem), 900px);
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 8.5rem) 1rem clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  color: var(--white);
}

.home-intro h1 {
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}

.home-intro p {
  font-size: clamp(.95rem, 1.55vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,.86);
}

.home-intro p + p {
  margin-top: clamp(1rem, 2vw, 1.45rem);
}

/* ── Grid ───────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: 0 var(--gap) clamp(3rem, 5vw, 4rem);
}

/* ── Card ───────────────────────────────────────────── */
.card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #111;
  /* white border outline transition */
  outline: 2px solid transparent;
  outline-offset: 0px;
  transition: outline-color .2s ease;
}

.card:hover { outline-color: var(--white); }

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}

.card:hover img { transform: scale(1.04); }

/* bottom gradient + text */
.card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(.75rem, 2vw, 1.25rem);
  background: linear-gradient(to top,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.3)  55%,
    transparent     100%);
  pointer-events: none;
}

.card-client {
  font-size: clamp(.85rem, 1.2vw, 1.05rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.card-project {
  font-size: clamp(.7rem, .9vw, .85rem);
  font-weight: 400;
  color: rgba(255,255,255,.6);
  margin-top: .15rem;
  line-height: 1.3;
}

/* ── Clients ────────────────────────────────────────── */
.clients {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem);
}

.clients img {
  width: min(100%, 70vw, 1120px);
  height: auto;
  display: block;
}

.home-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.home-contact a {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  transition: color .2s;
}

.home-contact a:hover {
  color: rgba(255,255,255,.55);
}

/* ── Site credit ────────────────────────────────────── */
.site-credit {
  padding: .25rem 1rem clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  font-size: .62rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .04em;
  color: rgba(255,255,255,.32);
}

.site-credit a {
  color: rgba(255,255,255,.48);
  transition: color .2s;
}

.site-credit a:hover {
  color: var(--white);
}

/* ── À propos ───────────────────────────────────────── */
.apropos-wrap {
  min-height: calc(100dvh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4.5rem, 8dvh, 6rem) clamp(1.5rem, 6vw, 6rem) clamp(2.75rem, 6dvh, 4rem);
}

.apropos-inner {
  display: grid;
  grid-template-columns: clamp(240px, 28vw, 400px) 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* portrait photo */
.apropos-photo {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.apropos-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* text side */
.apropos-name {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: clamp(1rem, 2dvh, 1.5rem);
}

.apropos-bio {
  font-size: clamp(.9rem, 1.2vw, 1.02rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,.65);
}

.apropos-bio p + p { margin-top: .9em; }

@media (max-width: 820px) {
  .apropos-inner {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .apropos-photo { aspect-ratio: 3/2; max-width: 360px; }
  .apropos-wrap { align-items: flex-start; }
}

/* ── Contact ────────────────────────────────────────── */
.contact {
  min-height: calc(100dvh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: clamp(4.5rem, 8dvh, 6rem) clamp(1.5rem, 6vw, 6rem) clamp(3.25rem, 7dvh, 4.5rem);
  text-align: center;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2dvh, 1.45rem);
  width: min(100%, 680px);
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
}

.contact-key {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

.contact-val {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: var(--white);
}

.contact-val a { color: var(--white); }
.contact-val a:hover { color: rgba(255,255,255,.5); }
.contact-val a.mail { color: var(--accent); }
.contact-val a.mail:hover { color: var(--white); }

/* ── Back link ──────────────────────────────────────── */
.back {
  position: absolute;
  bottom: clamp(1rem, 3dvh, 1.75rem);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 0;
  transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.back:hover { color: var(--white); }
.back svg { width: 14px; height: 14px; transition: transform .2s; }
.back:hover svg { transform: translateX(-3px); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4/3; }
  .clients { padding-inline: 1rem; }
  .clients img { width: 100%; }
  .home-contact { margin-top: 3rem; }
  .apropos-wrap {
    padding: 4rem 1.25rem 2.5rem;
  }
  .apropos-inner {
    gap: .9rem;
    max-width: 340px;
  }
  .apropos-photo {
    max-width: 180px;
    margin-inline: auto;
  }
  .apropos-name {
    font-size: 1.8rem;
    margin-bottom: .65rem;
    text-align: center;
  }
  .apropos-bio {
    font-size: .78rem;
    line-height: 1.35;
  }
  .apropos-bio p + p { margin-top: .65em; }
  .contact-key { margin-top: 0; }
  .back { bottom: .85rem; }
}

/* ── Project page ───────────────────────────────────── */
.proj-page {
  min-height: 100dvh;
}

.proj-header {
  padding: clamp(3.5rem, 8vw, 6.5rem) 1rem clamp(.5rem, 2vw, 1.2rem);
  text-align: center;
}

.proj-client {
  font-size: clamp(3.5rem, 13vw, 10rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .88;
  text-transform: uppercase;
  color: var(--white);
}

.proj-name {
  font-size: clamp(1rem, 3.5vw, 2.6rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: .35em;
}

.proj-details {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto clamp(.85rem, 2vw, 1.35rem);
  text-align: center;
  color: var(--white);
  text-transform: uppercase;
  font-size: clamp(.92rem, 1.55vw, 1.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .02em;
}

.proj-details p + p {
  margin-top: clamp(.9rem, 2vw, 1.3rem);
}

/* Portrait hero cover */
.proj-cover-wrap {
  display: flex;
  justify-content: center;
  width: min(calc(100% - 2rem), 1168px);
  margin-inline: auto;
  margin-bottom: var(--gap);
}

.proj-cover {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Masonry gallery */
.proj-gallery {
  columns: 3;
  column-gap: var(--gap);
  width: min(calc(100% - 2rem), 1168px);
  margin-inline: auto;
}

.proj-gallery img,
.proj-gallery video {
  display: block;
  width: 100%;
  height: auto;
  break-inside: avoid;
  margin-bottom: var(--gap);
  cursor: zoom-in;
}

.proj-gallery video {
  cursor: auto;
}

/* ── Lightbox ───────────────────────────────────────── */
.proj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

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

.proj-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.proj-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: min(92vw, calc(92vh * 2));
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  will-change: transform, opacity;
}

.proj-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: background .2s;
  line-height: 1;
}

.proj-lightbox-close:hover { background: rgba(255,255,255,.24); }

.proj-lightbox-prev,
.proj-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.15rem;
  transition: background .2s;
}

.proj-lightbox-prev { left: 1.25rem; }
.proj-lightbox-next { right: 1.25rem; }
.proj-lightbox-prev:hover,
.proj-lightbox-next:hover { background: rgba(255,255,255,.22); }

.proj-lightbox-prev[hidden],
.proj-lightbox-next[hidden] { display: none; }

.proj-back {
  display: block;
  width: min(calc(100% - 2rem), 1168px);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}

.proj-back:hover { color: var(--white); }

@media (max-width: 768px) {
  .proj-gallery { columns: 2; }
}

@media (max-width: 480px) {
  .proj-gallery { columns: 1; }
}
