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

:root {
  --black: #0a0a0a;
  --white: #fafaf8;
  --off-white: #f4f2ee;
  --gray-light: #e8e5df;
  --gray-mid: #9a9590;
  --accent: #c8a96e;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --max-width: 1200px;
  --section-pad: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: var(--section-pad) 0; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 28px;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
}

p { color: #3a3835; margin-bottom: 16px; font-weight: 300; }
p:last-child { margin-bottom: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.link-arrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ===== IMAGE PLACEHOLDERS ===== */
.image-placeholder {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,169,110,0.08) 0%, transparent 70%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1714 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin-bottom: 48px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 20px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p { max-width: 480px; }

.about-image .image-placeholder {
  height: 520px;
}

/* ===== EXHIBITIONS ===== */
.exhibitions { background: var(--off-white); }

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.exhibit-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.exhibit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.exhibit-image.image-placeholder {
  height: 240px;
}

.exhibit-info { padding: 28px; }

.exhibit-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.exhibit-artist {
  font-size: 12px;
  color: var(--gray-mid);
  margin-bottom: 12px;
}

.exhibit-info p:not(.exhibit-date):not(.exhibit-artist) {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ===== SPACE ===== */
.space { background: var(--black); color: var(--white); }
.space p { color: rgba(255,255,255,0.6); }
.space h2 { color: var(--white); }

.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.space-images .image-placeholder.tall {
  height: 560px;
  background: #1a1714;
  color: rgba(255,255,255,0.2);
}

.space-features {
  list-style: none;
  margin-bottom: 40px;
}
.space-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 300;
}
.space-features li:last-child { border-bottom: none; }

.space .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}
.space .btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-details { margin-top: 8px; }

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
}
.contact-item:first-child { border-top: 1px solid var(--gray-light); }

.contact-item strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 6px;
}

.contact-item a { border-bottom: 1px solid var(--gray-light); transition: border-color 0.2s; }
.contact-item a:hover { border-color: var(--black); }

/* ===== FORM ===== */
.contact-form { padding-top: 8px; }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--gray-light);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
}
.form-group textarea { resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

/* ===== MAP ===== */
.map-section { line-height: 0; }
.map-section iframe { display: block; filter: grayscale(20%); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  padding: 60px 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 300;
}

.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  font-weight: 300;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid,
  .space-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .about-image { order: -1; }
  .about-image .image-placeholder { height: 360px; }

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

  .container { padding: 0 24px; }
  --section-pad: 70px;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: 3rem; }
}
