:root {
  --ink: #1a1a2e;
  --muted: #5c5c7a;
  --accent: #e85d04;
  --accent-dark: #c44900;
  --bg: #faf8f5;
  --surface: #ffffff;
  --border: #e8e4de;
  --shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}

.site-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.content-blurb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}

.content-blurb .lead {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--ink);
  line-height: 1.3;
}

.content-blurb .tagline {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.5;
}

.content-blurb p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.content-blurb p:last-child {
  margin-bottom: 0;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

/* Slideshow */
.slideshow {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  aspect-ratio: 16 / 10;
}

.slideshow.is-empty {
  display: grid;
  place-items: center;
  background: var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.slideshow__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.slideshow__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d0d12;
}

.slideshow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.slideshow__btn:hover {
  background: #fff;
}

.slideshow__btn--prev {
  left: 0.75rem;
}

.slideshow__btn--next {
  right: 0.75rem;
}

.slideshow__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}

.slideshow__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slideshow__dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.gallery__item {
  border: none;
  padding: 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 26, 46, 0.12);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-empty {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .slideshow__btn {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.25rem;
  }
}
