/*
Theme Name: Devils in the Windy City V2
Theme URI: https://devilsinthewindycity.com
Author: Elena Chaikin
Description: Cinematic dark fantasy author site theme for Devils in the Windy City.
Version: 2.0.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: devils-windy-city
*/

:root {
  --black: #050506;
  --panel: #101720;
  --gold: #d6a84f;
  --gold2: #f3d58a;
  --cream: #f1e8d8;
  --muted: #b9ad9c;
  --line: rgba(214,168,79,.28);
  --green: #253f38;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(214,168,79,.08), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(38,69,62,.22), transparent 35%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 100% 4px;
  mix-blend-mode: screen;
  opacity: .75;
  z-index: 5;
}

a {
  color: inherit;
}

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

  /* DISCOURAGE IMAGE SAVING / COPYING â€” DESKTOP + MOBILE */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

/* NAV */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 0 4vw;
  background:
    linear-gradient(
      180deg,
      rgba(3,3,4,.98),
      rgba(3,3,4,.93)
    );
  border-bottom: 1px solid rgba(214,168,79,.2);
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav-inner {
  width: 100%;
  max-width: 1380px;
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.nav-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(214,168,79,.42);
  border-radius: 4px;
  background: #050506;
  color: var(--gold2);
  font-family: Cinzel, Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(214,168,79,.08);
  transition:
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.nav-mark:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(214,168,79,.18);
}

.nav-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-menu-wrapper {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-menu {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.3rem);
  list-style: none;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu a {
  position: relative;
  display: inline-block;
  padding: .45rem 0;
  color: rgba(241,232,216,.82);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: left .25s ease, right .25s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--gold2);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
  left: 0;
  right: 0;
}

.newsletter-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .72rem 1.15rem;
  border: 1px solid var(--gold);
  background: rgba(214,168,79,.04);
  color: var(--gold2) !important;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background .25s ease,
    color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.newsletter-nav-link:hover {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #050506 !important;
  box-shadow: 0 8px 24px rgba(214,168,79,.18);
  transform: translateY(-1px);
}

/* TYPOGRAPHY */

.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: Cinzel, Georgia, serif;
  line-height: 1.03;
  margin: 0 0 1rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 8.8rem);
  letter-spacing: .02em;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
}

.card h3 small {
  display: block;
  margin-top: .4rem;
  color: var(--gold2);
  font-family: Cinzel, Georgia, serif;
  font-size: .62em;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.3;
  opacity: .9;
}

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.42rem);
  color: rgba(241,232,216,.9);
  max-width: 740px;
}

/* HOMEPAGE HERO */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 5vw;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.96) 0%,
      rgba(0,0,0,.75) 42%,
      rgba(0,0,0,.15) 100%
    ),
    #050505;
  padding: 130px 6vw 70px;
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  line-height: .92;
  letter-spacing: .02em;
  margin: 0 0 1.5rem;
}

.hero .lede {
  max-width: 640px;
}

.hero-cover {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cover img {
  width: 100%;
  max-width: 540px;
  max-height: 75vh;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 25px 60px rgba(0,0,0,.55));
}

.hero-mobile-cover {
  display: none;
}

h2 small {
  display: block;
  margin-top: .35rem;
  font-size: .42em;
  font-weight: 400;
  color: var(--gold2);
  letter-spacing: .04em;
}

/* BUTTONS */

.btnrow {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  text-decoration: none;
  border: 1px solid var(--gold);
  color: #050506;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  padding: .9rem 1.25rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 900;
}

.btn.ghost {
  background: transparent;
  color: var(--cream);
}

/* LAYOUT */

.section {
  padding: 95px 6vw;
  border-top: 1px solid rgba(214,168,79,.16);
}

.section.dark {
  background: linear-gradient(180deg, #080a0d, #0f141b);
}

.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.82fr);
  gap: 5vw;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px,.82fr) minmax(0,1fr);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: linear-gradient(180deg, rgba(22,28,37,.9), rgba(10,14,20,.95));
  border: 1px solid rgba(214,168,79,.2);
  padding: 1.4rem;
  min-height: 230px;
}

.feature-img {
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 680px;
  object-fit: cover;
}

.feature-img.short img {
  height: 520px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.25rem 0;
}

