/* ============ BYNIGE — GALERIE D'ART PARIS ============ */
:root {
  --bg: #fafaf8;
  --bg-alt: #f3f1ec;
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e5e2db;
  --gold: #b8965a;
  --gold-light: #d4b376;
  --gold-dark: #8c6f3e;
  --dark: #0e0e0e;
  --dark-2: #1a1a1a;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .4s ease;
}
.header.transparent { background: transparent; }
.header.transparent .nav a,
.header.transparent .logo-text,
.header.transparent .logo-sub { color: #fff; }
.header.transparent .logo-mark { color: var(--gold-light); border-color: var(--gold-light); }
.header.transparent .burger span { background: #fff; }
.header.solid,
.header.scrolled {
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header.scrolled .nav a,
.header.scrolled .logo-text { color: var(--ink); }
.header.scrolled .logo-sub { color: var(--muted); }
.header.scrolled .logo-mark { color: var(--gold-dark); border-color: var(--gold-dark); }
.header.scrolled .burger span { background: var(--ink); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 5%; max-width: 1480px; margin: 0 auto;
  transition: padding .3s ease;
}
.header.scrolled .header-inner { padding: 16px 5%; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  letter-spacing: 1px;
}
.logo-mark.big { width: 60px; height: 60px; font-size: 32px; }
.logo-text {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  letter-spacing: 3px; line-height: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.logo-sub {
  font-family: var(--sans); font-size: 9px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); opacity: .85;
}
.nav { display: flex; gap: 38px; }
.nav a {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .3s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover { color: var(--gold); }
.nav a.active { color: var(--gold); }

.burger { display: none; width: 28px; height: 22px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: all .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  height: 100vh; min-height: 700px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.75) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; padding: 0 5%;
  margin-left: 4%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 28px; font-weight: 400;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 400; line-height: 1; letter-spacing: -1px;
  margin-bottom: 32px;
}
.hero-title em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.hero-text {
  font-size: 18px; max-width: 560px;
  margin-bottom: 44px; font-weight: 300;
  color: rgba(255,255,255,.85);
}
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 60px; background: rgba(255,255,255,.3);
  overflow: hidden;
}
.hero-scroll span {
  display: block; width: 100%; height: 30px;
  background: var(--gold-light);
  animation: scrollIndicator 2s ease-in-out infinite;
}
@keyframes scrollIndicator {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .35s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold); color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark); border-color: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.5);
  background: transparent;
}
.btn-ghost:hover {
  background: #fff; color: var(--ink);
  border-color: #fff;
}
.btn-outline-light {
  color: #fff; border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: var(--gold); border-color: var(--gold);
}
.btn-outline {
  color: var(--ink); border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink); color: #fff;
}

/* ============ SECTIONS ============ */
.section { padding: 130px 0; }
.section.dark { background: var(--dark); color: #fff; }
.section.intro { padding: 140px 0 120px; }
.eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 500; margin-bottom: 24px;
}
.eyebrow.light { color: var(--gold-light); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400; line-height: 1.1;
  margin-bottom: 32px; letter-spacing: -.5px;
}
.section-title em { font-style: italic; color: var(--gold-dark); font-weight: 300; }
.section-title.light em { color: var(--gold-light); }
.section-title.light { color: #fff; }
.section-title.small { font-size: clamp(28px, 3.5vw, 40px); }
.section-head { margin-bottom: 70px; }
.section-head.center { text-align: center; }
.two-col {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.lead { font-size: 17px; margin-bottom: 18px; color: var(--ink-soft); }
.lead-light { font-size: 17px; margin-bottom: 28px; color: rgba(255,255,255,.8); }
.link-arrow {
  display: inline-block; margin-top: 18px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 500;
  border-bottom: 1px solid var(--gold-dark); padding-bottom: 6px;
}
.link-arrow:hover { color: var(--ink); border-color: var(--ink); }

/* ============ FEATURED / GALLERY CARDS ============ */
.featured-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-bottom: 70px;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.art-card { cursor: pointer; }
.art-img {
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  margin-bottom: 22px;
}
.art-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.3,1);
}
.art-card:hover .art-img img { transform: scale(1.06); }
.art-cat {
  display: block;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px; font-weight: 500;
}
.art-meta h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  margin-bottom: 6px; letter-spacing: -.2px;
}
.dark .art-meta h3 { color: #fff; }
.art-meta p {
  font-size: 13px; color: var(--muted);
  letter-spacing: .3px;
}
.dark .art-meta p { color: rgba(255,255,255,.6); }
.center-cta { text-align: center; }

/* ============ VALUES ============ */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.value-card {
  text-align: center;
  padding: 50px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .4s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px -20px rgba(184,150,90,.25);
}
.value-card svg { color: var(--gold); margin-bottom: 24px; }
.value-card h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  margin-bottom: 14px;
}
.value-card p {
  font-size: 14.5px; color: var(--muted); line-height: 1.7;
}

