:root {
  --black: #0b0b0c;
  --black-deep: #050506;
  --panel: #151517;
  --charcoal: #1e1e22;
  --ivory: #e8e1d2;
  --silver: #8a8d91;
  --gold: #b89a5a;
  --gold-muted: #8f7643;
  --burgundy: #3b161a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(circle at center 18%, rgba(184, 154, 90, 0.10), transparent 34%),
    radial-gradient(circle at center 75%, rgba(59, 22, 26, 0.22), transparent 38%),
    linear-gradient(180deg, var(--black-deep), var(--black) 44%, #070708);
  font-family: Georgia, "Times New Roman", serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.nav a,
.footer-links a {
  transition: color 180ms ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--ivory);
}

.gateway {
  flex: 1;
  width: min(980px, 92%);
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 0 20px;
}

.gateway-card {
  width: 100%;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid rgba(232, 225, 210, 0.10);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(21, 21, 23, 0.72), rgba(5, 5, 6, 0.78));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62);
  position: relative;
  overflow: hidden;
}

.gateway-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(184, 154, 90, 0.10);
  border-radius: 22px;
  pointer-events: none;
}

.logo-wrap {
  width: min(560px, 88%);
  margin: 0 auto 18px;
  opacity: 0.92;
}

.logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.72));
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.summons {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 5vw, 4.35rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tagline {
  max-width: 690px;
  margin: 0 auto 36px;
  color: var(--silver);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.doors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.door {
  min-width: 140px;
  padding: 14px 22px;
  border: 1px solid rgba(184, 154, 90, 0.42);
  border-radius: 999px;
  background: rgba(184, 154, 90, 0.08);
  color: var(--ivory);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.door:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 192, 141, 0.76);
  background: rgba(184, 154, 90, 0.14);
}

.door-family {
  border-color: rgba(214, 192, 141, 0.68);
  background:
    linear-gradient(180deg, rgba(184, 154, 90, 0.14), rgba(143, 118, 67, 0.08));
  box-shadow: 0 0 24px rgba(184, 154, 90, 0.10);
}

.site-footer {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 24px 0 32px ;
  border-top: 1px solid rgba(232, 225, 210, 0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--silver);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: inherit;
}

.footer-link-button:hover {
  color: var(--ivory);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-shell.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(184, 154, 90, 0.08), transparent 34%),
    rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.modal-panel {
  width: min(680px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  position: relative;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(232, 225, 210, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(21, 21, 23, 0.96), rgba(5, 5, 6, 0.97));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.78);
}

.modal-panel::before {
  content: "";
  position: sticky;
  display: block;
  top: 18px;
  left: 100%;
  width: clamp(150px, 24vw, 230px);
  aspect-ratio: 1 / 1;
  margin: 0 8px calc(-1 * clamp(150px, 24vw, 230px)) auto;
  transform: translateX(0);
  pointer-events: none;
  background: url("../img/modal_insignia.png") center / contain no-repeat;
  opacity: 0.10;
  filter: grayscale(1);
  z-index: 1;
}

.modal-panel::after {
  content: none;
}

.modal-content {
  position: relative;
  z-index: 3;
}

.modal-eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.modal-title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-copy {
  margin: 0;
  color: var(--silver);
  font-size: 1.30rem;
  line-height: 1.85;
}

.modal-copy + .modal-copy {
  margin-top: 18px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 225, 210, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--ivory);
  border-color: rgba(184, 154, 90, 0.42);
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .nav,
  .footer-links {
    justify-content: center;
  }

  .gateway-card::before {
    inset: 12px;
  }

  .door {
    width: 100%;
    max-width: 280px;
  }

  .modal-shell {
    padding: 14px;
  }
}

