:root {
  --green: #296251;
  --cream: #fefaef;
  --cream-dim: rgba(254, 250, 239, 0.65);
  --cream-faint: rgba(254, 250, 239, 0.55);
  --line: rgba(254, 250, 239, 0.25);
  --line-soft: rgba(254, 250, 239, 0.15);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
}

a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--cream-faint);
}
a:hover { opacity: 0.75; }

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- HOMEPAGE HERO ---- */

.wordmark {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(64px, 18vw, 190px);
  line-height: 1;
  color: var(--cream);
  margin-top: clamp(56px, 12vw, 156px);
  text-align: center;
}

.hero-image {
  position: relative;
  width: min(465px, 80vw);
  aspect-ratio: 465 / 450;
  overflow: hidden;
  margin-top: -20px;
  z-index: 1;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.hero-image--empty {
  background: rgba(254, 250, 239, 0.08);
  border: 1px dashed var(--line);
}
.hero-credit {
  position: absolute;
  left: 8px;
  bottom: 5px;
  font-size: 8px;
  letter-spacing: 0.01em;
  color: rgba(254, 250, 239, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ---- BANDS ---- */

.band {
  width: 100%;
  margin: 0;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page > .band:first-of-type { margin-top: 90px; }

.band-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 34px;
  color: var(--cream);
  margin: 0;
}
.band-sub {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--cream-dim);
  margin-top: 8px;
}
.band-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(254, 250, 239, 0.85);
  margin-top: 20px;
  max-width: 560px;
}
.band-link {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--cream);
  text-decoration: underline;
  margin-top: 20px;
}

/* homepage calendar preview reuses .event-list / .event-row (see CALENDAR PAGE section below) */
.event-list--preview { margin-top: 28px; }

/* Cinema Solta film card */
.film-card {
  width: 100%;
  max-width: 600px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: rgba(254, 250, 239, 0.06);
  padding: 30px 28px;
  text-align: left;
}

/* Film card as a poster+info "sheet" — used on the homepage teaser
   (.film-card--home) and the full Cinema Solta catalog (.film-card--sheet).
   Same field set every time so cards stay symmetric regardless of content
   length: fixed-ratio image box (object-fit: cover), flexible text column. */
.film-card--home,
.film-card--sheet {
  max-width: 100%;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.film-card--sheet { max-width: none; }
.film-card-media { flex: 0 0 auto; }
.film-card-poster {
  width: 96px;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  background: rgba(254, 250, 239, 0.08);
  border: 1px solid var(--line-soft);
}
.film-card--sheet .film-card-poster { width: 170px; }
.film-card-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-card-info { flex: 1 1 auto; min-width: 0; }
.film-card-background {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(254, 250, 239, 0.75);
  margin-top: 14px;
}
.film-card-pricing {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cream-dim);
}
.film-card-pricing div + div { margin-top: 6px; }
.film-card-pricing a { color: var(--cream-dim); text-decoration-color: var(--cream-faint); }
.film-card-pricing a:hover { color: var(--cream); }
.film-card-still {
  margin-top: 18px;
  aspect-ratio: 16 / 9; /* matches the Vimeo player ratio used on watch.html */
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.film-card-still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-card-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.film-card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 26px;
  margin-top: 10px;
}
.film-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 8px;
  color: rgba(254, 250, 239, 0.85);
}
.film-card-cta {
  display: inline-block;
  margin-top: 18px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border: 1px solid rgba(254, 250, 239, 0.5);
  text-decoration: none;
  color: var(--cream);
  background: none;
}
button.film-card-cta { margin-top: 0; }
button.film-card-cta:disabled { opacity: 0.5; cursor: default; }
.film-card-discuss {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream-dim);
}
.film-card-discuss:hover { color: var(--cream); opacity: 1; }

.spacer { flex-grow: 1; min-height: 60px; }
.hr { width: 100%; max-width: 820px; height: 1px; background: var(--line); }

/* ---- SUBSCRIBE ---- */

.subscribe {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 0 32px;
}
.subscribe-copy {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 420px;
}
.subscribe-embed { margin-top: 26px; display: flex; justify-content: center; }
.subscribe-embed iframe { max-width: 100%; }

/* ---- FOOTER ---- */

