/* ==========================================================================
   MOVIE COLONY EAST — Neighborhood Organization
   "Where Hollywood Lived — & Where Community Lives On"
   Brand system: blade-sign purple + Palm Springs gold, film-strip accents,
   midcentury silhouettes, star motifs.
   ========================================================================== */

:root {
  --purple: #3b2d6e;
  --purple-deep: #2a1f52;
  --purple-ink: #211843;
  --gold: #f2b30c;
  --gold-bright: #ffc633;
  --gold-soft: #ffdd7a;
  --amber: #f0a70a;
  --cream: #faf6ec;
  --paper: #fffdf7;
  --ink: #201a33;
  --ink-soft: #4c4562;
  --red: #c62f2f;
  --line: #e5ddc9;
  --shadow: 0 10px 30px rgba(33, 24, 67, .14);
  --radius: 14px;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --font-mono: "Courier Prime", "Courier New", monospace;
  --font-quote: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--purple); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.12;
  color: var(--purple-ink);
}

.script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
}

.kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
}
.kicker::before { content: "★"; color: var(--gold); }

.section-head { margin-bottom: 2rem; max-width: 720px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--ink-soft); margin-top: .6rem; }

/* ==========================================================================
   MASTHEAD (gold banner + blade sign + silhouettes)
   ========================================================================== */

.masthead {
  background:
    radial-gradient(120% 90% at 50% -20%, #ffd75e 0%, var(--gold) 45%, var(--amber) 100%);
  text-align: center;
  padding: 18px 16px 8px;
  position: relative;
  overflow: hidden;
}

.masthead .tagline {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(1.02rem, 2.15vw, 1.72rem);
  line-height: 1.25;
  color: var(--purple-ink);
  margin-bottom: 12px;
  padding: 0 12px;
}

.masthead-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 4vw, 56px);
}

.masthead-art .scene { width: clamp(120px, 18vw, 230px); flex: 0 0 auto; opacity: .92; }
.masthead-art .logo-link { display: block; width: clamp(240px, 38vw, 430px); }
.masthead-art .logo-link:focus-visible { outline: 3px solid var(--purple); outline-offset: 6px; }

@media (max-width: 640px) {
  .masthead-art .scene { display: none; }
  .masthead-art .logo-link { width: min(320px, 78vw); }
}

/* ---------- Film strip divider ---------- */

