/* ==========================================================================
   The Fortune Teller of the Golden Lane — public site
   Single source of truth for visual language
   ========================================================================== */

:root {
  --ink: #1a1612;
  --paper: #f5f0e8;
  --paper-dark: #ede6d6;
  --paper-darker: #e2d9c4;
  --ash: #8c8070;
  --ash-light: #b8aa97;
  --ember: #9c4a2a;
  --ember-bright: #c25d33;
  --gold: #b8922a;
  --gold-bright: #d4a73a;
  --deep: #0e0c0a;
  --deep-2: #15110d;
  --prague: #2a3820;
  --rule: rgba(28, 22, 18, 0.15);
  --rule-strong: rgba(28, 22, 18, 0.28);
  --rule-dark: rgba(245, 240, 232, 0.12);
  --rule-dark-strong: rgba(245, 240, 232, 0.22);
}

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

html {
  scroll-behavior: smooth;
  /* iOS/iPadOS rendering fixes (also affects Chrome on iPad — same WebKit engine) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 2000; opacity: 0.45;
}

img { max-width: 100%; display: block; }

a {
  color: var(--ember);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover { border-bottom-color: var(--ember); }

/* ==========================================================================
   Typography
   ========================================================================== */

.eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ash);
}

.eyebrow-gold { color: var(--gold); }

h1, h2, h3, h4 { font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--ember); font-weight: 300; }

.title-xl { font-size: clamp(48px, 8vw, 96px); }
.title-l  { font-size: clamp(36px, 5vw, 64px); }
.title-m  { font-size: clamp(28px, 4vw, 40px); }
.title-s  { font-size: 22px; }

.dek {
  font-size: 19px;
  font-style: italic;
  font-weight: 300;
  color: var(--ash);
  line-height: 1.5;
  max-width: 680px;
}

.dek-large {
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  max-width: 760px;
}

.body-l { font-size: 19px; line-height: 1.78; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 300; font-size: 12px; letter-spacing: 0.02em; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 48px;
}

.rule {
  height: 1px;
  background: var(--rule-strong);
  margin: 28px 0;
}

.rule-thin { background: var(--rule); }

.spacer-s { height: 32px; }
.spacer-m { height: 64px; }
.spacer-l { height: 96px; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease;
}

.site-header.dark {
  background: rgba(14, 12, 10, 0.85);
  border-bottom-color: var(--rule-dark);
}

.site-header.dark .brand { color: var(--paper); }
.site-header.dark .brand em { color: var(--gold); }
.site-header.dark .nav a { color: rgba(245, 240, 232, 0.7); }
.site-header.dark .nav a:hover, .site-header.dark .nav a.active { color: var(--gold); }

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  border-bottom: none;
  letter-spacing: 0.005em;
}
.brand em { font-style: italic; color: var(--ember); font-weight: 400; }
.brand:hover { border-bottom: none; }

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ash);
  border-bottom: none;
  position: relative;
  padding-bottom: 3px;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover, .nav a.active { color: var(--ink); border-bottom: none; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.site-header.dark .nav a::after { background: var(--gold); }

/* Mobile nav (no JS) — collapses to a small label */
@media (max-width: 880px) {
  .site-header { padding: 16px 24px; }
  .nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--deep);
  color: var(--paper);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184, 146, 42, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(42, 56, 32, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(156, 74, 42, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  z-index: 1;
}

.hero-eyebrow {
  color: rgba(184, 146, 42, 0.7);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(56px, 10vw, 124px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 300; }

.hero-subtitle {
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.7);
  max-width: 680px;
  line-height: 1.4;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--rule-dark);
}

.hero-meta-item {}
.hero-meta-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(184, 146, 42, 0.6);
  margin-bottom: 6px;
}
.hero-meta-value {
  font-size: 15px;
  color: rgba(245, 240, 232, 0.92);
}

