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

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:       #C4714A;
  --accent-lt:    #F5E9E2;
  --accent-dk:    #A05A38;
  --dark:         #111111;
  --dark2:        #1E1E1E;
  --mid:          #555555;
  --light:        #FAFAF8;
  --white:        #FFFFFF;
  --border:       #E8E4DF;
  --gold:         #C9A96E;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --max-w:        1200px;
  --radius:       6px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--dark);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { color: var(--mid); line-height: 1.75; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dk); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* ── Scroll-reveal animations ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Progress bar ───────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Nav ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark);
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ── Hero (Home) ────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 64px);
  background: var(--white);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 120%;
  background: var(--accent-lt);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text { max-width: 500px; }

.hero-title {
  margin-bottom: 1.4rem;
  color: var(--dark);
}
.hero-title em {
  color: var(--accent);
  font-style: italic;
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dk);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,113,74,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--dark);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
}

.hero-visual {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  height: 580px;
}

.hero-img-main {
  flex: 2;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-img-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.hero-img-stack > div {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 1;
}
.hero-img-stack img { width: 100%; height: 100%; object-fit: cover; }

/* ── Section Headers ────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  gap: 2rem;
}
.section-head h2 { margin: 0; }
.section-head a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Gallery Grid (Masonry-style) ───────────────────────────── */
.gallery-masonry {
  columns: 3;
  column-gap: 1.2rem;
}
.gallery-masonry .gallery-card {
  break-inside: avoid;
  margin-bottom: 1.2rem;
}

.gallery-grid-even {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--dark2);
  box-shadow: var(--shadow);
}

.gallery-card-img {
  width: 100%;
  display: block;
}
.gallery-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.97);
}
.gallery-card:hover .gallery-card-img img {
  transform: scale(1.04);
  filter: brightness(0.75);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.2rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-overlay { transform: translateY(0); }

.gallery-card-label {
  position: absolute;
  bottom: 0.8rem;
  left: 1rem;
  right: 1rem;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-card-label { opacity: 0; }

.gallery-card-overlay h3,
.gallery-card-label h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.gallery-card-overlay p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.5;
}
.overlay-annotation {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
  line-height: 1.5;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 0.5rem;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--accent-lt);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.view-btn svg { width: 14px; height: 14px; }

/* ── Filter Bar ─────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--mid);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--accent-lt);
  border-radius: 50%;
  transform: translate(50%, 50%);
  opacity: 0.5;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.8rem; }
.page-hero p { font-size: 1.05rem; max-width: 560px; }

/* ── Notes / Journal ────────────────────────────────────────── */
.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.note-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  transition: box-shadow 0.3s;
  border: 1px solid var(--border);
}
.note-card:hover { box-shadow: var(--shadow-lg); }

.note-card-img {
  position: relative;
  background: var(--accent-lt);
  overflow: hidden;
  min-height: 280px;
}
.note-card-img.has-img {
  cursor: zoom-in;
}
.note-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.note-card-img.has-img:hover img { transform: scale(1.04); }
.note-card-img .zoom-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: white;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
}
.note-card-img.has-img:hover .zoom-hint { opacity: 1; }

.note-card-body {
  padding: 2rem 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--white);
}

/* Subtle ruled-line background — notebook feel */
.note-card-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    transparent,
    transparent 27px,
    rgba(196,113,74,0.06) 27px,
    rgba(196,113,74,0.06) 28px
  );
  pointer-events: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.note-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.note-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.note-tag {
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--accent-lt);
  color: var(--accent);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.note-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--dark);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.note-content {
  font-size: 0.9rem;
  color: #3A3A3A;
  line-height: 1.95;
  position: relative;
  z-index: 1;
}
.note-para {
  margin-bottom: 0.6rem;
  color: #3A3A3A;
}
.note-para:last-child { margin-bottom: 0; }

