/* ===========================================================================
   MyersMojo — public site (boutique development-slate design).

   A premium, industry-facing look: deep cinematic navy, warm gold accent,
   Playfair Display headings over a clean sans body. Used by the home page,
   the Screenplays slate, the Art Books page, About and Contact. The admin
   panel and the pitch-deck viewer keep their own stylesheets.
   =========================================================================== */

:root {
  --mm-bg:        #0a1626;   /* deep cinematic navy */
  --mm-bg-2:      #0f2038;   /* raised panels */
  --mm-bg-3:      #132a49;   /* cards */
  --mm-ink:       #eef2f8;   /* primary text */
  --mm-muted:     #9fb2cc;   /* secondary text */
  --mm-gold:      #c9a24b;   /* premium accent */
  --mm-gold-2:    #e4c675;   /* lighter gold for hovers */
  --mm-blue:      #0080ff;   /* brand blue (logo) */
  --mm-cyan:      #44d0ff;
  --mm-line:      rgba(201, 162, 75, .22);
  --mm-line-2:    rgba(255, 255, 255, .08);
  --mm-radius:    10px;
  --mm-shadow:    0 18px 50px rgba(0, 0, 0, .45);
  --mm-maxw:      1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body.mm-site {
  font-family: 'Roboto', 'Montserrat', system-ui, sans-serif;
  background: var(--mm-bg);
  color: var(--mm-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .mm-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

a { color: var(--mm-gold-2); text-decoration: none; }
a:hover { color: #f3dd9f; }

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

.mm-shell { max-width: var(--mm-maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header */
.mm-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 18, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mm-line);
}
.mm-nav__inner {
  max-width: var(--mm-maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 24px;
}
.mm-nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.mm-nav__brand img { height: 40px; width: auto; }
.mm-nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.mm-nav__brand-name {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 22px; color: #fff; letter-spacing: .5px;
}
.mm-nav__brand-tag {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--mm-gold); margin-top: 3px;
}
.mm-nav__links { display: flex; align-items: center; gap: 6px; }
.mm-nav__links a {
  color: var(--mm-ink); text-decoration: none; font-size: 14.5px;
  font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 6px; transition: color .15s, background .15s;
}
.mm-nav__links a:hover { color: #fff; background: rgba(201, 162, 75, .12); }
.mm-nav__links a.is-active { color: var(--mm-gold-2); }
.mm-nav__toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: 0; padding: 6px;
}
.mm-nav__toggle span { width: 26px; height: 2px; background: var(--mm-ink); display: block; }

@media (max-width: 860px) {
  .mm-nav__toggle { display: flex; }
  .mm-nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mm-bg-2); border-bottom: 1px solid var(--mm-line);
    padding: 8px 0; display: none;
  }
  .mm-nav__links.is-open { display: flex; }
  .mm-nav__links a { padding: 13px 24px; border-radius: 0; }
}

/* --------------------------------------------------------------- buttons */
.mm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Roboto', sans-serif; font-size: 14.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  padding: 14px 26px; border-radius: 6px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent; transition: all .16s ease;
  white-space: nowrap;
}
.mm-btn--gold { background: var(--mm-gold); color: #1a1206; border-color: var(--mm-gold); }
.mm-btn--gold:hover { background: var(--mm-gold-2); border-color: var(--mm-gold-2); color: #1a1206; transform: translateY(-1px); }
.mm-btn--outline { background: transparent; color: var(--mm-ink); border-color: rgba(255,255,255,.28); }
.mm-btn--outline:hover { border-color: var(--mm-gold); color: var(--mm-gold-2); }
.mm-btn--sm { padding: 11px 18px; font-size: 13px; }
.mm-btn--block { width: 100%; }

/* ------------------------------------------------------------------ hero */
.mm-hero {
  position: relative;
  min-height: calc(100vh - 65px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 128, 255, .12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(201, 162, 75, .10), transparent 60%),
    linear-gradient(180deg, #0b1a2e 0%, var(--mm-bg) 100%);
  overflow: hidden;
}
.mm-hero::after {
  /* faint film-grain / vignette so the flat navy reads as cinematic */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 220px rgba(0, 0, 0, .55);
}
.mm-hero__inner { position: relative; z-index: 2; max-width: 860px; }
.mm-hero__eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mm-gold); border: 1px solid var(--mm-line); border-radius: 999px;
  padding: 7px 18px; margin-bottom: 26px;
}
.mm-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff; margin-bottom: 18px; letter-spacing: .5px;
}
.mm-hero__lede {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem); color: var(--mm-gold-2); margin-bottom: 20px;
}
.mm-hero__desc {
  font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--mm-muted);
  max-width: 680px; margin: 0 auto 14px;
}
.mm-hero__tag {
  font-family: 'Playfair Display', serif; font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--mm-ink); margin-bottom: 28px;
}
.mm-hero__creds {
  display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; margin-bottom: 34px;
}
.mm-hero__cred {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--mm-ink);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--mm-line-2);
  border-radius: 999px; padding: 8px 16px;
}
.mm-hero__cred b { color: var(--mm-gold-2); font-weight: 600; }
.mm-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.mm-hero__scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: var(--mm-muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; z-index: 2;
}

