/* RESET / BASELINE */
html {
  box-sizing: border-box;
  font-family: "Georgia", serif;
  background: #faf9f7;
  color: #222;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
}

/* HEADER + NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: #faf9f7;
  text-align: center;
  padding: 1.5rem;
  border-bottom: 1px solid #ddd;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

nav li {
  display: inline;
}

nav a {
  text-decoration: none;
  color: #333;
  margin: 0 0.75rem;
}

nav a.active,
nav a:hover {
  border-bottom: 1px solid #000;
}

h1,
h2 {
  font-weight: 400;
}

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

header h1 a:hover {
  text-decoration: underline;
}

/* === FIXED LEFT / SCROLLING RIGHT LAYOUT === */
.split-layout {
  display: flex;
}

/* Left column: fixed portrait */
.portrait {
  position: fixed;
  top: 100px; /* height of header — adjust if needed */
  left: 0;
  width: 30vw;
  height: calc(100vh - 100px);
  overflow: hidden;
}

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

/* Right column: scrolling text */
.intro-text {
  margin-left: 30vw;
padding-top: 10rem;
  padding-left: 2rem;
  background: #faf9f7;
	height: auto;
}

.intro-text p + p {
  margin-top: 1rem;
}

/* BIOGRAPHY NARRATIVE */
.biography-narrative {
  margin-bottom: 3rem;
}

.biography-narrative p {
  margin-bottom: 1.5rem;
}

.biography-narrative a {
  color: #333;
  text-decoration: underline;
}

.biography-narrative a:hover {
  color: #000;
}

/* FEATURED CARDS */
.featured-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ddd;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.featured-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card .card-content {
  padding: 1.5rem;
}

.featured-card .card-content h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.featured-card .card-content p {
  margin: 0;
  line-height: 1.6;
  color: #666;
}

/* EXHIBITION SUBNav */
.exhibition-subnav {
  display: flex;
  gap: 2rem;
  margin: 2rem 0 3rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #ddd;
}

.exhibition-subnav h2 {
  margin: 0;
  font-size: 1.25rem;
}

.exhibition-subnav h2 a {
  color: #666;
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.exhibition-subnav h2 a:hover,
.exhibition-subnav h2 a.active {
  color: #222;
  border-bottom-color: #222;
}

.exhibitions-content {
  margin: 2rem 0;
}

.exhibition-timeline {
  margin-top: 2rem;
}

.exhibition-entry {
  margin-bottom: 2rem;
}

.exhibition-entry h3 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.exhibition-entry p {
  margin-top: 0;
  line-height: 1.7;
}

/* EXHIBITIONS LIST */
.exhibitions-list {
  margin: 3rem 0;
}

.exhibitions-list h2 {
  margin-bottom: 1rem;
}

.exhibitions-list .note {
  font-style: italic;
  color: #666;
}

/* CONTACT INFO */
.contact-info {
  margin-bottom: 3rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info a {
  color: #333;
  text-decoration: underline;
}

.contact-info a:hover {
  color: #000;
}

/* MAILING LIST FORM */
.mailing-list {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #ddd;
}

.mailing-list h2 {
  margin-bottom: 1rem;
}

.mailing-list .form-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background: #333;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mailing-list .form-link:hover {
  background: #000;
}

/* BIOGRAPHY TIMELINE */
.biography-timeline {
  margin-top: 2rem;
}

.bio-entry {
  margin-bottom: 2rem;
}

.bio-entry h3 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.bio-entry p {
  margin-top: 0;
  line-height: 1.7;
}

/* HIGHLIGHT SECTION */
.highlight {
  margin-left: 40vw;
  padding: 2rem;
  background: #faf9f7;
}

.featured-links {
  list-style: none;
  padding: 0;
}

.featured-links li {
  margin-bottom: 0.5rem;
}

.featured-links a {
  color: #333;
  text-decoration: none;
}

.featured-links a:hover {
  border-bottom: 1px solid #000;
}

/* GALLERY STYLES */
.gallery {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 0 auto 30vw;
}

.gallery h2 {
  margin-bottom: 1rem;
}

.gallery-intro {
  margin-bottom: 2rem;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;

}

.gallery-item {
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fff;
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}

img.crop-top {
  object-position: top;
}

.gallery-item figcaption {
  font-size: 0.9rem;
  color: #333;
  padding: 0.75rem 1rem;
  text-align: center;
}
/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

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

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.lightbox__figure {
  margin: 0;
  max-width: 80vw;
  max-height: 85vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  color: #eee;
}

.lightbox__figure img {
  max-width: 80vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #333;
  background: #111;
}

.lightbox__figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  text-align: center;
  color: #ccc;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.lightbox__nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .lightbox__inner {
    grid-template-columns: 1fr;
  }
  .lightbox__nav--prev,
  .lightbox__nav--next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .lightbox__nav--prev {
    left: 0.5rem;
  }
  .lightbox__nav--next {
    right: 0.5rem;
  }
}
/* FOOTER */
footer {
  margin-left: 40vw;
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem;
  border-top: 1px solid #ccc;
  background: #faf9f7;
}

/* === RESPONSIVE: STACK ON SMALL SCREENS === */
@media (max-width: 768px) {
  .portrait {
    position: absolute;
    top: 100px;
    width: 100%;
    height: 25vh;
  }
	.gallery{
		margin: auto;
	}

  .highlight,
  footer {
    margin-left: 0;
    padding: 1rem;
  }
	
	.intro-text{
		margin-left: 0;
		padding: 0.5rem;
		padding-top:40vh;
	}

  .featured-cards {
    grid-template-columns: 1fr;
  }

  .exhibition-subnav {
    flex-direction: column;
    gap: 1rem;
  }
}