/* Monica Lim — monicalim.online
   Rebuilt from Wix original. Brand: electric blue #002AF5, typewriter type. */

:root {
  --blue: #002AF5;
  --ink: #080808;
  --chip: #e5e2da;      /* active nav highlight */
  --yellow: #ffd900;    /* "View" hover accent on category banners */
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --code: "Source Code Pro", "Courier New", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--mono);
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- cursor effect overlay ---------- */
#fx {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 40;   /* above content, below the WORKS dropdown (z-index 50) */
}

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1210px;
  margin: 0 auto;
  padding: 22px 20px 10px;
}
.logo img { width: 191px; height: auto; }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.nav a {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--blue);
  padding: 5px 13px;
  white-space: nowrap;
}
.nav a:hover { color: #4d6bff; }
.nav a.active { background: var(--chip); }

/* WORKS dropdown */
.nav .has-menu { position: relative; }
.nav .has-menu > a::after { content: ""; }
.nav .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--blue);
  min-width: 250px;
  z-index: 50;
}
.nav .has-menu:hover .menu, .nav .has-menu:focus-within .menu { display: block; }
.nav .menu a { display: block; padding: 9px 14px; letter-spacing: 0.14em; }
.nav .menu a:hover { background: var(--chip); color: var(--blue); }

/* ---------- layout ---------- */
main { max-width: 1210px; margin: 0 auto; padding: 40px 20px 30px; }
main.full-bleed { max-width: none; padding: 40px 0 30px; }

/* ---------- footer ---------- */
.site-footer { max-width: 1210px; margin: 0 auto; padding: 30px 20px 40px; }
.social { display: flex; gap: 11px; align-items: center; }
.social img { width: 27px; height: 27px; }

/* ---------- home ---------- */
.home-hero { display: flex; justify-content: center; padding: 60px 20px; }
.home-hero img { width: 100%; max-width: 750px; }

/* ---------- bio ---------- */
.bio-wrap { max-width: 750px; margin: 0 auto; }
.bio-wrap .caption { font-size: 12px; margin: 8px 0 30px; }
.bio-wrap p { margin-bottom: 1.15em; }

/* ---------- works landing ---------- */
.works-list { padding: 30px 0; }
.works-list a {
  display: block;
  font-size: 30px;
  letter-spacing: 0.06em;
  margin: 0 0 38px;
  color: var(--blue);
}

/* ---------- category pages: stacked banners ---------- */
.banner-list { display: flex; flex-direction: column; gap: 4px; }
.banner {
  position: relative;
  display: block;
  height: 264px;
  overflow: hidden;
  text-decoration: none;
}
.banner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.banner .label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.banner .label .title {
  font-family: var(--code);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: #fff;
  padding: 0 6px;
  text-decoration: underline;
}
.banner .label .view {
  font-style: italic;
  font-size: 15px;
  color: var(--yellow);
  opacity: 0;
  transition: opacity .2s;
}
.banner:hover .view { opacity: 1; }

/* ---------- work pages ---------- */
.work { max-width: 1105px; margin: 0 auto; }
.work .media { max-width: 780px; margin: 0 auto 30px; }
.work .media iframe, .work .media video { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.work .media + .media { margin-top: 24px; }

.work-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 34px;
}
.work-head .credits {
  font-style: italic;
  color: var(--blue);
  font-size: 13.5px;
  max-width: 660px;
}
.work-head .credits p { margin-bottom: 1em; }
.work-head .title {
  font-family: var(--code);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-align: right;
  white-space: nowrap;
}
.work .body p { margin-bottom: 1.2em; }
.work .body { margin-bottom: 34px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 30px 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- universe ---------- */
.universe p { margin-bottom: 1.15em; }

/* ---------- music (albums) ---------- */
.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 40px 30px;
  padding: 20px 0 40px;
}
.album { display: flex; flex-direction: column; text-decoration: none; }
.album img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.album-title {
  font-family: var(--code);
  color: var(--blue);
  font-size: 16px;
  letter-spacing: .06em;
  margin-top: 14px;
}
.album-artist { color: var(--ink); font-size: 13px; margin-top: 4px; }
.album-links { display: flex; gap: 18px; margin-top: 8px; }
.album-links a {
  color: var(--blue);
  font-style: italic;
  font-size: 13px;
}
.album img:hover { outline: 3px solid var(--blue); }

