@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --ink: #f5f5f0;
  --muted: #8a8a85;
  --line: #2a2a2a;
  --accent: #c9a66b;
  --accent-soft: rgba(201, 166, 107, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .25s, opacity .25s; }
img { max-width: 100%; display: block; }

.site-header {
  height: 80px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 42px; width: auto; object-fit: contain; }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 3px;
  line-height: 1.1;
  font-weight: 500;
}
.logo-text em { font-style: italic; font-weight: 400; }
.logo-text small {
  display: block;
  font: 8px 'Inter', sans-serif;
  letter-spacing: 3px;
  margin-top: 4px;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}
.main-nav a:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 0;
  transition: .3s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: flex-end;
  padding: 0 5% 10%;
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.75) 55%, rgba(10,10,10,.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #fff;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.1;
}
h1 {
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: -1px;
}
h1 em { font-style: italic; font-weight: 400; }
.hero-text {
  max-width: 520px;
  margin: 28px 0 40px;
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid transparent;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.btn-primary:hover { background: #d4b47a; border-color: #d4b47a; }
.btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: #fff; color: #0a0a0a; border-color: #fff; }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.small { padding: 11px 20px; margin-top: 16px; }

.section { padding: 110px 5%; }
.section-heading h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 12px;
}
.section-heading p { color: var(--muted); max-width: 480px; }
.centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.centered p { margin: 0 auto; }

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.intro-copy { font-size: 17px; color: var(--muted); }
.text-link {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.text-link:hover { opacity: .8; }

.featured { background: var(--bg-elevated); }
.art-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.art-card { position: relative; overflow: hidden; display: block; }
.art-card img,
.portfolio-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.art-card:hover img,
.portfolio-item:hover img { transform: scale(1.05); }
.art-card span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  padding: 18px 0 0;
  letter-spacing: .5px;
}

.quote-section {
  padding: 130px 8%;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-section blockquote {
  font: italic clamp(28px, 4.5vw, 52px) 'Cormorant Garamond', serif;
  max-width: 860px;
  margin: auto;
  line-height: 1.25;
  color: var(--ink);
}
.quote-section p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-hero {
  padding: 100px 5% 60px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(48px, 7vw, 80px);
  max-width: 800px;
}
.page-hero > p:last-child {
  max-width: 520px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}
.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
}
.about-copy p { margin-bottom: 18px; color: var(--muted); }
.signature {
  font: italic 32px 'Cormorant Garamond', serif;
  margin-top: 36px;
  color: var(--ink);
}
.dark-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}
.values-grid h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--accent);
}
.values-grid p { color: var(--muted); font-size: 14px; }

.filter-bar {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  border: 1px solid transparent;
  background: none;
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
  transition: all .25s;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.portfolio-item { cursor: pointer; }
.portfolio-item div { padding: 16px 0 8px; }
.portfolio-item h3 { font-size: 22px; margin-bottom: 4px; }
.portfolio-item p,
.shop-card p {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .5px;
}
.portfolio-item.hide { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 5%;
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  right: 28px;
  top: 16px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
}
.lightbox-close:hover { opacity: 1; }

.exhibitions { max-width: 920px; margin: auto; }
.exhibition {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.date {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}
.date strong {
  font: 28px 'Cormorant Garamond', serif;
  color: var(--ink);
  display: block;
  margin-top: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.exhibition .eyebrow { margin-bottom: 10px; }
.exhibition h2 { font-size: 36px; margin-bottom: 8px; }
.exhibition p { color: var(--muted); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s;
}
.shop-card:hover { border-color: var(--accent); }
.shop-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.shop-card > div { padding: 24px; }
.shop-card h3 { font-size: 26px; margin-bottom: 6px; }
.shop-card strong {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 500;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 28px;
}
.contact-info p:not(.eyebrow) {
  margin: 12px 0;
  color: var(--muted);
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px;
}
.contact-form label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  background: transparent;
  font: 15px 'Inter', sans-serif;
  color: var(--ink);
  outline: none;
  margin-top: 6px;
  transition: border-color .25s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.success {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 13px;
}

.site-footer {
  background: #050505;
  color: var(--ink);
  padding: 70px 5% 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
}
.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}
.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.footer-links a:hover,
.footer-social a:hover { color: var(--accent); }
.footer-copy {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.footer-copy p { color: #555; font-size: 12px; }

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25d366;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  transition: transform .25s;
}
.whatsapp:hover { transform: scale(1.08); }

@media (max-width: 900px) {
  .site-header { height: 70px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 28px 5%;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .hero { min-height: calc(100vh - 70px); padding: 0 5% 12%; }
  .section { padding: 80px 5%; }
  .intro, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .art-grid, .portfolio-grid, .shop-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .exhibition { grid-template-columns: 100px 1fr; gap: 24px; }
  .site-footer { grid-template-columns: 1fr; gap: 32px; }
  .footer-links, .footer-social { flex-direction: row; flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 540px) {
  .art-grid, .portfolio-grid, .shop-grid, .values-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .exhibition { grid-template-columns: 1fr; }
  .page-hero { padding: 70px 5% 50px; }
  .contact-form { padding: 28px 22px; }
}
