/* ============================================================
   LA MAISON OUBLIÉE — Feuille de style principale
   Design : sombre, élégant, éditorial, féminin
   ============================================================ */

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

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

body {
  background-color: #0d0d0d;
  color: #d6c9b8;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

ul { list-style: none; }

img { display: block; max-width: 100%; }

/* ---------- COULEURS PAR ARTISTE ---------- */
:root {
  --color-anne: #8faa91;       /* vert sauge doux */
  --color-ignacy: #b8b0a8;     /* gris argent */
  --color-mat: #c9845a;        /* orange brûlé */
  --color-rouge: #9e3a3a;      /* rouge profond */
  --color-studio: #b89b7e;     /* beige rosé / nude */

  --bg-dark: #0d0d0d;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --border: rgba(214, 201, 184, 0.12);
  --border-light: rgba(214, 201, 184, 0.25);

  --text-primary: #d6c9b8;
  --text-muted: #7d7469;
  --text-light: #a89e93;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  color: #e8ddd0;
}

em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
}

.section__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-studio);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  color: #e8ddd0;
}

.section__intro {
  max-width: 640px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section__header {
  margin-bottom: 4rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn--outline {
  border-color: var(--border-light);
  color: var(--text-primary);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(214, 201, 184, 0.08);
  border-color: rgba(214, 201, 184, 0.5);
}

.btn--fill {
  background: var(--color-studio);
  color: #0d0d0d;
  border-color: var(--color-studio);
}

.btn--fill:hover {
  background: #c9ae90;
  border-color: #c9ae90;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: background 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.85rem 2rem;
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #e8ddd0;
  transition: color 0.3s;
}

.nav__logo:hover .nav__logo-text {
  color: var(--color-studio);
}

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

.nav__links a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-studio);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: #e8ddd0;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.35s ease;
  transform-origin: center;
}

.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(184, 155, 126, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(158, 58, 58, 0.04) 0%, transparent 60%),
    #0d0d0d;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(13,13,13,0.7) 100%);
  pointer-events: none;
}

/* Grain texture */
.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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* Decorative lines */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  border: 1px solid rgba(184, 155, 126, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero__logo-frame {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__ornament {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-studio), transparent);
  position: relative;
}

.hero__ornament::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.5rem;
  color: var(--color-studio);
  line-height: 1;
}

.hero__title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #f0e8dc;
  text-shadow: 0 0 80px rgba(184, 155, 126, 0.15);
}

.hero__subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-studio);
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
  animation: fadeInUp 1s ease 1.2s both;
}

.hero__scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-studio), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 0.5; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   ATELIER
   ============================================================ */
.atelier {
  background: #111;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.atelier__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.atelier__text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.9;
}

.atelier__text p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.atelier__details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.atelier__detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.atelier__detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.atelier__detail-icon {
  color: var(--color-studio);
  font-size: 0.7rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.atelier__detail-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #e8ddd0;
  margin-bottom: 0.25rem;
}

.atelier__detail-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   ARTISTS
   ============================================================ */
.artists { background: var(--bg-dark); }

.artists__grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--border);
}

.artist-card {
  background: var(--bg-card);
  display: grid;
  grid-template-columns: 420px 1fr;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.artist-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.artist-card[data-color="anne"]::before { background: var(--color-anne); }
.artist-card[data-color="ignacy"]::before { background: var(--color-ignacy); }
.artist-card[data-color="mat"]::before { background: var(--color-mat); }
.artist-card[data-color="rouge"]::before { background: var(--color-rouge); }

.artist-card:hover { background: var(--bg-card-hover); }
.artist-card:hover::before { transform: scaleX(1); }

.artist-card__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artist-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.artist-card__accent-line {
  width: 24px;
  height: 1px;
  flex-shrink: 0;
}

.artist-card[data-color="anne"] .artist-card__accent-line { background: var(--color-anne); }
.artist-card[data-color="ignacy"] .artist-card__accent-line { background: var(--color-ignacy); }
.artist-card[data-color="mat"] .artist-card__accent-line { background: var(--color-mat); }
.artist-card[data-color="rouge"] .artist-card__accent-line { background: var(--color-rouge); }

.artist-card__style {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.artist-card__name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #e8ddd0;
  margin-bottom: 1.25rem;
}

.artist-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 0.85rem;
}

.artist-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

/* ---------- Artist links ---------- */
.artist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.artist-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: stroke 0.3s ease;
}

.artist-card[data-color="anne"] .artist-link:hover { color: var(--color-anne); }
.artist-card[data-color="ignacy"] .artist-link:hover { color: var(--color-ignacy); }
.artist-card[data-color="mat"] .artist-link:hover { color: var(--color-mat); }
.artist-card[data-color="rouge"] .artist-link:hover { color: var(--color-rouge); }

.artist-link--rdv {
  color: var(--text-light);
  font-weight: 400;
}

