:root {
  --bg: #f8f2eb;
  --bg-2: #f1e8dd;
  --paper: #f7f0e4;
  --ink: #16120f;
  --muted: #7a7066;
  --accent: #9a3f25;
  --accent-2: #c2643f;
  --line: rgba(22, 18, 15, .1);
  --glass: rgba(248, 242, 235, .72);
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* hafif kağıt dokusu */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .35;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
em { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 60;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0;
  z-index: 40;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  transition: padding .4s var(--ease);
}
.scrolled .header-inner { padding: 12px 32px; }
.logo {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -1.5px;
  line-height: 1;
}
.logo span { color: var(--accent); }
.nav {
  display: flex; gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--line);
}
.nav a {
  font-size: 14px; font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav a:hover, .nav a.active { background: var(--ink); color: var(--bg); }
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px; font-weight: 500;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-pill svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(154, 63, 37, .6); }
.btn-pill:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 56px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(52px, 9vw, 128px);
  line-height: .95;
  letter-spacing: -.04em;
  margin-top: 18px;
}
.hero-title em { font-weight: 400; }
.hero-meta {
  display: flex; gap: 56px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 40px; font-weight: 600;
  letter-spacing: -.02em;
}
.hero-meta span { font-size: 13px; color: var(--muted); }

/* ---------- Film strip ---------- */
.filmstrip {
  background: #0d0c0b;
  padding: 26px 0;
  position: relative;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.03);
  margin: 14px 0 0;
}
.filmstrip::before, .filmstrip::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 9px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, #f8f2eb 6px 15px, transparent 15px 22px);
  border-radius: 2px;
  z-index: 1;
}
.filmstrip::before { top: 6px; }
.filmstrip::after { bottom: 6px; }
.film-track {
  display: flex; gap: 12px;
  width: max-content;
  animation: film 60s linear infinite;
}
.filmstrip:hover .film-track { animation-play-state: paused; }
.film-track img {
  width: 184px; height: 148px;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(.85);
  cursor: zoom-in;
  transition: filter .4s, transform .4s var(--ease);
}
.film-track img:hover { filter: saturate(1.15); transform: scale(1.06); }
@keyframes film { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.section-head { text-align: center; }
.tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 54px);
  letter-spacing: -.02em;
  margin-top: 12px;
}