/* ---------- publications ---------- */
.pubs p { margin-bottom: 1.4em; overflow-wrap: break-word; }

/* ---------- press (sans-serif styling like original) ---------- */
.press { font-family: var(--sans); font-size: 14px; color: #333; }
.press h2 { font-family: var(--sans); font-weight: 400; font-size: 27px; margin: 40px 0 18px; color: #000; }
.press .about { display: flex; gap: 34px; align-items: flex-start; }
.press .about img { width: 250px; }
.press .cols { display: flex; gap: 60px; flex-wrap: wrap; }
.press .cols > div { flex: 1 1 380px; }
.press ul { padding-left: 20px; }
.press li { margin-bottom: 7px; }
.press .kv { display: grid; grid-template-columns: 110px 1fr; row-gap: 5px; }
.press .btn {
  display: inline-block;
  font-family: var(--sans);
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 20px;
  padding: 7px 22px;
  text-decoration: none;
  margin: 16px 0;
}
.press .btn:hover { background: var(--blue); color: #fff; }
.press .social-press { display: flex; gap: 12px; margin-top: 18px; }
.press .social-press img { width: 32px; height: 32px; }
.quote-band {
  background: var(--blue);
  color: #fff;
  margin: 60px calc(50% - 50vw) 0;
  padding: 90px calc(50vw - 50% + 20px);
  font-family: var(--sans);
}
.quote-band .q { font-size: 26px; font-style: italic; font-weight: 300; max-width: 820px; }
.quote-band .who { margin-top: 34px; font-size: 14px; }
.photo-band {
  background: #000;
  color: #fff;
  margin: 0 calc(50% - 50vw);
  padding: 50px calc(50vw - 50% + 20px) 60px;
  font-family: var(--sans);
}
.photo-band h2 { color: #fff; }
.photo-band .strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 26px 0 40px; }
.photo-band .strip img { width: 100%; height: 230px; object-fit: cover; }
.photo-band .btn-wrap { text-align: center; }
.photo-band .btn {
  display: inline-block; font-family: var(--sans);
  color: #fff; border: 2px solid #fff; border-radius: 20px;
  padding: 7px 22px; text-decoration: none;
}
.photo-band .btn:hover { background: #fff; color: #000; }

/* ---------- contact ---------- */
.contact-page {
  background-image: linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.62)), url("../img/contact-pattern.png");
  background-size: cover;
  background-position: center top;
}
.contact-inner { max-width: 1210px; margin: 0 auto; padding: 90px 20px 60px; min-height: 62vh; }
.contact-inner h2 {
  font-family: var(--code);
  color: var(--blue);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.contact-inner .email-block { margin-bottom: 90px; margin-left: 15%; }
.contact-inner .loop-block { margin-left: 15%; max-width: 620px; }
.contact-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.contact-form input {
  font-family: var(--mono);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #000;
  background: #fff;
  flex: 1 1 200px;
}
.contact-form button {
  font-family: var(--mono);
  font-size: 14px;
  background: #000;
  color: var(--yellow);
  border: 0;
  padding: 10px 26px;
  cursor: pointer;
}
.contact-form button:hover { background: var(--blue); }

/* Touch screens have no hover: always show the "View" hint */
@media (hover: none) {
  .banner .label .view { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 800px) {
  .site-header { justify-content: center; }
  .work-head { flex-direction: column-reverse; }
  .work-head .title { text-align: left; white-space: normal; }
  .press .about { flex-direction: column; }
  .banner { height: 200px; }
  .works-list a { font-size: 24px; }
  .contact-inner .email-block, .contact-inner .loop-block { margin-left: 0; }
}
