/* ============================================
   THE VILLA BOWIE — Main Stylesheet
   Museum-quality dark earth Western Americana aesthetic
   ============================================ */

:root {
  --dark-1: #0d0a08;
  --dark-2: #1a1410;
  --dark-3: #241d16;
  --dark-4: #2e261d;
  --dark-5: #3a3028;
  --gold: #c8993a;
  --gold-light: #e8c168;
  --gold-dark: #8a6a20;
  --rust: #7a3020;
  --rust-light: #a04535;
  --cream: #f0e8d8;
  --cream-dim: #c8b898;
  --text-primary: #e8dfc8;
  --text-secondary: #a8998a;
  --text-muted: #706050;
  --border: rgba(200,153,58,0.2);
  --border-strong: rgba(200,153,58,0.45);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--dark-1);
  color: var(--text-primary);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,10,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(200,153,58,0.1);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 4px 8px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark-1);
  padding-top: 60px;
}

/* Dark gradient overlay so text stays readable */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(13,10,8,0.15) 0%,
    rgba(13,10,8,0.10) 45%,
    rgba(13,10,8,0.80) 80%,
    rgba(13,10,8,0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-top-bar {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
}



/* hidden image tag — exists only as lightbox click target */
.hero-image-wrap {
  display: none;
}

/* zoom hint — removed (hero zoom disabled) */
.hero-zoom-hint {
  display: none;
}



.hero-main-img {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  width: 100%;
  padding: 36px 40px 48px;
  background: transparent;
}

.hero-badge {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold-dark);
  padding: 7px 22px;
  border-radius: 2px;
  background: rgba(13,10,8,0.72);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 4px 30px rgba(0,0,0,1);
  margin: 0;
  padding: 6px 28px 10px;
  background: rgba(13,10,8,0.60);
  backdrop-filter: blur(4px);
  border-radius: 3px;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: var(--gold-light);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-meta i { color: var(--gold); }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-1);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 14px 34px;
  border-radius: 2px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(200,153,58,0.4);
}

.hero-cta:hover {
  color: var(--dark-1);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(200,153,58,0.5);
}

.hero-scroll-hint {
  display: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ---- PRICE BANNER ---- */
.price-banner {
  background: linear-gradient(135deg, var(--rust) 0%, var(--dark-3) 50%, var(--rust) 100%);
  padding: 40px 0;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}

.price-banner-inner {
  text-align: center;
}

.price-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.price-note {
  font-family: 'Crimson Text', serif;
  font-size: 0.92rem;
  color: var(--cream-dim);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- SECTIONS ---- */
.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.title-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 24px;
}

.section-intro {
  font-family: 'Crimson Text', serif;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ---- OVERVIEW ---- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.overview-image-col {
  position: sticky;
  top: 80px;
}

.img-caption {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.facts-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.facts-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,153,58,0.1);
}

.fact-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}

.fact-value {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ---- EXPERT AUTHENTICATION ---- */
.auth-section {
  background: var(--dark-2);
}

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

.auth-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.auth-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.auth-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.auth-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.auth-card p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- MARKINGS ---- */
.markings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.marking-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.marking-card:hover {
  border-color: var(--gold-dark);
}

.marking-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding: 30px;
}

.marking-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.marking-text {
  padding: 22px 24px;
}

.marking-card--wide .marking-text {
  padding: 0;
}

.marking-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.marking-meaning {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ---- PROVENANCE ---- */
.provenance-section {
  background: var(--dark-2);
}

.provenance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.provenance-doc {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}

.doc-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.doc-icon {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.doc-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.4;
}

.doc-body p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.doc-quote {
  border-left: 3px solid var(--gold-dark);
  padding: 12px 16px;
  background: rgba(200,153,58,0.05);
  margin: 16px 0;
  font-style: italic;
  color: var(--cream-dim);
  font-size: 0.97rem;
  line-height: 1.65;
}

.doc-quote cite {
  display: block;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 8px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.05em;
}

.doc-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
}

.mt-1 { margin-top: 20px; }

