/* ============================================
   SLEKX PORTFOLIO — STYLE
   ============================================ */

:root {
  --bg: #E1E0D7;
  --bg-alt: #D8D7CE;
  --bg-card: #CDCCC3;
  --text: #0a0a0a;
  --text-muted: #555;
  --accent: #0a0a0a;
  --accent-glow: rgba(10, 10, 10, 0.15);
  --gradient: linear-gradient(135deg, #0a0a0a, #333);
  --radius: 0px;
  --radius-sm: 0px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --hero-bg: #E1E0D7;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* — Grain (identique au site) — */
.loader-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* — Rings (explosion depuis le centre) — */
.loader-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10,10,10,0.12);
  transform: scale(0);
  opacity: 0;
}
.loader-rings span:nth-child(1) {
  width: 14vmin; height: 14vmin;
  animation: ring-burst 0.75s cubic-bezier(0.16,1,0.3,1) 0.00s forwards,
             ring-breathe 3s ease-in-out 0.8s infinite;
}
.loader-rings span:nth-child(2) {
  width: 30vmin; height: 30vmin;
  animation: ring-burst 0.78s cubic-bezier(0.16,1,0.3,1) 0.06s forwards,
             ring-breathe 3.5s ease-in-out 0.9s infinite;
}
.loader-rings span:nth-child(3) {
  width: 52vmin; height: 52vmin;
  border-color: rgba(10,10,10,0.09);
  animation: ring-burst 0.82s cubic-bezier(0.16,1,0.3,1) 0.12s forwards,
             ring-breathe 4s ease-in-out 1s infinite;
}
.loader-rings span:nth-child(4) {
  width: 80vmin; height: 80vmin;
  border-color: rgba(10,10,10,0.06);
  animation: ring-burst 0.88s cubic-bezier(0.16,1,0.3,1) 0.18s forwards,
             ring-breathe 4.5s ease-in-out 1.1s infinite;
}
.loader-rings span:nth-child(5) {
  width: 115vmin; height: 115vmin;
  border-color: rgba(10,10,10,0.04);
  animation: ring-burst 0.95s cubic-bezier(0.16,1,0.3,1) 0.24s forwards,
             ring-breathe 5s ease-in-out 1.2s infinite;
}

@keyframes ring-burst {
  0%  { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.04); }
  100%{ opacity: 1; transform: scale(1); }
}
@keyframes ring-breathe {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}

/* — Inner content — */
.loader-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.loader-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  overflow: hidden;
}

.loader-word {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 14vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  clip-path: inset(0 100% 0 0);
  animation: word-wipe 0.85s cubic-bezier(0.77,0,0.18,1) forwards;
}
.loader-word:nth-child(1) { animation-delay: 0.3s; }
.loader-word:nth-child(2) {
  animation-delay: 0.52s;
  color: transparent;
  -webkit-text-stroke: 2px #0a0a0a;
}

@keyframes word-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}

/* — Divider line entre les deux mots — */
.loader-display::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: rgba(10,10,10,0.2);
  animation: line-expand 0.6s cubic-bezier(0.25,0.46,0.45,0.94) 0.45s forwards;
  order: 1;
  margin: 0.35em 0;
}
.loader-word:nth-child(1) { order: 0; }
.loader-word:nth-child(2) { order: 2; }

@keyframes line-expand {
  from { width: 0; }
  to   { width: clamp(200px, 40vw, 600px); }
}

/* — Progress bar — */
.loader-bar {
  width: clamp(160px, 35vw, 300px);
  height: 1px;
  background: rgba(10,10,10,0.12);
  margin: 2rem auto 0;
  overflow: hidden;
  opacity: 0;
  animation: loader-fadein 0.3s ease 0.6s forwards;
}
.loader-progress {
  width: 0%;
  height: 100%;
  background: #0a0a0a;
  animation: loadProgress 2.2s ease-in-out forwards;
}
@keyframes loadProgress { to { width: 100%; } }
@keyframes loader-fadein  { to { opacity: 1; } }

/* — Flash exit — */
.loader-flash {
  position: absolute;
  inset: 0;
  background: var(--hero-bg);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.45s ease;
}
.loader-flash.active { opacity: 1; }

/* CUSTOM CURSOR */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #0a0a0a;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(10, 10, 10, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-dot.hover {
  width: 16px;
  height: 16px;
  background: rgba(10, 10, 10, 0.4);
}
.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: #0a0a0a;
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body, a, button { cursor: auto; }
}