/* ---------- Album (ansiklopedi) ---------- */
.album-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}
.tome-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  margin-top: 56px;
}
.album-nav {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: background .3s, color .3s, transform .3s var(--ease);
  position: relative; z-index: 2;
}
.album-nav svg { width: 22px; height: 22px; }
@media (hover: hover) { .album-nav:hover { background: var(--accent); color: #fff; transform: scale(1.06); } }
.album-nav:active { background: var(--accent); color: #fff; }

.tome {
  --flip: 1.15s;
  position: relative;
  width: 100%; max-width: 1180px;
  aspect-ratio: 1180 / 780;
  margin: 14px 54px 30px 16px;
  perspective: 3000px;
}
/* deri cilt */
.tome-cover {
  position: absolute;
  inset: -14px -16px -20px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 25% 15%, rgba(255, 255, 255, .10), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(0, 0, 0, .25), transparent 60%),
    linear-gradient(160deg, #7b301b, #5d2314 55%, #3e160b);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    inset 0 2px 0 rgba(255, 255, 255, .08),
    0 50px 70px -40px rgba(45, 20, 8, .75),
    0 20px 34px -20px rgba(45, 20, 8, .55);
}
.tome-cover::before { /* yaldız şerit */
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(222, 182, 104, .45);
  border-radius: 10px;
}
/* yaldızlı sayfa kenarları */
.tome-edges::before, .tome-edges::after {
  content: "";
  position: absolute; top: 3px; bottom: 3px;
  width: 7px;
  background: repeating-linear-gradient(90deg, #ead193 0 1px, #b48c43 1px 2px);
  box-shadow: 0 0 4px rgba(0, 0, 0, .25);
}
.tome-edges::before { left: -6px; border-radius: 3px 0 0 3px; }
.tome-edges::after { right: -6px; border-radius: 0 3px 3px 0; }

.sheet, .face {
  position: absolute; top: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  container-type: size;
}
.sheet { cursor: pointer; }
.sheet.left { left: 0; border-radius: 4px 0 0 4px; }
.sheet.right { right: 0; border-radius: 0 4px 4px 0; }
.paper-left {
  background:
    linear-gradient(90deg, rgba(120, 90, 50, .10), transparent 6%, transparent 84%, rgba(80, 55, 30, .22)),
    #f6eedf;
}
.paper-right {
  background:
    linear-gradient(270deg, rgba(120, 90, 50, .10), transparent 6%, transparent 84%, rgba(80, 55, 30, .22)),
    #f6eedf;
}
.gutter {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 7%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(70, 45, 25, .16) 42%, rgba(40, 25, 12, .32) 50%, rgba(70, 45, 25, .16) 58%, transparent);
  pointer-events: none;
  z-index: 3;
}
/* sayfa köşesi kıvrılma ipucu */
.sheet.right::after, .sheet.left::after {
  content: "";
  position: absolute; bottom: 0;
  width: 0; height: 0;
  transition: width .35s var(--ease), height .35s var(--ease);
  pointer-events: none;
}
.sheet.right::after { right: 0; background: linear-gradient(315deg, var(--bg) 45%, #e2d5bf 50%, #f8f1e4 60%, transparent 62%); box-shadow: -3px -3px 6px rgba(0,0,0,.08); }
.sheet.left::after { left: 0; background: linear-gradient(45deg, var(--bg) 45%, #e2d5bf 50%, #f8f1e4 60%, transparent 62%); }
.sheet.right:hover::after, .sheet.left:hover::after { width: 9cqw; height: 9cqw; }

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.tome, .tome-wrap { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tome img { -webkit-user-drag: none; }
/* çevrilen yaprak */
.leaf {
  position: absolute; top: 0; bottom: 0;
  width: 50%;
  transform-style: preserve-3d;
  z-index: 5;
  display: none;
}
.leaf.next { left: 50%; transform-origin: left center; }
.leaf.prev { left: 0; transform-origin: right center; }
.leaf.go { display: block; }
.leaf.drag { display: block; }
.leaf.drag .front::after { opacity: calc(var(--p) * 1.8); }
.leaf.drag .back::after { opacity: calc((1 - var(--p)) * 1.8); }
.leaf.go.next { animation: leafNext var(--flip) cubic-bezier(.6, .05, .3, 1) forwards; }
.leaf.go.prev { animation: leafPrev var(--flip) cubic-bezier(.6, .05, .3, 1) forwards; }
.face { width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.back { transform: rotateY(180deg); }
.face::after { /* sayfa üzerinde dönen ışık/gölge */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
}
.leaf.next .front::after { background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 55%, rgba(255,255,255,.25)); }
.leaf.next .back::after { background: linear-gradient(270deg, rgba(0,0,0,.28), rgba(0,0,0,0) 55%); }
.leaf.prev .front::after { background: linear-gradient(270deg, rgba(0,0,0,.28), rgba(0,0,0,0) 55%, rgba(255,255,255,.25)); }
.leaf.prev .back::after { background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 55%); }
.leaf.go .front::after { animation: shadeFront var(--flip) ease forwards; }
.leaf.go .back::after { animation: shadeBack var(--flip) ease forwards; }
@keyframes leafNext {
  0% { transform: rotateY(0); }
  100% { transform: rotateY(-180deg); }
}
@keyframes leafPrev {
  0% { transform: rotateY(0); }
  100% { transform: rotateY(180deg); }
}
@keyframes shadeFront { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }
@keyframes shadeBack { 0% { opacity: 1; } 50% { opacity: 1; } 100% { opacity: 0; } }
/* alttaki sayfaya düşen gölge */
.tome.turning-next .sheet.right .pg::after,
.tome.turning-prev .sheet.left .pg::after {
  content: "";
  position: absolute; inset: 0;
  animation: castShadow var(--flip) ease forwards;
  pointer-events: none;
}
.tome.turning-next .sheet.right .pg::after { background: linear-gradient(90deg, rgba(0,0,0,.3), transparent 70%); }
.tome.turning-prev .sheet.left .pg::after { background: linear-gradient(270deg, rgba(0,0,0,.3), transparent 70%); }
@keyframes castShadow { 0% { opacity: .9; } 100% { opacity: 0; } }

/* sayfa içeriği (ansiklopedi düzeni) */
.pg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 6.5cqh 8cqw 4.5cqh 11cqw;
}
.paper-left .pg { padding: 6.5cqh 11cqw 4.5cqh 8cqw; }
.run-head {
  display: flex; justify-content: space-between; gap: 2cqw;
  font: 600 1.75cqw/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a7e72;
  padding-bottom: 1.6cqh;
  border-bottom: 1px solid rgba(22, 18, 15, .22);
  box-shadow: 0 2px 0 -1px rgba(22, 18, 15, .12);
}
.run-head b { color: var(--accent); font-weight: 600; }
.plate {
  margin-top: 3.4cqh;
  height: 48cqh;
  flex-shrink: 0;
  padding: 1.1cqw;
  background: #fffdf8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 6px 14px -8px rgba(60, 35, 20, .35);
}
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate-cap {
  display: flex; justify-content: space-between;
  margin-top: 1.4cqh;
  font: italic 400 2cqw/1.2 var(--serif);
  color: #8a7e72;
}
.entry {
  font: 600 5cqw/1.05 var(--serif);
  letter-spacing: -.02em;
  margin-top: 2.6cqh;
  color: var(--ink);
}
.entry-text {
  margin-top: 1.6cqh;
  font: 400 2.35cqw/1.55 var(--serif);
  color: #3d342c;
  text-align: justify;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-text::first-letter {
  float: left;
  font: 600 7.4cqw/.82 var(--serif);
  color: var(--accent);
  padding: .5cqw 1.2cqw 0 0;
}
.pg-foot {
  margin-top: auto;
  text-align: center;
  font: italic 400 2.2cqw/1 var(--serif);
  color: var(--accent);
  letter-spacing: .14em;
}
.pg.blank { align-items: center; justify-content: center; text-align: center; color: #b3a593; }
.pg.blank span { font: italic 400 3cqw/1.5 var(--serif); }
.pg.blank i { display: block; font-style: normal; font-size: 8cqw; color: rgba(154, 63, 37, .35); }

/* bölüm sekmeleri (ansiklopedi parmak indeksi) */
.thumbs {
  position: absolute;
  top: 7%;
  right: -58px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 1;
}
.thumbs button {
  writing-mode: vertical-rl;
  padding: 14px 0;
  width: 40px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, #e8dcc7, #f6eedf);
  box-shadow: 2px 2px 6px rgba(40, 20, 10, .18);
  font: 600 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6d5e4f;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.thumbs button:hover { transform: translateX(5px); }
.thumbs button.active { background: linear-gradient(90deg, #7f3019, var(--accent)); color: #fff; transform: translateX(6px); }

/* ayraç kurdelesi */
.ribbon {
  position: absolute;
  left: calc(50% + 4%);
  top: calc(100% + 6px);
  width: 16px; height: 64px;
  background: linear-gradient(90deg, #7e1d1a, #b4332b 50%, #7e1d1a);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
  z-index: 0;
}

.album-foot {
  display: flex; align-items: center; justify-content: center;
  margin-top: 70px;
}
.dots { display: flex; gap: 8px; }
.dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(22, 18, 15, .18);
  transition: width .4s var(--ease), background .3s;
}
.dots button.active { width: 28px; background: var(--accent); }

@media (max-width: 1100px) {
  .thumbs { right: -50px; }
  .thumbs button { width: 34px; font-size: 10px; padding: 10px 0; }
}
@media (max-width: 720px) {
  .album-section { padding: 56px 8px 24px; }
  .tome-wrap { margin-top: 30px; gap: 0; position: relative; }
  .tome { margin: 10px 12px 20px; aspect-ratio: 1180 / 1180; }
  .tome-cover { inset: -8px -10px -12px; border-radius: 10px; }
  .album-nav { position: absolute; z-index: 8; width: 38px; height: 38px; background: rgba(255,255,255,.9); }
  #prevBtn { left: 0; }
  #nextBtn { right: 0; }
  .thumbs, .ribbon { display: none; }
  /* mobilde sadece fotoğraf: başlık ve yazılar gizli */
  .run-head, .plate-cap, .entry, .entry-text { display: none; }
  .pg, .paper-left .pg { padding: 5cqh 5cqw 3cqh 8cqw; }
  .paper-left .pg { padding: 5cqh 8cqw 3cqh 5cqw; }
  .plate { flex: 1; height: auto; margin-top: 0; padding: 1.6cqw; }
  .pg-foot { margin-top: 2.4cqh; font-size: 5cqw; }
  .album-foot { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .tome { --flip: .01s; }
}

/* ---------- Collection ---------- */
.collection {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.collection-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
}
.collection-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -.03em;
  margin-top: 10px;
}
.search {
  display: flex; align-items: center; gap: 10px;
  width: 320px; height: 48px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px -12px rgba(60, 35, 20, .35);
  transition: border-color .3s, box-shadow .3s;
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14px; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.search kbd {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 9px;
  background: var(--bg);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(154, 63, 37, .12); }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 32px 0 36px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  font-size: 14px; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip small {
  min-width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  background: rgba(22, 18, 15, .07);
}
.chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.active small { background: var(--accent); color: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 16px;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--bg-2);
  animation: cardIn .6s var(--ease) both;
  isolation: isolate;
}
.card.tall { grid-row: span 2; }
.card.wide { grid-column: span 2; }
.card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .5s;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 10, 6, .75));
  opacity: .85;
  transition: opacity .4s;
}
.card-info {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  z-index: 1;
  color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.card-info h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.card-info span { font-size: 12px; opacity: .8; display: block; margin-top: 3px; }
.card-arrow {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(8px) scale(.8);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s var(--ease), opacity .4s, visibility .4s;
}
.card-arrow svg { width: 16px; height: 16px; }
.card:hover img { transform: scale(1.07); }
.card:hover .card-arrow { transform: none; opacity: 1; visibility: visible; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.empty { text-align: center; color: var(--muted); padding: 60px 0; font-family: var(--serif); font-style: italic; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e9e0d4;
  padding: 72px 32px 28px;
  overflow: hidden;
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.footer-lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  max-width: 560px;
  letter-spacing: -.01em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { opacity: .7; transition: opacity .3s; }
.footer-links a:hover { opacity: 1; }
.footer-word {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(120px, 26vw, 360px);
  letter-spacing: -.06em;
  line-height: .8;
  text-align: center;
  margin-top: 60px;
  background: linear-gradient(180deg, #3a2a20, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.copy { text-align: center; font-size: 12px; opacity: .5; margin-top: 28px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 80;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 70px 24px 30px;
  background: rgba(16, 12, 9, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: fade .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; animation: zoomIn .4s var(--ease); }
.lightbox img {
  height: 80vh; width: auto; max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}
.lightbox figcaption { color: #f3ebe0; margin-top: 18px; text-align: center; }
#lbCap { font-family: var(--serif); font-size: 22px; display: block; }
#lbTags { font-size: 12px; opacity: .6; letter-spacing: .1em; text-transform: uppercase; }
.lb-top { position: absolute; top: 18px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; color: #f3ebe0; }
.lb-count { font-size: 13px; opacity: .7; font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #f3ebe0;
  transition: background .3s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; }
  .btn-pill { display: none; }
}
@media (max-width: 720px) {
  .header-inner, .scrolled .header-inner { padding: 12px 16px; }
  .logo { font-size: 28px; }
  .nav a { padding: 7px 12px; font-size: 13px; }
  .hero { padding: 40px 16px 36px; }
  .hero-meta { gap: 28px; }
  .hero-meta strong { font-size: 30px; }
  .film-track img { width: 136px; height: 110px; }
  .collection { padding: 56px 16px 70px; }
  .collection-head { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .search kbd { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 22px -16px 24px; padding: 0 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
  .card { border-radius: 14px; }
  .card.wide { grid-column: span 2; }
  .card-info { left: 12px; right: 12px; bottom: 10px; }
  .card-info h3 { font-size: 15px; }
  .card-arrow { display: none; }
  .footer-top { flex-direction: column; }
  .lb-nav { display: none; }
  .lightbox { padding: 64px 10px 24px; }
  .lightbox img { height: auto; max-height: 72vh; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
