:root {
  --ink: #272727;
  --muted: #777;
  --line: #e4e4e4;
  --bg: #fff;
  --soft: #f6f6f6;
  --heading: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "PT Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 28px 40px; color: #fff; }
.plain .site-header { position: relative; color: var(--ink); border-bottom: 1px solid var(--line); }
.logo { font: 600 20px/1 var(--heading); letter-spacing: .25em; text-transform: uppercase; text-decoration: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav a { font: 400 13px/1 var(--heading); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: currentColor; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }
.site-header { text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.plain .site-header { text-shadow: none; }

/* Hero + banners */
.hero, .banner { position: relative; background: #333 center / cover no-repeat; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero::before, .banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.hero { min-height: 100vh; }
.banner { min-height: 70vh; }
@media (min-width: 1025px) and (hover: hover) { .hero, .banner { background-attachment: fixed; } }
.hero-inner, .banner h2 { position: relative; }
.hero h1, .banner h2 { margin: 0; padding: 0 20px; font: 300 clamp(40px, 8vw, 90px)/1.1 var(--heading); letter-spacing: .2em; text-transform: uppercase; }
.scroll-down { display: inline-block; margin-top: 40px; font: 400 12px/1 var(--heading); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.scroll-down::after { content: ""; display: block; width: 1px; height: 40px; margin: 14px auto 0; background: #fff; }

/* Content */
.content { max-width: 960px; margin: 0 auto; padding: 90px 40px; }
.content > figure, .content > .pair, .content > .slideshow, .content > .gallery, .content > .people { margin: 40px 0; }
.content h1, .content h2, .content h3 { font-family: var(--heading); text-transform: uppercase; text-align: center; color: var(--ink); }
.content h2 { font-weight: 400; font-size: clamp(22px, 3vw, 30px); letter-spacing: .15em; line-height: 1.4; margin: .6em 0; }
.content h3 { font-weight: 400; font-size: 17px; letter-spacing: .2em; margin: .5em 0; }
.page-title { font-weight: 300; font-size: clamp(32px, 5vw, 52px); letter-spacing: .2em; margin: 0 0 50px; }
.story { max-width: 640px; margin: 0 auto; }
.story ol { padding-left: 1.4em; }
.signoff { font-style: italic; }
.center { text-align: center; }
.muted { color: var(--muted); }
figure { margin: 0; }
.narrow { max-width: 420px; margin-left: auto !important; margin-right: auto !important; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.button { display: inline-block; margin-top: 10px; padding: 16px 32px; border: 2px solid var(--ink); font: 400 13px/1 var(--heading); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background-color .15s, color .15s; }
.button:hover { background: var(--ink); color: #fff; }
.schedule { list-style: none; max-width: 520px; margin: 40px auto 0; padding: 0; }
.schedule li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.schedule span { display: inline-block; min-width: 100px; font: 600 14px/1 var(--heading); letter-spacing: .12em; text-transform: uppercase; }
.content p a { word-break: break-word; }

/* Galleries */
.gallery { display: grid; gap: 20px; }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.gallery a:hover img { transform: scale(1.04); opacity: .9; }

/* Slideshow */
.slides { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s; }
.slides img.active { opacity: 1; }
.slides button, .lightbox button { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 36px; line-height: 1; width: 48px; height: 64px; cursor: pointer; }
.slides .prev, .lightbox .prev { left: 0; }
.slides .next, .lightbox .next { right: 0; }
.slideshow .caption { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.thumbs button { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; opacity: .5; }
.thumbs button.active, .thumbs button:hover { opacity: 1; }
.thumbs img { height: 80px; width: auto; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 40px; }
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.person figcaption { margin-top: 14px; text-align: center; font: 400 15px/1.4 var(--heading); letter-spacing: .18em; text-transform: uppercase; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.lightbox .close { top: 30px; right: 10px; transform: none; height: 48px; font-size: 32px; background: none; }
.lightbox .prev, .lightbox .next { background: none; }

/* Footer */
.site-footer { padding: 60px 20px; text-align: center; border-top: 1px solid var(--line); font: 400 13px/1 var(--heading); letter-spacing: .2em; text-transform: uppercase; }
.site-footer p { margin: 18px 0 0; color: var(--muted); }
.to-top { text-decoration: none; }

/* Mobile */
@media (max-width: 860px) {
  .site-header { padding: 20px; }
  .nav-toggle { display: block; color: inherit; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; color: var(--ink); text-shadow: none; box-shadow: 0 6px 20px rgba(0,0,0,.1); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  .site-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .content { padding: 60px 20px; }
  .gallery.cols-3, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .people { grid-template-columns: 1fr; }
  .banner { min-height: 50vh; }
}
@media (max-width: 480px) { .pair { grid-template-columns: 1fr; } }
