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

html {
  background: #fff;
  color: #111;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  line-height: 1.75;
}

body { min-height: 100vh; }
img { display: block; max-width: 100%; }
a { color: #111; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TOPNAV ── */
#topnav {
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: stretch;
}

.topnav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.site-logo {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topnav-links {
  display: flex;
  gap: 20px;
}

.topnav-links a {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #777;
}

.topnav-links a:hover { color: #111; text-decoration: none; }

/* ── SUBNAV (film pages) ── */
#subnav {
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.subnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: #aaa;
}

.subnav-inner a { color: #777; }
.subnav-inner a:hover { color: #111; text-decoration: none; }
.subnav-sep { color: #ccc; }
.subnav-current { color: #111; }

/* ── FILM HEADER (index) ── */
#film-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 20px 20px;
  border-bottom: 1px solid #ddd;
}

.film-title {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: normal;
  line-height: 1.15;
  margin-bottom: 8px;
}

.film-credit {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #777;
  letter-spacing: .04em;
}

.film-intro {
  margin-top: 24px;
  max-width: 640px;
  font-size: 14px;
  color: #333;
  line-height: 1.75;
}

/* ── PROCESS SECTION HEADER ── */
.process-section-hd {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(0.75rem, 1.5vw, 1.1rem);
  font-weight: normal;
  color: #111;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 8px;
}

/* ── PROCESS CARD GRID ── */
.process-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 14px;
}

.process-card {
  display: block;
  color: #111;
  text-decoration: none;
}

.process-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0eded;
}

.process-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .3s, transform .3s;
}

.process-card:hover .process-card-img img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.process-card-text {
  padding: 10px 0 0;
  border-top: 2px solid #111;
  margin-top: 1px;
}

.process-card-cat {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #999;
  margin-bottom: 4px;
}

.process-card-title {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.35;
  color: #111;
}

.process-card-desc {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
  line-height: 1.4;
}

/* ── PROCESS PAGE HEADER ── */
#process-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 32px;
  border-bottom: 1px solid #ddd;
}

.process-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 10px;
}

.process-film-credit {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #888;
  letter-spacing: .03em;
}

/* ── PROCESS CONTENT ── */
#process-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0 48px;
  align-items: start;
}

.content-main {
  padding-top: 40px;
}

.content-sidebar {
  padding-top: 40px;
  border-left: 1px solid #e8e8e8;
  padding-left: 32px;
}

/* ── TEXT BLOCKS ── */
.text-block {
  margin-bottom: 36px;
}

.text-block p {
  font-size: 15px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 1.1em;
}

.text-block p:last-child { margin-bottom: 0; }

.text-block em { font-style: italic; }

.block-label {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #bbb;
  margin-bottom: 14px;
}

/* ── IMAGE ELEMENTS ── */
.img-full {
  margin: 32px 0;
}

.img-full img {
  width: 100%;
  border: 1px solid #e8e8e8;
  cursor: zoom-in;
}

.img-caption {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: #aaa;
  margin-top: 7px;
  line-height: 1.4;
}

.img-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.img-row figure {
  flex: 0 0 auto;
  cursor: zoom-in;
}

.img-row figure img {
  display: block;
  border: 1px solid #e8e8e8;
}

.img-row figure figcaption {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 10px;
  color: #bbb;
  margin-top: 4px;
  letter-spacing: .04em;
}

.img-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 28px 0;
}

.img-grid-4 figure {
  cursor: zoom-in;
}

.img-grid-4 figure img {
  width: 100%;
  border: 1px solid #e8e8e8;
}

.img-grid-4 figure figcaption {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 10px;
  color: #bbb;
  margin-top: 4px;
  letter-spacing: .04em;
}

.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 28px 0;
}

.img-grid-2 figure {
  cursor: zoom-in;
}

.img-grid-2 figure img {
  width: 100%;
  border: 1px solid #e8e8e8;
}

.img-grid-2 figure figcaption {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: #aaa;
  margin-top: 6px;
}

/* ── SIDEBAR ── */
.sidebar-label {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #bbb;
  margin-bottom: 14px;
}

.sidebar-card {
  display: block;
  margin-bottom: 18px;
  color: #111;
  text-decoration: none;
}

.sidebar-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border: 1px solid #e8e8e8;
  filter: grayscale(100%);
  transition: filter .25s;
}

.sidebar-card:hover img { filter: grayscale(0%); }

.sidebar-card-title {
  font-family: Georgia, serif;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 6px;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 5px;
}

.sidebar-card:hover .sidebar-card-title { color: #111; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid #ddd;
  padding: 20px;
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: #bbb;
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
}
#lightbox.hidden { display: none; }
#lightbox-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.92); }
#lightbox img {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
}
#lightbox-close {
  position: absolute; top: 18px; right: 22px;
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); cursor: pointer; z-index: 2;
}
#lightbox-close:hover { color: #fff; }
#lightbox-prev, #lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 20px;
  color: rgba(255,255,255,0.3); cursor: pointer; z-index: 2; padding: 20px;
}
#lightbox-prev:hover, #lightbox-next:hover { color: #fff; }
#lightbox-prev { left: 0; }
#lightbox-next { right: 0; }
#lightbox-prev.hidden, #lightbox-next.hidden { display: none; }