.pill {
  border: 1px solid var(--line);
  padding: .45rem .75rem;
  color: var(--gold2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
}

/* CHARACTER CARDS */

.characters-intro {
  padding-bottom: 70px;
}

.character-grid {
  margin-top: 3rem;
}

.character-card {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(214,168,79,.25);
  background: #111;
  text-decoration: none;
}

.character-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.character-card:hover img {
  transform: scale(1.04);
}

.character-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.92), rgba(0,0,0,.35) 52%, rgba(0,0,0,.08));
}

.character-card > div {
  position: relative;
  z-index: 2;
  padding: 1.7rem;
}

.character-card h3 {
  margin-bottom: .35rem;
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
}

.character-card p {
  margin-top: .9rem;
  color: rgba(241,232,216,.85);
  line-height: 1.55;
}

.character-card .russian-name {
  margin: -.25rem 0 .85rem;
  color: rgba(241,232,216,.72);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: .88rem;
  letter-spacing: .02em;
  line-height: 1.35;
  opacity: .9;
  text-transform: none;
}

/* CHARACTER PROFILE SECTIONS */

.character-profile {
  scroll-margin-top: 90px;
}

.character-profile .split {
  gap: 6vw;
}

.character-profile p:not(.lede) {
  color: var(--muted);
  max-width: 680px;
}

.character-profile .russian-name {
  margin: -.4rem 0 1.5rem;
  color: var(--gold2);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  letter-spacing: .08em;
  line-height: 1.4;
  opacity: .85;
}

/* UPDATES PAGE */

.updates-page-section {
  overflow: hidden;
}

.updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 620px);
  gap: 4vw;
  align-items: center;
}

.updates-copy {
  max-width: 780px;
}

.updates-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  min-height: auto;
}

.updates-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin: 1.75rem 0 1.25rem;
}

.updates-social-icons a {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214,168,79,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.updates-social-icons a:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(214,168,79,.08);
}

.updates-social-icons img {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: block !important;
}

.social-note {
  margin: 0 auto;
  max-width: 320px;
  color: rgba(241,232,216,.84);
}

@media (max-width: 900px) {
  .updates-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .updates-card {
    width: 100%;
    max-width: 420px;
  }
}

/* BANNERS */

.quote {
  font-family: Cinzel, Georgia, serif;
  color: var(--gold2);
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.18;
  margin: 0;
}

.wide-banner {
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding: 6vw;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.wide-banner h1 {
  font-size: clamp(3rem, 6.5vw, 7rem);
}

.wide-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.25));
}

.wide-banner > div {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* STORY PAGE */

.story-banner {
  min-height: 52vh;
  background-size: cover;
  background-position: center 42%;
}

.story-banner h1 {
  font-size: clamp(2.7rem, 5.6vw, 6rem);
  line-height: .92;
  max-width: 13ch;
}

.story-banner::before {
  background: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.62), rgba(0,0,0,.20));
}

/* WORLD PAGE */

.world-banner {
  min-height: 52vh;
  background-size: cover;
  background-position: center 42%;
}

.world-banner h1 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: .92;
  max-width: none;
  margin: 0;
}

.world-banner .kicker {
  margin-bottom: 1rem;
}

.world-banner::before {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.95),
    rgba(0,0,0,.62),
    rgba(0,0,0,.20)
  );
}

/* WORLD TIMELINE */

.world-timeline-section {
  padding-bottom: 5rem;
}

.world-timeline-section > div {
  max-width: 900px;
  margin: 0 auto;
}

/* WORLD GLOSSARY */

.glossary-section {
  padding-top: 5rem;
}

.glossary-section .lede {
  max-width: 760px;
}

.glossary-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.glossary-entry {
  height: auto;
}

.glossary-entry p {
  margin-bottom: 1.35rem;
}

.glossary-entry p:last-child {
  margin-bottom: 0;
}

.glossary-term {
  color: var(--gold2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
}

.glossary-russian {
  color: rgba(241,232,216,.72);
  font-weight: 500;
}

.glossary-pronunciation {
  color: rgba(241,232,216,.58);
  font-size: .9em;
  font-style: italic;
}

.glossary-entry em {
  color: var(--cream);
}

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

/* GALLERY PAGE */

.gallery-banner {
  min-height: 58vh;
  background-size: cover;
  background-position: center center;
}

/* GALLERY LIGHTBOX */

.lightbox-gallery img {
  cursor: zoom-in;
  transition: transform .25s ease, opacity .25s ease;
}

.lightbox-gallery img:hover {
  transform: scale(1.02);
  opacity: .9;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  z-index: 99999;
  transition: opacity .25s ease, visibility .25s ease;
}

.gallery-lightbox.show {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0,0,0,.85);
}