/* --------------------------------------------------------------- sections */
.mm-section { padding: 84px 0; }
.mm-section--alt { background: linear-gradient(180deg, var(--mm-bg) 0%, #0b1b30 100%); }
.mm-section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.mm-section__kicker {
  font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mm-gold); margin-bottom: 14px;
}
.mm-section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; }
.mm-section__head h2 .mm-rule { display: block; width: 64px; height: 3px; background: var(--mm-gold); margin: 20px auto 0; border-radius: 2px; }
.mm-section__head p { color: var(--mm-muted); margin-top: 16px; font-size: 1.05rem; }

/* ----------------------------------------------------------- slate grid */
.mm-slate {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.mm-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--mm-bg-3) 0%, var(--mm-bg-2) 100%);
  border: 1px solid var(--mm-line-2); border-radius: var(--mm-radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mm-card:hover { transform: translateY(-4px); border-color: var(--mm-line); box-shadow: var(--mm-shadow); }

/* Poster: real image when set, otherwise a branded title card. 2:3 film ratio. */
.mm-card__poster {
  position: relative; display: block; aspect-ratio: 2 / 3;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 128, 255, .25), transparent 55%),
    linear-gradient(150deg, #16304f 0%, #0b1a2e 70%);
  overflow: hidden;
}
.mm-card__poster img { width: 100%; height: 100%; object-fit: cover; }
.mm-card__poster-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 26px;
}
.mm-card__poster-fallback .mm-mark {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--mm-gold); margin-bottom: 16px;
}
.mm-card__poster-fallback h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #fff; text-transform: uppercase; letter-spacing: 1px;
}
.mm-card__poster-fallback .mm-frame {
  position: absolute; inset: 14px; border: 1px solid var(--mm-line); border-radius: 4px; pointer-events: none;
}
.mm-card__ribbon {
  position: absolute; top: 14px; left: 0;
  background: var(--mm-gold); color: #1a1206;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px 5px 12px;
}

.mm-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mm-card__title { font-size: 1.45rem; color: #fff; letter-spacing: .5px; }
.mm-card__genre {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mm-gold-2); font-weight: 600;
}
.mm-card__logline { color: var(--mm-muted); font-size: .98rem; }
.mm-card__accolades { list-style: none; display: grid; gap: 6px; margin-top: 2px; }
.mm-card__accolades li {
  position: relative; padding-left: 20px; font-size: .88rem; color: var(--mm-ink);
}
.mm-card__accolades li::before {
  content: "★"; position: absolute; left: 0; top: 0; color: var(--mm-gold); font-size: .8rem;
}
.mm-card__comps { font-size: .85rem; color: var(--mm-muted); font-style: italic; }
.mm-card__comps b { color: var(--mm-ink); font-style: normal; font-weight: 600; }
.mm-card__actions { margin-top: auto; padding-top: 8px; display: grid; gap: 10px; }

