/*
Theme Name: IntroPlayer
Theme URI: https://introplayer.com/
Author: Primitive Recordings LLC
Description: Production theme for the IntroPlayer Android app.
Version: 1.0.0
Text Domain: introplayer
*/

:root {
  color-scheme: dark;
  --red: #cc0000;
  --red-dark: #990000;
  --green: #5ce65c;
  --black: #080808;
  --surface: #181818;
  --surface-2: #292929;
  --white: #ffffff;
  --muted: #bdbdbd;
  --line: #555555;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--white); text-underline-offset: .2em; }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
img { max-width: 100%; height: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--green); color: #000; font-weight: 900; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #333; background: rgb(8 8 8 / 94%); backdrop-filter: blur(14px); }
.header-inner, .site-main, .footer-inner { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-size: 1.18rem; font-weight: 950; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--red); box-shadow: inset 0 0 0 2px #fff2; }
.brand-mark::after { content: ""; width: 0; height: 0; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; }
.menu-toggle { display: none; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: #fff; font: inherit; font-weight: 800; }
.site-nav ul { display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--muted); font-size: .91rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav .nav-cta { padding: .55rem .8rem; border-radius: 7px; background: var(--red); color: #fff; }
.site-main { min-height: 70vh; }
.hero { display: grid; min-height: min(760px, calc(100vh - 74px)); grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); padding: clamp(4rem, 10vw, 8rem) 0; }
.eyebrow { margin: 0 0 .8rem; color: var(--green); font-size: .78rem; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
h1 { max-width: 900px; margin: 0 0 1.3rem; font-size: clamp(3.2rem, 9vw, 7.5rem); }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 4.2rem); }
h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.lede { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 1.2rem; border: 2px solid var(--red); border-radius: 8px; background: var(--red); color: #fff; font-weight: 900; text-decoration: none; }
.button:hover { border-color: var(--red-dark); background: var(--red-dark); color: #fff; }
.button-secondary { border-color: var(--line); background: transparent; }
.status-note { display: flex; gap: .65rem; align-items: center; margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px #5ce65c88; }
.stage-card { position: relative; min-height: 520px; padding: 1.2rem; overflow: hidden; border: 1px solid #444; border-radius: 28px; background: linear-gradient(145deg, #222, #0e0e0e); box-shadow: 0 32px 90px #000a; }
.stage-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.cue { display: grid; grid-template-columns: 2rem 1fr 3.5rem; align-items: center; gap: .8rem; margin: .75rem 0; padding: 1.15rem; border: 1px solid #444; border-radius: 16px; background: #111; }
.cue.active { border: 3px solid var(--red); }
.cue-number { color: var(--muted); font-weight: 800; }
.cue-title { overflow-wrap: anywhere; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 950; line-height: 1.05; }
.play { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border-radius: 50%; background: var(--red); }
.play::after { content: ""; width: 0; height: 0; margin-left: 4px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #fff; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid #2e2e2e; }
.section-intro { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.card { padding: 1.5rem; border: 1px solid #3d3d3d; border-radius: 16px; background: var(--surface); }
.card p { margin-bottom: 0; color: var(--muted); }
.page-hero { max-width: 900px; padding: clamp(4rem, 9vw, 7rem) 0 3rem; }
.page-content { max-width: 850px; padding-bottom: 6rem; }
.page-content h2 { margin-top: 3.5rem; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-content h3 { margin-top: 2rem; }
.page-content p, .page-content li { color: #dedede; }
.page-content li + li { margin-top: .55rem; }
.callout { margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 5px solid var(--green); background: var(--surface); }
.legal-meta { color: var(--muted); font-size: .9rem; }
.support-form { display: grid; gap: 1rem; margin-top: 2rem; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid #444; border-radius: 16px; background: var(--surface); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 850; }
.field input, .field textarea { width: 100%; padding: .85rem; border: 1px solid #666; border-radius: 7px; background: #0d0d0d; color: #fff; font: inherit; }
.field textarea { min-height: 180px; resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; }
.form-status { padding: 1rem; border: 2px solid var(--green); border-radius: 8px; background: #102410; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { border-top: 1px solid #333; background: #050505; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 2.5rem 0; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-nav a { color: var(--muted); }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset: 74px 0 auto; padding: 1rem; border-bottom: 1px solid #333; background: #080808; }
  .site-nav.open { display: block; }
  .site-nav ul { width: min(var(--max), calc(100% - 1rem)); margin-inline: auto; align-items: stretch; flex-direction: column; }
  .site-nav a { display: block; padding: .7rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .stage-card { min-height: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .cue { grid-template-columns: 1.5rem 1fr 3rem; padding: .9rem; }
  .play { width: 3rem; height: 3rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
