/* ============================================
   NAKAMA STUDIO — Style japonais zen & serein
   Mobile-first, responsive
   ============================================ */

:root {
  --washi: #f5f1e8;          /* papier washi */
  --washi-dark: #ece5d3;
  --sumi: #1a1814;           /* encre noire sumi */
  --sumi-soft: #2a2620;
  --vermillion: #b54a3a;     /* rouge japonais */
  --vermillion-dark: #8f3528;
  --indigo: #2b3a55;         /* indigo aizome */
  --gold: #b89968;           /* or vieilli */
  --stone: #8b857a;          /* gris pierre */
  --stone-light: #d6cfbf;
  --shadow: rgba(26, 24, 20, 0.08);

  --serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1200px;
  --r: 2px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--washi);
  color: var(--sumi);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Texture papier washi */
.washi-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(184, 153, 104, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(43, 58, 85, 0.04) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(26, 24, 20, 0.008) 2px, rgba(26, 24, 20, 0.008) 4px);
}

/* Pétales animés (sakura) */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -30px;
  width: 12px;
  height: 12px;
  background: radial-gradient(ellipse at center, #f0d2cd 0%, #d4a4a4 70%, #b88a8a 100%);
  border-radius: 0 100% 0 100%;
  opacity: 0;
  will-change: transform, opacity;
  animation: fall linear infinite;
  filter: drop-shadow(0 1px 2px rgba(180, 100, 100, 0.15));
}
.petal:nth-child(1)  { left:  3%; animation-duration: 16s; animation-delay:  0s; --s: 1.0; --r: 540deg; }
.petal:nth-child(2)  { left:  9%; animation-duration: 22s; animation-delay:  3s; --s: 0.7; --r: 720deg; }
.petal:nth-child(3)  { left: 14%; animation-duration: 19s; animation-delay:  7s; --s: 1.3; --r: 360deg; }
.petal:nth-child(4)  { left: 20%; animation-duration: 25s; animation-delay:  1s; --s: 0.9; --r: 540deg; }
.petal:nth-child(5)  { left: 26%; animation-duration: 18s; animation-delay: 11s; --s: 0.6; --r: 720deg; }
.petal:nth-child(6)  { left: 32%; animation-duration: 23s; animation-delay:  5s; --s: 1.1; --r: 540deg; }
.petal:nth-child(7)  { left: 38%; animation-duration: 20s; animation-delay:  9s; --s: 0.8; --r: 360deg; }
.petal:nth-child(8)  { left: 44%; animation-duration: 27s; animation-delay:  2s; --s: 1.4; --r: 720deg; }
.petal:nth-child(9)  { left: 50%; animation-duration: 17s; animation-delay:  6s; --s: 0.7; --r: 540deg; }
.petal:nth-child(10) { left: 56%; animation-duration: 24s; animation-delay: 13s; --s: 1.0; --r: 360deg; }
.petal:nth-child(11) { left: 62%; animation-duration: 21s; animation-delay:  4s; --s: 0.9; --r: 720deg; }
.petal:nth-child(12) { left: 68%; animation-duration: 19s; animation-delay:  8s; --s: 1.2; --r: 540deg; }
.petal:nth-child(13) { left: 74%; animation-duration: 26s; animation-delay: 12s; --s: 0.7; --r: 360deg; }
.petal:nth-child(14) { left: 80%; animation-duration: 18s; animation-delay:  3s; --s: 1.0; --r: 720deg; }
.petal:nth-child(15) { left: 86%; animation-duration: 22s; animation-delay: 10s; --s: 0.8; --r: 540deg; }
.petal:nth-child(16) { left: 92%; animation-duration: 20s; animation-delay:  6s; --s: 1.1; --r: 360deg; }
.petal:nth-child(17) { left: 97%; animation-duration: 24s; animation-delay: 14s; --s: 0.6; --r: 720deg; }
.petal:nth-child(18) { left: 17%; animation-duration: 28s; animation-delay: 15s; --s: 1.3; --r: 540deg; }
.petal:nth-child(19) { left: 41%; animation-duration: 16s; animation-delay: 16s; --s: 0.7; --r: 360deg; }
.petal:nth-child(20) { left: 65%; animation-duration: 23s; animation-delay: 17s; --s: 1.0; --r: 720deg; }
.petal:nth-child(21) { left: 83%; animation-duration: 19s; animation-delay: 18s; --s: 0.8; --r: 540deg; }
.petal:nth-child(22) { left: 11%; animation-duration: 25s; animation-delay: 20s; --s: 1.1; --r: 360deg; }