/* ── Progress Timeline ──────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
  position: relative;
  padding-bottom: 3.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.6rem;
  top: 0.4rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 1;
}
.timeline-item.featured .timeline-dot {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 0 12px rgba(201,169,110,0.5);
  width: 22px;
  height: 22px;
  left: -2.75rem;
}

.timeline-date {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.timeline-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}
.timeline-item.featured .timeline-card {
  border-color: var(--gold);
  border-width: 1.5px;
}

.timeline-card-body { padding: 1.4rem 1.6rem; }
.timeline-card-body h3 { margin-bottom: 0.5rem; color: var(--dark); }
.timeline-card-body p { font-size: 0.9rem; margin: 0; }

.exhibition-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--gold), #E8C48A);
  color: #5A3A1A;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.timeline-card-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

/* ── About Section ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: 1rem;
  bottom: 1rem;
  border: 2px solid var(--accent-lt);
  border-radius: var(--radius);
  z-index: 0;
}
.about-img {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  background: var(--accent-lt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img .placeholder-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.35;
}

.about-content h2 { margin-bottom: 1.2rem; }
.about-content p { margin-bottom: 1rem; }

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.about-fact .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}
.about-fact .value {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--dark);
}

/* ── Featured Work Strip ────────────────────────────────────── */
.featured-strip {
  background: var(--dark2);
  padding: 5rem 0;
  color: var(--white);
}
.featured-strip .section-head h2 { color: var(--white); }
.featured-strip .section-head { border-color: rgba(255,255,255,0.12); }
.featured-strip .section-head a { color: rgba(255,255,255,0.6); }
.featured-strip .section-head a:hover { color: var(--accent); }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 0;
}
.lightbox.open { display: flex; }

.lightbox-inner {
  display: flex;
  width: 100vw;
  height: 100vh;
  gap: 0;
  align-items: stretch;
}

/* Image side — takes all remaining space */
.lightbox-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 2.5rem;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: opacity 0.15s ease;
}

/* Info panel — fixed width on right */
.lightbox-panel {
  flex: 0 0 320px;
  background: rgba(20,18,16,0.98);
  border-left: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  overflow-y: auto;
  padding: 3.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lightbox-panel::-webkit-scrollbar { width: 3px; }
.lightbox-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.lb-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.lb-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.lb-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.6rem;
  font-style: italic;
}
.lb-divider {
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.4rem;
  border-radius: 1px;
}
.lb-description {
  font-size: 0.87rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.4rem;
  white-space: pre-line;
}
.lb-annotation-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.lb-annotation {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 0.8rem;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background 0.2s, transform 0.2s;
  z-index: 1001;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.22); transform: translateY(-50%) scale(1.08); }
#lightbox-prev { left: 1rem; }
/* next button stays left of the panel */
#lightbox-next { right: calc(320px + 1rem); }

/* ── WIP Progress Strip ─────────────────────────────────────── */
.wip-strip {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.wip-strip img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
  border: 1.5px solid var(--border);
}
.wip-strip img:hover { opacity: 1; transform: scale(1.08); }

/* ── Empty State ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--mid);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; display: block; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.8rem;
}
footer strong { color: rgba(255,255,255,0.75); }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  display: block;
}
.footer-logo span { color: var(--accent); }

/* ── No-image placeholder ───────────────────────────────────── */
.no-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  font-size: 3rem;
  opacity: 0.3;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lightbox-panel { flex: 0 0 280px; }
  #lightbox-next { right: calc(280px + 1rem); }
}

@media (max-width: 900px) {
  .hero::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 380px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-masonry { columns: 2; }
  .note-card { grid-template-columns: 1fr; }
  .note-card-img { min-height: 220px; }
  /* On tablet: lightbox stacks vertically */
  .lightbox-inner { flex-direction: column; }
  .lightbox-img-wrap { flex: 1; padding: 1.5rem 1.5rem 0; }
  .lightbox-panel {
    flex: 0 0 auto;
    width: 100%;
    max-height: 45vh;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem;
  }
  #lightbox-next { right: 1rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--light); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; gap: 1.2rem; z-index: 400; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .gallery-masonry { columns: 1; }
  .gallery-grid-even { grid-template-columns: 1fr 1fr; }
  section { padding: 4rem 0; }
  .hero { min-height: auto; padding: 3rem 0; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-visual { height: 300px; }
  .hero-img-stack { display: none; }
  .about-facts { grid-template-columns: 1fr; }
  .timeline { padding-left: 2rem; }
  #lightbox-prev, #lightbox-next { display: none; }
  .note-card-body { padding: 1.4rem; }
}
