/* Festival of Light — dark photo gallery theme */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #131417;
  color: #e4e1da;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: #d9a441; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .wordmark {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600;
  color: #f2efe8;
}

/* ---------- top strip ---------- */
.siteband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 32px;
  border-bottom: 1px solid #2a2c33;
  background: #17181c;
}
.wordmark { font-size: 26px; letter-spacing: 0.5px; }
.wordmark a { color: #f2efe8; }
.wordmark a:hover { text-decoration: none; color: #d9a441; }
.wordmark em { color: #d9a441; font-style: normal; }
.menurail { display: flex; gap: 26px; flex-wrap: wrap; }
.menurail a {
  color: #cfccc2;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.menurail a:hover { color: #d9a441; text-decoration: none; }

/* ---------- main column ---------- */
.photostream {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 60px;
}

/* ---------- hero ---------- */
.beamline {
  position: relative;
  margin: 0 0 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2a2c33;
}
.beamline img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.beamline-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 28px;
  background: linear-gradient(transparent, rgba(10,10,12,0.88));
}
.beamline-text h1 { font-size: 34px; margin-bottom: 6px; }
.beamline-text p { color: #d6d2c8; font-size: 16px; max-width: 640px; }

/* ---------- featured card ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin: 0 0 44px;
  border: 1px solid #2a2c33;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1b20;
}
.spotlight img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.spotlight-body { padding: 30px 32px; }
.spotlight-title { font-size: 28px; line-height: 1.25; margin: 8px 0 12px; }
.spotlight-title a { color: #f2efe8; }
.spotlight-title a:hover { color: #d9a441; text-decoration: none; }

/* ---------- card grid ---------- */
.lattice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 20px;
}
.frame {
  background: #1a1b20;
  border: 1px solid #2a2c33;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.frame:hover { border-color: #d9a441; }
.frame img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.frame-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.frame-kicker, .placard {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #d9a441;
  margin-bottom: 8px;
}
.frame-title { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.frame-title a { color: #f2efe8; }
.frame-title a:hover { color: #d9a441; text-decoration: none; }
.frame-text { color: #b9b5aa; font-size: 15px; flex: 1; }
.frame-more { margin-top: 14px; font-size: 14px; }

/* ---------- article page ---------- */
.exhibit { max-width: 780px; }
.exhibit h1 { font-size: 36px; line-height: 1.2; margin-bottom: 10px; }
.exhibit h2 { font-size: 25px; margin: 34px 0 12px; }
.exhibit p { margin-bottom: 16px; color: #d9d5cb; }
.deck {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.55;
  color: #efece4 !important;
  margin-bottom: 22px !important;
}
.darkroom-note {
  border-left: 3px solid #d9a441;
  background: #1a1b20;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.darkroom-note p { margin-bottom: 8px; color: #cfccc2; font-size: 15.5px; }
.darkroom-note p:last-child { margin-bottom: 0; }
.shelf {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #2a2c33;
}
.shelf h2 { font-size: 20px; margin: 0 0 10px; }
.shelf ul { list-style: none; }
.shelf li { margin-bottom: 8px; }
.shelf li::before { content: "— "; color: #d9a441; }

/* ---------- static pages / 404 ---------- */
.goneplate {
  max-width: 640px;
  margin: 60px auto;
  text-align: center;
  border: 1px solid #2a2c33;
  border-radius: 10px;
  background: #1a1b20;
  padding: 48px 36px;
}
.goneplate h1 { font-size: 40px; margin-bottom: 10px; }
.goneplate .deck { font-size: 18px; }
.goneplate ul { list-style: none; margin: 22px 0; }
.goneplate li { margin-bottom: 10px; }

/* ---------- footer ---------- */
.footband {
  border-top: 1px solid #2a2c33;
  background: #17181c;
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #8f8c83;
  font-size: 14px;
}
.footband a { color: #b9b5aa; }
.footband a:hover { color: #d9a441; }
.footband-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .lattice { grid-template-columns: repeat(2, 1fr); }
  .spotlight { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lattice { grid-template-columns: 1fr; }
  .beamline-text h1 { font-size: 26px; }
  .exhibit h1 { font-size: 28px; }
  .siteband { padding: 14px 20px; }
}