/* AMBIENT GLOW (cursor) */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,0.055) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
}

/* GRAIN OVERLAY */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.navbar--hero {
  background: transparent;
}
.navbar.scrolled {
  background: rgba(225, 224, 215, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-connect,
.navbar.scrolled .nav-social-links a {
  color: #0a0a0a;
}
.navbar.scrolled .hamburger span {
  background: #0a0a0a;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  padding: 0.25rem 0;
  transition: opacity 0.3s;
}
.nav-link:hover { opacity: 0.5; }

.nav-link--shop {
  background: #0a0a0a;
  color: #fff !important;
  border: 1px solid #0a0a0a;
  padding: 0.2rem 0.55rem;
  opacity: 1 !important;
  position: relative;
  overflow: hidden;
}
.nav-link--shop::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shopShimmer 3.5s ease infinite;
}
.nav-link--shop:hover { opacity: 0.75 !important; }
@keyframes shopShimmer {
  0%   { left: -100%; }
  45%  { left: 100%; }
  100% { left: 100%; }
}
.nav-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.nav-connect {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
}
.nav-social-links {
  display: flex;
  gap: 0.75rem;
}
.nav-social-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.nav-social-links a:hover { opacity: 0.5; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #0a0a0a;
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 8rem 0;
  position: relative;
}

/* BUTTONS — BRUTALIST */
.btn-brutal {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  padding: 0.75rem 0;
  border: none;
  background: none;
  position: relative;
  transition: opacity 0.3s;
}
.btn-brutal::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #0a0a0a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-brutal:hover::after { transform: scaleX(1); }
.btn-brutal:hover { opacity: 0.6; }

/* SECTION LABEL */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.5);
  margin-bottom: 1.5rem;
}

/* SECTION TITLE */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 3rem;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* IMAGE GRAIN OVERLAY (reusable) */
.img-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ========================
   HERO — BRUTALIST EDITORIAL
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--hero-bg);
  padding: 6rem 2.5rem 2rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Hero geometric deco */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-deco span {
  position: absolute;
  border: 1px solid rgba(10,10,10,0.07);
  border-radius: 50%;
}
.hero-deco span:nth-child(1) {
  width: 420px; height: 420px;
  top: -10%; left: -8%;
  animation: deco-drift 12s ease-in-out infinite;
}
.hero-deco span:nth-child(2) {
  width: 260px; height: 260px;
  bottom: 5%; right: 8%;
  animation: deco-drift 9s ease-in-out infinite reverse;
  animation-delay: -3s;
}
.hero-deco span:nth-child(3) {
  width: 160px; height: 160px;
  top: 35%; right: 18%;
  animation: deco-drift 14s ease-in-out infinite;
  animation-delay: -6s;
}
.hero-deco span:nth-child(4) {
  width: 80px; height: 80px;
  bottom: 25%; left: 12%;
  animation: deco-drift 10s ease-in-out infinite reverse;
  animation-delay: -2s;
}
@keyframes deco-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%       { transform: translate(12px, -18px) rotate(4deg); }
  66%       { transform: translate(-8px, 10px) rotate(-3deg); }
}

/* Hero — carrés/losanges rotatifs */
.hero-deco em {
  position: absolute;
  border: 1px solid rgba(10,10,10,0.06);
}
.hero-deco em:nth-child(5) {
  width: 70px; height: 70px;
  top: 22%; left: 28%;
  animation: deco-spin 18s linear infinite;
}
.hero-deco em:nth-child(6) {
  width: 45px; height: 45px;
  bottom: 28%; right: 30%;
  animation: deco-spin 13s linear infinite reverse;
  animation-delay: -4s;
}
.hero-deco em:nth-child(7) {
  width: 28px; height: 28px;
  top: 60%; left: 15%;
  animation: deco-spin 22s linear infinite;
  animation-delay: -8s;
}
@keyframes deco-spin {
  0%   { transform: rotate(0deg) translate(0, 0); }
  25%  { transform: rotate(90deg) translate(6px, -10px); }
  50%  { transform: rotate(180deg) translate(0, 0); }
  75%  { transform: rotate(270deg) translate(-6px, 10px); }
  100% { transform: rotate(360deg) translate(0, 0); }
}