.page-legends {
  background:
    radial-gradient(circle at center 18%, rgba(138, 141, 145, 0.10), transparent 34%),
    radial-gradient(circle at center 76%, rgba(45, 54, 64, 0.24), transparent 38%),
    linear-gradient(180deg, var(--black-deep), var(--black) 44%, #070708);
}

.legends-home {
  background:
    linear-gradient(145deg, rgba(21, 21, 23, 0.72), rgba(8, 10, 12, 0.82));
}

.legends-logo {
  width: min(420px, 78%);
  opacity: 0.78;
}


.gateway-title {
  font-size: clamp(1.65rem, 4.25vw, 3.55rem);
  letter-spacing: 0.07em;
}

.door-current,
.door-current:hover {
  color: rgba(232, 225, 210, 0.72);
  border-color: rgba(138, 141, 145, 0.30);
  background: rgba(138, 141, 145, 0.13);
  box-shadow: none;
  transform: none;
  cursor: default;
}

.door-return {
  color: var(--ivory);
  border-color: rgba(232, 225, 210, 0.22);
  background: rgba(5, 5, 6, 0.58);
}

.door-return:hover {
  color: var(--ivory);
  border-color: rgba(214, 192, 141, 0.52);
  background: rgba(5, 5, 6, 0.74);
}

.section-main{width:min(1180px,92%);margin:0 auto;padding:52px 0 78px}.section-hero{max-width:780px;margin:0 auto 34px;text-align:center}.section-title{margin:10px 0 14px;font-size:clamp(2.3rem,6vw,5rem);font-weight:400;letter-spacing:.08em;text-transform:uppercase}.section-intro{margin:0 auto;max-width:680px;color:var(--silver);font-size:1.08rem;line-height:1.75}.dossier-grid,.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dossier-card,.story-card{min-height:100%;border:1px solid rgba(232,225,210,.10);border-radius:22px;overflow:hidden;background:linear-gradient(145deg,rgba(21,21,23,.78),rgba(5,5,6,.82));box-shadow:0 22px 70px rgba(0,0,0,.34)}.dossier-image,.story-image{min-height:210px;display:grid;place-items:center;color:rgba(232,225,210,.34);background:radial-gradient(circle at center,rgba(138,141,145,.16),transparent 42%),linear-gradient(145deg,rgba(45,54,64,.52),rgba(5,5,6,.88));border-bottom:1px solid rgba(232,225,210,.08);letter-spacing:.18em;text-transform:uppercase;text-align:center;padding:22px}.story-image{background:radial-gradient(circle at center,rgba(184,154,90,.14),transparent 42%),linear-gradient(145deg,rgba(59,22,26,.42),rgba(5,5,6,.88))}.dossier-body,.story-body{padding:22px}.dossier-body h2,.story-body h2{margin:6px 0 4px;font-weight:400;letter-spacing:.04em}.dossier-body p,.story-body p{color:var(--silver);line-height:1.55}.dossier-status{margin:0;color:var(--gold);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase}.dossier-alias{margin-top:0;color:rgba(232,225,210,.70)!important;font-style:italic}.dossier-trigger{margin-top:10px;min-width:0;width:100%}.dossier-modal{width:min(980px,100%)}.dossier-modal-grid{display:grid;grid-template-columns:minmax(220px,34%) 1fr;gap:clamp(24px,4vw,42px);align-items:start}.modal-image-slot{min-height:520px;display:grid;place-items:center;border:1px solid rgba(232,225,210,.10);border-radius:20px;color:rgba(232,225,210,.34);background:radial-gradient(circle at center,rgba(138,141,145,.16),transparent 42%),linear-gradient(145deg,rgba(45,54,64,.54),rgba(5,5,6,.92));text-align:center;letter-spacing:.18em;text-transform:uppercase}.story-slot{background:radial-gradient(circle at center,rgba(184,154,90,.14),transparent 42%),linear-gradient(145deg,rgba(59,22,26,.46),rgba(5,5,6,.92))}.modal-subtitle{margin:-16px 0 24px;color:rgba(232,225,210,.72);font-style:italic}.dossier-modal h3{margin:22px 0 8px;color:var(--ivory);font-size:.82rem;letter-spacing:.18em;text-transform:uppercase}.modal-note{color:rgba(184,154,90,.86);font-style:italic}.read-story-link{display:inline-block;margin-top:18px}.nav a[aria-current="page"]{color:rgba(232,225,210,.64)}@media(max-width:980px){.dossier-grid,.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dossier-modal-grid{grid-template-columns:1fr}.modal-image-slot{min-height:320px}}@media(max-width:640px){.dossier-grid,.story-grid{grid-template-columns:1fr}}

.story-reader-panel {
  width: min(940px, 100%);
}

.story-reader {
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px solid rgba(232, 225, 210, 0.10);
}

.story-reader h3 {
  margin: 30px 0 10px;
  color: var(--ivory);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-reader-copy {
  color: rgba(232, 225, 210, 0.78);
  font-size: 1.04rem;
  line-height: 1.9;
  margin: 0 0 20px;
}

.story-reader-shell .modal-panel::before {
  opacity: 0.55;
}

.story-reader-shell .modal-title {
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .story-reader-copy {
    font-size: 0.98rem;
    line-height: 1.75;
  }
}

.story-reader-main-title {
  margin: 0 0 10px;
  color: var(--ivory);
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  text-transform: none;
}

.story-reader-subtitle {
  margin: -2px 0 28px;
  color: rgba(232, 225, 210, 0.72);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.story-reader h3 {
  text-transform: none;
}

/* Witness dossier completion pass */
.dossier-grid {
  align-items: stretch;
}

.dossier-card {
  display: flex;
}

.dossier-card-button {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.dossier-card-button:hover .dossier-image img,
.dossier-card-button:focus-visible .dossier-image img {
  transform: scale(1.025);
}

.dossier-card-button:focus-visible {
  outline: 2px solid rgba(184, 154, 90, 0.72);
  outline-offset: 4px;
  border-radius: 22px;
}

.dossier-image,
.modal-image-slot {
  padding: 0;
  overflow: hidden;
  background: #050506;
}

.dossier-image {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1672 / 941;
  display: block;
}

.dossier-image img,
.modal-image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dossier-image img {
  transition: transform 260ms ease;
}

.dossier-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dossier-body h2 {
  color: var(--ivory);
}

.dossier-teaser {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dossier-trigger {
  margin-top: auto;
  text-align: center;
}

.dossier-modal {
  width: min(1120px, 100%);
}

.dossier-modal-grid {
  grid-template-columns: minmax(320px, 42%) 1fr;
}

.modal-image-slot {
  min-height: 0;
  aspect-ratio: 1672 / 941;
  position: sticky;
  top: 0;
}

.dossier-intro .modal-copy + .modal-copy {
  margin-top: 16px;
}

.dossier-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 8px;
  padding: 18px;
  border: 1px solid rgba(232, 225, 210, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.dossier-facts div {
  min-width: 0;
}

.dossier-facts dt {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dossier-facts dd {
  margin: 0;
  color: rgba(232, 225, 210, 0.78);
  line-height: 1.45;
}

.dossier-modal-copy {
  min-width: 0;
}

@media (max-width: 980px) {
  .dossier-modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-image-slot {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .dossier-facts {
    grid-template-columns: 1fr;
  }
}

/* Dossier image lightbox */
.dossier-modal-shell .modal-image-slot {
  cursor: zoom-in;
}

.dossier-modal-shell .modal-image-slot:focus-visible {
  outline: 2px solid rgba(184, 154, 90, 0.76);
  outline-offset: 4px;
}

.image-lightbox-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
}

.image-lightbox-shell.is-open {
  display: grid;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1280px, 96vw);
  max-height: 90vh;
  margin: 0;
  display: grid;
  place-items: center;
}

.image-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(232, 225, 210, 0.16);
  border-radius: 18px;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.76);
  background: #050506;
}

.image-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(232, 225, 210, 0.24);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.94);
  color: var(--ivory);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.58);
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  border-color: rgba(214, 192, 141, 0.76);
  color: #fff;
  outline: none;
}

@media (max-width: 640px) {
  .image-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Rules & Ranking */
.page-game {
  background:
    radial-gradient(circle at center 12%, rgba(184, 154, 90, 0.12), transparent 32%),
    radial-gradient(circle at center 82%, rgba(59, 22, 26, 0.20), transparent 42%),
    linear-gradient(180deg, var(--black-deep), var(--black) 44%, #070708);
}

.game-main {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 42px 0 78px;
}

.game-hero {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.game-mark {
  width: min(280px, 64%);
  margin: 0 auto 22px;
  opacity: 0.82;
}

.game-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.70));
}

.rules-band,
.rules-panel {
  border: 1px solid rgba(232, 225, 210, 0.10);
  background: linear-gradient(145deg, rgba(21, 21, 23, 0.74), rgba(5, 5, 6, 0.82));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.30);
}

