* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: white;
  color: black;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 30px;
}

/* HEADER */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* thin separating line between header and page */
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding-bottom: 14px;
  margin-bottom: 26px;
}

.name {
  font-family: "Irish Grover", cursive;
  font-size: 50px;
  font-weight: normal;
}

/* About-page name link should look identical to the home title */
.name-link {
  color: black;
  text-decoration: none;
}
.name-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  color: black;
  font-size: 15px;
}
nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* COLLAGE (MASONRY) */
.gallery {
  column-count: 2;
  column-gap: 32px;
}

.gallery img {
  width: 100%;
  margin-bottom: 32px;
  display: block;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .gallery { column-count: 2; }
}
@media (max-width: 600px) {
  .gallery { column-count: 1; }
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Keep the image centered and large */
.lb-stage {
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
}

/* Buttons */
.lb-btn {
  position: fixed;
  border: none;
  background: rgba(255,255,255,0.85);
  color: black;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lb-btn:hover {
  background: rgba(255,255,255,0.95);
}

.lb-close {
  top: 18px;
  right: 18px;
  font-size: 30px;
}

.lb-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* Slightly smaller buttons on very small screens */
@media (max-width: 600px) {
  .lb-btn { width: 40px; height: 40px; font-size: 26px; line-height: 40px; }
}

/* FOOTER */
.site-footer {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.12);
  font-size: 13px;
  color: rgba(0,0,0,0.7);
}

/* ABOUT PAGE */
.about {
  max-width: 1100px;
}

.about-section {
  margin: 34px 0;
}

.about-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.about-section p {
  line-height: 1.55;
  max-width: 75ch;
}

.linkrow {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.linkrow a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding-bottom: 2px;
  color: black;
}
.linkrow a:hover {
  border-bottom-color: rgba(0,0,0,0.7);
}

/* mini photo sets after each link row */
.mini-gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

@media (max-width: 900px) {
  .mini-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mini-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ABOUT HERO: CAROUSEL + DROPDOWN */
.about-hero {
  margin-bottom: 28px;
}

.carousel {
  position: relative;
  margin-bottom: 14px;
}

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}

.carousel-track {
  display: flex;
  gap: 14px;
  padding: 10px;
}

.carousel-track img {
  width: min(480px, 75vw);
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  scroll-snap-align: start;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.9);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-btn:hover { background: rgba(255,255,255,0.98); }

.jump {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px;
}

.jump-label {
  font-size: 14px;
  color: rgba(0,0,0,0.75);
}

.jump-select {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  min-width: 220px;
}

.quote {
  margin: 44px 0 18px;
  font-style: italic;
  color: rgba(0,0,0,0.75);
}

.anchor-section {
  margin: 34px 0;
  padding-top: 6px;
}

.simple-list {
  margin-top: 10px;
  padding-left: 18px;
  line-height: 1.6;
}
.simple-list a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding-bottom: 2px;
}
.simple-list a:hover {
  border-bottom-color: rgba(0,0,0,0.7);
}

.contact-line {
  margin-top: 10px;
}