/* About — hatch lines */
.about { overflow: hidden; }
.about::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0, transparent 28px,
    rgba(10,10,10,0.018) 28px, rgba(10,10,10,0.018) 29px
  );
  pointer-events: none;
  z-index: 0;
  animation: hatch-drift 30s linear infinite;
}
@keyframes hatch-drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(41px, 41px); }
}
.about > .container { position: relative; z-index: 1; }

/* Expertise — dot overlay ascendant */
.expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
  animation: dot-up 14s linear infinite;
}
@keyframes dot-up {
  0%   { background-position: 0 0; }
  100% { background-position: 0 -30px; }
}
.expertise > .container,
.expertise .exp-list { position: relative; z-index: 1; }

/* Expertise animated grid */
.expertise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  animation: grid-drift 25s linear infinite;
  z-index: 0;
}
@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 72px 72px; }
}

/* Display title */
.hero-display {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 1rem;
}
.hero-display-line {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 13vw, 14rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  text-transform: uppercase;
}

/* Center composition */
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex: 1;
  padding: 1.5rem 0;
}

/* Roles */
.hero-roles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  justify-content: center;
}
.hero-roles span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  opacity: 0.7;
}

/* Portrait */
.hero-portrait {
  flex-shrink: 0;
}
.hero-portrait-inner {
  position: relative;
  width: clamp(200px, min(38vh, 26vw), 420px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.hero-portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(60%) contrast(1.1);
  mix-blend-mode: multiply;
  transition: filter 0.6s ease, transform 0.6s ease;
}
.hero-portrait:hover .hero-portrait-inner img {
  filter: grayscale(0%) contrast(1);
  mix-blend-mode: normal;
  transform: scale(1.03);
}
.hero-portrait-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Latest work */
.hero-latest {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: center;
}
.hero-latest-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.5);
}
.hero-latest-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}
.hero-latest-author {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
}

/* Bottom bar */
.hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.hero-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-available {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #16a34a;
}
.hero-available-dot {
  color: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-email {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
}
.hero-email:hover { opacity: 0.5; }
.hero-bottom-center {
  max-width: 500px;
  text-align: center;
}
.hero-bottom-center p {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.6);
}
.hero-bottom-right {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #0a0a0a;
}

/* Side badge */
.hero-side-badge {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
  z-index: 2;
}
.badge-letter {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.badge-word {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}


/* REVEAL TEXT */
.reveal-text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   MARQUEE
   ======================== */
.marquee-strip {
  overflow: hidden;
  padding: 1rem 0;
  background: #0a0a0a;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================
   ABOUT — DYNAMIC
   ======================== */
.about { background: var(--bg); }

/* Big display text */
.about-hero { margin-bottom: 4rem; }
.about-display {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #0a0a0a;
}
.about-line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.about-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.about-line:nth-child(2) { transition-delay: 0.15s; }
.about-line:nth-child(3) { transition-delay: 0.3s; }
.about-line--accent {
  color: transparent;
  -webkit-text-stroke: 2px #0a0a0a;
}

/* Split content */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.about-desc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 2;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 480px;
}
.about-stats-row {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1;
}
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(10,10,10,0.4);
}

/* ========================
   EXPERTISE — INTERACTIVE LIST
   ======================== */
.expertise {
  background: #0a0a0a;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.expertise .section-label { color: rgba(255,255,255,0.3); }

.exp-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Each row */
.exp-item {
  display: block;
  position: relative;
  text-decoration: none;
}
.exp-item-inner {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr 40px;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
  transition: opacity 0.4s ease;
}
.exp-list:hover .exp-item:not(:hover) .exp-item-inner {
  opacity: 0.25;
}
.exp-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}
.exp-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: letter-spacing 0.5s ease, transform 0.4s ease;
}
.exp-item:hover .exp-title {
  letter-spacing: 0.03em;
  transform: translateX(10px);
}
.exp-desc {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
  max-width: 400px;
  transition: color 0.4s ease;
}
.exp-item:hover .exp-desc {
  color: rgba(255,255,255,0.6);
}
.exp-arrow {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: rgba(255,255,255,0.15);
  transition: color 0.4s ease, transform 0.4s ease;
}
.exp-item:hover .exp-arrow {
  color: #fff;
  transform: translateX(5px);
}
.exp-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}