.rules-band {
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 22px;
}

.rules-intro {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.rules-band h2,
.rules-panel h2 {
  margin: 0 0 16px;
  color: var(--ivory);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.rules-band p,
.rules-note {
  max-width: 780px;
  margin: 0;
  color: var(--silver);
  font-size: 1.04rem;
  line-height: 1.75;
}

.rules-section-heading {
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: rgba(232, 225, 210, 0.82);
}

.ranking-table th,
.ranking-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(232, 225, 210, 0.10);
  text-align: left;
}

.ranking-table th {
  color: var(--gold);
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.rules-panel {
  padding: 28px;
  border-radius: 22px;
}

.score-list {
  margin: 0;
}

.score-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 225, 210, 0.09);
}

.score-list div:last-child {
  border-bottom: 0;
}

.score-list dt,
.score-list dd {
  margin: 0;
}

.score-list dt {
  color: rgba(232, 225, 210, 0.78);
  line-height: 1.45;
}

.score-list dd {
  color: var(--ivory);
  white-space: nowrap;
}

.rules-note {
  margin-top: 18px;
  color: rgba(184, 154, 90, 0.82);
  font-style: italic;
}

.mastery-band {
  border-color: rgba(184, 154, 90, 0.22);
  background:
    linear-gradient(145deg, rgba(59, 22, 26, 0.34), rgba(5, 5, 6, 0.86));
}

.coming-soon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coming-soon-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(232, 225, 210, 0.78);
  line-height: 1.55;
}

.coming-soon-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

@media (max-width: 760px) {
  .game-main {
    padding-top: 28px;
  }

  .rules-grid,
  .coming-soon-list {
    grid-template-columns: 1fr;
  }

  .rules-panel {
    padding: 24px;
  }
}

/* Private presentation */
.page-presentation {
  background:
    radial-gradient(circle at center 10%, rgba(184, 154, 90, 0.13), transparent 34%),
    radial-gradient(circle at 15% 42%, rgba(59, 22, 26, 0.24), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(45, 54, 64, 0.22), transparent 32%),
    linear-gradient(180deg, var(--black-deep), var(--black) 48%, #070708);
}

.pitch-header {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--silver);
}