.hero-quote {
  position: absolute;
  bottom: 60px;
  right: 48px;
  font-style: italic;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.5);
  max-width: 320px;
  text-align: right;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .hero { padding: 100px 24px 60px; }
  .hero-quote { display: none; }
  .hero-meta { gap: 28px; }
}

/* ==========================================================================
   Section primitives
   ========================================================================== */

section { position: relative; }

.section-paper {
  background: var(--paper);
  color: var(--ink);
  padding: 120px 0;
}

.section-paper-dark {
  background: var(--paper-dark);
  color: var(--ink);
  padding: 120px 0;
}

.section-dark {
  background: var(--deep);
  color: var(--paper);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184, 146, 42, 0.06) 0%, transparent 50%, rgba(42, 56, 32, 0.08) 100%);
  pointer-events: none;
}

.section-dark > * { position: relative; z-index: 1; }
.section-dark a { color: var(--gold); }
.section-dark a:hover { border-bottom-color: var(--gold); }
.section-dark .dek { color: rgba(245, 240, 232, 0.65); }
.section-dark .eyebrow { color: rgba(184, 146, 42, 0.65); }

@media (max-width: 720px) {
  .section-paper, .section-paper-dark, .section-dark { padding: 80px 0; }
  .container, .container-narrow { padding: 0 24px; }
}

/* ==========================================================================
   Page header (for non-home pages)
   ========================================================================== */

.page-header {
  padding: 200px 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.page-header.dark {
  background: var(--deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-header.dark::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184, 146, 42, 0.07) 0%, transparent 50%, rgba(42, 56, 32, 0.09) 100%);
  pointer-events: none;
}
.page-header.dark > * { position: relative; z-index: 1; }

.page-header h1 {
  font-size: clamp(48px, 7vw, 84px);
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.0;
}
.page-header h1 em { font-style: italic; color: var(--ember); }
.page-header.dark h1 em { color: var(--gold); }

.page-header .dek {
  font-size: 22px;
  color: var(--ash);
  margin-top: 18px;
}
.page-header.dark .dek { color: rgba(245, 240, 232, 0.65); }

/* ==========================================================================
   Trilogy cards
   ========================================================================== */

.film-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 80px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.film-card-art {
  background: var(--deep);
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.film-card-art .num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(140px, 18vw, 260px);
  color: rgba(184, 146, 42, 0.18);
  line-height: 1;
  letter-spacing: -0.04em;
}

.film-card-art::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(184, 146, 42, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(156, 74, 42, 0.08) 0%, transparent 50%);
}

.film-card-art::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.10'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.film-card-body {
  padding: 60px 56px;
  display: flex; flex-direction: column; justify-content: center;
}

.film-card-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.film-card h3 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 1.05;
}
.film-card h3 em { font-style: italic; color: var(--ember); font-weight: 300; }

.film-card .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ash);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.film-card .synopsis {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.film-card .meta-row {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.film-card .meta-row > div {}
.film-card .meta-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}
.film-card .meta-value {
  font-size: 15px;
}

.film-card.reverse { grid-template-columns: 1fr 1fr; }
.film-card.reverse .film-card-art { order: 2; }

@media (max-width: 880px) {
  .film-card, .film-card.reverse { grid-template-columns: 1fr; }
  .film-card.reverse .film-card-art { order: 0; }
  .film-card-art { min-height: 280px; }
  .film-card-body { padding: 48px 32px; }
}

/* ==========================================================================
   Character cards / roster
   ========================================================================== */

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule-strong);
  margin: 40px 0;
}

.character-card {
  background: var(--paper);
  padding: 32px;
  display: flex; flex-direction: column;
  min-height: 260px;
  transition: background 0.2s ease;
}

.character-card:hover { background: var(--paper-dark); }

.character-card .role-tier {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.character-card h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}
.character-card h4 em { font-style: italic; color: var(--ember); font-weight: 400; }

.character-card .note {
  font-style: italic;
  font-size: 14px;
  color: var(--ash);
  margin-bottom: 14px;
}

.character-card .desc {
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
}