.gallery-lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
}

.gallery-lightbox-close:hover {
  color: var(--gold2);
}

/* ABOUT PAGE */

.about-banner {
  min-height: 58vh;
  background-size: cover;
  background-position: center center;
}

/* TIMELINE */

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
  max-width: 900px;
}

.event {
  position: relative;
  margin-bottom: 2rem;
}

.event:before {
  content: "";
  position: absolute;
  left: -2.42rem;
  top: .45rem;
  width: .8rem;
  height: .8rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--gold);
}

.event h3 {
  color: var(--gold2);
  margin-bottom: .5rem;
}

.event p {
  color: var(--muted);
  max-width: 720px;
}

/* GALLERY */

.gallery {
  columns: 3 280px;
  column-gap: 1rem;
}

.gallery img {
  margin: 0 0 1rem;
  border: 1px solid rgba(214,168,79,.18);
}

/* DEFAULT CONTENT */

.wp-content {
  padding: 130px 6vw 80px;
  max-width: 980px;
  margin: auto;
}

/* PRIVACY POLICY PAGE */

body.privacy-policy .wp-content {
  max-width: 980px;
  padding: 130px 6vw 80px;
}

body.privacy-policy .wp-content .privacy-title,
body.privacy-policy .wp-content > h1,
body.privacy-policy .wp-content .entry-content > h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

body.privacy-policy .wp-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--gold2);
}

body.privacy-policy .wp-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: .8rem;
}

body.privacy-policy .wp-content p,
body.privacy-policy .wp-content li {
  font-size: 1rem;
  line-height: 1.75;
}

body.privacy-policy .wp-content p {
  margin: 0 0 1.2rem;
}

body.privacy-policy .wp-content ul,
body.privacy-policy .wp-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

body.privacy-policy .wp-content li {
  margin-bottom: .45rem;
}

body.privacy-policy .wp-content a {
  color: var(--gold2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.privacy-policy .wp-content a:hover {
  color: var(--gold);
}

body.privacy-policy .privacy-policy-tutorial {
  display: none;
}

/* FOOTER */

.footer {
  padding: 48px 6vw 30px;
  background: #050505;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  padding-bottom: 2rem;
}

.footer-brand {
  flex: 1;
  text-align: left;
}

.footer-brand strong {
  display: block;
  color: var(--cream);
  font-size: 1rem;
}

.footer-tagline {
  margin: .3rem 0 0;
  color: var(--muted);
}

.footer-contact {
  margin-top: 1.2rem;
}

.footer-contact a {
  color: rgba(241,232,216,.84);
  text-decoration: none;
  border-bottom: 1px solid rgba(214,168,79,.4);
  padding-bottom: 2px;
}

.footer-contact a:hover {
  color: var(--gold2);
  border-color: var(--gold2);
}

.footer-social-box {
  flex: 0 0 auto;
  min-width: 220px;
  padding: 1.15rem 1.5rem;
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(22,28,37,.72),
    rgba(10,14,20,.82)
  );
}

.footer-social-box .kicker {
  font-size: .68rem;
  letter-spacing: .25em;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: .9rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform .25s ease, opacity .25s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
}

.footer-socials img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain;
  display: block;
  border: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(214,168,79,.18);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  color: rgba(241,232,216,.68);
  font-size: .8rem;
}