.pitch-access {
  font-size: 0.70rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pitch-main {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 30px 0 88px;
}

.pitch-hero {
  min-height: min(78vh, 720px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 24px 0 56px;
}

.pitch-logo {
  width: min(300px, 64%);
  margin: 0 auto 24px;
  opacity: 0.84;
}

.pitch-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.76));
}

.pitch-hero h1 {
  margin: 8px 0 10px;
  color: var(--ivory);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.pitch-subtitle {
  margin: 0 0 26px;
  color: rgba(232, 225, 210, 0.78);
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.35;
}

.pitch-lede {
  max-width: 820px;
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.75;
}

.pitch-band,
.pitch-card,
.pitch-platform,
.pitch-closing {
  border: 1px solid rgba(232, 225, 210, 0.10);
  background: linear-gradient(145deg, rgba(21, 21, 23, 0.76), rgba(5, 5, 6, 0.84));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.pitch-band,
.pitch-platform,
.pitch-closing {
  margin-top: 18px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 22px;
}

.pitch-band h2,
.pitch-card h2,
.pitch-platform h2,
.pitch-closing h2 {
  margin: 0 0 16px;
  color: var(--ivory);
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.22;
}

.pitch-band p,
.pitch-card p,
.pitch-platform p,
.pitch-closing p {
  margin: 0;
  color: var(--silver);
  font-size: 1.04rem;
  line-height: 1.75;
}

.pitch-band p + p {
  margin-top: 16px;
}

.pitch-preface,
.pitch-concept {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.pitch-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pitch-card {
  padding: 28px;
  border-radius: 22px;
}

.pitch-section-heading {
  margin-bottom: 24px;
}

.pitch-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pitch-columns h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pitch-stewardship {
  border-color: rgba(184, 154, 90, 0.22);
  background:
    linear-gradient(145deg, rgba(59, 22, 26, 0.32), rgba(5, 5, 6, 0.86));
}

.pitch-platform {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1.14fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
}

.pitch-cycle {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pitch-cycle;
}

.pitch-cycle li {
  position: relative;
  min-height: 44px;
  padding: 0 0 18px 54px;
  color: rgba(232, 225, 210, 0.80);
  line-height: 1.55;
  counter-increment: pitch-cycle;
}

.pitch-cycle li::before {
  content: counter(pitch-cycle, decimal-leading-zero);
  position: absolute;
  top: -2px;
  left: 0;
  width: 34px;
  color: var(--gold);
  font-size: 0.70rem;
  letter-spacing: 0.12em;
}

.pitch-cycle li::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: rgba(184, 154, 90, 0.22);
}

.pitch-cycle li:last-child {
  padding-bottom: 0;
}

.pitch-cycle li:last-child::after {
  display: none;
}

.pitch-closing {
  border-color: rgba(184, 154, 90, 0.30);
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(184, 154, 90, 0.09), transparent 46%),
    linear-gradient(145deg, rgba(21, 21, 23, 0.82), rgba(5, 5, 6, 0.90));
}

.pitch-closing p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .pitch-grid,
  .pitch-grid-three,
  .pitch-columns,
  .pitch-platform {
    grid-template-columns: 1fr;
  }

  .pitch-hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .pitch-header {
    flex-direction: column;
    text-align: center;
  }

  .pitch-main {
    padding-top: 18px;
  }

  .pitch-card {
    padding: 24px;
  }
}

/* Except This — screenplay reader */
.screenplay-reader-panel {
  width: min(1040px, 100%);
}

.screenplay-page {
  width: min(820px, 100%);
  margin: 24px auto 8px;
  padding: clamp(42px, 7vw, 72px) clamp(34px, 8vw, 78px);
  color: #111;
  background: #f7f4ed;
  border: 1px solid rgba(232, 225, 210, 0.18);
  border-radius: 4px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 12pt;
  line-height: 1.05;
}