/* ========================
   ABOUT + EXPERTISE — RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .about-display { font-size: clamp(2rem, 10vw, 3.5rem); }
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats-row { gap: 1.5rem; }
  .about-stat-num { font-size: 1.5rem; }

  .exp-item-inner {
    grid-template-columns: 40px 1fr 30px;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .exp-desc { display: none; }
  .exp-list { padding: 0 1.25rem; }
  .exp-title { font-size: clamp(1rem, 5vw, 1.5rem); }
  .exp-preview { display: none; }
}

/* ========================
   PROJECTS — IMMERSIVE
   ======================== */
.projects {
  background: var(--bg-alt);
  padding-bottom: 0;
  overflow: hidden;
}
.projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10,10,10,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
  animation: dot-drift 22s linear infinite;
}
@keyframes dot-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 38px 38px; }
}
.projects > .container,
.projects .pj { position: relative; z-index: 1; }

/* Each project block */
.pj {
  position: relative;
  overflow: hidden;
}
.pj-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: min(80vh, 680px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.pj--reverse .pj-inner {
  direction: rtl;
  grid-template-columns: 1.4fr 1fr;
}
.pj--reverse .pj-inner > * {
  direction: ltr;
}

/* Left column (text or image) */
.pj-col-left,
.pj-col-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  position: relative;
}

/* Big project number */
.pj-num {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10,10,10,0.15);
  position: absolute;
  top: 2rem;
  left: 3rem;
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.6s ease, color 0.4s ease;
}
.pj:hover .pj-num {
  -webkit-text-stroke-color: rgba(10,10,10,0.35);
}

/* Project meta */
.pj-meta {
  position: relative;
  z-index: 2;
}
.pj-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.pj-tags span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
}
.pj-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  margin-bottom: 0.5rem;
  transition: letter-spacing 0.5s ease;
}
.pj:hover .pj-title {
  letter-spacing: 0.02em;
}
.pj-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
  margin-bottom: 2rem;
}
.pj-desc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  max-width: 380px;
  margin-bottom: 2.5rem;
}
.pj-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0a0a0a;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  transition: opacity 0.3s;
}
.pj-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #0a0a0a;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pj-link:hover::after { width: 100%; }
.pj-link:hover { opacity: 0.6; }

/* Image container */
.pj-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}
.pj-img-reveal {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pj.is-visible .pj-img-reveal {
  clip-path: inset(0 0 0 0);
}
.pj-img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.6s ease;
}
.pj:hover .pj-img-reveal img {
  filter: grayscale(0%);
}

/* Divider between projects */
.pj-divider {
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.08);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}
.pj.is-visible .pj-divider {
  transform: scaleX(1);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ========================
   PROJECTS — RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .pj-inner { min-height: 60vh; }
  .pj-num { font-size: clamp(4rem, 10vw, 7rem); }
}
@media (max-width: 768px) {
  .pj-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0 1.25rem;
  }
  .pj--reverse .pj-inner { direction: ltr; grid-template-columns: 1fr; }
  .pj--reverse .pj-col-left { order: 2; }
  .pj--reverse .pj-col-right { order: 1; }
  .pj-col-left, .pj-col-right { padding: 2rem 0; }
  .pj-num {
    position: relative;
    top: auto;
    left: auto;
    font-size: clamp(3rem, 14vw, 5rem);
    margin-bottom: 1rem;
  }
  .pj-img-container { min-height: 250px; }
  .pj-title { font-size: clamp(1.5rem, 6vw, 2.5rem); }
}


/* ========================
   CONTACT
   ======================== */