.footer-legal-links a {
  color: rgba(241,232,216,.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(214,168,79,.35);
}

.footer-legal-links a:hover {
  color: var(--gold2);
  border-color: var(--gold2);
}

.footer-copyright {
  margin: 0 !important;
  color: var(--muted);
  font-size: .8rem;
  text-align: right;
}

@media (max-width: 900px) {
  .footer {
    padding: 42px 6vw 28px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-social-box {
    width: 100%;
    max-width: 280px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: .9rem;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .footer-copyright {
    text-align: center;
  }
}

/* TRAILER */

.trailer-section .split {
  grid-template-columns: 1fr minmax(280px,420px);
}

.trailer-frame {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  overflow: hidden;
  background: linear-gradient(180deg,#090909,#000);
  display: grid;
  place-items: center;
  position: relative;
}

.trailer-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trailer-credit {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-style: italic;
  opacity: .85;
}

/* ABOUT */

.about-photo img {
  height: 760px;
  object-position: center;
}

/* BACK TO TOP */

#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(5,5,6,.9);
  color: var(--gold2);
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  box-shadow: 0 0 20px rgba(214,168,79,.5);
}

/* MOBILE */

@media (max-width: 900px) {

  body {
    overflow-x: hidden;
  }

  /* MOBILE NAV */

  .site-nav {
    position: relative;
    padding: 14px 5vw 16px;
  }

  .site-nav-inner {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.4rem;
  }

  .nav-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .nav-menu-wrapper {
    order: 3;
    width: 100%;
  }

  .nav-menu {
    width: 100%;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
  }

  .nav-menu a {
    font-size: .68rem;
    letter-spacing: .12em;
  }

  .newsletter-nav-link {
    min-height: 40px;
    padding: .7rem 1rem;
    font-size: .66rem;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.7rem);
  }

  h3 {
    font-size: clamp(1.35rem, 8vw, 2.2rem);
  }

  .section {
    padding: 70px 6vw;
  }

  /* MOBILE HOMEPAGE HERO */

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 70px 6vw 60px;
    background: #050505;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    display: contents;
  }

  .hero .kicker {
    order: 1;
    font-size: .72rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .hero h1 {
    order: 2;
    font-family: Cinzel, Georgia, serif;
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: .92;
    max-width: none;
    margin: 0 0 1.4rem;
  }

  .hero .lede {
    order: 3;
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: none;
    margin-top: 0;
  }

  .hero-cover {
    order: 4;
    width: 100%;
    margin: 1.5rem auto 0;
  }

  .hero-cover img {
    width: 100%;
    max-width: 430px;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
  }

  .hero-mobile-cover {
    display: none;
  }

  .hero-pills {
    order: 5;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .btnrow {
    order: 6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    width: 100%;
    margin-top: 1.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: .85rem .65rem;
    font-size: .66rem;
    letter-spacing: .1em;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-social-box {
    width: 100%;
    max-width: 280px;
  }

  /* MOBILE STACKING */

  .split,
  .split.reverse,
  .character-profile .split,
  .trailer-section .split {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 2rem !important;
    align-items: stretch !important;
  }

  .split > *,
  .split.reverse > *,
  .character-profile .split > *,
  .trailer-section .split > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .feature-img {
    margin-top: 1.25rem;
  }

  .feature-img img,
  .feature-img.short img,
  .about-photo img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
  }

  .trailer-section .split > div:first-child {
    order: 1;
  }

  .trailer-frame {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    margin: 2rem 0 0 !important;
  }

  .trailer-section h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: .95;
  }

  .trailer-section .lede {
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .pills {
    gap: .65rem;
  }

  .pill {
    font-size: .68rem;
    letter-spacing: .1em;
  }

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

  .wide-banner,
  .story-banner,
  .world-banner,
  .gallery-banner,
  .about-banner {
    min-height: 42vh;
    padding: 2rem;
    background-position: center center;
  }

  .wide-banner h1,
  .story-banner h1,
  .world-banner h1 {
    font-size: clamp(2.5rem, 13vw, 4.5rem);
  }

  .character-card {
    min-height: 560px;
  }

  .character-card h3 {
    font-size: clamp(1.65rem, 9vw, 2.4rem);
  }

  .character-card .russian-name {
    font-size: .85rem;
  }

  .gallery {
    columns: 1;
  }

  #backToTop {
    width: 44px;
    height: 44px;
    right: 18px;
    bottom: 18px;
  }

  /* MOBILE PRIVACY POLICY */

  body.privacy-policy .wp-content {
    padding: 80px 6vw 60px;
  }

  body.privacy-policy .wp-content .privacy-title,
  body.privacy-policy .wp-content > h1,
  body.privacy-policy .wp-content .entry-content > h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  body.privacy-policy .wp-content h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.2;
    margin-top: 2.4rem;
  }

  body.privacy-policy .wp-content h3 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  /* UPDATES SOCIALS */

  .updates-socials,
  .updates-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .updates-socials a,
  .updates-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(214,168,79,.25);
    background: rgba(255,255,255,.02);
    text-decoration: none;
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
  }

  .updates-socials a:hover,
  .updates-social-row a:hover {
    border-color: var(--gold);
    background: rgba(214,168,79,.08);
    transform: translateY(-3px);
  }

  .updates-socials img,
  .updates-social-row img {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    object-fit: contain !important;
    display: block !important;
    border: 0 !important;
  }

  .updates-socials span,
  .updates-social-row span {
    display: none;
  }

  .social-note {
    text-align: center;
    margin: 1.5rem auto 0;
    max-width: 520px;
    color: rgba(241,232,216,.86);
  }
}