.screenplay-title-block {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.screenplay-title-block h3 {
  margin: 0 0 22px;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
}

.screenplay-title-block p {
  margin: 0;
}

.screenplay-script p {
  color: #111;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.screenplay-scene {
  margin: 0 0 1em;
  font-weight: 700;
  text-transform: uppercase;
}

.screenplay-action {
  width: 100%;
  margin: 0 0 1em;
}

.screenplay-character {
  width: 30%;
  margin: 1em 0 0 46%;
  font-weight: 700;
  text-transform: uppercase;
}

.screenplay-dialogue {
  width: 62%;
  margin: 0 0 1em 16%;
}

.screenplay-parenthetical {
  width: 42%;
  margin: 0 0 0 31%;
}

.screenplay-end {
  margin: 2.5em 0 0;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .screenplay-reader-panel .modal-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .screenplay-page {
    padding: 38px 20px 48px;
    font-size: 10.5pt;
    line-height: 1.12;
  }

  .screenplay-title-block {
    min-height: 260px;
  }

  .screenplay-character {
    width: 36%;
    margin-left: 43%;
  }

  .screenplay-dialogue {
    width: 78%;
    margin-left: 11%;
  }

  .screenplay-parenthetical {
    width: 56%;
    margin-left: 24%;
  }
}

@media (max-width: 440px) {
  .screenplay-page {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 10pt;
  }

  .screenplay-character {
    width: 42%;
    margin-left: 40%;
  }

  .screenplay-dialogue {
    width: 88%;
    margin-left: 6%;
  }

  .screenplay-parenthetical {
    width: 66%;
    margin-left: 18%;
  }
}

/* Candidate submission portal */
.page-submissions {
  background:
    radial-gradient(circle at center 12%, rgba(184, 154, 90, 0.12), transparent 32%),
    radial-gradient(circle at 16% 52%, rgba(59, 22, 26, 0.20), transparent 30%),
    radial-gradient(circle at 88% 74%, rgba(45, 54, 64, 0.22), transparent 34%),
    linear-gradient(180deg, var(--black-deep), var(--black) 46%, #070708);
}

.submission-header {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--silver);
}

.submission-access {
  font-size: 0.70rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.submission-main {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 28px 0 84px;
}

.submission-hero {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.submission-logo {
  width: min(260px, 62%);
  margin: 0 auto 20px;
  opacity: 0.82;
}

.submission-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.70));
}

.submission-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.assignment-form {
  display: grid;
  gap: 18px;
}

.assignment-panel,
.assignment-output,
.submission-band {
  border: 1px solid rgba(232, 225, 210, 0.10);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(21, 21, 23, 0.76), rgba(5, 5, 6, 0.84));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.30);
}

.assignment-panel {
  padding: 26px;
}