/* ---------------------------------------------------------------- about */
.mm-about { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start; }
@media (max-width: 760px) { .mm-about { grid-template-columns: 1fr; gap: 26px; text-align: center; } }
.mm-about__portrait {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--mm-radius); border: 1px solid var(--mm-line);
}
.mm-about__body p { color: var(--mm-muted); font-size: 1.06rem; margin-bottom: 16px; }
.mm-about__body p strong { color: var(--mm-ink); }
.mm-about__stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 24px; }
.mm-about__stat .n { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--mm-gold-2); }
.mm-about__stat .l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mm-muted); }

/* --------------------------------------------------------- public forms */
.mm-form { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; text-align: left; }
.mm-form label {
  display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mm-muted); margin-bottom: 7px;
}
.mm-form input, .mm-form textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px;
  background: var(--mm-bg-2); color: var(--mm-ink);
  border: 1px solid var(--mm-line-2); border-radius: 6px;
}
.mm-form input::placeholder, .mm-form textarea::placeholder { color: #67788f; }
.mm-form input:focus, .mm-form textarea:focus {
  outline: none; border-color: var(--mm-gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .16);
}
.mm-form textarea { min-height: 140px; resize: vertical; }
.mm-form .mm-btn { justify-self: start; }

/* Honeypot — visually and audibly hidden, still submitted by naive bots. */
.mm-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* CAPTCHA */
.mm-captcha { display: flex; align-items: center; gap: 12px; }
.mm-captcha img {
  border-radius: 6px; border: 1px solid var(--mm-line-2);
  background: #f4f6fa; display: block;
}
.mm-captcha__refresh {
  background: var(--mm-bg-2); border: 1px solid var(--mm-line-2); color: var(--mm-muted);
  border-radius: 6px; width: 40px; height: 40px; cursor: pointer; font-size: 18px; line-height: 1;
}
.mm-captcha__refresh:hover { border-color: var(--mm-gold); color: var(--mm-gold-2); }

/* Inline form notices */
.mm-notice-inline { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .95rem; }
.mm-notice-inline--ok  { background: rgba(41, 194, 111, .12); border: 1px solid rgba(41, 194, 111, .42); color: #a6f0c8; }
.mm-notice-inline--err { background: rgba(255, 91, 91, .10);  border: 1px solid rgba(255, 91, 91, .42);  color: #ffbcbc; }
.mm-notice-inline--err div { margin: 2px 0; }

/* -------------------------------------------------------------- contact */
.mm-contact { text-align: center; max-width: 560px; margin: 0 auto; }
.mm-contact--split { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; text-align: left; }
@media (max-width: 760px) { .mm-contact--split { grid-template-columns: 1fr; gap: 34px; } }
.mm-contact__card {
  background: linear-gradient(180deg, var(--mm-bg-3) 0%, var(--mm-bg-2) 100%);
  border: 1px solid var(--mm-line-2); border-radius: var(--mm-radius); padding: 30px;
}
.mm-contact__card h3 { color: var(--mm-gold-2); font-size: 1.3rem; margin-bottom: 8px; }
.mm-contact__name { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: #fff; }
.mm-contact__role { color: var(--mm-gold); letter-spacing: .18em; text-transform: uppercase; font-size: 13px; margin-bottom: 26px; }
.mm-contact__lines { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mm-contact__lines a { font-size: 1.15rem; color: var(--mm-ink); }
.mm-contact__lines a:hover { color: var(--mm-gold-2); }

/* --------------------------------------------------------------- footer */
.mm-footer {
  border-top: 1px solid var(--mm-line); background: #081220;
  padding: 40px 24px; text-align: center; color: var(--mm-muted); font-size: 13.5px;
}
.mm-footer a { color: var(--mm-muted); }
.mm-footer a:hover { color: var(--mm-gold-2); }
.mm-footer__brand { font-family: 'Playfair Display', serif; color: #fff; font-size: 18px; margin-bottom: 8px; }
.mm-footer__links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 12px 0 16px; }

/* ---------------------------------------------------------------- misc */
.mm-empty-note {
  text-align: center; color: var(--mm-muted); padding: 40px 20px;
  border: 1px dashed var(--mm-line); border-radius: var(--mm-radius);
}
.mm-center-cta { text-align: center; margin-top: 46px; }