/* Image-as-card variant — fills the grid cell edge-to-edge with no padding.
   Spans two columns so the photo gets horizontal breathing room. */
.character-card-image {
  padding: 0 !important;
  background: var(--deep) !important;
  position: relative;
  overflow: hidden;
  grid-column: span 2;
}
.character-card-image:hover { background: var(--deep) !important; }
.character-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-dark .character-grid {
  background: var(--rule-dark);
  border-color: var(--rule-dark-strong);
}
.section-dark .character-card {
  background: var(--deep);
  color: rgba(245, 240, 232, 0.85);
}
.section-dark .character-card:hover { background: var(--deep-2); }
.section-dark .character-card .note { color: rgba(245, 240, 232, 0.5); }

/* ==========================================================================
   Cluster cards (shorts)
   ========================================================================== */

.cluster {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}

.cluster:first-of-type { border-top: none; }

.cluster-head h3 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 8px;
}
.cluster-head h3 em { font-style: italic; color: var(--ember); }
.cluster-head .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ash);
  margin-bottom: 16px;
}
.cluster-head .premise {
  font-size: 16px;
  font-style: italic;
  color: var(--ash);
  line-height: 1.5;
}

.cluster-list {
  list-style: none;
}
.cluster-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 16px;
  align-items: baseline;
}
.cluster-list li:last-child { border-bottom: none; }
.cluster-list .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gold);
}
.cluster-list .name { font-size: 17px; font-weight: 500; }
.cluster-list .logline {
  font-size: 14px;
  font-style: italic;
  color: var(--ash);
  margin-top: 2px;
}
.cluster-list .pages {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ash);
  letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .cluster { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   Pull quote
   ========================================================================== */

.pull-quote {
  padding: 80px 48px;
  text-align: center;
  background: var(--deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.pull-quote::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184, 146, 42, 0.08) 0%, transparent 50%, rgba(42, 56, 32, 0.10) 100%);
}
.pull-quote-text {
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  color: rgba(245, 240, 232, 0.95);
}
.pull-quote-text em { color: var(--gold); font-style: italic; }
.pull-quote-attr {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(184, 146, 42, 0.65);
  margin-top: 32px;
  position: relative;
}

/* ==========================================================================
   Doorway cards (home page navigation to sections)
   ========================================================================== */

.doorways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.doorway {
  background: var(--paper);
  padding: 56px 40px;
  border-bottom: none;
  display: flex; flex-direction: column;
  min-height: 320px;
  color: var(--ink);
  transition: background 0.25s ease;
}
.doorway:hover { background: var(--paper-dark); border-bottom: none; }
.doorway .label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.doorway h3 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.1;
  color: var(--ink);
}
.doorway h3 em { font-style: italic; color: var(--ember); font-weight: 400; }
.doorway p {
  font-size: 15px;
  color: var(--ash);
  margin-bottom: 24px;
  flex: 1;
  line-height: 1.6;
}
.doorway .arrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ember);
}

@media (max-width: 880px) { .doorways { grid-template-columns: 1fr; } }

/* ==========================================================================
   Lens / Craft architecture
   ========================================================================== */

.lens-system {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  margin: 60px 0;
}

.lens-pillar {
  padding: 0;
}
.lens-pillar h4 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 6px;
}
.lens-pillar h4 em { font-style: italic; color: var(--gold); font-weight: 400; }
.lens-pillar .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ash);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.lens-pillar .lineage {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.lens-pillar ul {
  list-style: none;
  padding: 0;
}
.lens-pillar ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 14px;
  color: rgba(245, 240, 232, 0.85);
}
.lens-pillar ul li:last-child { border-bottom: none; }
.lens-pillar ul li strong {
  font-weight: 500;
  color: var(--paper);
}

@media (max-width: 880px) { .lens-system { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================================
   Investor portal
   ========================================================================== */

.investor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule-strong);
  margin: 40px 0;
}
.investor-card {
  background: var(--paper);
  padding: 40px 36px;
}
.investor-card .label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.investor-card h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}
.investor-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

