@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Jost:wght@400;500&display=swap');

:root {
  --ink: #424e3d;
  --paper: #e9e9e5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* linen weave texture, two repeating-linear-gradient layers */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(66,78,61,0.02) 0px, rgba(66,78,61,0.02) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(66,78,61,0.02) 0px, rgba(66,78,61,0.02) 1px, transparent 1px, transparent 4px);
}

/* fixed radial pearl sheen behind content */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 75%);
}

a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  z-index: 2;
}

/* ---------- Navigation ---------- */

.site-nav {
  width: 100%;
  padding: 2rem 1.2rem;
}

.site-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 660px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 3vw, 2.2rem);
  white-space: nowrap;
}

.site-nav a {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.25s ease, letter-spacing 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
}

@media (max-width: 480px) {
  .site-nav ul { gap: 0.7rem; }
  .site-nav a { font-size: 0.64rem; letter-spacing: 0.12em; }
}

/* ---------- Shared content column ---------- */

.content {
  max-width: 660px;
  margin: 0 auto;
  padding: 1rem 1.6rem 6rem;
}

.content p {
  margin: 0 0 1.4rem;
  text-align: left;
}

/* ---------- Headings ---------- */

.heading-block {
  text-align: center;
  padding: 2rem 1.6rem 3rem;
}

h1, .title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0;
}

h2, .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0;
}

.title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  font-family: 'Jost', sans-serif;
  margin-top: 0.8rem;
}

.heading-block h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.lines {
  text-align: center;
  font-size: 1.02rem;
  opacity: 0.8;
  margin: 0 auto 3rem;
  max-width: 660px;
  padding: 0 1.6rem;
}

.lines p { margin: 0 0 0.3rem; text-align: center; }

/* ---------- Home hero ---------- */

.home-hero {
  text-align: center;
  padding: 3rem 1.6rem 0;
}

.hero-media {
  max-width: 660px;
  margin: 2.5rem auto 0;
  line-height: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Exhibitions list (Salon Lolo page) ---------- */

.exhibit-list {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 1.6rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.exhibit-list h2 {
  text-align: center;
  font-size: 1.5rem;
  margin: 2rem 0 2.5rem;
}

.exhibit-card {
  display: block;
  text-align: center;
}

.exhibit-card img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1.2rem;
}

.exhibit-card .exhibit-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.exhibit-card:hover .exhibit-title {
  opacity: 0.6;
}

/* ---------- Exhibition detail pages ---------- */

.exhibit-intro {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 1.6rem 2rem;
}

.exhibit-intro p { margin: 0 0 1.4rem; }

.gallery-heading {
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 3rem 0 2.5rem;
}

.gallery {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.6rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Contact ---------- */

.contact-list {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 1.6rem 6rem;
  text-align: center;
}

.contact-list .contact-line {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
}

.contact-list a {
  border-bottom: 1px solid rgba(66,78,61,0.35);
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.contact-list a:hover {
  opacity: 0.6;
}
