/* WM Arte Gallery — site.css */

:root {
  --cream: #faf6ee;
  --paper: #f2ede2;
  --ink: #201c17;
  --ink-soft: #514a40;
  --coral: #e0502c;
  --navy: #1c2a52;
  --line: #ddd4c2;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Caveat", cursive;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--coral); }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--script);
  font-size: 1.35rem;
  color: var(--coral);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}
.eyebrow.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0 0 0.6em;
  line-height: 1.1;
  font-weight: 600;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.5rem; margin-bottom: 0.3em; }

.center { text-align: center; }

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 3.5rem);
  position: sticky;
  top: 0;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(6px);
  z-index: 100;
  border-bottom: 1px solid transparent;
}
.brand-mark { height: 28px; width: auto; }

.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); align-items: center; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--coral); }
.nav-ig {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.4em 1em;
}
.nav-ig:hover { border-color: var(--coral); }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem);
  max-width: 1280px;
  margin: 0 auto;
}
.hero-copy .lede { font-size: 1.15rem; max-width: 42ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }

.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { border: 1px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }

.hero-art img {
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(28, 42, 82, 0.35);
}

/* about */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: 1280px;
  margin: 0 auto;
}
.about-text p { max-width: 48ch; }
.about-art img { border-radius: 12px; }

/* exhibitions */
.exhibitions {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.exhibitions h2 { margin-bottom: 0.5rem; }
.section-note {
  max-width: 52ch;
  margin: 0 auto 3.5rem;
}

.show {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 0;
}
.show + .show { border-top: 1px solid var(--line); }
.show-reverse .show-art { order: 2; }

.show-art img { border-radius: 10px; box-shadow: 0 20px 40px -18px rgba(28, 42, 82, 0.28); }
.show-dates {
  font-family: var(--script);
  color: var(--coral);
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}
.show-venue {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

/* contact */
.contact { padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3.5rem); }
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact .section-note { margin-bottom: 2.5rem; }

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
  margin: 0;
  text-align: left;
}
.contact-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}
.contact-list dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 1.25rem 3rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.footer-mark { height: 20px; opacity: 0.65; }

/* responsive */
@media (max-width: 820px) {
  .hero, .about, .show {
    grid-template-columns: 1fr;
  }
  .hero-art, .show-reverse .show-art { order: -1; }
  .contact-list { grid-template-columns: 1fr; }
  .site-nav { gap: 1rem; }
  .nav-ig { display: none; }
}
