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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #faf8f5;
  --white: #ffffff;
  --black: #111111;
  --gray: #6b6b6b;
  --light-gray: #e8e4df;
  --accent: #e06060;
  --teal: #6dbfb3;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--cream);
  border-bottom: 3px solid var(--teal);
  z-index: 100;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Page wrapper ── */
main {
  padding-top: 72px;
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--black);
  transition: background 0.2s, color 0.2s;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gray);
  border-color: var(--gray);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ── Section wrapper ── */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-body {
  color: var(--gray);
  max-width: 680px;
  font-weight: 300;
}

/* ── Divider ── */
hr.divider {
  border: none;
  border-top: 1px solid var(--light-gray);
  margin: 0;
}

/* ── Grid ── */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  overflow: hidden;
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--light-gray);
}

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 300;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
}

.page-hero p {
  margin-top: 0.75rem;
  color: var(--gray);
  font-weight: 300;
}

/* ── About layout ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 1rem;
}

/* ── Statement ── */
.statement-body {
  max-width: 720px;
  margin: 0 auto;
}

.statement-body p {
  font-size: 1.05rem;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.statement-body blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s;
}

.ig-link:hover {
  border-color: var(--accent);
}

.ig-link svg {
  width: 18px;
  height: 18px;
}

/* ── Form ── */
form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

input, textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, textarea:focus {
  border-color: var(--accent);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--light-gray);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb span { color: var(--light-gray); }

/* ── Category cards ── */
.category-grid {
  display: grid;
  gap: 1.5rem;
}

.category-grid-2 { grid-template-columns: repeat(2, 1fr); }
.category-grid-3 { grid-template-columns: repeat(3, 1fr); }

.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--black);
}

.category-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.82;
}

.category-card:hover img {
  transform: scale(1.04);
  opacity: 0.6;
}

.category-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.category-card-label h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.category-card-label p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ── Artwork cards ── */
.artwork-card {
  background: var(--white);
  overflow: hidden;
}

.artwork-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

/* Lightbox */
#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
#lb-overlay.active { display: flex; }
#lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}
#lb-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}
#lb-close:hover { opacity: 1; }

.artwork-info {
  padding: 0.9rem 1.1rem 1.1rem;
  border-top: 2px solid var(--teal);
}

.artwork-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.artwork-meta {
  font-size: 0.76rem;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── Slideshow ── */
.slideshow-wrap {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.slideshow-track {
  display: flex;
  transition: transform 0.35s ease;
}

.slideshow-track img {
  min-width: 100%;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.slideshow-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem;
  background: rgba(0,0,0,0.45);
}

.ss-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ss-btn:hover { background: var(--teal); border-color: var(--teal); }

.ss-dots { display: flex; gap: 0.4rem; align-items: center; }

.ss-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s;
}

.ss-dot.active { background: var(--white); }

@media (max-width: 768px) {
  .category-grid-2 { grid-template-columns: 1fr; }
  .category-grid-3 { grid-template-columns: 1fr; }
}
