:root {
  color-scheme: light dark;
  --ink: #101317;
  --muted: #626b75;
  --paper: #f7f9f8;
  --paper-strong: #ffffff;
  --night: #080b0f;
  --night-soft: #111923;
  --line: rgba(16, 19, 23, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --red: #e43d30;
  --red-deep: #ba1f18;
  --cyan: #20b8c7;
  --gold: #d8a449;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--night);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px max(22px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: rgba(8, 11, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(228, 61, 48, 0.22);
}

.brand-name {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.language-toggle button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
}

.language-toggle button.is-active {
  color: var(--ink);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  color: #fff;
}

.hero-visual,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-visual {
  background-image: url("assets/mirareel-hero.jpg");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.82) 32%, rgba(5, 7, 10, 0.26) 64%, rgba(5, 7, 10, 0.52) 100%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0) 28%);
}

.hero-inner,
.section-inner,
.signal-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 86svh;
  align-items: center;
  padding: 118px 0 72px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 5.6rem;
  line-height: 0.96;
}

h2 {
  margin-bottom: 20px;
  font-size: 2.55rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.24rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 36px rgba(228, 61, 48, 0.26);
}

.button-primary:hover {
  background: var(--red-deep);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 0;
}

.hero-stats div {
  min-height: 88px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 11, 15, 0.42);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.35;
}

.signal-band {
  color: #fff;
  background: #102027;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.signal-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.signal-inner a {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.section {
  padding: 104px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: #fff;
  background:
    linear-gradient(180deg, #0b1118 0%, #111923 100%);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 70px;
}

.section-copy p:not(.section-kicker),
.contact-copy p,
.audience-list p,
.process-card p {
  color: var(--muted);
  line-height: 1.7;
}

.section-dark .process-card p {
  color: rgba(255, 255, 255, 0.7);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.poster-card {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0) 0%, rgba(6, 8, 12, 0.88) 78%),
    var(--poster-image);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.poster-card:nth-child(1) {
  --poster-image: url("assets/poster-romance.jpg");
}

.poster-card:nth-child(2) {
  --poster-image: url("assets/poster-urban-drama.jpg");
}

.poster-card:nth-child(3) {
  --poster-image: url("assets/poster-suspense.jpg");
}

.poster-card:nth-child(4) {
  --poster-image: url("assets/poster-family-stories.jpg");
}

.poster-card span {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 18px;
  font-weight: 900;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.process-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.process-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.audience-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
}

.audience-list {
  display: grid;
  gap: 18px;
}

.audience-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.contact-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.92), rgba(15, 28, 33, 0.94)),
    url("assets/mirareel-hero.jpg");
  background-position: center;
  background-size: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 11, 15, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.lead-form input,
.lead-form select {
  padding: 0 13px;
}

.lead-form textarea {
  min-height: 118px;
  resize: vertical;
  padding: 12px 13px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(32, 184, 199, 0.18);
}

.lead-form option {
  color: var(--ink);
}

.form-note {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(22px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.62);
  background: #05070a;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 1180px) {
  h1 {
    font-size: 6.7rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    gap: 14px;
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 84svh;
  }

  .hero-visual {
    background-position: 64% center;
  }

  h1 {
    font-size: 4.15rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .two-column,
  .audience-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-name {
    display: none;
  }

  .language-toggle button {
    min-width: 38px;
  }

  .hero-inner,
  .section-inner,
  .signal-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero,
  .hero-inner {
    min-height: 82svh;
  }

  .hero-inner {
    padding-top: 92px;
    padding-bottom: 42px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.76) 58%, rgba(5, 7, 10, 0.38) 100%),
      linear-gradient(0deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0) 32%);
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
  }

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

  .hero-stats div {
    min-height: 74px;
  }

  .signal-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 72px 0;
  }

  .process-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

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

  .poster-card {
    min-height: 270px;
  }

  .lead-form {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 16px;
  }
}