.site-footer { display: flex; flex-direction: column; align-items: center; width: 100%; }
.footer-text {
  text-align: center;
  font-size: 15px;
  max-width: 760px;
  line-height: 1.7;
  margin-top: 6px;
}
.footer-contact { text-align: center; font-size: 15px; margin-top: 22px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  max-width: 640px;
  text-align: center;
  font-size: 15px;
  margin-top: 34px;
  padding-bottom: 56px;
}
.footer-links span { color: rgba(254, 250, 239, 0.35); }

/* ---- SUBPAGE TOP BAR (calendar, cinema solta, earthly matters, work) ---- */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 56px;
}
.topbar-wordmark {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--cream);
  text-decoration: none;
}
.topbar-nav { display: flex; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.topbar-nav a { text-decoration: underline; }

.page-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 84px;
}
.page-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  color: var(--cream);
}

.closing-note {
  text-align: center;
  font-size: 14.5px;
  color: var(--cream-dim);
  margin-top: 56px;
  max-width: 480px;
  line-height: 1.6;
}

.support-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--cream-faint);
}
.support-logo {
  height: 26px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  display: block;
}

.film-card-trailer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line-soft);
}
.film-card-trailer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .page { padding: 0 20px; }
  .topbar-nav { gap: 12px; font-size: 13px; }
  .page-title { font-size: 44px; }
  .film-card--home,
  .film-card--sheet {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .film-card--sheet .film-card-poster,
  .film-card--home .film-card-poster { width: 140px; }
  .film-card-info { text-align: left; width: 100%; }
}

/* ---- CALENDAR PAGE ---- */

.cat-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.cat-tag {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--cream-dim);
}

.event-list {
  width: 100%;
  max-width: 640px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.event-list--past { margin-top: 40px; opacity: 0.6; }
.past-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 18px;
}

.event-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.event-date { min-width: 56px; text-align: center; }
.event-day { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 26px; line-height: 1; }
.event-mon { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-dim); margin-top: 4px; }
.event-mid { flex: 1; }
.event-cat { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-dim); }
.event-title { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 17px; margin-top: 4px; }
.event-venue { font-size: 14px; color: var(--cream-dim); margin-top: 2px; }
.event-right { text-align: right; white-space: nowrap; }
.event-time { font-size: 14px; color: var(--cream-dim); }
.event-details { font-size: 13px; font-weight: 700; text-decoration: underline; margin-top: 10px; }

.past-toggle {
  display: inline-block;
  margin-top: 36px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border: 1px solid rgba(254, 250, 239, 0.5);
  cursor: pointer;
}
.past-toggle:hover { border-color: var(--cream); }

/* ---- WORK PAGE SUBSECTIONS ---- */

.work-section {
  width: 100%;
  max-width: 600px;
  margin-top: 56px;
}
.work-section:first-of-type { margin-top: 40px; }
.work-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--cream);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.work-section .film-card { margin-top: 0; }

/* ---- SIMPLE SUBPAGE (Cinema Solta / Earthly Matters / Work placeholders) ---- */

.subpage-body {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(254, 250, 239, 0.85);
  max-width: 560px;
  margin-top: 40px;
}

/* Cinema Solta's intro is longer than the other subpage blurbs — a touch
   smaller so a few paragraphs of running text stay easy on the eye. */
.subpage-body--cinema {
  font-size: 15px;
  line-height: 1.75;
  max-width: 600px;
}

/* Cinema Solta catalog sections: "Pieter Solta" (his own films) on top,
   "The Collection" (guest/invited films) underneath — reuses the Work
   page's section-title styling for a consistent look. Full width of the
   #cinema-catalog container (no independent centering needed).
   .shop-section is the same pattern reused on the Earthly Matters shop
   catalog (#shop-catalog). */
.cinema-section, .shop-section { width: 100%; }
.cinema-section + .cinema-section, .shop-section + .shop-section { margin-top: 56px; }

/* ---- WORK ITEM LANGUAGE LINKS (e.g. The Lover of Kiev) ---- */

.film-card-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.film-card-langs .film-card-cta { margin-top: 0; }

/* ---- LONG-FORM TEXT PAGE (performance texts, e.g. The Lover of Kiev) ---- */

.read-lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 22px;
  font-size: 13px;
}
.read-lang-switch a.current { color: var(--cream-faint); text-decoration: none; }

.read-hero {
  width: min(420px, 78vw);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid var(--line-soft);
}
.read-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.read-body {
  width: 100%;
  max-width: 600px;
  margin-top: 44px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(254, 250, 239, 0.9);
  text-align: left;
}
.read-body p { margin: 0 0 22px; }
.read-body p:last-child { margin-bottom: 0; }