@media (max-width: 720px) { .investor-grid { grid-template-columns: 1fr; } }

.cta-block {
  padding: 64px 48px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184, 146, 42, 0.08) 0%, transparent 50%, rgba(156, 74, 42, 0.06) 100%);
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  margin-bottom: 14px;
  color: var(--paper);
}
.cta-block h3 em { font-style: italic; color: var(--gold); font-weight: 300; }
.cta-block p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 17px;
  font-style: italic;
  max-width: 560px;
  margin: 0 auto 24px;
}
.cta-block .cta-email {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--gold);
  padding: 12px 24px;
  border: 1px solid var(--gold);
  border-radius: 1px;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}
.cta-block .cta-email:hover {
  background: var(--gold);
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--deep);
  color: rgba(245, 240, 232, 0.55);
  padding: 64px 48px 40px;
  border-top: 1px solid var(--rule-dark);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-col h5 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: rgba(245, 240, 232, 0.65);
  padding: 4px 0;
  border-bottom: none;
}
.footer-col a:hover { color: var(--gold); }

.footer-col p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.6);
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}

.footer-bottom em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(184, 146, 42, 0.7);
  font-size: 13px;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .site-footer { padding: 48px 24px 32px; }
}

/* ==========================================================================
   Tarot / Ornament SVG container
   ========================================================================== */

.ornament {
  display: flex; justify-content: center;
  margin: 48px 0;
}
.ornament svg { width: 64px; height: 64px; opacity: 0.5; }

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header, .site-footer { display: none; }
  body { background: white; color: black; }
  body::before { display: none; }
}


/* ==========================================================================
   Image-driven film cards
   ========================================================================== */
.film-card-art { background-size: cover; background-position: center; }
.film-card-art.art-cherry { background-image: linear-gradient(to bottom, rgba(14,12,10,0.15) 0%, rgba(14,12,10,0.55) 100%), url('images/aurelias-execution.jpg'); }
.film-card-art.art-kasparek { background-image: linear-gradient(to bottom, rgba(14,12,10,0.15) 0%, rgba(14,12,10,0.55) 100%), url('images/kasparek-skull-jester.jpg'); }
.film-card-art.art-memento { background-image: linear-gradient(to bottom, rgba(14,12,10,0.15) 0%, rgba(14,12,10,0.55) 100%), url('images/memento-mori-coin.jpg'); }
.film-card-art.art-cherry .num,
.film-card-art.art-kasparek .num,
.film-card-art.art-memento .num {
  color: rgba(245, 240, 232, 0.38);
  text-shadow: 0 4px 32px rgba(14,12,10,0.7);
  mix-blend-mode: overlay;
}

/* ==========================================================================
   Hero image backdrop
   ========================================================================== */
.hero.with-backdrop {
  background-image:
    linear-gradient(to bottom, rgba(14,12,10,0.65) 0%, rgba(14,12,10,0.35) 50%, rgba(14,12,10,0.82) 100%),
    url('images/moon-oak-leaf-square.jpg');
  background-size: cover;
  background-position: center 35%;
}
.hero.with-backdrop::before {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184, 146, 42, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(42, 56, 32, 0.10) 0%, transparent 55%);
}

/* ==========================================================================
   Page header with image backdrop
   ========================================================================== */
.page-header.with-backdrop {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.page-header.with-backdrop::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14,12,10,0.72) 0%, rgba(14,12,10,0.62) 60%, rgba(14,12,10,0.88) 100%);
  pointer-events: none;
}
.page-header.with-backdrop > * { position: relative; z-index: 1; }
.page-header.with-backdrop.world { background-image: url('images/orloj-moonlit-empty.jpg'); }
.page-header.with-backdrop.investors { background-image: url('images/charles-bridge.jpg'); }

/* ==========================================================================
   World gallery
   ========================================================================== */