/* NEWSLETTER */

#newsletter,
#updates-newsletter {
  scroll-margin-top: 95px;
}

.newsletter-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(214,168,79,.12), transparent 32%),
    linear-gradient(180deg, #0b0e13, #111720);
}

.newsletter-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,520px);
  gap: 5vw;
  align-items: center;
}

.newsletter-copy {
  max-width: 650px;
}

.newsletter-copy h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.7rem);
  margin-top: .65rem;
}

.newsletter-note {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 1.25rem;
}

.newsletter-form-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(214,168,79,.35);
  background:
    linear-gradient(180deg, rgba(23,30,40,.97), rgba(8,12,17,.98));
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  overflow: hidden;
}

.newsletter-form-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(214,168,79,.12), transparent 35%);
}

.newsletter-form-card > * {
  position: relative;
  z-index: 1;
}

.newsletter-form-card h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  margin-top: .5rem;
  margin-bottom: .8rem;
}

.newsletter-form-card > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.newsletter-form-card .gform_wrapper {
  margin: 0;
}

.newsletter-form-card .gform_fields {
  row-gap: 1rem;
}

.newsletter-form-card .gfield {
  margin-bottom: .8rem;
}

.newsletter-form-card .gfield_label,
.newsletter-form-card .gform-field-label {
  display: block;
  margin-bottom: .45rem;
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.newsletter-form-card input[type="text"],
.newsletter-form-card input[type="email"],
.newsletter-form-card input[type="tel"],
.newsletter-form-card select,
.newsletter-form-card textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem .9rem !important;
  border: 1px solid rgba(214,168,79,.3) !important;
  border-radius: 0 !important;
  background: rgba(0,0,0,.35) !important;
  color: var(--cream) !important;
  font: inherit !important;
  box-shadow: none !important;
}

.newsletter-form-card input::placeholder,
.newsletter-form-card textarea::placeholder {
  color: rgba(241,232,216,.42);
}

.newsletter-form-card input:focus,
.newsletter-form-card select:focus,
.newsletter-form-card textarea:focus {
  border-color: var(--gold) !important;
  outline: 2px solid rgba(214,168,79,.18) !important;
  outline-offset: 1px;
}

.newsletter-form-card .gfield--type-consent,
.newsletter-form-card .ginput_container_consent {
  color: rgba(241,232,216,.82);
  font-size: .88rem;
  line-height: 1.55;
}

.newsletter-form-card input[type="checkbox"] {
  accent-color: var(--gold);
  margin-right: .55rem;
}