.assignment-panel h2,
.assignment-output h2,
.submission-band h2 {
  margin: 0 0 16px;
  color: var(--ivory);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.assignment-note {
  margin: -4px 0 18px;
  color: var(--silver);
  font-size: 0.98rem;
  line-height: 1.65;
}

.submission-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.submission-field span,
.team-toggle span {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.submission-field input,
.submission-field select,
.submission-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(232, 225, 210, 0.14);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.72);
  color: var(--ivory);
  padding: 13px 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.submission-field textarea {
  resize: vertical;
}

.submission-field input:focus,
.submission-field select:focus,
.submission-field textarea:focus {
  outline: 2px solid rgba(184, 154, 90, 0.42);
  outline-offset: 2px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.role-grid label,
.team-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 225, 210, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(232, 225, 210, 0.82);
  line-height: 1.35;
}

.role-grid input,
.team-toggle input {
  accent-color: var(--gold);
}

.assignment-output {
  position: sticky;
  top: 18px;
  padding: 26px;
}

.assignment-output-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.assignment-output-header h2 {
  margin-bottom: 0;
}

.assignment-output-header span {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.assignment-output pre {
  min-height: 520px;
  max-height: 68vh;
  margin: 0;
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(232, 225, 210, 0.10);
  border-radius: 8px;
  background: #f7f4ed;
  color: #111;
  white-space: pre-wrap;
  font: 0.92rem/1.55 "Courier New", Courier, monospace;
}

.assignment-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.assignment-actions .door {
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}

.submission-band {
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.rubric-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rubric-list li {
  padding: 14px;
  border: 1px solid rgba(232, 225, 210, 0.10);
  border-radius: 8px;
  color: rgba(232, 225, 210, 0.80);
  background: rgba(255, 255, 255, 0.025);
  line-height: 1.35;
}

@media (max-width: 980px) {
  .submission-workspace {
    grid-template-columns: 1fr;
  }

  .assignment-output {
    position: relative;
    top: auto;
  }

  .rubric-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .submission-header,
  .assignment-output-header {
    flex-direction: column;
    text-align: center;
  }

  .role-grid,
  .assignment-actions,
  .rubric-list {
    grid-template-columns: 1fr;
  }

  .assignment-panel,
  .assignment-output {
    padding: 22px;
  }

  .assignment-output pre {
    min-height: 420px;
    max-height: none;
  }
}

/* Riverside proposal — cinematic card presentation */
.page-presentation-cinematic {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(184,154,90,.12), transparent 32rem),
    radial-gradient(circle at 15% 38%, rgba(59,22,26,.18), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #080706 58%, #050505 100%);
}

.pitch-header-cinematic {
  border-bottom: 1px solid rgba(184,154,90,.18);
}

.pitch-main-cinematic {
  width: min(1480px, 94%);
  padding-top: 22px;
}

.pitch-hero-cinematic {
  min-height: auto;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  justify-items: stretch;
  align-items: center;
  gap: clamp(30px,6vw,90px);
  text-align: left;
  padding: 34px 0 26px;
}

.pitch-hero-cinematic .pitch-hero-copy { max-width: 820px; }
.pitch-hero-cinematic h1 {
  margin: 4px 0 4px;
  color: var(--gold);
  font-size: clamp(3rem,6.5vw,6.8rem);
  letter-spacing:.035em;
}
.pitch-hero-cinematic .pitch-subtitle {
  margin: 0 0 14px;
  color: var(--ivory);
  font-size: clamp(1.15rem,2.3vw,1.9rem);
}
.pitch-hero-cinematic .pitch-lede {
  max-width: 720px;
  margin:0;
  font-size: clamp(1rem,1.6vw,1.24rem);
  line-height:1.6;
}

.pitch-logo-cinematic {
  width:min(360px,100%);
  margin:0 0 0 auto;
  text-align:center;
  opacity:.94;
}
.pitch-logo-cinematic img { width:100%; }
.pitch-property {
  margin:10px 0 6px;
  color:var(--gold);
  font-size:.76rem;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.pitch-tagline {
  margin:0;
  color:rgba(232,225,210,.78);
  font-size:1rem;
  line-height:1.5;
}

.pitch-preface-cinematic {
  max-width: 1040px;
  margin: 4px auto 28px;
  padding: 24px 0 28px;
  text-align:center;
  border-top:1px solid rgba(184,154,90,.18);
  border-bottom:1px solid rgba(184,154,90,.18);
}
.pitch-preface-cinematic h2 {
  margin:4px 0 16px;
  color:var(--ivory);
  font-size:clamp(1.6rem,3vw,2.7rem);
  font-weight:400;
}
.pitch-preface-cinematic p:not(.modal-eyebrow) {
  max-width:900px;
  margin:0 auto;
  color:var(--silver);
  font-size:1.02rem;
  line-height:1.72;
}
.pitch-preface-cinematic p + p { margin-top:12px; }

.cinematic-card-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.cinematic-card {
  --card-image:none;
  position:relative;
  min-height:360px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:28px 26px 24px;
  color:var(--ivory);
  text-align:left;
  border:1px solid rgba(190,136,69,.74);
  border-radius:12px;
  background:#090807;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018),0 18px 48px rgba(0,0,0,.34);
  cursor:pointer;
  isolation:isolate;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.cinematic-card::before {
  z-index: 0;
}

.cinematic-card::after {
  z-index: 1;
}

.cinematic-card > span {
  position: relative;
  z-index: 2;
}
.cinematic-card:hover,
.cinematic-card:focus-visible {
  transform:translateY(-3px);
  border-color:rgba(221,167,92,.98);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 22px 60px rgba(0,0,0,.48);
}
.cinematic-card:hover::before,
.cinematic-card:focus-visible::before { transform:scale(1.04); }

.cinematic-card-number {
  color:var(--gold);
  font-family:Georgia,"Times New Roman",serif;
  font-size:2rem;
  line-height:1;
  margin-bottom:42px;
}
.cinematic-card-copy {
  width:64%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.cinematic-card-title {
  color:#d3a25e;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.65rem,2.15vw,2.45rem);
  font-weight:400;
  line-height:1.02;
  text-transform:uppercase;
  text-shadow:0 2px 18px rgba(0,0,0,.9);
}
.cinematic-card-rule {
  position:relative;
  display:block;
  width:84px;
  height:1px;
  margin:15px 0 17px;
  background:linear-gradient(90deg,var(--gold),rgba(184,154,90,.18));
}
.cinematic-card-rule::after {
  content:"";
  position:absolute;
  left:31px;
  top:-2px;
  width:5px;
  height:5px;
  background:var(--gold);
  transform:rotate(45deg);
}
.cinematic-card-teaser {
  color:#ddc8a8;
  font-family:Arial,sans-serif;
  font-size:.96rem;
  line-height:1.48;
  text-shadow:0 2px 14px #000;
}
.cinematic-card-link {
  margin-top:auto;
  padding-top:22px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#d3a25e;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.cinematic-card-link span {
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border:1px solid #b98543;
  border-radius:50%;
  font-size:1rem;
  line-height:1;
}

.pitch-closing-cinematic {
  max-width:1000px;
  margin:32px auto 0;
  padding:34px clamp(28px,5vw,56px);
}

.pnp-modal-panel {
  width:min(880px,100%);
  border-color:rgba(184,154,90,.28);
  background:
    radial-gradient(circle at 82% 8%,rgba(184,154,90,.08),transparent 28%),
    linear-gradient(145deg,rgba(18,16,14,.98),rgba(5,5,6,.99));
}
.pnp-modal-content { padding:clamp(30px,5vw,54px); }
.pnp-modal-content .modal-title { max-width:700px; }
.pnp-modal-content h3 {
  margin:26px 0 8px;
  color:var(--gold);
  font-size:1rem;
  font-weight:400;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.pnp-modal-content .modal-copy { line-height:1.72; }

@media(max-width:1080px) {
  .pitch-hero-cinematic { grid-template-columns:1fr; }
  .pitch-logo-cinematic { width:min(300px,70%); margin:0 auto; }
  .cinematic-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cinematic-card-copy { width:70%; }
}
@media(max-width:700px) {
  .pitch-main-cinematic { width:min(94%,700px); }
  .pitch-hero-cinematic { text-align:center; }
  .pitch-hero-cinematic .pitch-lede { margin-left:auto;margin-right:auto; }
  .cinematic-card-grid { grid-template-columns:1fr; }
  .cinematic-card { min-height:340px; }
  .cinematic-card-copy { width:76%; }
  .cinematic-card-number { margin-bottom:34px; }
}




/* Riverside proposal v102 — Mafia Legends + Passion Net Pro title lockup */
.page-presentation .pnp-title-partner {
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: visible;
}
.page-presentation .pnp-title-partner h1,
.page-presentation .pnp-title-partner h2,
.page-presentation .pnp-title-partner h3 {
  position: relative;
  z-index: 2;
  margin-right: -0.42em;
}
.page-presentation .pnp-title-partner-logo {
  position: relative;
  z-index: 1;
  display: block;
/*  width: clamp(82px, 8.5vw, 350px);*/
  width: 350px;
  height: auto;
  opacity: .40;
  filter: saturate(.76) brightness(.80);
  transform: translateX(-175px);
  pointer-events: none;
}
@media (max-width: 500px) {
  .page-presentation .pnp-title-partner h1,
  .page-presentation .pnp-title-partner h2,
  .page-presentation .pnp-title-partner h3 {
    margin-right: -60px;
  }

  .page-presentation .pnp-title-partner-logo {
    width: clamp(68px, 18vw, 200px);
    transform: translateX(0px);
  }
}

/* Riverside proposal v111 — interactive Witness Dossier character cards */
.universe-glimpse {
  width: 100%;
  margin: 34px 0 0;
  padding: clamp(30px, 4vw, 48px) 0 0;
  border-top: 1px solid rgba(184, 154, 90, 0.22);
}

.universe-glimpse-heading {
  margin: 0 0 22px;
  text-align: left;
}

.universe-glimpse-heading h2 {
  margin: 4px 0 0;
  color: var(--ivory);
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.universe-character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.universe-character-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(190, 136, 69, 0.58);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(21,21,23,.84), rgba(5,5,6,.94));
  color: var(--ivory);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.universe-character-card:hover,
.universe-character-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(221,167,92,.96);
  box-shadow: 0 24px 60px rgba(0,0,0,.48);
}

.universe-character-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  border-bottom: 1px solid rgba(184,154,90,.20);
  background: #080706;
}

.universe-character-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(5,5,5,.52), transparent 48%),
    radial-gradient(circle at 70% 18%, rgba(184,154,90,.08), transparent 42%);
}

.universe-character-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.universe-character-card:hover .universe-character-image img,
.universe-character-card:focus-visible .universe-character-image img {
  transform: scale(1.025);
}

.universe-character-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}

.universe-character-name {
  color: #e2c18f;
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
  font-weight: 400;
  letter-spacing: .025em;
}

.universe-character-tagline,
.universe-character-modal-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0 12px;
  color: rgba(184,154,90,.90);
  font-size: .88rem;
}

.universe-character-symbol {
  color: var(--gold);
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
}

.universe-character-copy p {
  margin: 0;
  color: rgba(232,225,210,.74);
  font-family: Arial, sans-serif;
  font-size: .9rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.universe-character-link {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.universe-character-link > span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184,154,90,.78);
  border-radius: 50%;
  font-size: .95rem;
}

.universe-character-modal {
  z-index: 70;
}

.universe-character-dossier {
  width: min(1120px, 100%);
  border-color: rgba(184,154,90,.25);
  background:
    radial-gradient(circle at 82% 8%,rgba(184,154,90,.06),transparent 28%),
    linear-gradient(145deg,rgba(18,16,14,.985),rgba(5,5,6,.995));
}

.universe-character-modal-tagline {
  margin-top: -14px;
  margin-bottom: 26px;
  font-size: 1rem;
}

.universe-character-dossier .dossier-modal-grid {
  grid-template-columns: minmax(320px, 42%) 1fr;
}

.universe-character-dossier .modal-image-slot {
  aspect-ratio: 1672 / 941;
  min-height: 0;
  position: sticky;
  top: 0;
}

.universe-character-dossier .modal-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.universe-character-dossier .dossier-facts {
  margin-top: 24px;
}

@media (max-width: 1120px) {
  .universe-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .universe-character-dossier .dossier-modal-grid {
    grid-template-columns: 1fr;
  }

  .universe-character-dossier .modal-image-slot {
    position: relative;
  }
}

@media (max-width: 620px) {
  .universe-glimpse {
    margin-top: 28px;
    padding-top: 26px;
  }

  .universe-glimpse-heading {
    text-align: center;
  }

  .universe-character-grid {
    grid-template-columns: 1fr;
  }
}

/* Riverside proposal v118 — definitive card + proposal modal image treatment */

/* Keep the card photographs assigned inline in /pnp/index.html, but darken them
   approximately 20% so the gold/ivory copy remains readable. */
.cinematic-card::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(rgba(0,0,0,.24), rgba(0,0,0,.24)),
    linear-gradient(90deg,
      rgba(5,5,5,.95) 0%,
      rgba(5,5,5,.89) 22%,
      rgba(5,5,5,.68) 46%,
      rgba(5,5,5,.34) 72%,
      rgba(5,5,5,.14) 100%),
    linear-gradient(0deg, rgba(0,0,0,.74) 0%, transparent 48%);
}

