:root {
  --bg:       #09070a;
  --bg2:      #110d14;
  --bg3:      #1c1520;
  --border:   #2e2336;
  --gold:     #c8954a;
  --gold2:    #e8b870;
  --text:     #e2d8cc;
  --muted:    #8a7e78;
  --red:      #9b2335;
  --serif:    Georgia, "Times New Roman", serif;
  --sans:     -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,7,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,7,10,0.96) 0%, rgba(9,7,10,0.3) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 4rem;
  max-width: 820px;
}
.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: normal;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1rem;
}
.hero-excerpt {
  font-size: 1rem;
  color: rgba(226,216,204,0.8);
  max-width: 560px;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn:hover {
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 4rem 0; }
.section-title {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ── CARD GRID ── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }

.card { display: block; color: inherit; text-decoration: none; }
.card:hover .card-title { color: var(--gold); }
.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg3);
  margin-bottom: 1rem;
}
.card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg3);
  margin-bottom: 1rem;
}
.card-meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: normal;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.card-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.card-large .card-title { font-size: 1.5rem; }

/* ── ARTICLE ── */
.article-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.article-category {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: normal;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}
.article-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  max-width: 680px;
}
.article-byline {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.article-byline strong { color: var(--text); }

.article-hero {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  background: var(--bg3);
  margin-bottom: 3rem;
}
.article-hero-placeholder {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--bg3);
  margin-bottom: 3rem;
}

.article-body {
  max-width: 720px;
}
.article-body p { margin-bottom: 1.5rem; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: normal;
  color: #fff;
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-body li { margin-bottom: 0.4rem; }

/* ── FILM INFO BOX ── */
.film-info {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.85rem;
}
.film-info table { width: 100%; border-collapse: collapse; }
.film-info td { padding: 0.35rem 0; color: var(--muted); }
.film-info td:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  width: 120px;
  padding-right: 1rem;
}
.rating {
  display: flex;
  gap: 4px;
  margin-top: 0.75rem;
}
.rating .star { color: var(--gold); font-size: 1rem; }
.rating .star.empty { color: var(--border); }

/* ── SIDEBAR ── */
.sidebar-section { margin-bottom: 2.5rem; }
.sidebar-title {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-list { list-style: none; }
.sidebar-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list .meta {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}

/* ── FESTIVAL BADGE ── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.badge.gold { background: var(--gold); color: var(--bg); }
.badge.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ── PAGE HERO (non-full) ── */
.page-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.page-hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: normal;
  color: #fff;
  margin-bottom: 0.8rem;
}
.page-hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
}

/* ── FOOTER ── */
footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.footer-tagline { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { font-size: 0.8rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ── ARCHIVE LIST ── */
.archive-list { list-style: none; }
.archive-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.archive-item:first-child { border-top: 1px solid var(--border); }
.archive-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--border);
  text-align: right;
}
.archive-title { font-size: 0.95rem; color: var(--text); }
.archive-title small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }
.archive-date { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }

/* ── DIRECTOR PROFILE ── */
.director-grid { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; }
.director-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--bg3);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2-1 { grid-template-columns: 1fr; }
  .director-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 2rem; }
  nav { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
}
@media (max-width: 600px) {
  html { font-size: 16px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .archive-item { grid-template-columns: 1fr; }
  .archive-num { display: none; }
}
