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

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --teal:        #1d6b6b;
  --teal-light:  #2a8f8f;
  --teal-dim:    #0f3d3d;
  --cream:       #faf7f2;
  --warm-grey:   #e8e3db;
  --mid-grey:    #9a9490;
  --charcoal:    #2c2420;
  --white:       #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  --nav-h: 68px;
  --max-w: 1280px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Navigation ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  border-top: 3px solid var(--teal);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--teal-light);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--warm-grey);
  transition: color 0.2s;
}

nav ul a:hover,
nav ul a.active { color: var(--teal-light); }

/* ── Page wrapper ───────────────────────────────────────────── */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── HOME ───────────────────────────────────────────────────── */
.home-hero {
  padding: 5rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.15;
  color: #3d3530;
}

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

.home-hero p {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: #5a5550;
  max-width: 38ch;
}

.home-hero .cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2.2rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.home-hero .cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

/* Highlight mosaic on home */
.home-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
}

.home-mosaic a:first-child {
  grid-row: 1 / 3;
}

.home-mosaic .tile {
  overflow: hidden;
  background: var(--warm-grey);
}

.home-mosaic .tile svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.home-mosaic a:hover .tile svg { transform: scale(1.04); }

/* Info strip below hero */
.home-info {
  border-top: 1px solid var(--warm-grey);
  border-bottom: 1px solid var(--warm-grey);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.home-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal-light);
  display: inline-block;
}

.home-info p {
  font-size: 0.9rem;
  color: #5a5550;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.page-header {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--warm-grey);
  margin-bottom: 3rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #3d3530;
}

.page-header p {
  margin-top: 0.75rem;
  color: var(--mid-grey);
  font-size: 1rem;
}

.about-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  padding-bottom: 5rem;
}

.about-body p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #3a3835;
}

.about-aside {
  padding-top: 0.25rem;
}

.about-aside h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.about-aside ul {
  list-style: none;
  font-size: 0.9rem;
  color: #5a5550;
}

.about-aside ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--warm-grey);
}

/* ── GALLERY ────────────────────────────────────────────────── */
.gallery-controls {
  padding: 2rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.gallery-controls h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.gallery-controls p {
  font-size: 0.85rem;
  color: var(--mid-grey);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-bottom: 5rem;
}

.gallery-tile {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-tile .thumb-wrap {
  overflow: hidden;
  background: var(--warm-grey);
  aspect-ratio: 3 / 4;
}

.gallery-tile svg,
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.gallery-tile:hover svg,
.gallery-tile:hover img { transform: scale(1.05); }

.gallery-tile .caption {
  padding: 0.75rem 0 0.25rem;
}

.gallery-tile .caption .title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.3;
}

.gallery-tile .caption .artist {
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 0.15rem;
  font-weight: 500;
}

.gallery-tile .caption .media {
  font-size: 0.75rem;
  color: var(--mid-grey);
  margin-top: 0.1rem;
}

/* ── Lightbox ───────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 16, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 800px;
  width: 100%;
  background: var(--white);
}

.lightbox-inner .lb-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--warm-grey);
  overflow: hidden;
}

.lightbox-inner .lb-image svg,
.lightbox-inner .lb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-inner .lb-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.lightbox-inner .lb-info h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.lightbox-inner .lb-info p {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-top: 0.3rem;
}

.lb-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding-bottom: 5rem;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: #5a5550;
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.3rem;
  margin-top: 1.2rem;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--warm-grey);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--teal); }

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.8rem 2.2rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.contact-form button:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--mid-grey);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: var(--mid-grey);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
}

footer a { color: var(--teal-light); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero { grid-template-columns: 1fr; }
  .home-mosaic { display: none; }
  .about-body, .contact-layout { grid-template-columns: 1fr; }
  .home-info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .home-info { grid-template-columns: 1fr; }
  nav ul { gap: 1.2rem; }
  .nav-logo { font-size: 1rem; }
}