/* ============================================================
   STYLES SECTION
   ============================================================ */
.styles {
  background: #111;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.styles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.style-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.style-item:last-child { border-right: none; }

.style-item:hover { background: rgba(255,255,255,0.02); }

.style-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.style-item[data-color="anne"] .style-item__dot { background: var(--color-anne); }
.style-item[data-color="ignacy"] .style-item__dot { background: var(--color-ignacy); }
.style-item[data-color="mat"] .style-item__dot { background: var(--color-mat); }
.style-item[data-color="rouge"] .style-item__dot { background: var(--color-rouge); }

.style-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #e8ddd0;
  margin-bottom: 0.75rem;
}

.style-item p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.style-item__artist {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.style-item[data-color="anne"] .style-item__artist { color: var(--color-anne); }
.style-item[data-color="ignacy"] .style-item__artist { color: var(--color-ignacy); }
.style-item[data-color="mat"] .style-item__artist { color: var(--color-mat); }
.style-item[data-color="rouge"] .style-item__artist { color: var(--color-rouge); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-dark); }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  position: relative;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  transition: height 0.4s ease;
}

.contact-card[data-color="anne"]::before { background: var(--color-anne); }
.contact-card[data-color="ignacy"]::before { background: var(--color-ignacy); }
.contact-card[data-color="mat"]::before { background: var(--color-mat); }
.contact-card[data-color="rouge"]::before { background: var(--color-rouge); }

.contact-card:hover { background: var(--bg-card-hover); }
.contact-card:hover::before { height: 100%; }

.contact-card__name {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.contact-card__style {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.contact-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.contact-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-link:hover { color: var(--text-primary); }

.contact-link--rdv {
  color: var(--color-studio);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.contact-link--rdv:hover { color: #c9ae90; }

/* ---------- Studio block ---------- */
.contact__studio {
  border: 1px solid var(--border);
  background: #111;
}

.contact__studio-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.contact__studio-info {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
}

.contact__studio-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact__studio-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.contact__studio-note {
  padding: 2.5rem;
  display: flex;
  align-items: center;
}

.contact__studio-note p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: #111;
  border-top: 1px solid var(--border);
}

.faq__list {
  max-width: 760px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #e8ddd0;
  text-align: left;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq__question:hover { color: var(--color-studio); }

.faq__icon {
  font-size: 1.2rem;
  color: var(--color-studio);
  line-height: 1;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer.open {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq__answer p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
}

.faq__answer a {
  color: var(--color-studio);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #e8ddd0;
  margin-bottom: 0.75rem;
}

.footer__address {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__ig svg {
  width: 15px;
  height: 15px;
}

.footer__ig:hover { color: var(--color-studio); }

.footer__artists-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-studio);
  margin-bottom: 1rem;
}

.footer__artists li, .footer__nav li {
  margin-bottom: 0.6rem;
}

.footer__artists a, .footer__nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__artists a:hover, .footer__nav a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  text-align: center;
}

.footer__bottom p {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   LOGO HERO & NAV
   ============================================================ */
.nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo:hover .nav__logo-img { opacity: 1; }

.hero__logo-img {
  width: min(340px, 70vw);
  height: auto;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.05);
  margin-bottom: 0.5rem;
  animation: logoReveal 1.2s ease both;
}

@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   GALERIE ARTISTE
   ============================================================ */
.artist-card__gallery {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  height: 100%;
  min-height: 320px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.88);
}

.gallery-img:hover {
  transform: scale(1.05);
  filter: brightness(1);
  z-index: 2;
}

/* Placeholder Rouge Gorge */
.artist-card__gallery--placeholder .gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: 320px;
  background: #111;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

.gallery-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

.gallery-placeholder p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.gallery-ig-link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-rouge);
  transition: color 0.3s;
}

.gallery-ig-link:hover { color: #c05050; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 8, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
}

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

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--border);
}

.lightbox__caption {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2001;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--border);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2001;
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-light);
  color: #fff;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

  .style-item:nth-child(2) { border-right: none; }
  .style-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .style-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
}

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

  .artist-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    min-height: 260px;
    grid-template-rows: repeat(2, 130px);
  }

  .artist-card__gallery--placeholder .gallery-placeholder {
    min-height: 262px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__studio-inner {
    grid-template-columns: 1fr;
  }

  .contact__studio-info {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .gallery-grid {
    min-height: 240px;
    grid-template-rows: repeat(2, 120px);
  }

  .artist-card__gallery--placeholder .gallery-placeholder {
    min-height: 240px;
    height: 240px;
  }

  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }

  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .hero__title { font-size: clamp(2.8rem, 13vw, 5rem); }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  .nav__burger {
    display: flex;
    z-index: 1001;
  }

  .styles__grid {
    grid-template-columns: 1fr;
  }

  .style-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .style-item:last-child { border-bottom: none; }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

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

  .footer__brand { grid-column: auto; }
}