.cinematic-card > span {
  position:relative;
  z-index:2;
}

/* Proposal modals: use the SAME six PNG files as the cards.
   These URLs are relative to /assets/css/main.css, so ../img/pnp/ resolves to
   /assets/img/pnp/.  The image uses contain to show all or nearly all of it. */
.pnp-modal-panel {
  isolation:isolate;
  background-color:#050506;
  background-size:cover, cover;
  background-position:center, center;
  background-repeat:no-repeat, no-repeat;
}

.pnp-modal-shell[data-modal="pnp-vision"] .pnp-modal-panel {
  background-image:linear-gradient(rgba(5,5,6,.76), rgba(5,5,6,.89)), url("../img/pnp/vision.png");
}
.pnp-modal-shell[data-modal="pnp-live-game"] .pnp-modal-panel {
  background-image:linear-gradient(rgba(5,5,6,.76), rgba(5,5,6,.89)), url("../img/pnp/live-game.png");
}
.pnp-modal-shell[data-modal="pnp-talent"] .pnp-modal-panel {
  background-image:linear-gradient(rgba(5,5,6,.76), rgba(5,5,6,.89)), url("../img/pnp/talent.png");
}
.pnp-modal-shell[data-modal="pnp-productions"] .pnp-modal-panel {
  background-image:linear-gradient(rgba(5,5,6,.76), rgba(5,5,6,.89)), url("../img/pnp/productions.png");
}
.pnp-modal-shell[data-modal="pnp-community"] .pnp-modal-panel {
  background-image:linear-gradient(rgba(5,5,6,.76), rgba(5,5,6,.89)), url("../img/pnp/audience.png");
}
.pnp-modal-shell[data-modal="pnp-partnership"] .pnp-modal-panel {
  background-image:linear-gradient(rgba(5,5,6,.76), rgba(5,5,6,.89)), url("../img/pnp/partnership.png");
}