@keyframes fall {
  0%   { transform: translateY(-30px) translateX(0)     rotate(0deg)             scale(var(--s, 1)); opacity: 0; }
  8%   { opacity: 0.75; }
  25%  { transform: translateY(25vh)  translateX(20px)  rotate(calc(var(--r, 540deg) * 0.25)) scale(var(--s, 1)); }
  50%  { transform: translateY(50vh)  translateX(-25px) rotate(calc(var(--r, 540deg) * 0.5))  scale(var(--s, 1)); }
  75%  { transform: translateY(75vh)  translateX(15px)  rotate(calc(var(--r, 540deg) * 0.75)) scale(var(--s, 1)); }
  92%  { opacity: 0.6; }
  100% { transform: translateY(110vh) translateX(-10px) rotate(var(--r, 540deg)) scale(var(--s, 1)); opacity: 0; }
}

main, .site-header, .site-footer { position: relative; z-index: 10; }

/* ============== LOADER ENSO ============== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--washi);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  position: relative;
  width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.loader-enso {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--sumi);
}
.loader-enso path {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: drawEnsoLoader 1.6s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}
@keyframes drawEnsoLoader { to { stroke-dashoffset: 0; } }
.loader-kanji {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--vermillion);
  opacity: 0;
  animation: kanjiFade 0.9s ease 1.1s forwards;
}
.loader-name {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--sumi-soft);
  opacity: 0;
  animation: kanjiFade 0.9s ease 1.4s forwards;
  white-space: nowrap;
}
@keyframes kanjiFade { to { opacity: 1; } }

/* ============== CURSEUR ENCRE ============== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s, width 0.3s ease, height 0.3s ease, background 0.3s;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--vermillion);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(26, 24, 20, 0.4);
  border-radius: 50%;
}
body.cursor-on .cursor-dot,
body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-on.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--vermillion);
  background: rgba(181, 74, 58, 0.06);
}
body.cursor-on.cursor-hover .cursor-dot {
  width: 4px; height: 4px;
}

/* ============== SCROLL PROGRESS ============== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--vermillion), var(--gold));
  z-index: 9500;
  transition: width 0.1s linear;
}

/* ============== HEADER ============== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 24, 20, 0.06);
  transition: padding 0.3s ease;
}

.site-header.scrolled { padding: 12px 24px; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sumi);
}
.logo .kanji {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--vermillion);
  font-weight: 500;
  line-height: 1;
}
.logo-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text small {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--stone);
  margin-top: 4px;
  font-weight: 400;
}

.nav-desktop { display: none; gap: 32px; }
.nav-desktop a {
  color: var(--sumi-soft);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0;
  height: 1px;
  background: var(--vermillion);
  transition: all 0.3s;
}
.nav-desktop a:hover { color: var(--vermillion); }
.nav-desktop a:hover::after { width: 100%; left: 0; }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--sumi);
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  background: var(--washi);
  z-index: 90;
  padding: 90px 32px 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  border-bottom: 1px solid rgba(26, 24, 20, 0.08);
  box-shadow: 0 20px 40px var(--shadow);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu nav a {
  color: var(--sumi);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 24, 20, 0.06);
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-menu nav a:hover { color: var(--vermillion); padding-left: 8px; }
.mobile-cta {
  display: block;
  margin-top: 28px;
  padding: 16px;
  text-align: center;
  background: var(--sumi);
  color: var(--washi);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--sumi);
  color: var(--washi);
}
.btn-primary:hover {
  background: var(--vermillion);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(181, 74, 58, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--sumi);
  border: 1px solid var(--sumi);
}
.btn-ghost:hover {
  background: var(--sumi);
  color: var(--washi);
}
.btn-small { padding: 10px 22px; font-size: 11px; }
.btn-large { padding: 20px 48px; font-size: 14px; margin-top: 32px; }

/* ============== HERO ============== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}


.enso {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(85vw, 600px);
  height: min(85vw, 600px);
  transform: translate(-50%, -50%);
  color: var(--sumi);
  opacity: 0.06;
  z-index: 0;
}
.enso svg { width: 100%; height: 100%; }
.enso path {
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  animation: drawEnso 3s ease-out forwards;
}
@keyframes drawEnso {
  to { stroke-dashoffset: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.eyebrow {
  font-family: var(--serif);
  color: var(--vermillion);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin-bottom: 28px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 9vw, 88px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hero-title span {
  display: block;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
}
.hero-title span:nth-child(1) { animation-delay: 0.5s; }
.hero-title span:nth-child(2) { animation-delay: 0.8s; }
.hero-title .accent {
  color: var(--vermillion);
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--sumi-soft);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.1s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.4s forwards;
}

.hero-meta {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 64px;
  font-size: 13px;
  color: var(--stone);
  opacity: 0;
  animation: fadeUp 1.2s ease 1.7s forwards;
}
.hero-meta div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-meta span {
  font-family: var(--serif);
  color: var(--vermillion);
  font-size: 16px;
}

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

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: rgba(26, 24, 20, 0.2);
  overflow: hidden;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 30px;
  background: var(--sumi);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ============== SECTIONS ============== */
