/* MadBlack Studios — site 1.9
   Zombie Catapult leads: torch-lit castle browns, flame orange and its slime-green logo.
   Monsters Ride follows as "coming soon": night purple, GAS-button green, coin orange.
   The studio red appears only in the footer. */
:root {
  --torch-deep: #1a0d06;
  --torch: #2b1608;
  --ember: #ff7a1a;
  --flame: #ffb15c;
  --parchment: #f6e3c8;
  --zc-green: #a8f24a;
  --night: #170c29;
  --plum: #26143f;
  --plum-2: #341c55;
  --slime: #9be22f;
  --slime-ink: #17240a;
  --moon: #f3eedc;
  --mist: #c9bedc;
  --pumpkin: #ffa126;
  --studio-red: #e3252d;
  --display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--torch-deep); color: var(--parchment); font: 400 17px/1.6 var(--body); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--zc-green); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 800; z-index: 20; }
.skip:focus { left: 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--body); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(24px, 2.8vw, 34px); }
.sub { margin: 0 0 28px; max-width: 62ch; opacity: .85; }
.kicker { font-weight: 800; margin: 0 0 6px; color: var(--flame); }
.lede { font-size: 19px; font-weight: 700; max-width: 52ch; margin: 0 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; margin-top: 36px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; border-radius: 12px; padding: 13px 22px; font-size: 17px; }
.btn-play { background: #000; color: #fff; border: 1px solid #ffffff55; padding: 10px 22px 10px 16px; }
.btn-play svg { width: 28px; height: 28px; fill: var(--zc-green); }
.btn-play span { display: flex; flex-direction: column; line-height: 1.1; font-size: 21px; }
.btn-play small { font-size: 11px; font-weight: 700; color: #ddd; }
.btn-play:hover { background: #1b1b1b; border-color: var(--zc-green); }
.btn-torch { border: 2px solid var(--flame); color: var(--parchment); }
.btn-torch:hover { background: #ffb15c1f; }
.btn-slime { background: var(--slime); color: var(--slime-ink); box-shadow: 0 4px 0 #4f8a12; }
.btn-slime:hover { background: #b2f24f; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 28px; background: rgba(26, 13, 6, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff14; }
.studio img { width: 96px; }
.top nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 15px; }
.top nav a { text-decoration: none; opacity: .8; }
.top nav a:hover { opacity: 1; }
.top .nav-cta { opacity: 1; color: #111; background: var(--zc-green); padding: 9px 16px; border-radius: 999px; font-weight: 900; }
.top .nav-cta:hover { background: #bdf76c; }

/* ===== Zombie Catapult ===== */
.zc { background: radial-gradient(ellipse at 15% 20%, #4d230c 0%, var(--torch) 40%, var(--torch-deep) 100%); padding-bottom: 90px; }
.zc-hero { position: relative; background: #050918; }
.zc-hero video { width: 100%; max-height: 76vh; aspect-ratio: 856 / 480; object-fit: cover; object-position: center top; }
.zc-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--torch)); pointer-events: none; }
.zc-band { position: relative; margin-top: -70px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.zc-pitch h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 18ch; color: #fff; text-shadow: 0 3px 0 #7a2e05, 0 10px 30px rgba(0,0,0,.6); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { background: #00000055; border: 1px solid #ffb15c55; border-radius: 14px; padding: 10px 18px; min-width: 210px; font-weight: 700; }
.facts strong { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--zc-green); margin-right: 8px; letter-spacing: .02em; }
.zc-trailer { margin-top: 90px; }
.zc-cast { margin-top: 90px; }
.screen { border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.55); border: 1px solid #ffffff18; }
.screen video { width: 100%; aspect-ratio: 1138 / 720; background: #000; }
.clips { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.clips figure { margin: 0; }
.clips video, .clips img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 4px solid #5a2d12; }
.clips .wide { grid-column: 1 / -1; }
.clips .wide img { aspect-ratio: 16 / 7; object-position: center 35%; }
.clips figcaption { margin-top: 10px; font-size: 15px; opacity: .9; }
.clips figcaption strong { color: var(--flame); }

/* ===== Monsters Ride ===== */
.mr { background: linear-gradient(180deg, var(--night), var(--plum) 60%, var(--night)); color: var(--moon); padding: 90px 0 100px; border-top: 4px solid var(--slime); }
.mr .kicker { color: var(--pumpkin); }
.mr .sub { color: var(--mist); opacity: 1; }
.mr h3 { margin-top: 80px; }
.mr-intro { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
.logo-type { font-family: var(--display); font-weight: 400; font-size: clamp(60px, 9vw, 120px); line-height: .88; margin: 4px 0 22px; color: var(--slime); letter-spacing: .01em; text-shadow: 0 4px 0 #3d7a0c, 0 8px 0 #1f3d07, 0 18px 40px rgba(0,0,0,.55); transform: rotate(-2deg); transform-origin: left bottom; }
.mr .note { color: var(--mist); max-width: 46ch; margin: 0; }

/* ride-request phone */
.phone { position: relative; background: linear-gradient(#2c1650, #1d0f36); border: 10px solid #6b4a1f; border-radius: 34px; padding: 26px 18px 18px; box-shadow: 0 0 0 2px #b78b3c inset, 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px #000; transform: rotate(2.5deg); }
.phone-notch { position: absolute; top: -4px; left: 50%; width: 70px; height: 16px; margin-left: -35px; background: #6b4a1f; border-radius: 0 0 14px 14px; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.phone-bar .app { color: var(--slime); }
.phone-bar .online { border: 1px solid var(--slime); color: var(--slime); border-radius: 999px; padding: 1px 9px; font-size: 11px; }
.phone-bar .online::before { content: "●"; margin-right: 4px; }
.phone-head { margin: 12px 0; background: var(--slime); color: var(--slime-ink); text-align: center; font-weight: 900; font-size: 18px; border-radius: 10px; padding: 7px; }
.rider { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rider img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 30% 45%; border: 3px solid #9b5cf0; }
.rider strong { display: block; font-size: 18px; }
.rider span { font-size: 13px; color: var(--mist); }
.trip { margin: 0 0 10px; display: grid; gap: 6px; }
.trip div { background: #ffffff0d; border: 1px solid #ffffff12; border-radius: 10px; padding: 6px 10px; }
.trip dt { font-size: 11px; color: var(--mist); font-weight: 700; }
.trip dd { margin: 0; font-weight: 800; font-size: 15px; }
.trip .fare { color: var(--pumpkin); font-size: 20px; font-family: var(--display); font-weight: 400; letter-spacing: .03em; }
.phone-fine { font-size: 12px; color: var(--mist); margin: 0 0 10px; line-height: 1.4; }
.accept { display: block; text-align: center; text-decoration: none; background: var(--slime); color: var(--slime-ink); font-weight: 900; font-size: 18px; padding: 12px; border-radius: 12px; box-shadow: 0 4px 0 #4f8a12; }
.accept:hover { background: #b2f24f; }
.accept:active { transform: translateY(3px); box-shadow: 0 1px 0 #4f8a12; }
.decline { display: block; text-align: center; margin-top: 8px; font-size: 13px; color: var(--mist); text-decoration: none; background: #ffffff10; border-radius: 10px; padding: 7px; }
.decline:hover { color: var(--moon); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: step; }
.steps img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: 16px; }
.steps h4 { font-size: 20px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.steps h4::before { content: counter(step); font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--slime-ink); background: var(--pumpkin); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; padding-top: 3px; }
.steps p { margin: 0; color: var(--mist); }

.driver-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.driver-grid figure { margin: 0; }
.driver-grid img, .driver-grid video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; border: 4px solid var(--plum-2); }
.driver-grid figcaption { margin-top: 8px; font-family: var(--display); font-size: 20px; letter-spacing: .03em; color: var(--pumpkin); }

.countries { list-style: none; padding: 0; margin: 18px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.countries li { border: 1px solid #ffffff22; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; color: var(--mist); }
.countries li.free { border-color: var(--slime); color: var(--moon); background: #9be22f1a; }
.countries li span { color: var(--slime); font-size: 12px; margin-left: 6px; }

/* footer: the only place the studio red speaks */
.foot { background: #07040c; border-top: 3px solid var(--studio-red); padding: 40px 0; color: var(--mist); }
.foot-grid { display: grid; grid-template-columns: 140px 1fr auto; gap: 28px; align-items: center; }
.foot img { width: 140px; }
.foot p { margin: 0; font-size: 15px; }
.foot nav { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot .copy { grid-column: 1 / -1; font-size: 13px; color: #8a7f9c; }

@media (max-width: 900px) {
  .zc-band { grid-template-columns: 1fr; margin-top: -30px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { min-width: 0; padding: 8px 10px; font-size: 14px; }
  .facts strong { display: block; font-size: 24px; }
  .mr-intro, .steps, .clips, .foot-grid { grid-template-columns: 1fr; }
  .driver-grid { grid-template-columns: 1fr 1fr; }
  .phone { max-width: 360px; transform: none; }
  .clips .wide img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top { padding: 8px 16px; }
  .top nav a:not(.nav-cta) { display: none; }
  .studio img { width: 78px; }
  .lede { font-size: 17px; }
  .zc-trailer, .zc-cast { margin-top: 64px; }
  .mr h3 { margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