.provenance-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(122,48,32,0.12);
  border: 1px solid rgba(122,48,32,0.3);
  border-radius: 4px;
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.provenance-disclaimer i {
  color: var(--rust-light);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- HISTORY ---- */
.history-section {
  background: var(--dark-1);
}

.timeline {
  max-width: 860px;
  margin: 0 auto 60px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 130px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-dark), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 40px;
  margin-bottom: 44px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 121px;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dark-1);
  border: 2px solid var(--gold);
  z-index: 1;
}

.tl-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  text-align: right;
  padding-top: 4px;
  padding-right: 18px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.tl-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.tl-content p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.widow-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--dark-3);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}

.widow-quote-icon {
  font-size: 2.5rem;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.widow-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 20px;
}

.widow-card cite {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---- VALUATION ---- */
.valuation-section {
  background: var(--dark-2);
}

.asking-price-feature {
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  margin-bottom: 60px;
  position: relative;
}

.asking-price-feature::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  pointer-events: none;
}

.apf-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.apf-amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(200,153,58,0.3);
}

.apf-note {
  font-family: 'Crimson Text', serif;
  font-size: 0.97rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Comparables */
.comp-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.comp-intro {
  font-size: 0.97rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.comp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comp-table thead {
  background: var(--dark-4);
}

.comp-table th {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-strong);
}

.comp-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}

.comp-row:last-child td {
  border-bottom: none;
}

.comp-row--top td {
  background: rgba(200,153,58,0.04);
}

.comp-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold-light) !important;
  font-size: 1.05rem;
  white-space: nowrap;
}

.comp-context {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
}

/* ---- GALLERY ---- */
.gallery-section {
  background: var(--dark-1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  border-color: var(--gold-dark);
}

.gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item--featured .gallery-img {
  min-height: 400px;
}

.img-zoom-wrap {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.img-zoom-wrap:hover .gallery-img {
  transform: scale(1.04);
}

.zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(13,10,8,0.7);
  color: var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.img-zoom-wrap:hover .zoom-icon {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13,10,8,0.9) 0%, transparent 100%);
  color: var(--cream-dim);
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 24px 10px 10px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ---- ROTATE UTILITY ---- */
.rotate-180 {
  transform: rotate(180deg);
}

.img-zoom-wrap:hover .rotate-180 {
  transform: rotate(180deg) scale(1.04);
}

/* ---- SOURCES ---- */
.sources-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.sources-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sources-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sources-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.sources-list i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
  font-size: 0.85rem;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark-1);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-copy {
  flex: 1;
}

.footer-copy p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-disclaimer {
  font-size: 0.78rem !important;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.93);
  cursor: pointer;
}

.lb-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 60px 80px;
}

.lb-img-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  position: relative;
}

.lb-img-wrap.is-dragging { cursor: grabbing; }

.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.15s ease;
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

.lb-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(200,153,58,0.15);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.lb-close:hover {
  background: rgba(200,153,58,0.3);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(200,153,58,0.12);
  border: 1px solid var(--border);
  color: var(--gold-light);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.lb-nav:hover {
  background: rgba(200,153,58,0.28);
}

.lb-prev { left: 12px; }
.lb-next { right: 12px; }

.lb-controls {
  position: absolute;
  bottom: 46px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 2;
}

.lb-zoom-btn {
  background: rgba(200,153,58,0.12);
  border: 1px solid var(--border);
  color: var(--gold-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-zoom-btn:hover {
  background: rgba(200,153,58,0.28);
}

.lb-caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 80px;
}

/* ---- ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .overview-image-col {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .sources-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark-1);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-toggle { display: block; }

  .markings-grid {
    grid-template-columns: 1fr;
  }
  .marking-card--wide {
    grid-column: 1;
  }
  .provenance-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .timeline::before {
    left: 110px;
  }
  .timeline-item {
    grid-template-columns: 110px 1fr;
    gap: 24px;
  }
  .timeline-item::before {
    left: 101px;
  }
  .tl-date {
    font-size: 1rem;
    padding-right: 14px;
  }
  .lb-container {
    padding: 50px 16px 70px;
  }
  .lb-nav {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .comp-table { font-size: 0.85rem; }
  .comp-table th,
  .comp-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--featured {
    grid-column: span 2;
  }
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .facts-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  /* On mobile, adjust hero image sizing */
  .hero-bg-img {
    width: 96vw;
    height: 57.5vw; /* maintain ~1.67:1 ratio so rotate gives correct portrait */
  }
}
