/* ============================================================
   NiceCutTV — Guided Classic Film Lectures
   Art direction: a quiet cinema at night crossed with a museum
   gallery. Near-black charcoal, warm cream, hairline rules,
   editorial serif display type, orange used like an exit light.
   ============================================================ */

:root {
  --bg:        #0b0a08;
  --bg-deep:   #060605;
  --panel:     #14120d;
  --panel-2:   #1a1712;
  --cream:     #ede3cb;
  --cream-2:   #cfc3a6;
  --faint:     #8b8069;
  --line:      rgba(237, 227, 203, 0.16);
  --line-soft: rgba(237, 227, 203, 0.08);
  --accent:    #e2531b;
  --accent-hi: #ff6c33;

  --font-display: "Playfair Display", "Didot", "Bodoni MT", Georgia, "Songti SC", serif;
  --font-body:    "Newsreader", Georgia, "Times New Roman", "Songti SC", serif;
  --font-label:   "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* ----- atmosphere: vignette + film grain over everything ----- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 38%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 1400;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.5"/></svg>');
  opacity: 0.05;
  pointer-events: none;
  z-index: 1500;
}

::selection { background: var(--accent); color: #fff; }

a { color: var(--accent-hi); text-decoration: none; }
a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; }

p { margin: 0 0 18px; }

.muted { color: var(--cream-2); }
.small { font-size: 15px; }

/* ---------- header / nav ---------- */

.site-header {
  background: linear-gradient(180deg, #100e0a, var(--bg));
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}
.brand:hover { text-decoration: none; color: var(--cream); }
.brand img { width: 42px; height: 42px; }
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.brand .brand-name span { color: var(--accent); }

.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-label);
  color: var(--cream-2);
  margin-left: 30px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--cream); text-decoration: none; }
.site-nav a.current { color: var(--cream); border-bottom-color: var(--accent); }

/* ---------- layout & type ---------- */

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px 90px;
  position: relative;
}

section { margin-top: 84px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }

h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 26px;
}
h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}

h3 { font-size: 1.32rem; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }

.lede {
  font-size: 1.38rem;
  line-height: 1.62;
  color: var(--cream);
  max-width: 44em;
}

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cream-2);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

/* ---------- hero (index) ---------- */

.hero {
  background: #000;
  padding: 58px 0;
}

.hero-media {
  position: relative;
  background-color: #0a0908;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 4, 0.9) 0%, rgba(5, 5, 4, 0.62) 46%, rgba(5, 5, 4, 0.28) 100%),
    linear-gradient(0deg, rgba(11, 10, 8, 0.92) 0%, transparent 34%),
    url("assets/hero-gate.jpg"),
    radial-gradient(ellipse 80% 90% at 68% 30%, #2a251c 0%, #12100c 55%, #070605 100%);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 104px 32px 96px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 800;
  max-width: 12.5em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.65);
}

.hero .lede { max-width: 36em; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.6); }
.hero p { max-width: 40em; color: var(--cream-2); }
.hero .eyebrow { color: var(--cream); }

/* ---------- page heads (subpages) ---------- */

.page-head { margin-top: 0; padding: 88px 0 6px; position: relative; }
.page-head h1 { max-width: 14em; }

.page-head.has-billing::after {
  content: "01";
  position: absolute;
  top: 30px;
  right: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 1;
  color: rgba(237, 227, 203, 0.07);
  pointer-events: none;
}

/* ---------- buttons ---------- */

.button {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(237, 227, 203, 0.55);
  padding: 15px 30px;
  margin-top: 10px;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* ---------- feature / programme card ---------- */

.feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), #100e0a);
  border: 1px solid var(--line);
  padding: 48px 52px;
  margin-top: 28px;
}

.feature::after {
  content: "01";
  position: absolute;
  top: 6px;
  right: 26px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 8.5rem;
  line-height: 1;
  color: rgba(237, 227, 203, 0.08);
  pointer-events: none;
}