.contact {
  text-align: center;
  padding: 10rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border: 1px solid rgba(10,10,10,0.07);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: ring-breathe 7s ease-in-out infinite;
}
.contact::after {
  content: '';
  position: absolute;
  width: 1050px; height: 1050px;
  border: 1px solid rgba(10,10,10,0.04);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: ring-breathe 7s ease-in-out infinite 2.5s;
}
@keyframes ring-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  50%       { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}
.contact-inner { position: relative; z-index: 1; }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.contact-info {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.5);
  transition: color 0.3s;
}
a.contact-info:hover { color: #0a0a0a; }
.contact-sep {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(10,10,10,0.25);
}
.contact h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.start-project {
  display: inline-flex;
  gap: 0.1em;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.5rem 3rem;
  border: 2px solid #0a0a0a;
  color: #0a0a0a;
  transition: background 0.4s, color 0.4s;
}
.start-project:hover {
  background: #0a0a0a;
  color: var(--bg);
}
.start-project span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.start-project:hover span {
  animation: letterBounce 0.4s ease forwards;
}
.start-project span:nth-child(1) { animation-delay: 0.00s; }
.start-project span:nth-child(2) { animation-delay: 0.02s; }
.start-project span:nth-child(3) { animation-delay: 0.04s; }
.start-project span:nth-child(4) { animation-delay: 0.06s; }
.start-project span:nth-child(5) { animation-delay: 0.08s; }
.start-project span:nth-child(6) { animation-delay: 0.10s; }
.start-project span:nth-child(7) { animation-delay: 0.12s; }
.start-project span:nth-child(8) { animation-delay: 0.14s; }
.start-project span:nth-child(9) { animation-delay: 0.16s; }
.start-project span:nth-child(10) { animation-delay: 0.18s; }
.start-project span:nth-child(11) { animation-delay: 0.20s; }
.start-project span:nth-child(12) { animation-delay: 0.22s; }
.start-project span:nth-child(13) { animation-delay: 0.24s; }
.start-project span:nth-child(14) { animation-delay: 0.26s; }
.start-project span:nth-child(15) { animation-delay: 0.28s; }
@keyframes letterBounce {
  0% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ========================
   FOOTER
   ======================== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.footer > .container { position: relative; z-index: 1; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.02em;
}
.footer-socials {
  display: flex;
  gap: 0.5rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #0a0a0a;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
}
.social-link:hover {
  background: #0a0a0a;
  color: var(--bg);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-bottom p,
.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.5);
}
.footer-legal { transition: opacity 0.3s; }
.footer-legal:hover { opacity: 0.5; }

/* ========================
   ANIMATIONS
   ======================== */
.anim-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays */
.anim-up[style*="--delay: 0"] { transition-delay: 0s; }
.anim-up[style*="--delay: 1"] { transition-delay: 0.12s; }
.anim-up[style*="--delay: 2"] { transition-delay: 0.24s; }
.anim-up[style*="--delay: 3"] { transition-delay: 0.36s; }
.anim-up[style*="--delay: 4"] { transition-delay: 0.48s; }
.anim-up[style*="--delay: 5"] { transition-delay: 0.6s; }

/* Horizontal slide-in animation */
.anim-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.anim-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-in animation */
.anim-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(225,224,215,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
  }
  .nav-links.active { right: 0; }
  .nav-socials { display: none; }
  .hamburger { display: flex; }

  /* Hero mobile */
  .hero { padding: 5rem 1.25rem 1.5rem; }
  .hero-display-line { font-size: clamp(2.5rem, 14vw, 5rem); }
  .hero-center { flex-direction: column; gap: 1.5rem; }
  .hero-portrait-inner { width: clamp(160px, 55vw, 260px); }
  .hero-roles { align-items: center; }
  .hero-latest { align-items: center; text-align: center; }
  .hero-bottom { flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
  .hero-bottom-left { align-items: center; }
  .hero-side-badge { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-socials { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  .start-project {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }

  .contact { padding: 6rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ========================
   FLOATING CONTACT BUBBLE
   ======================== */
.contact-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.75rem;
}
.contact-bubble-btn {
  width: auto;
  min-width: 148px;
  height: 44px;
  border-radius: 999px;
  padding: 0 1.4rem;
  background: #0a0a0a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.contact-bubble-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.contact-bubble-icon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #fff;
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.contact-bubble-icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.contact-bubble.is-open .contact-bubble-icon--open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.contact-bubble.is-open .contact-bubble-icon--close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.contact-bubble-popup {
  background: #0a0a0a;
  border-radius: 16px;
  padding: 0.4rem 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  min-width: 260px;
}
.contact-bubble.is-open .contact-bubble-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.contact-bubble-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.5rem;
  transition: background 0.2s;
  border-radius: 10px;
}
.contact-bubble-item:hover { background: rgba(255,255,255,0.06); }
.contact-bubble-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.contact-bubble-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.contact-bubble-sep {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 1.2rem;
}
.contact-bubble-item--shop .contact-bubble-value {
  color: #f0c040;
}

/* Désactivation des effets de fond sur mobile */
@media (max-width: 768px) {
  .hero-deco { display: none; }
  .ambient-glow { display: none; }
  .about::before { display: none; }
  .expertise::before,
  .expertise::after { display: none; }
  .projects::before { display: none; }
  .contact::before,
  .contact::after { display: none; }
}