/* ============ VISIT ============ */
.visit-grid { align-items: center; }
.info-block { margin: 36px 0; }
.info-block p { color: rgba(255,255,255,.85); margin-bottom: 22px; font-size: 15px; }
.info-block strong { color: var(--gold-light); display: block; margin-bottom: 4px; font-weight: 500; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.visit-img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ============ PAGE HERO (subpages) ============ */
.page-hero {
  padding: 200px 0 90px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 400; line-height: 1;
  margin-bottom: 28px; letter-spacing: -1px;
}
.page-text {
  font-size: 18px; max-width: 620px;
  color: var(--ink-soft);
}

/* ============ FILTER BAR ============ */
.filter-bar {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 60px; padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  padding: 10px 26px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line);
  background: transparent; color: var(--muted);
  transition: all .3s ease;
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ EXPOSITIONS ============ */
.expo-list { display: flex; flex-direction: column; gap: 100px; }
.expo-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.expo-card.reverse .expo-img { order: 2; }
.expo-img { overflow: hidden; aspect-ratio: 4/5; }
.expo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.expo-card:hover .expo-img img { transform: scale(1.05); }
.expo-status {
  display: inline-block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 500;
  padding: 6px 14px; margin-bottom: 24px;
}
.expo-status.current { background: var(--gold); color: #fff; }
.expo-status.soon { background: var(--ink); color: #fff; }
.expo-status.past { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.expo-text h2 {
  font-family: var(--serif); font-size: clamp(34px, 4vw, 52px);
  font-weight: 400; line-height: 1.05; margin-bottom: 14px;
  letter-spacing: -.5px;
}
.expo-meta { color: var(--gold-dark); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; font-weight: 500; }
.expo-text p { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }

/* ============ ARTISTS ============ */
.artists-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 50px 32px;
}
.artist-card { text-align: center; }
.artist-img {
  width: 100%; aspect-ratio: 1/1;
  border-radius: 50%; overflow: hidden;
  margin-bottom: 24px;
  filter: grayscale(.2);
  transition: filter .5s ease, transform .5s ease;
}
.artist-card:hover .artist-img { filter: grayscale(0); transform: translateY(-4px); }
.artist-img img { width: 100%; height: 100%; object-fit: cover; }
.artist-card h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  margin-bottom: 4px;
}
.artist-meta {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 12px;
}
.artist-card > p { font-size: 14px; color: var(--muted); padding: 0 12px; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 36px; margin-top: 24px; }
.contact-row { display: flex; gap: 20px; align-items: flex-start; }
.contact-row svg { color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.contact-row strong { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.contact-row p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.map-wrap { aspect-ratio: 4/5; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.cta-band { padding: 100px 0; text-align: center; }
.cta-band .center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-band .btn { margin-top: 18px; }

/* ============ FOOTER ============ */
.footer { background: var(--dark-2); color: rgba(255,255,255,.7); padding: 90px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px; margin-bottom: 70px;
}
.footer h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 22px; letter-spacing: .5px; }
.footer a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.65); }
.footer a:hover { color: var(--gold-light); }
.footer p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.65); }
.footer-tag { margin-top: 20px; max-width: 280px; font-size: 14px !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 30px; }
.footer-bottom p { font-size: 12px; letter-spacing: .5px; color: rgba(255,255,255,.4); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.3,1);
  animation: revealFallback 1.2s ease .4s forwards;
}
.reveal.visible { opacity: 1; transform: translateY(0); animation: none; }
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px;
    height: 100vh; background: var(--dark); flex-direction: column;
    padding: 100px 40px 40px; gap: 28px;
    transition: right .4s ease;
    z-index: 99;
  }
  .nav.open { right: 0; }
  .nav a { color: #fff !important; font-size: 14px; }
  .burger { display: flex; z-index: 101; position: relative; }
  .header.transparent.nav-open .burger span,
  .nav-open .burger span { background: #fff !important; }
  .hero { min-height: 100vh; }
  .hero-content { margin-left: 0; padding: 0 8%; }
  .hero-cta { flex-direction: column; gap: 14px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .values-grid { grid-template-columns: 1fr; gap: 24px; }
  .artists-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .expo-card { grid-template-columns: 1fr; gap: 30px; }
  .expo-card.reverse .expo-img { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .page-hero { padding: 150px 0 70px; }
  .logo-sub { display: none; }
  .logo-text { font-size: 18px; }
  .art-meta h3 { font-size: 20px; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .featured-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .artists-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 52px; }
}