.feature .meta {
  font-family: var(--font-label);
  color: var(--cream-2);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature h3 { font-size: 1.9rem; max-width: 22em; }
.feature p { max-width: 40em; color: var(--cream-2); }
.feature p.small { color: var(--faint); }

/* ---------- director / theme cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.card {
  position: relative;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(237, 227, 203, 0.025), transparent 60%);
  padding: 30px 30px 26px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--cream);
  opacity: 0.35;
  transition: background 0.25s ease, opacity 0.25s ease;
}
.card:hover { border-color: var(--line); }
.card:hover::before { background: var(--accent); opacity: 1; }

.card h3 { font-size: 1.28rem; }
.card p { font-size: 0.99rem; color: var(--cream-2); margin-bottom: 10px; }
.card .meta {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

.badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-hi);
  border: 1px solid var(--accent);
  padding: 5px 11px 4px;
  margin-bottom: 16px;
}
.badge.dim {
  color: var(--faint);
  border-color: var(--line);
}

/* ---------- steps (how a lecture works) ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.step {
  counter-increment: step;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(237, 227, 203, 0.025), transparent 65%);
  padding: 34px 36px 30px;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1;
  color: rgba(237, 227, 203, 0.28);
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--cream-2); margin-bottom: 0; font-size: 1.02rem; }

/* ---------- lecturer ---------- */

.lecturer {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.portrait-frame {
  flex: none;
  background: var(--panel);
  border: 1px solid var(--line);
  outline: 1px solid var(--line-soft);
  outline-offset: 7px;
  padding: 12px;
}

.lecturer img.portrait {
  display: block;
  width: 272px;
  background: #efe6cf;
}

.lecturer .bio { flex: 1; min-width: 300px; }
.lecturer .bio p { color: var(--cream-2); }
.lecturer .bio p:first-child { color: var(--cream); font-size: 1.12rem; }

/* ---------- lecture page ---------- */

.factbox {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 30px;
  margin: 30px 0 6px;
}
.factbox table { border-collapse: collapse; width: 100%; }
.factbox tr { border-bottom: 1px solid var(--line-soft); }
.factbox tr:last-child { border-bottom: none; }
.factbox td {
  padding: 13px 26px 13px 0;
  vertical-align: top;
  font-size: 1.02rem;
}
.factbox td.k {
  font-family: var(--font-label);
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 17px;
  width: 170px;
}

figure.still {
  margin: 42px 0 10px;
  background: #000;
  border: 1px solid var(--line);
  padding: 12px;
}
figure.still img {
  display: block;
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  background: radial-gradient(ellipse 75% 90% at 50% 30%, #26221a 0%, #0d0b09 70%);
}

ul.topics { list-style: none; padding: 0; margin: 6px 0 0; }
ul.topics li {
  position: relative;
  padding: 20px 0 20px 36px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--cream-2);
}
ul.topics li:last-child { border-bottom: none; }
ul.topics li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 30px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}
ul.topics li strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08em;
  color: var(--cream);
}

.excerpt {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), #100e0a);
  border: 1px solid var(--line);
  padding: 52px 58px 46px;
  font-size: 1.14rem;
  line-height: 1.85;
}
.excerpt::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.6rem;
  line-height: 1;
  color: var(--accent);
}
.excerpt p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.3em;
  float: left;
  line-height: 0.82;
  padding: 6px 14px 0 0;
  color: var(--cream);
}
.excerpt p { color: var(--cream-2); }
.excerpt p:last-child { margin-bottom: 0; }

.price-note {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 20px;
  margin-top: 30px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 2;
  color: var(--cream-2);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
  margin-top: 30px;
}
.site-footer::after {
  content: "";
  display: block;
  height: 12px;
  background: #000;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--faint);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-inner img { width: 28px; height: 28px; opacity: 0.85; }
.footer-inner .foot-nav { margin-left: auto; }
.footer-inner .foot-nav a { color: var(--cream-2); margin-left: 22px; }
.footer-inner .foot-nav a:hover { color: var(--cream); text-decoration: none; }

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  body { font-size: 18px; }
  .wrap { padding: 0 22px 70px; }
  .header-inner { padding: 18px 22px; }
  .site-nav { margin-left: 0; }
  .site-nav a { margin: 0 20px 0 0; }
  .hero { padding: 34px 0; }
  .hero-inner { padding: 64px 22px 58px; }
  .page-head { padding-top: 56px; }
  .steps { grid-template-columns: 1fr; }
  .feature { padding: 36px 28px; }
  .feature::after { font-size: 5.2rem; right: 14px; }
  .excerpt { padding: 44px 28px 36px; }
  .factbox { padding: 8px 20px; }
  .factbox td.k { width: auto; }
  .lecturer img.portrait { width: 100%; }
  section { margin-top: 64px; }
}