section {
  padding: 100px 24px;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.kanji-label {
  font-family: var(--serif);
  color: var(--vermillion);
  font-size: 13px;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-lede {
  color: var(--sumi-soft);
  font-size: 16px;
  line-height: 1.8;
}

/* ============== TATEGAKI (texte vertical) ============== */
.tategaki {
  position: absolute;
  top: 80px;
  left: 12px;
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 400;
  color: var(--sumi);
  opacity: 0.04;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.2em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.tategaki-right { left: auto; right: 12px; }

/* ============== PHILOSOPHIE ============== */
.philosophy {
  background: linear-gradient(180deg, var(--washi) 0%, var(--washi-dark) 100%);
  position: relative;
  overflow: hidden;
}
.philo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.philo-card {
  background: var(--washi);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(26, 24, 20, 0.06);
  transition: all 0.4s ease;
  position: relative;
}
.philo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: var(--vermillion);
}
.philo-card .ico {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  color: var(--vermillion);
}
.philo-card .ico svg { width: 100%; height: 100%; }
.philo-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}
.philo-card p {
  color: var(--sumi-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ============== ARTISTES ============== */
.artists { background: var(--washi); }

.artist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
}

.artist-card {
  background: var(--washi);
  border: 1px solid rgba(26, 24, 20, 0.08);
  overflow: hidden;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
}
.artist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px var(--shadow);
}

.artist-portrait {
  height: 320px;
  background: var(--sumi);
  position: relative;
  overflow: hidden;
}
.artist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.artist-card:hover .artist-portrait img {
  transform: scale(1.04);
}

.artist-body {
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.artist-body h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}
.artist-styles {
  color: var(--vermillion);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.artist-bio {
  color: var(--sumi-soft);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.artist-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 24, 20, 0.08);
  margin-top: auto;
}
.link-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sumi);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--washi-dark);
  border-radius: 999px;
  transition: all 0.3s;
}
.link-ig svg { transition: color 0.3s; color: var(--vermillion); }
.link-ig:hover {
  background: var(--vermillion);
  color: var(--washi);
}
.link-ig:hover svg { color: var(--washi); }

.btn-rdv {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sumi);
  color: var(--washi);
  text-decoration: none;
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-rdv svg { transition: transform 0.3s ease; }
.btn-rdv:hover {
  background: var(--vermillion);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(181, 74, 58, 0.28);
}
.btn-rdv:hover svg { transform: translateX(3px); }

.btn-rdv-light {
  background: var(--washi);
  color: var(--sumi);
  margin-top: 24px;
}
.btn-rdv-light:hover { background: var(--vermillion); color: var(--washi); }

@media (max-width: 480px) {
  .artist-actions { flex-direction: column; align-items: stretch; }
  .artist-actions .link-ig,
  .artist-actions .btn-rdv { justify-content: center; }
}

/* ============== PORTFOLIO ============== */
.portfolio { background: var(--washi-dark); }

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--max);
  margin: 0 auto 48px;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(26, 24, 20, 0.2);
  color: var(--sumi-soft);
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--sumi); color: var(--sumi); }
.filter-btn.active {
  background: var(--sumi);
  color: var(--washi);
  border-color: var(--sumi);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--sumi);
  aspect-ratio: 4 / 5;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(0.15);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}
.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--washi);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item.hidden { display: none; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 7, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.lb-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--washi);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(245,241,232,0.3);
  color: var(--washi);
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--vermillion);
  border-color: var(--vermillion);
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
@media (min-width: 1200px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

/* ============== AFTERCARE / SOINS ============== */
.aftercare {
  background: var(--washi);
  position: relative;
  overflow: hidden;
}

.timeline {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, var(--vermillion) 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.4;
}
.ts {
  display: flex;
  gap: 22px;
  margin-bottom: 36px;
  position: relative;
}
.ts-mark {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  background: var(--washi);
  border: 1px solid var(--vermillion);
  color: var(--vermillion);
  font-family: var(--serif);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}
.ts:hover .ts-mark {
  background: var(--vermillion);
  color: var(--washi);
  transform: scale(1.05);
}
.ts-body { padding-top: 8px; flex: 1; }
.ts-body h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}
.ts-body p {
  color: var(--sumi-soft);
  font-size: 15px;
  line-height: 1.75;
}

