/* === Reset & Design Tokens === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:     #f7f4ef;
  --color-text:   #2d2926;
  --color-accent: #8a7560;
  --color-border: #dcd5c8;
  --color-white:  #ffffff;
  --color-dark:   #1e1c1a;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;

  --max-w: 1120px;
  --section-pad: 5rem 2rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}

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

/* === Header / Nav === */
#header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 244, 239, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.25s;
}

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

/* === Hero === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(30, 28, 26, 0.45), rgba(30, 28, 26, 0.45)),
    url('assets/pottery/IMG_6504%20-%20Edited.png') center / cover no-repeat;
}

.hero-content {
  color: var(--color-white);
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Logo card — white-bg image on dark hero */
.hero-logo-wrap {
  display: inline-block;
  background: rgba(247, 244, 239, 0.92);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.hero-logo {
  height: 90px;
  width: auto;
  display: block;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}

.hero-location {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
}

/* === Sections === */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title.align-left {
  text-align: left;
  margin-bottom: 1.25rem;
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  background: var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

.show-more-wrap {
  text-align: center;
  padding-top: 0.5rem;
}

.btn-outline {
  display: inline-block;
  padding: 0.7rem 2.5rem;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

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

/* === Divider === */
.full-divider {
  border-top: 1px solid var(--color-border);
  width: 100%;
}

/* === About === */
.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}

.artist-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.artist-name-caption {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-accent);
  text-align: center;
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

.body-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
}

.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-accent);
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

/* === Contact === */
.contact-section {
  text-align: center;
}

.contact-line {
  margin-bottom: 0.6rem;
}

.contact-email {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.contact-email:hover {
  opacity: 0.72;
  text-decoration: underline;
}

.contact-studio {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.52;
}

/* === Footer === */
footer {
  background: var(--color-dark);
  color: rgba(247, 244, 239, 0.38);
  text-align: center;
  padding: 2rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* === Lightbox === */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0.93);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#lightbox[hidden] {
  display: none;
}

#lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 12px 70px rgba(0, 0, 0, 0.65);
}

.lb-btn {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lb-close {
  top: 1.25rem;
  right: 1.5rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  font-size: 1.6rem;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 5rem;
  font-size: 2.6rem;
  border-radius: 3px;
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* === Responsive === */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .artist-photo {
    max-width: 300px;
  }

  .section-title.align-left {
    text-align: center;
  }
}

@media (max-width: 640px) {
  nav {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-item img {
    height: 180px;
  }

  :root {
    --section-pad: 3.5rem 1.25rem;
  }

  .hero {
    min-height: 70vh;
  }

  .lb-prev { left: 0.25rem; }
  .lb-next { right: 0.25rem; }
}
