/* afropendium.com — parent landing. Cream + ink; the parent whispers so the collections can shout. */

:root {
  --ink: #141414;
  --cream: #F5EFE2;
  --navy: #170867;
  --gold: #e79c0f;
  --lime: #a9d70b;
  --cobalt: #0F4BBE;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Libre Franklin", sans-serif;
  line-height: 1.6;
}

/* ---- Global band (identical structure on every property) ---- */
.ap-band {
  background: var(--ink);
  color: var(--cream);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.ap-band a { color: var(--cream); text-decoration: none; }
.ap-band a:hover { color: var(--gold); }
.ap-band__home { display: flex; align-items: center; gap: 0.6rem; font-weight: 900; }
.ap-band__mark { height: 26px; filter: invert(1); }
.ap-band__where { opacity: 0.7; }

/* ---- Masthead ---- */
.masthead { text-align: center; padding: 14vh 1.5rem 10vh; }
.masthead__mark { height: clamp(80px, 14vw, 150px); margin-bottom: 1.5rem; }
.masthead__word {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 8.6vw, 7rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.masthead__sub {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  opacity: 0.75;
}

/* ---- Sections ---- */
.section-label {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-top: 3px solid var(--ink);
  padding-top: 0.75rem;
  margin-bottom: 2rem;
}
.wings, .now-showing, .about { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem; }

/* ---- Collection cards: each painted in its collection's language, framed by the parent ---- */
.wings__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.wing-card { display: block; text-decoration: none; color: var(--ink); border: 3px solid var(--ink); background: var(--cream); }
.wing-card:hover .wing-meta__enter { color: var(--gold); }

.wing-cover { aspect-ratio: 1 / 1; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; border-bottom: 3px solid var(--ink); }
/* Cover photos are grayscale; multiply blend renders them as a duotone of the collection color.
   cover-jazz.jpg: Thelonious Monk, Minton's Playhouse 1947, William P. Gottlieb (public domain, LOC).
   cover-afro.jpg: Milky Way galactic center, NASA/JPL-Caltech Spitzer (public domain). */
.wing-cover--jazz {
  background: var(--cobalt) url("/assets/img/cover-jazz.jpg") center / cover no-repeat;
  background-blend-mode: multiply;
}
.wing-cover--afro {
  background: var(--navy) url("/assets/img/cover-afro.jpg") center / cover no-repeat;
  background-blend-mode: multiply;
}
.wing-cover__meta { color: var(--cream); font-size: 0.7rem; letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.wing-cover__meta--gold { color: var(--gold); }
.wing-cover__title { color: var(--cream); font-weight: 900; line-height: 0.85; }
.wing-cover__title--jazz { font-family: "Libre Franklin", sans-serif; font-size: clamp(4rem, 10vw, 7rem); letter-spacing: -0.02em; }
.wing-cover__title--afro { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.4rem, 6vw, 4rem); }
.wing-cover__mark { position: absolute; top: 1rem; right: 1rem; height: 34px; }
.wing-cover__mark--cream { filter: invert(1); }
.wing-cover__constellation { position: absolute; top: 8%; left: 5%; width: 90%; height: 45%; }

.wing-meta { padding: 1.1rem 1.25rem 1.3rem; }
.wing-meta h3 { font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.wing-meta p { font-size: 0.95rem; }
.wing-meta__enter { display: inline-block; margin-top: 0.75rem; font-weight: 900; letter-spacing: 0.1em; }

/* ---- Now showing (populated by highlights.js) ---- */
.now-showing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.highlight-tile { border: 3px solid var(--ink); text-decoration: none; color: var(--ink); display: block; }
.highlight-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; border-bottom: 3px solid var(--ink); }
.highlight-tile div { padding: 0.8rem 1rem; }
.highlight-tile strong { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.highlight-tile span { font-size: 0.85rem; }

/* ---- About ---- */
.about p { max-width: 65ch; font-size: 1.05rem; }

/* ---- Global footer (identical structure on every property) ---- */
.ap-footer { background: var(--ink); color: var(--cream); text-align: center; padding: 3rem 1.5rem 2rem; margin-top: 4rem; }
.ap-footer__mark { height: 44px; filter: invert(1); margin-bottom: 0.75rem; }
.ap-footer__line { letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.ap-footer__wings { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.ap-footer__wings a { color: var(--cream); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; }
.ap-footer__wings a:hover { color: var(--gold); }
.ap-footer__legal { font-size: 0.75rem; opacity: 0.6; }

@media (max-width: 600px) {
  .ap-band__where { display: none; }
  .masthead { padding: 10vh 1.25rem 7vh; }
}