@media (min-width: 700px) {
  .ts { gap: 32px; }
}

/* ============== FAQ ============== */
.faq {
  background: var(--washi-dark);
  position: relative;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qa {
  background: var(--washi);
  border: 1px solid rgba(26, 24, 20, 0.08);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.qa[open] {
  border-color: var(--vermillion);
  box-shadow: 0 12px 28px var(--shadow);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--sumi);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  transition: color 0.3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '＋';
  font-family: var(--serif);
  font-size: 22px;
  color: var(--vermillion);
  flex-shrink: 0;
  transition: transform 0.4s ease;
  line-height: 1;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--vermillion); }
.qa-body {
  padding: 0 26px 24px;
  animation: qaSlide 0.4s ease;
}
.qa-body p {
  color: var(--sumi-soft);
  font-size: 15px;
  line-height: 1.8;
}
@keyframes qaSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== BOUTON FLOTTANT IG ============== */
.float-ig {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: var(--sumi);
  color: var(--washi);
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(26, 24, 20, 0.25);
  transition: all 0.3s;
  border: 1px solid rgba(245, 241, 232, 0.1);
}
.float-ig:hover {
  background: var(--vermillion);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(181, 74, 58, 0.35);
}
.float-ig svg { flex-shrink: 0; }
.float-ig-label { display: none; }
@media (min-width: 700px) {
  .float-ig-label { display: inline; }
}

/* ============== STUDIO ============== */
.studio {
  background: linear-gradient(180deg, var(--washi-dark) 0%, var(--sumi) 100%);
  color: var(--washi);
  padding-top: 140px;
  padding-bottom: 140px;
}

.quote-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
}
.kanji-large {
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 200px);
  color: var(--vermillion);
  opacity: 0.18;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  z-index: 0;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--washi);
  position: relative;
  z-index: 2;
}
.quote-attribution {
  margin-top: 28px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.studio-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.info-block {
  text-align: center;
  padding: 28px;
  border: 1px solid rgba(245, 241, 232, 0.1);
}
.info-block h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--gold);
}
.info-block p {
  color: rgba(245, 241, 232, 0.75);
  font-size: 14.5px;
  line-height: 1.75;
}
.info-block strong { color: var(--washi); font-weight: 500; }

/* ============== FOOTER ============== */
.site-footer {
  background: var(--sumi);
  color: var(--washi);
  padding: 80px 24px 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '連絡';
  position: absolute;
  top: 30%;
  right: -20px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 220px;
  color: var(--washi);
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.footer-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 14px;
}
.footer-brand .kanji {
  font-size: 28px;
  color: var(--vermillion);
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(245, 241, 232, 0.7);
  max-width: 340px;
  line-height: 1.6;
}

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-kanji-label {
  font-family: var(--serif);
  color: var(--vermillion);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.f-row {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--washi);
  padding: 14px 16px;
  border: 1px solid rgba(245, 241, 232, 0.08);
  border-radius: 2px;
  transition: all 0.3s;
}
.f-row:hover {
  border-color: var(--vermillion);
  background: rgba(181, 74, 58, 0.06);
  transform: translateX(4px);
}
.f-ico {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--vermillion);
  width: 36px;
  flex-shrink: 0;
  text-align: center;
}
.f-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: rgba(245, 241, 232, 0.85);
  line-height: 1.5;
}
.f-text strong {
  color: var(--gold);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-note {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.55);
  font-style: italic;
  letter-spacing: 0.05em;
}

.footer-meta {
  text-align: center;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.45);
  letter-spacing: 0.12em;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
}

@media (min-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
}

/* ============== ANIMATIONS REVEAL ============== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============== RESPONSIVE ============== */
@media (min-width: 640px) {
  .philo-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-info { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
  .site-header { padding: 22px 48px; }
  .site-header.scrolled { padding: 14px 48px; }
  section { padding: 130px 48px; }
  .philo-grid { grid-template-columns: repeat(4, 1fr); }
  .artist-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

@media (min-width: 1200px) {
  section { padding: 160px 64px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .petals { display: none; }
  .loader { display: none; }
}