.newsletter-form-card .gfield_description {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.newsletter-form-card .gfield_description a,
.newsletter-form-card .gform_wrapper a {
  color: var(--gold2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-form-card .gform_footer {
  margin-top: 1.25rem;
  padding: 0;
}

.newsletter-form-card .gform_button,
.newsletter-form-card input[type="submit"],
.newsletter-form-card button[type="submit"] {
  width: 100% !important;
  min-height: 50px;
  margin: 0 !important;
  padding: .9rem 1.2rem !important;
  border: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, var(--gold2), var(--gold)) !important;
  color: #050506 !important;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.newsletter-form-card .gform_button:hover,
.newsletter-form-card input[type="submit"]:hover,
.newsletter-form-card button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(214,168,79,.2);
}

.newsletter-form-card .gform_validation_errors,
.newsletter-form-card .validation_message {
  border-color: rgba(214,168,79,.5) !important;
  background: rgba(104,20,20,.2) !important;
  color: var(--cream) !important;
}

.newsletter-form-card .gform_confirmation_message {
  padding: 1.2rem;
  border: 1px solid rgba(214,168,79,.4);
  background: rgba(214,168,79,.08);
  color: var(--gold2);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
}

.updates-newsletter-card {
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-social-divider {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 2rem 0 .5rem;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.newsletter-social-divider:before,
.newsletter-social-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(214,168,79,.25);
}

@media (max-width: 900px) {
  #newsletter,
  #updates-newsletter {
    scroll-margin-top: 20px;
  }

  .newsletter-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-copy h2 {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
  }

  .newsletter-form-card {
    width: 100%;
    max-width: none;
    padding: 1.4rem;
  }

  .newsletter-form-card h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }
}

/* NEWSLETTER FIXES â€” 2.0.1 */

.newsletter-shell {
  max-width: 1240px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
}

.newsletter-form-card {
  width: 100%;
}

.updates-newsletter-card {
  width: 100%;
  max-width: 620px;
}

.newsletter-form-card .gform_wrapper,
.newsletter-form-card .gform_wrapper form,
.newsletter-form-card .gform_body,
.newsletter-form-card .gform_fields,
.newsletter-form-card .gfield,
.newsletter-form-card .ginput_container,
.newsletter-form-card .ginput_complex {
  width: 100% !important;
  max-width: none !important;
}

.newsletter-form-card .gfield {
  grid-column: 1 / -1 !important;
}

.newsletter-form-card .ginput_complex {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .75rem !important;
}

.newsletter-form-card .ginput_complex > span,
.newsletter-form-card .ginput_complex > div {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.newsletter-form-card,
.newsletter-form-card p,
.newsletter-form-card span,
.newsletter-form-card label,
.newsletter-form-card legend,
.newsletter-form-card .gfield_label,
.newsletter-form-card .gform-field-label,
.newsletter-form-card .gform-field-label--type-inline,
.newsletter-form-card .gfield_description,
.newsletter-form-card .ginput_complex label,
.newsletter-form-card .gfield_consent_label,
.newsletter-form-card .ginput_container_consent label {
  color: var(--cream) !important;
}

.newsletter-form-card .ginput_complex label,
.newsletter-form-card .ginput_complex .gform-field-label {
  color: rgba(241,232,216,.7) !important;
}

.newsletter-form-card .gfield_required,
.newsletter-form-card .gfield_required_text,
.newsletter-form-card .gfield_required_asterisk {
  color: #ff745f !important;
}

.newsletter-form-card input[type="text"],
.newsletter-form-card input[type="email"],
.newsletter-form-card input[type="tel"],
.newsletter-form-card input[type="url"],
.newsletter-form-card input[type="number"],
.newsletter-form-card select,
.newsletter-form-card textarea {
  width: 100% !important;
  max-width: none !important;
  background: rgba(0,0,0,.42) !important;
  border-color: rgba(214,168,79,.42) !important;
  color: var(--cream) !important;
  -webkit-text-fill-color: var(--cream) !important;
}

.newsletter-form-card input::placeholder,
.newsletter-form-card textarea::placeholder {
  color: rgba(241,232,216,.45) !important;
  opacity: 1;
}

.newsletter-form-card .ginput_container_consent {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
}

.newsletter-form-card .ginput_container_consent input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  margin: .15rem 0 0 !important;
}

.newsletter-form-card .ginput_container_consent label {
  margin: 0 !important;
  color: rgba(241,232,216,.92) !important;
  font-size: .88rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.55 !important;
  text-transform: none !important;
}

.newsletter-form-card .gfield_description {
  color: var(--muted) !important;
}

.newsletter-form-card .gfield_description a,
.newsletter-form-card .gform_wrapper a,
.newsletter-form-card .ginput_container_consent a {
  color: var(--gold2) !important;
}

.newsletter-form-card .gform_footer {
  width: 100%;
}

.newsletter-form-card .gform_button,
.newsletter-form-card input[type="submit"],
.newsletter-form-card button[type="submit"] {
  color: #050506 !important;
  -webkit-text-fill-color: #050506 !important;
}

@media (max-width: 1100px) {
  .updates-layout {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 540px);
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .updates-layout,
  .newsletter-shell {
    grid-template-columns: 1fr;
  }

  .updates-newsletter-card,
  .newsletter-form-card {
    width: 100%;
    max-width: none;
  }
}

/* LEGAL PAGES â€” PRIVACY, COPYRIGHT, AND POLICIES */

.wp-content:has(.privacy-title) {
  max-width: 980px;
  padding: 130px 6vw 80px;
  margin: 0 auto;
}

.wp-content:has(.privacy-title) .privacy-title {
  max-width: 900px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  overflow-wrap: normal;
  word-break: normal;
}

.wp-content:has(.privacy-title) h2 {
  max-width: 900px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--gold2);
  overflow-wrap: normal;
  word-break: normal;
}

