/* Cinematic Scroll (Version C) Styles */

body {
  background: #000;
  color: #fff;
  scroll-behavior: smooth;
}

/* Nav */
.sn {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 2rem 4vw;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0,0,0,0.8), transparent);
  backdrop-filter: blur(4px);
}
.sn__brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.sn__links {
  display: flex;
  gap: 2.5rem;
}
.sn__links a {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  transition: color 0.3s;
}
.sn__links a:hover, .sn__links a.active {
  color: var(--gold);
}

/* Hero Cinematic */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10vh;
  text-align: center;
}
.hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.hero__sub {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: #dadada;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Full Bleed Cards */
.c-card {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  overflow: hidden;
}
.c-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.c-card__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.4);
  transform: scale(1.05);
  transition: transform 10s ease-out, filter 1s ease;
}
.c-card.visible .c-card__bg img {
  transform: scale(1);
}
.c-card:hover .c-card__bg img {
  filter: saturate(1) brightness(0.6);
}
.c-card__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.c-card--right .c-card__content {
  margin-left: auto;
  text-align: right;
}
.c-card__num {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.c-card__title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.c-card__desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #ccc;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Library Grid */
.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 8rem 4vw 4rem 4vw;
}
.poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
}
.poster img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(40%) brightness(0.6);
}
.poster:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(0.8);
}
.poster__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.poster__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.poster__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.poster__author {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Manifesto Layout */
.m-layout {
  padding: 10rem 4vw 5rem 4vw;
  max-width: 900px;
  margin: 0 auto;
}
.m-layout .essay-block {
  margin-bottom: 5rem;
  border-bottom: 1px solid #222;
  padding-bottom: 4rem;
}
.m-layout .essay-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 2rem;
  line-height: 1.2;
}
.m-layout .essay-body p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

@media(max-width: 800px) {
  .hero__title { font-size: 3.5rem; }
  .c-card { padding: 0 5vw; }
  .c-card__title { font-size: 2.5rem; }
  .c-card--right .c-card__content { text-align: left; }
  .sn { background: #000; }
  .lib-grid { grid-template-columns: 1fr; }
}