.pnp-modal-panel::before,
.pnp-modal-panel::after {
  z-index:1;
}

.pnp-modal-panel .modal-close,
.pnp-modal-panel .pnp-modal-content {
  position:relative;
  z-index:3;
}

@media (max-width:700px) {
  .pnp-modal-shell[data-modal="pnp-vision"] .pnp-modal-panel,
  .pnp-modal-shell[data-modal="pnp-live-game"] .pnp-modal-panel,
  .pnp-modal-shell[data-modal="pnp-talent"] .pnp-modal-panel,
  .pnp-modal-shell[data-modal="pnp-productions"] .pnp-modal-panel,
  .pnp-modal-shell[data-modal="pnp-community"] .pnp-modal-panel,
  .pnp-modal-shell[data-modal="pnp-partnership"] .pnp-modal-panel {
    background-size:cover, cover;
  }
}


/* Riverside proposal — scale service mark only in the main Mafia Legends title */
.pitch-hero-cinematic .pitch-service-mark {
  display: inline-block;
  margin-left: 0.08em;
  font-size: 0.26em;
  line-height: 1;
  vertical-align: super;
  letter-spacing: 0;
}


/* Temporary gateway modals — membership form */
.modal-panel-members {
  width: min(760px, 100%);
}

.membership-form {
  position: relative;
  z-index: 3;
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.membership-form label {
  display: grid;
  gap: 9px;
}

.membership-form label > span {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.membership-form input,
.membership-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(232, 225, 210, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(5, 5, 6, 0.72);
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.membership-form input:focus,
.membership-form select:focus {
  border-color: rgba(184, 154, 90, 0.72);
  box-shadow: 0 0 0 3px rgba(184, 154, 90, 0.08);
}

.membership-submit {
  justify-self: start;
  margin-top: 8px;
  padding: 13px 18px;
  border: 1px solid rgba(184, 154, 90, 0.62);
  border-radius: 999px;
  background: rgba(184, 154, 90, 0.12);
  color: var(--ivory);
  cursor: pointer;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.membership-submit:hover {
  background: rgba(184, 154, 90, 0.20);
  border-color: rgba(214, 192, 141, 0.85);
}


.rules-principles {
  position: relative;
  z-index: 3;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.rules-principles li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.45;
}

.rules-principles li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--gold);
}

.rules-precept-intro {
  margin-top: 28px;
}

.rules-precept {
  position: relative;
  z-index: 3;
  margin: 18px 0 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-style: italic;
  line-height: 1.45;
}