.wp-content:has(.privacy-title) h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: .8rem;
}

.wp-content:has(.privacy-title) p,
.wp-content:has(.privacy-title) li {
  font-size: 1rem;
  line-height: 1.75;
}

.wp-content:has(.privacy-title) p {
  margin: 0 0 1.2rem;
}

.wp-content:has(.privacy-title) ul,
.wp-content:has(.privacy-title) ol {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

.wp-content:has(.privacy-title) li {
  margin-bottom: .45rem;
}

.wp-content:has(.privacy-title) a {
  color: var(--gold2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wp-content:has(.privacy-title) a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .wp-content:has(.privacy-title) {
    padding: 80px 6vw 60px;
  }

  .wp-content:has(.privacy-title) .privacy-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .wp-content:has(.privacy-title) h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.2;
    margin-top: 2.4rem;
  }

  .wp-content:has(.privacy-title) h3 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }
}

/* LEGAL PAGE TITLE FALLBACK â€” 2.0.3 */

h1.privacy-title,
.wp-block-heading.privacy-title {
  max-width: 900px !important;
  font-size: clamp(2.4rem, 4vw, 3.8rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 1.5rem !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 900px) {
  h1.privacy-title,
  .wp-block-heading.privacy-title {
    font-size: clamp(2.1rem, 9vw, 3rem) !important;
    line-height: 1.08 !important;
  }
}

/* HIDE AUTOMATIC TITLE ON COPYRIGHT PAGE */

body.page-id-2418 .entry-title,
body.page-id-2418 .page-title,
body.page-id-2418 main > h1:not(.privacy-title),
body.page-id-2418 .wp-content > h1:not(.privacy-title) {
  display: none !important;
}

/* COPYRIGHT PAGE CONTENT TITLE */

body.page-id-2418 h1.privacy-title,
body.page-id-2418 h1.copyright-page-title {
  display: block !important;
  font-size: clamp(2.6rem, 5vw, 4.5rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 1.5rem !important;
}

/* FIX MOBILE AUTOFILL COLORS */

.newsletter-form-card input[type="text"],
.newsletter-form-card input[type="email"],
.newsletter-form-card input[type="tel"],
.newsletter-form-card input[type="url"],
.newsletter-form-card input[type="number"],
.newsletter-form-card textarea {
  background: rgba(0,0,0,.55) !important;
  color: var(--cream) !important;
  -webkit-text-fill-color: var(--cream) !important;
  caret-color: var(--gold2) !important;
}

/* Chrome, Safari, iPhone autofill */

.newsletter-form-card input:-webkit-autofill,
.newsletter-form-card input:-webkit-autofill:hover,
.newsletter-form-card input:-webkit-autofill:focus,
.newsletter-form-card input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--cream) !important;
  caret-color: var(--gold2) !important;
  -webkit-box-shadow: 0 0 0 1000px #0b1017 inset !important;
  box-shadow: 0 0 0 1000px #0b1017 inset !important;
  border: 1px solid rgba(214,168,79,.55) !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Placeholder text */

.newsletter-form-card input::placeholder,
.newsletter-form-card textarea::placeholder {
  color: rgba(241,232,216,.48) !important;
  -webkit-text-fill-color: rgba(241,232,216,.48) !important;
  opacity: 1 !important;
}

/* IMAGE PROTECTION â€” 2.0.5
   Discourages casual long-press saving, dragging, and image selection.
   This intentionally does NOT use pointer-events:none so linked images,
   navigation, gallery behavior, and buttons continue to work. */

img,
picture,
figure {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Extra coverage for the site's artwork-heavy areas on touch devices. */
@media (hover: none) and (pointer: coarse) {
  .hero-cover,
  .feature-img,
  .character-card,
  .gallery,
  .gallery-lightbox,
  .about-photo,
  .wide-banner,
  .story-banner,
  .world-banner,
  .gallery-banner,
  .about-banner {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .hero-cover img,
  .feature-img img,
  .character-card img,
  .gallery img,
  .gallery-lightbox img,
  .about-photo img,
  .updates-social-icons img,
  .updates-socials img,
  .updates-social-row img,
  .footer-socials img,
  .nav-mark img {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }
}
