/* Home first screen: the night map, the attorneys' files, the proof strip. */
.hero--map { background: #07090e; }
.hero-map {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 1200ms ease;
}
.hero-map.is-drawn { opacity: 1; }
.hero--map .hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 9, 14, 0.9) 0%, rgba(7, 9, 14, 0.62) 38%, rgba(7, 9, 14, 0.08) 64%, rgba(7, 9, 14, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 9, 14, 0.55) 0%, transparent 22%, transparent 70%, rgba(7, 9, 14, 0.9) 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  width: 100%; max-width: 1440px; margin: 0 auto;
  padding: clamp(64px, 11vh, 128px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px; align-items: center;
}
.hero--map .hero-inner { padding: 0; margin: 0; text-align: left; max-width: 760px; }
.hero--map .hero-title {
  margin: 0; max-width: 13ch;
  font-size: clamp(56px, 6.6vw, 104px); line-height: 0.98; letter-spacing: -0.03em;
}
.hero--map .hero-support { max-width: 30ch; }
.hero--map .hero-actions { justify-content: flex-start; }
.hero--map .hero-note { margin-left: 0; max-width: 52ch; color: rgba(245, 240, 230, 0.72); }
.hero-faces { position: relative; height: clamp(440px, 58vh, 560px); }
.hero-face {
  position: absolute; width: 58%; color: var(--moon); text-decoration: none;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-face img { display: block; width: 100%; aspect-ratio: 320 / 420; height: auto; object-fit: cover; object-position: 50% 14%; filter: saturate(0.9) contrast(1.04); }
.hero-face span {
  display: grid; gap: 2px; padding: 12px 14px;
  background: rgba(11, 14, 20, 0.92); border-top: 1px solid var(--gold);
  font: 400 19px/1.2 var(--display);
}
.hero-face small { font: 400 10px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hero-face--bruce { left: 0; top: 0; width: 52%; transform: rotate(-3deg); }
.hero-face--dean { right: 0; bottom: 0; width: 52%; transform: rotate(2.5deg); z-index: 1; }
.hero-face:hover, .hero-face:focus-visible { transform: rotate(0deg) translateY(-6px); z-index: 2; }
.hero-face:focus-visible { outline: 2px solid var(--focus-dark); outline-offset: 4px; }
.motion-ok .hero-face { animation: face-in 1100ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion-ok .hero-face--dean { animation-delay: 180ms; }
@keyframes face-in { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
.hero--map .hero-caption { position: relative; z-index: 1; }
.hero--map .hero-caption::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); vertical-align: 1px;
}

.proof-strip { background: var(--gold); color: var(--night); }
.proof-list {
  list-style: none; margin: 0 auto; max-width: 1440px; padding: 22px var(--gutter);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
}
.proof-list li { display: grid; gap: 4px; align-content: start; padding-left: 16px; border-left: 1px solid rgba(11, 14, 20, 0.28); }
.proof-list li:first-child { border-left: 0; padding-left: 0; }
.proof-list strong { font: 400 clamp(26px, 2.4vw, 36px)/1 var(--display); letter-spacing: -0.01em; }
.proof-list span { font: 600 13px/1.35 var(--ui); color: rgba(11, 14, 20, 0.8); }

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr 0.8fr; gap: 32px; }
  .proof-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .proof-list li:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 767px) {
  .hero--map { min-height: 0; }
  .site-header .header-inner { padding-left: 16px; padding-right: 16px; }
  .hero--map .hero-scrim {
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.25) 0%, rgba(7, 9, 14, 0.7) 40%, rgba(7, 9, 14, 0.92) 100%);
  }
  .hero-grid { grid-template-columns: 1fr; padding-top: 32px; gap: 0; }
  .hero--map .hero-title { font-size: clamp(40px, 11.6vw, 52px); max-width: 11ch; }
  .hero--map .hero-support { font-size: 18px; margin-top: 16px; }
  .hero--map .hero-actions { margin-top: 20px; }
  .hero--map .hero-actions .btn { flex: 1 1 100%; }
  .hero-faces { order: -1; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; max-width: 300px; }
  .hero-face { position: relative; width: auto; inset: auto; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5); }
  .hero-face img { aspect-ratio: 1 / 1; object-position: 50% 16%; }
  .hero-face span { padding: 8px 10px; font-size: 15px; }
  .hero-face small { font-size: 9px; letter-spacing: 0.1em; }
  .hero-face--bruce { transform: rotate(-2deg); }
  .hero-face--dean { transform: rotate(2deg); margin-top: 14px; }
  .hero--map .hero-caption { padding-top: 20px; }
  .proof-list { grid-template-columns: 1fr 1fr; padding: 20px; gap: 18px 16px; }
  .proof-list li, .proof-list li:nth-child(4) { border-left: 1px solid rgba(11, 14, 20, 0.28); padding-left: 12px; }
  .proof-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof-list li:last-child { grid-column: 1 / -1; }
}

/* The same map behind the inner page bands and the home "after hours" band. */
.band-map {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 1200ms ease;
}
.band-map.is-drawn { opacity: 1; }
.page-band--map { min-height: clamp(340px, 50vh, 500px); }
.page-band--map::before {
  background:
    linear-gradient(90deg, rgba(7, 9, 14, 0.88) 0%, rgba(7, 9, 14, 0.5) 45%, rgba(7, 9, 14, 0.05) 75%),
    linear-gradient(180deg, rgba(7, 9, 14, 0.5) 0%, transparent 40%, rgba(7, 9, 14, 0.7) 100%);
}
.night-band--map { min-height: clamp(520px, 72vh, 720px); align-items: center; }
.night-band--map::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 9, 14, 0.92) 0%, rgba(7, 9, 14, 0.6) 42%, rgba(7, 9, 14, 0) 72%);
}
.night-band--map .night-band-inner { position: relative; z-index: 2; }

@media (max-width: 767px) {
  .site-header .header-inner { padding-left: 16px; padding-right: 16px; }
  .page-band--map { min-height: 300px; }
  .page-band--map::before { background: linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.6) 45%, rgba(7, 9, 14, 0.9) 100%); }
  .night-band--map { min-height: 0; }
  .night-band--map::before { background: linear-gradient(180deg, rgba(7, 9, 14, 0.1) 0%, rgba(7, 9, 14, 0.75) 38%, rgba(7, 9, 14, 0.92) 100%); }
  .night-band--map .night-band-inner { padding-top: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-map, .band-map, .hero-face { transition: none; }
}

@media (max-width: 359px) {
  .hero-faces { max-width: 230px; margin-bottom: 14px; }
  .hero-face span { padding: 6px 8px; font-size: 14px; }
  .hero-face small { display: none; }
  .hero--map .hero-code { margin-bottom: 12px; }
}