.world-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  margin: 40px 0 0;
}
.world-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--deep);
  border-bottom: none;
  display: block;
}
.world-tile:hover { border-bottom-color: transparent; }
.world-tile img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.world-tile:hover img { transform: scale(1.04); }
.world-tile-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 24px 22px;
  background: linear-gradient(to top, rgba(14,12,10,0.95) 0%, rgba(14,12,10,0.65) 60%, transparent 100%);
  color: var(--paper);
}
.world-tile-caption .label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200; font-size: 9px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
  display: block;
}
.world-tile-caption .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400; line-height: 1.3;
  color: var(--paper);
}
.world-tile-caption .name em { font-style: italic; color: var(--gold); }

/* ==========================================================================
   Character art row
   ========================================================================== */
.character-art-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  margin: 24px 0 36px;
}
.character-art-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--deep);
}
.character-art-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.character-art-tile .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 24px 20px;
  background: linear-gradient(to top, rgba(14,12,10,0.95) 0%, rgba(14,12,10,0.75) 50%, transparent 100%);
  color: var(--paper);
}
.character-art-tile .overlay .label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200; font-size: 9px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.character-art-tile .overlay h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: var(--paper);
}
.character-art-tile .overlay h4 em { font-style: italic; color: var(--gold); }

@media (max-width: 720px) {
  .character-art-row { grid-template-columns: 1fr; }
}


/* Pull quote with image backdrop (home page atmospheric moment) */
.pull-quote.with-backdrop {
  background-image:
    linear-gradient(to bottom, rgba(14,12,10,0.72) 0%, rgba(14,12,10,0.55) 50%, rgba(14,12,10,0.78) 100%),
    url('images/orloj-oak-leaf.jpg');
  background-size: cover;
  background-position: center 40%;
}


/* Characters page header — Kasparek concept art (portrait, anchored to face) */
.page-header.with-backdrop.characters {
  background-image:
    linear-gradient(to right, rgba(14,12,10,0.50) 0%, rgba(14,12,10,0.27) 30%, rgba(14,12,10,0.27) 70%, rgba(14,12,10,0.50) 100%),
    linear-gradient(to bottom, rgba(14,12,10,0.33) 0%, rgba(14,12,10,0.24) 50%, rgba(14,12,10,0.48) 100%),
    url('images/kasparek.jpg');
  background-size: cover;
  background-position: center 25%;
}

/* Override the universal ::before darkening for the characters header so the
   total overlay (background-image gradients + ::before) is ~40% lighter. */
.page-header.with-backdrop.characters::before {
  background: linear-gradient(to bottom, rgba(14,12,10,0.42) 0%, rgba(14,12,10,0.36) 60%, rgba(14,12,10,0.55) 100%);
}


/* Trilogy page header — Old Town Square with giant moon and oak leaf */
.page-header.with-backdrop.trilogy {
  background-image: url('images/tree-of-life-aurelia.jpg');
  background-size: cover;
  background-position: center 35%;
}
.page-header.with-backdrop.trilogy::before {
  background: linear-gradient(to bottom, rgba(14,12,10,0.42) 0%, rgba(14,12,10,0.36) 60%, rgba(14,12,10,0.55) 100%);
}


/* Craft page header — Cinépanoramic Franscope Suprématic, the world's first anamorphic zoom */
.page-header.with-backdrop.craft {
  background-image: url('images/franscope-1.jpg');
  background-size: cover;
  background-position: center;
}
.page-header.with-backdrop.craft::before {
  background: linear-gradient(to bottom, rgba(14,12,10,0.42) 0%, rgba(14,12,10,0.36) 60%, rgba(14,12,10,0.55) 100%);
}


/* Shorts page header — Paths */
.page-header.with-backdrop.shorts {
  background-image: url('images/paths.jpg');
  background-size: cover;
  background-position: center;
}
.page-header.with-backdrop.shorts::before {
  background: linear-gradient(to bottom, rgba(14,12,10,0.42) 0%, rgba(14,12,10,0.36) 60%, rgba(14,12,10,0.55) 100%);
}
