/* The Reel Nineties — marquee-archive theme
   Charcoal cinema dark + projector amber + cream paper panels.
   UIkit 3 handles base/grid; this sheet carries the brand. */

:root {
  --ink: #18130e;
  --char: #211a13;
  --char-deep: #14100b;
  --amber: #e8a13a;
  --amber-bright: #f5b94f;
  --amber-deep: #b06d18;
  --cream: #f6efe2;
  --cream-dim: #ece1cc;
  --paper-text: #2b241c;
  --paper-muted: #6e604d;
  --on-dark: #d8cdbb;
  --on-dark-dim: #9a8c75;
  --rule: rgba(232, 161, 58, 0.35);
}

html {
  background: var(--char-deep);
  scroll-behavior: smooth;
}

body {
  font-family: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--on-dark);
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(232, 161, 58, 0.08), transparent 70%),
    var(--char-deep);
}

img { max-width: 100%; height: auto; }

h1, h2, h3, .site-brand {
  font-family: "Fraunces", Georgia, serif;
}

a { color: var(--amber); transition: color 0.18s ease; }
a:hover { color: var(--amber-bright); text-decoration: underline; }

/* ---------- Marquee header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 16, 11, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}

.filmstrip {
  height: 10px;
  background:
    repeating-linear-gradient(90deg,
      var(--char-deep) 0 14px,
      var(--amber-deep) 14px 22px);
  opacity: 0.85;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand:hover { color: var(--cream); text-decoration: none; }
.site-brand .brand-dot { color: var(--amber); }
.brand-sub {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--on-dark-dim);
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--amber-bright); text-decoration: none; }
.site-nav a.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--amber);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 16, 11, 0.98);
    border-bottom: 1px solid var(--rule);
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.35rem; }
  .site-nav a { display: block; padding: 0.55rem 0; }
}

/* ---------- Hero (homepage) ---------- */

.hero { position: relative; margin: 0; }
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  height: 62vh;
  min-height: 380px;
  max-height: 640px;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,11,0.25) 0%, rgba(20,16,11,0.55) 55%, var(--char-deep) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: -180px auto 0;
  padding: 0 1.5rem 2.5rem;
  text-align: center;
}
.hero-copy h1 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.hero-copy .lede {
  color: var(--on-dark);
  font-size: 1.1rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}

/* ---------- Main column / paper panel ---------- */

main { display: block; }

.page-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--amber);
  text-align: center;
  margin: 0 0 1.6rem;
}
.page-kicker::before, .page-kicker::after {
  content: "···";
  color: var(--on-dark-dim);
  margin: 0 0.7rem;
  letter-spacing: 0.2em;
}

.paper {
  background: var(--cream);
  color: var(--paper-text);
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.8rem, 5vw, 3.6rem);
  border-radius: 3px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  border-top: 6px solid var(--amber);
}

.paper a { color: var(--amber-deep); text-decoration-color: rgba(176,109,24,0.4); }
.paper a:hover { color: #8a5104; }

.paper h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.1rem;
}
.paper h2 {
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.4rem 0 0.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(43,36,28,0.14);
}
.paper h3 { font-size: 1.1rem; color: var(--ink); }

.paper .lede {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--paper-muted);
  margin-bottom: 1.6rem;
}

.paper ul { padding-left: 1.2rem; }
.paper li { margin-bottom: 0.5rem; }

.feature-list, .film-index { list-style: none; padding-left: 0; }
.feature-list li, .film-index li {
  padding: 0.65rem 0 0.65rem 1.1rem;
  border-left: 3px solid var(--amber);
  margin-bottom: 0.55rem;
  background: rgba(232,161,58,0.07);
}
.feature-list a, .film-index a { font-weight: 600; }

.essay-figure {
  margin: 2rem calc(-1 * clamp(1.8rem, 5vw, 3.6rem) + 0.9rem);
  text-align: center;
}
.essay-figure img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.essay-figure figcaption {
  font-size: 0.82rem;
  color: var(--paper-muted);
  margin-top: 0.6rem;
  padding: 0 1rem;
}
.essay-figure figcaption::before {
  content: "—";
  color: var(--amber-deep);
  margin-right: 0.5rem;
}

/* homepage sections sit on dark, not paper */
.home-sections {
  max-width: 820px;
  margin: 0 auto;
}
.home-sections section {
  background: var(--cream);
  color: var(--paper-text);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 1.6rem;
  border-radius: 3px;
  border-top: 4px solid var(--amber);
  box-shadow: 0 16px 44px rgba(0,0,0,0.4);
}
.home-sections section a { color: var(--amber-deep); }
.home-sections h2 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

/* ---------- Contact form (about page convention) ---------- */

.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(43,36,28,0.25);
  background: #fffdf8;
  color: var(--paper-text);
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.8rem;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form button {
  background: var(--amber);
  color: var(--ink);
  border: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.8rem 1.6rem;
  border-radius: 3px;
  cursor: pointer;
}
.contact-form button:hover { background: var(--amber-bright); }

/* ---------- 404 ---------- */

.notfound {
  text-align: center;
  padding: 6rem 1.5rem;
}
.notfound h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--cream);
  margin-bottom: 1rem;
}
.notfound p { color: var(--on-dark); max-width: 460px; margin: 0 auto 1.6rem; }
.notfound .code {
  font-family: "Fraunces", serif;
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.btn-marquee {
  display: inline-block;
  background: var(--amber);
  color: var(--ink) !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 1.8rem;
  border-radius: 3px;
  text-decoration: none !important;
}
.btn-marquee:hover { background: var(--amber-bright); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--char-deep);
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
}
.site-footer h4 {
  font-family: "Fraunces", serif;
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.site-footer p, .site-footer li {
  font-size: 0.88rem;
  color: var(--on-dark-dim);
  line-height: 1.7;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-disclaimer {
  font-size: 0.78rem !important;
  font-style: italic;
}
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem 2rem;
  border-top: 1px solid rgba(232,161,58,0.15);
  font-size: 0.8rem;
  color: var(--on-dark-dim);
  text-align: center;
}
