/* Blacklist Digital: static rebuild of the Wix site */
:root {
  --bg: #000;
  --fg: #fff;
  --muted: #b5b0ab;
  --dim: #7d7772;
  --accent: #342216;      /* brown nav pill from the original site */
  --accent-hi: #6b4a33;
  --line: #2a2522;
  --wrap: 1040px;
  --cond: "Open Sans", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 300 16px/1.6 "Open Sans", system-ui, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); }
a:hover { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.92); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo img { width: 169px; height: auto; }
nav { display: flex; align-items: center; flex: 1; justify-content: space-between; }
nav > ul { list-style: none; margin: 0 0 0 40px; padding: 0; display: flex; gap: 4px; }
nav a { text-decoration: none; }
nav > ul > li { position: relative; }
nav > ul > li > a {
  position: relative; display: block; padding: 4px 22px; font-family: var(--cond); font-stretch: 75%; font-weight: 400; font-size: 18px;
  isolation: isolate;
}
/* slanted brown pill behind the label, like the original menu */
nav > ul > li > a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: skewX(-20deg);
  opacity: 0; transition: opacity .15s;
}
nav > ul > li > a.active::before, nav > ul > li > a:hover::before { opacity: 1; }
nav > ul > li > a:hover { color: #fff; }
.sub {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #0d0b0a; border: 1px solid var(--line); display: none;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; padding: 6px 18px; font-family: var(--cond); font-stretch: 75%; font-size: 17px; font-weight: 400; }
.sub a:hover, .sub a.active { background: var(--accent); color: #fff; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; width: 27px; height: 27px; }
.social svg { width: 100%; height: 100%; fill: #fff; }
.social a:hover svg { fill: var(--muted); }
.menu-toggle { display: none; }

/* ---------- hero slideshow ---------- */
.hero { position: relative; background: #000; aspect-ratio: 16 / 9; max-height: calc(100vh - 70px); width: 100%; overflow: hidden; }
.slides { list-style: none; margin: 0; padding: 0; height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.35); color: #fff; border: 0;
  font-size: 44px; line-height: 1; width: 48px; height: 72px; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.hero:hover .arrow, .arrow:focus-visible { opacity: 1; }
.prev { left: 0; } .next { right: 0; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.dots button[aria-current="true"] { background: #fff; }

.intro { text-align: center; padding: 48px 16px 24px; }
.lede { font-family: var(--cond); font-stretch: 75%; font-size: clamp(22px, 3vw, 30px); margin: 0 0 18px; }

/* ---------- pages ---------- */
.page { padding-top: 40px; padding-bottom: 56px; }
.page-title { font-family: var(--cond); font-stretch: 75%; font-weight: 300; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.25; margin: 0 0 24px; }
.service .page-title { text-align: right; }
.subhead { font-family: var(--cond); font-stretch: 75%; font-weight: 400; font-size: 24px; margin: 48px 0 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; }
.prose p { margin: 0 0 1em; }
.prose .cta a { font-weight: 600; text-decoration: none; }
.specs { list-style: none; padding: 0; margin: 0 0 1em; }
.tags { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.feature { margin: 28px auto 0; max-width: 820px; }
.feature img { width: 100%; }

.service-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.service-links a, .service-nav a {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--line); text-decoration: none;
  font-family: var(--cond); font-stretch: 75%; font-size: 17px; font-weight: 400;
}
.service-links a:hover, .service-nav a:hover, .service-nav a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }
.service-nav { margin-top: 40px; }
.service-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.tiles a { position: relative; display: block; aspect-ratio: 244 / 338; overflow: hidden; text-decoration: none; }
.tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s; }
.tiles span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 12px; font-family: var(--cond); font-stretch: 75%; font-size: 20px; font-weight: 400;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; transition: opacity .25s;
}
.tiles a:hover img, .tiles a:focus-visible img { transform: scale(1.04); }
.tiles a:hover span, .tiles a:focus-visible span { opacity: 1; }

/* ---------- projects ---------- */
.jump { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--cond); font-stretch: 75%; font-size: 18px; margin: -8px 0 0; }
.jump a { color: var(--muted); }
.projects { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 32px; }
.poster { position: relative; display: block; aspect-ratio: 2 / 3; background: #111; overflow: hidden; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.poster:hover img { transform: scale(1.03); }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .2s; }
.play::after { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
a.poster:hover .play, a.poster:focus-visible .play { opacity: 1; }
.project h3 { font-family: var(--cond); font-stretch: 75%; font-size: 20px; font-weight: 600; margin: 12px 0 0; line-height: 1.25; }
.studio { margin: 2px 0 6px; color: var(--muted); }
.project dl { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.project dt { display: inline; color: var(--dim); }
.project dt::after { content: ": "; }
.project dd { display: inline; margin: 0; }
.project dd::after { content: ""; display: block; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.details p { margin: 0 0 14px; }
.details h2 { font-size: 13px; font-weight: 600; margin: 18px 0 2px; letter-spacing: .02em; }
.map { aspect-ratio: 16 / 7; background: #111; margin-bottom: 20px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.contact-form label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); grid-column: 1; }
.contact-form .msg { grid-column: 2; grid-row: 1 / span 3; }
.contact-form input, .contact-form textarea {
  margin-top: 4px; background: #fff; color: #000; border: 1px solid #555; padding: 8px 10px; font: inherit; font-size: 15px; border-radius: 0;
}
.contact-form textarea { flex: 1; resize: vertical; }
.contact-form button {
  grid-column: 2; justify-self: end; background: transparent; color: #fff; border: 1px solid #fff; padding: 8px 28px; font: inherit; cursor: pointer;
}
.contact-form button:hover { background: var(--accent); border-color: var(--accent); }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.site-footer { padding: 32px 0 20px; border-top: 1px solid #111; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.connect h2 { font-size: 14px; font-weight: 800; text-transform: uppercase; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #fff; display: inline-block; letter-spacing: -.01em; }
.site-footer address { font-style: normal; font-size: 13px; line-height: 1.5; border-top: 1px solid #fff; padding-top: 10px; min-width: 150px; }
.copy { font-size: 12px; color: var(--dim); margin-top: 28px; font-family: Georgia, serif; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles span { opacity: 1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 60px; justify-content: space-between; }
  .logo img { width: 130px; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .menu-toggle span:not(.sr) { display: block; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #000; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px 16px 20px; display: none; max-height: calc(100vh - 60px); overflow-y: auto;
  }
  nav.open { display: flex; }
  nav > ul { flex-direction: column; margin: 0; gap: 0; }
  nav > ul > li > a { padding: 10px 8px; font-size: 20px; display: block; }
  nav > ul > li > a::before { transform: none; }
  .sub { display: block; position: static; border: 0; background: none; padding: 0 0 6px 16px; min-width: 0; }
  .sub a { padding: 6px 8px; }
  nav .social { margin-top: 14px; padding-left: 8px; }
  .arrow { opacity: 1; width: 36px; height: 56px; font-size: 34px; }
  .hero { max-height: none; }
  .service .page-title { text-align: left; }
  .projects { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .msg, .contact-form button { grid-column: 1; grid-row: auto; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .tiles img, .poster img { transition: none; }
}

/* music videos / commercials use wide stills, not one-sheets */
.projects.commercials .poster { aspect-ratio: 4 / 5; background: #000; }
.projects.commercials .poster img { object-fit: contain; }