.filmstrip {
  height: 30px;
  border-top: 7px solid #14101f;
  border-bottom: 7px solid #14101f;
  background:
    repeating-linear-gradient(90deg, #14101f 0 5px, transparent 5px 32px),
    linear-gradient(180deg, #f59e0b 0%, #e2611c 55%, #c62f2f 100%);
}
.filmstrip--thin { height: 22px; border-width: 5px; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
  background: var(--purple);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 18px rgba(33, 24, 67, .35);
}

.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2vw, 26px);
  min-height: 62px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar a.navlink {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .95rem;
  color: #fff;
  text-decoration: none;
  padding: 8px 6px;
  border-bottom: 3px solid transparent;
  transition: color .18s, border-color .18s;
}

.navbar a.navlink:hover { color: var(--gold-bright); }

.navbar a.navlink[aria-current="page"] {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

.btn-support {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .92rem;
  color: var(--purple-ink);
  background: var(--gold-bright);
  border: 2px solid #fff0;
  border-radius: 999px;
  padding: 9px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .18s, box-shadow .18s, background .18s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.btn-support:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn-support .heart { color: var(--red); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .9rem;
    padding: 8px 16px;
    cursor: pointer;
  }
  .navbar .wrap { justify-content: space-between; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 6px 0 14px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .navbar a.navlink { border-bottom: none; padding: 10px 6px; }
  .navbar a.navlink[aria-current="page"] { color: var(--gold-bright); }
}
@media (min-width: 861px) {
  .nav-links { display: contents; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--purple-deep);
}

.hero .hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(56px, 9vw, 120px);
}

.hero-copy { max-width: 560px; }

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  text-shadow: 0 3px 18px rgba(20, 10, 40, .55);
}

.hero-copy h1 .script {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: .08em 0;
  text-shadow: 0 3px 14px rgba(20, 10, 40, .5);
}

.hero-copy p {
  margin: 1.2rem 0 1.8rem;
  font-size: 1.05rem;
  max-width: 46ch;
  color: #f3eeff;
  text-shadow: 0 2px 10px rgba(20, 10, 40, .6);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 26px;
  font-size: .95rem;
  transition: transform .18s, box-shadow .18s, background .18s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold { background: var(--gold-bright); color: var(--purple-ink); box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.btn-purple:hover { background: var(--purple-deep); }
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover { background: var(--purple); color: #fff; }

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tint { background: linear-gradient(180deg, #fffdf7, #f6efdd); }
.section--purple { background: var(--purple); color: #fff; }
.section--purple h2, .section--purple h3 { color: #fff; }
.section--gold { background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
#board [data-sitekit-rows] { overflow-wrap: anywhere; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(33, 24, 67, .07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .card-art { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.card .card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.15rem; }
.card .when {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--red);
}
.card p { color: var(--ink-soft); font-size: .95rem; }
.card .card-cta {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
}
.card .card-cta:hover { color: var(--red); }

/* ---------- Feature split (Hollywood in the MCE-Hood, initiatives) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.frame-gold {
  border: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--purple-ink);
}

/* ---------- Membership tiers ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(33, 24, 67, .07);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tier .tier-icon { font-size: 2rem; color: var(--gold); margin-bottom: 8px; }
.tier h3 { font-size: 1.05rem; letter-spacing: .12em; }
.tier .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--purple);
  margin: 6px 0 10px;
}
.tier ul { list-style: none; text-align: left; margin: 12px 0 20px; color: var(--ink-soft); font-size: .93rem; flex: 1; }
.tier ul li { padding: 6px 0 6px 26px; position: relative; border-top: 1px dashed var(--line); }
.tier ul li:first-child { border-top: none; }
.tier ul li::before { content: "★"; color: var(--gold); position: absolute; left: 4px; }

.tier--featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #fffdf4, #fff6da);
}
.tier--featured .ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Tables ---------- */

.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(33,24,67,.07); }

table.mce {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: .95rem;
  min-width: 560px;
}
table.mce th {
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
  font-size: .82rem;
  text-align: left;
  padding: 12px 16px;
}
table.mce td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.mce tr:nth-child(even) td { background: #fbf7ec; }

/* ---------- Timeline ---------- */

.timeline { list-style: none; position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--purple));
  border-radius: 3px;
}
.timeline li { position: relative; padding: 0 0 26px; }
.timeline li::before {
  content: "★";
  position: absolute;
  left: -32px;
  top: -1px;
  color: var(--gold);
  background: var(--cream);
  font-size: 1.05rem;
  line-height: 1.3;
}
.timeline .year {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--purple);
  letter-spacing: .06em;
  display: block;
  font-size: 1.05rem;
}
.timeline p { color: var(--ink-soft); font-size: .96rem; max-width: 68ch; }

/* Entries that carry a photo: text left, image right */
.timeline li.has-photo {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 24px;
  align-items: start;
}
.timeline li.has-photo p { max-width: none; }
.timeline .tl-photo { margin: 0; }
.timeline .tl-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(33, 24, 67, .10);
  background: var(--paper);
}
.timeline .tl-photo figcaption {
  font-size: .68rem;
  line-height: 1.35;
  color: var(--ink-soft);
  opacity: .85;
  margin-top: 6px;
}
.timeline .tl-photo figcaption a { color: var(--ink-soft); }

@media (max-width: 760px) {
  .timeline li.has-photo { grid-template-columns: 1fr; gap: 14px; }
  .timeline .tl-photo { max-width: 320px; }
}

/* ---------- Stat band ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--gold-bright);
  line-height: 1;
}
.stat .lbl {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  margin-top: 8px;
  color: #d9d2f2;
}

/* ---------- Callouts / notes ---------- */

.note {
  background: #fff8e2;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.note strong { color: var(--ink); }

.lore-tag {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .66rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  vertical-align: middle;
}
.lore-tag--doc { background: #e4f2e4; color: #226b22; }
.lore-tag--lore { background: #fdeaea; color: var(--red); }

/* ---------- Star map ---------- */

.starmap-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(12px, 2vw, 28px);
}
.starmap-legend { list-style: none; columns: 2; column-gap: 34px; margin-top: 18px; font-size: .92rem; }
@media (max-width: 720px) { .starmap-legend { columns: 1; } }
.starmap-legend li { padding: 7px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; color: var(--ink-soft); }
.starmap-legend .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--purple-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  border-radius: 50%;
  margin-right: 10px;
}
.starmap-legend strong { color: var(--ink); }

#starmap .lot { transition: opacity .2s; }
#starmap .star-marker { cursor: pointer; }
#starmap .star-marker:hover .star-shape { transform: scale(1.35); }
#starmap .star-shape { transform-origin: center; transform-box: fill-box; transition: transform .18s; }

/* ---------- Newsletter panel ---------- */

.callsheet-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: .02em;
  color: var(--purple-ink);
  text-transform: none;
}

.signup {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.signup input[type="email"] {
  flex: 1 1 260px;
  padding: 13px 18px;
  border: 2px solid var(--purple);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}
.signup input[type="email"]:focus { outline: 3px solid var(--gold); }

/* ---------- Footer ---------- */

footer.site-footer { background: var(--purple-ink); color: #cfc8ea; }
footer .filmstrip { border-color: #0d0a18; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 { color: var(--gold-bright); font-size: .95rem; letter-spacing: .16em; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: #cfc8ea; font-size: .93rem; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 4px 0; }

.footer-brand .sign { width: 200px; margin-bottom: 14px; }
.footer-brand .tag { font-family: var(--font-script); font-size: 1.3rem; color: var(--gold-soft); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #9c93c4;
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .tier:hover, .btn:hover { transform: none; }
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background:
    radial-gradient(140% 120% at 50% -30%, #4d3c8d 0%, var(--purple) 55%, var(--purple-deep) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(44px, 7vw, 80px) 24px;
  position: relative;
  overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: "★";
  position: absolute;
  color: rgba(255, 198, 51, .28);
  font-size: 5rem;
  top: 18%;
}
.page-hero::before { left: 7%; transform: rotate(-14deg); }
.page-hero::after { right: 7%; transform: rotate(12deg); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-hero .script { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: .2em; }
.page-hero p.lede { max-width: 640px; margin: 1rem auto 0; color: #ded7f5; }
