/* =========================
   GLOBAL
========================= */

body {
  margin: 0;
  font-family: Georgia, serif;
  background: #111;
  color: #f4f1ea;
}

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

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

.section-label {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9b7a0;
}

/* =========================
   HERO (HOME ONLY)
========================= */

.home-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* =========================
   HEADER / NAV
========================= */

.site-header-overlay {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: none;
}

.site-header-solid {
  background: #111;
  border-bottom: 1px solid #2d2d2d;
}

.topbar {
  padding: 20px 24px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: center;
}

.main-nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.main-nav a:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

/* =========================
   HOME BRAND
========================= */

.hero-brand {
  padding: 20px 24px 0;
}

.hero-title-image {
  width: min(760px, 70vw);
}

.hero-brand-subtitle {
  margin: 10px 0 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* =========================
   HOME HERO TEXT
========================= */

.hero-copy {
  align-self: end;
  max-width: 720px;
  padding: 0 24px 50px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: normal;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-text {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f4ede3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* =========================
   BUTTONS
========================= */

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  padding: 10px 18px;
  background: #f0e9df;
  color: #111;
  border: 1px solid #f0e9df;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
}

.button:hover {
  background: #ffffff;
}

.button-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* =========================
   HOME INTRO
========================= */

.home-intro {
  background: #171717;
  padding: 60px 24px;
}

.intro-inner {
  max-width: 900px;
  margin: 0 auto;
}

.home-intro h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: normal;
}

.home-intro p {
  margin: 0;
  color: #ddd2c3;
  line-height: 1.8;
}

/* =========================
   FEATURE STRIP
========================= */

.home-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #101010;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
}

.feature-card {
  padding: 40px 24px;
  border-right: 1px solid #262626;
}

.feature-card:last-child {
  border-right: none;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: normal;
}

.feature-card p {
  margin: 0 0 14px;
  color: #d6ccbe;
  line-height: 1.75;
}

.text-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(240, 233, 223, 0.6);
}

/* =========================
   CLEAN PAGE HEADER
========================= */

.page-header {
  padding: 50px 24px 30px;
  border-bottom: 1px solid #262626;
  background: #111;
}

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

.page-header h1 {
  margin: 0 0 10px;
  font-size: 2.6rem;
  font-weight: normal;
}

.page-subtitle {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9b7a0;
}

.artwork-page-header {
  padding-bottom: 16px;
}

/* =========================
   GALLERY / FEATURED WORKS
========================= */

.gallery-page {
  padding: 60px 24px;
  background: #111;
}

.gallery-intro {
  max-width: 900px;
  margin: 0 auto 30px;
}

.gallery-intro p {
  color: #ddd2c3;
  line-height: 1.8;
}

.curated-gallery {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.secondary-pieces {
  display: grid;
  gap: 28px;
}

.featured-piece {
  background: #151515;
  border: 1px solid #262626;
  overflow: hidden;
}

.featured-piece img {
  width: 100%;
  display: block;
}

.piece-link {
  display: block;
}

.piece-copy {
  padding: 18px 18px 20px;
}

.piece-copy h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: normal;
}

.piece-copy p {
  margin: 0;
  color: #c8bfb2;
  line-height: 1.7;
}

/* If Featured Works uses 3 equal cards */
.gallery-page .curated-gallery > .featured-piece {
  height: 100%;
}

/* =========================
   ARTWORK PAGES
========================= */

.artwork-full {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.artwork-full-image {
  display: flex;
  justify-content: center;
}

.artwork-full-image img {
  width: 80%;
  max-width: 420px;
  height: auto;
  border: 1px solid #262626;
}

.artwork-full-text {
  max-width: 560px;
}

.artwork-full-text h1 {
  margin: 0 0 10px;
  font-size: 2.2rem;
  font-weight: normal;
}

.artwork-meta {
  margin: 0 0 20px;
  color: #c9b7a0;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.artwork-description p {
  margin: 0 0 18px;
  line-height: 1.85;
  color: #ddd2c3;
}

.artwork-nav {
  margin-top: 30px;
}

.artwork-nav-split {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================
   VISIT SECTION
========================= */

.home-visit {
  padding: 60px 24px;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.visit-grid h3 {
  margin: 0 0 6px;
  font-weight: normal;
}

.visit-grid p {
  color: #d2c7b8;
  line-height: 1.8;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #2d2d2d;
  color: #bfb4a7;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lightbox-image {
  cursor: zoom-in;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .home-feature-strip,
  .visit-grid,
  .curated-gallery,
  .artwork-full {
    grid-template-columns: 1fr;
  }

  .artwork-full-image img {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .artwork-full {
    padding-left: 20px;
    padding-right: 20px;
  }
}/* =========================
   FEATURED WORKS - EQUAL IMAGE GRID
========================= */

.featured-grid-equal {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.featured-card-equal {
  background: #151515;
  border: 1px solid #262626;
  overflow: hidden;
}

/* This is the key */
.image-frame {
  width: 100%;
  aspect-ratio: 4 / 3; /* forces same shape */
  overflow: hidden;
  background: #0f0f0f;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops evenly */
}

/* Optional subtle hover polish */
.featured-card-equal:hover img {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .featured-grid-equal {
    grid-template-columns: 1fr;
  }
}/* =========================
   PLACEHOLDER PAGES
========================= */

.placeholder-page {
  padding: 80px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.placeholder-inner {
  max-width: 600px;
}

.placeholder-inner h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  font-weight: normal;
}

.placeholder-inner p {
  margin: 0 0 24px;
  color: #ddd2c3;
  line-height: 1.8;
}