/* ==========================================================
   SIDD MOVIES — site styles
   Colours and fonts are set once here in :root.
   ========================================================== */
:root {
  --bg: #0e0d0c;
  --bg-2: #171513;
  --panel: #1d1a17;
  --line: #2e2a25;
  --text: #ece6dc;
  --muted: #a69d90;
  --accent: #e8a33d;      /* projector amber */
  --accent-2: #c2462f;    /* deep red */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* subtle film grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9em; display: block;
}
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,13,12,.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.logo .logo-text { color: var(--text); }
.logo .logo-text span { color: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-bottom: 14px; }
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.page-head { padding: 72px 0 40px; }
.page-head p { font-size: 1.15rem; color: var(--muted); max-width: 680px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 120px 0 110px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(232,163,61,.22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(194,70,47,.16), transparent 60%);
}
.hero h1 { max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 600px; margin-bottom: 2em; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 1px solid var(--accent);
  background: var(--accent); color: #1a1208; cursor: pointer; font-family: inherit;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }

/* film-strip divider */
.strip {
  height: 26px; background: #050505;
  background-image: repeating-linear-gradient(90deg, transparent 0 14px, #2a2622 14px 26px);
  background-size: 26px 10px; background-repeat: repeat-x; background-position: 0 8px;
}

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 28px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, transform .2s;
}
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.card .meta { font-size: .82rem; color: var(--muted); margin-bottom: .6em; }
.card p:last-child { margin-bottom: 0; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); margin: 0 6px 6px 0;
}
.tag.live { color: var(--accent); border-color: rgba(232,163,61,.45); }

/* ---------- film feature ---------- */
.film { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 48px; align-items: start; }
.poster { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8); aspect-ratio: 2/3; }
.poster svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .film { grid-template-columns: 1fr; } .poster { max-width: 320px; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 1.4em 0 1.8em; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* ---------- video (click to load) ---------- */
.video {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: #000 radial-gradient(circle at 50% 50%, #2a241d, #000 70%);
  border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; color: var(--muted);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play {
  width: 74px; height: 74px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(232,163,61,.15);
}
.video .play::after { content: ""; border-left: 22px solid #1a1208; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video .label { position: absolute; bottom: 16px; left: 20px; font-size: .9rem; }
.video.empty { cursor: default; }
.video.empty .play { background: var(--line); box-shadow: none; }
.video.empty .play::after { border-left-color: var(--muted); }

/* ---------- article ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.6em 0; padding: .2em 0 .2em 1.2em; font-family: var(--display); font-size: 1.3rem; font-style: italic; color: var(--text); }
.post-meta { color: var(--muted); font-size: .92rem; margin-bottom: 2.4em; }

/* ---------- forms ---------- */
form { display: grid; gap: 16px; max-width: 560px; }
label { font-size: .88rem; color: var(--muted); display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .9rem; min-height: 1.4em; margin: 0; }
.form-note.ok { color: #8fc78a; }
.form-note.err { color: #e78b74; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.social { display: flex; gap: 18px; flex-wrap: wrap; }
.social a { color: var(--muted); }
.social a:hover { color: var(--accent); }

.center { text-align: center; }
.cta { padding: 96px 0; text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(232,163,61,.12), transparent 70%); }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 1.8em; }
