/* ============================================================
   Diamonds Discovered — shared page styles
   Used by the homepage and the newer content pages
   (thesis, interview, documentary screening, new program).
   Same tokens, fonts and components as the original pages.
   ============================================================ */

:root {
  --cream: #F7F5F0;
  --ink: #1A1A1A;
  --red: #C0392B;
  --red-dark: #a5311f;
  --sepia: #8B7355;
  --sepia-light: #D4C4A8;
  --rule: #E0DBD0;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.section-label, .eyebrow {
  display: inline-block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.btn {
  display: inline-block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  padding: 14px 28px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--red); color: #fff !important; border: 1px solid var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff !important; }
.btn-outline { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff !important; }

/* ── Content page hero (dark band, like the original pages) ── */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 88px 24px 72px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.22;
  filter: grayscale(0.4) blur(2px);
  transform: scale(1.04);
}
.page-hero__inner { position: relative; max-width: 820px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--sepia-light); margin-bottom: 18px; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  line-height: 1.02;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--red); }
.page-hero__sub { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 60ch; }

/* ── Article body ── */
.page-body { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.page-body h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  margin: 44px 0 14px;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p { margin-bottom: 18px; }
.page-body a { color: var(--red); }

.callout {
  background: #fff;
  border-left: 3px solid var(--red);
  border-radius: 2px;
  padding: 22px 26px;
  margin: 8px 0 28px;
}
.callout .section-label { margin-bottom: 8px; }
.callout p { margin: 0; font-family: 'Playfair Display', serif; font-size: 1.3rem; line-height: 1.4; }

.notice {
  border: 1px dashed var(--sepia);
  border-radius: 3px;
  padding: 18px 22px;
  margin: 32px 0;
  color: #4a4a4a;
  font-size: 0.98rem;
}
.notice strong {
  display: block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 4px;
}

/* Event / program detail card */
.detail-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--red);
  border-radius: 3px;
  margin: 8px 0 32px;
}
.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
}
.detail-row:last-child { border-bottom: none; }
.detail-row dt {
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sepia);
  padding-top: 3px;
}
.detail-row dd { margin: 0; }
.tbd { color: var(--sepia); font-style: italic; }
@media (max-width: 560px) {
  .detail-row { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; }
}

.back-link {
  display: inline-block; margin-top: 12px;
  font-family: 'Courier Prime', monospace; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink) !important; text-decoration: none;
}
.back-link:hover { color: var(--red) !important; }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 32px 24px 96px; /* room for the sticky email bar */
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.site-footer nav { margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; margin: 0 10px; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }

/* Archival photo with credit line */
.photo-credit { margin: 8px 0 36px; }
.photo-credit img { width: 100%; height: auto; border-radius: 3px; border: 1px solid var(--rule); }
.photo-credit figcaption { font-size: 0.82rem; color: #5a5a5a; line-height: 1.5; margin-top: 10px; }
.photo-credit figcaption a { color: var(--sepia); }

/* Responsive 16:9 embed (slides, video) */
.embed-16x9 {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: 6px; overflow: hidden; background: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12); margin: 8px 0 10px;
}
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-link { font-family: 'Courier Prime', monospace; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px; }
.embed-link a { text-decoration: none; }

/* Book feature */
.book { display: flex; gap: 28px; align-items: center; margin: 8px 0 36px; }
.book__cover { flex: 0 0 180px; display: block; }
.book__cover img { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 10px 28px rgba(0,0,0,0.22); transition: transform 0.2s; }
.book__cover:hover img { transform: translateY(-3px); }
.book__text p { margin-bottom: 14px; }
.book__text .btn { color: #fff !important; text-decoration: none; }
.book__buy { font-family: 'Courier Prime', monospace; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 560px) { .book { flex-direction: column; align-items: flex-start; } .book__cover { flex-basis: auto; width: 160px; } }

/* Photo columns — full frames, never cropped */
.photo-columns { column-count: 2; column-gap: 16px; margin: 8px 0 10px; }
.photo-columns figure { break-inside: avoid; margin: 0 0 16px; }
.photo-columns img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 2px; }
.photo-columns figcaption { font-size: 0.78rem; color: #5a5a5a; line-height: 1.4; margin-top: 6px; }
@media (max-width: 620px) { .photo-columns { column-count: 1; } }
.photo-grid__note { font-family: 'Courier Prime', monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sepia); margin-bottom: 30px; }

/* Where to go next */
.next-up { background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--red); border-radius: 2px; padding: 22px 26px; margin: 8px 0 30px; }
.next-up ul { list-style: none; margin: 8px 0 0; padding: 0; }
.next-up li { margin-bottom: 10px; }
.next-up li:last-child { margin-bottom: 0; }
.next-up a { font-family: 'Playfair Display', serif; font-size: 1.12rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.next-up a:hover { color: var(--red); border-bottom-color: var(--red); }

/* Big single call to action */
.big-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  padding: 34px 34px 36px;
  margin: 14px 0 32px;
  text-align: center;
}
.big-cta .section-label { color: var(--sepia-light); }
.big-cta h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.1;
  margin: 10px 0 12px;
  color: #fff;
}
.big-cta p { color: rgba(255,255,255,0.75); max-width: 52ch; margin: 0 auto 22px; }
.big-cta .btn-primary { color: #fff !important; }
@media (max-width: 560px) { .big-cta { padding: 26px 20px 28px; } }

/* "Go see it yourself" block */
.visit {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--red);
  border-radius: 3px;
  padding: 34px 32px 30px;
  margin: 18px 0 32px;
}
.visit h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.08;
  margin: 10px 0 14px;
}
.visit__lede { font-size: 1.08rem; }
.visit .btn-primary { color: #fff !important; text-decoration: none; margin: 6px 0 4px; }
.visit__notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.visit__note h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.visit__note p { font-size: 0.96rem; line-height: 1.6; margin-bottom: 10px; }
.visit__note a {
  font-family: 'Courier Prime', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(192,57,43,0.35);
}
.visit__note a:hover { border-bottom-color: var(--red); }
@media (max-width: 620px) {
  .visit { padding: 26px 20px 24px; }
  .visit__notes { grid-template-columns: 1fr; gap: 22px; }
}
