/* Lauren Yoho Paints — based on Figma "Lauren Yoho - Inventory" */

:root {
  --ink: #4e4b4b;
  --black: #000;
  --white: #fff;
  --rule-width: 644px;
  --rule-max: 34vw;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Encode Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}

.wordmark {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

/* Each artwork mirrors a Figma slide: image right, title + details left */
.artwork {
  display: grid;
  grid-template-columns: minmax(300px, 40%) 1fr;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 0;
}

.artwork__info {
  padding: 2rem 3rem 2rem 4vw;
  justify-self: end;
  width: 100%;
  max-width: var(--rule-width);
}

.artwork__title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.artwork__rule {
  width: 100%;
  max-width: var(--rule-max);
  height: 1px;
  background: var(--ink);
  margin: 1.75rem 0;
}

.artwork__meta {
  list-style: none;
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  color: var(--black);
  line-height: 1.45;
}

.artwork__image {
  height: 100vh;
}

.artwork__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  border-top: 1px solid #eee;
}

@media (max-width: 900px) {
  .artwork {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }

  .artwork__info {
    order: 2;
    padding: 2.5rem 1.5rem;
    max-width: none;
  }

  .artwork__rule {
    max-width: min(644px, 70vw);
  }

  .artwork__image {
    order: 1;
    height: 60vh;
  }
}
