:root {
  --bg: #050505;
  --bg-2: #090909;
  --text: #ffffff;
  --muted: #b7b7b7;
  --line: rgba(255,255,255,.12);
  --law: #2962ff;
  --crime: #e32636;
  --pad: clamp(20px, 4vw, 68px);
  --header-h: 78px;
  --ease: cubic-bezier(.2,.75,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: "Archivo", Arial, sans-serif; overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
::selection { background: #fff; color: #000; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: #fff; color: #000; padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 2000; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(4,4,4,.72); backdrop-filter: blur(16px); border-color: rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.desktop-nav a, .nav-link { position: relative; font: 600 11px/1 "Space Grotesk", sans-serif; letter-spacing: .16em; }
.desktop-nav a::after, .nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .3s var(--ease);
}
.desktop-nav a:hover::after, .nav-link:hover::after { right: 0; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 24px; }
.play-link { border: 1px solid rgba(255,255,255,.52); padding: 11px 16px; font-size: 11px; letter-spacing: .12em; font-weight: 800; transition: .25s ease; }
.play-link:hover { background: #fff; color: #000; }
.menu-button, .mobile-menu { display: none; }

.page-dots {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 1800;
  display: flex; flex-direction: column; gap: 10px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; padding: 0;
  transition: .25s ease;
}
.dot.active { background: #fff; transform: scale(1.1); }

.fullpage {
  height: 100vh; width: 100%; transition: transform .92s var(--ease); will-change: transform;
}
.page {
  position: relative; width: 100%; height: 100vh; overflow: hidden; background: #050505;
}
.page::before {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.page.active .reveal-page { opacity: 1; transform: none; }
.reveal-page { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s var(--ease); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.media-hover img { transition: transform .8s var(--ease), filter .4s ease; }
.media-hover:hover img { transform: scale(1.035); }

.hero-page { isolation: isolate; }
.hero-page::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.16), transparent 35%, rgba(0,0,0,.55)), radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.42));
}
.hero-side { position: absolute; inset: 0 auto 0 0; overflow: hidden; transition: width .85s var(--ease); }
.hero-law { width: var(--law-width, 50%); left: 0; }
.hero-crime { width: var(--crime-width, 50%); right: 0; left: auto; }
.hero-image { position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 1s var(--ease); }
.hero-law .hero-image { background-image: url("assets/images/hero-law.jpg"); background-position: 42% center; }
.hero-crime .hero-image { background-image: url("assets/images/hero-crime.jpg"); background-position: 58% center; }
.hero-shade { position: absolute; inset: 0; }
.hero-law .hero-shade { background: linear-gradient(90deg, rgba(2,7,18,.34), rgba(0,0,0,.16) 58%, rgba(0,0,0,.74)); box-shadow: inset -90px 0 180px rgba(41,98,255,.12); }
.hero-crime .hero-shade { background: linear-gradient(270deg, rgba(18,2,2,.28), rgba(0,0,0,.16) 58%, rgba(0,0,0,.74)); box-shadow: inset 90px 0 180px rgba(227,38,54,.12); }
.hero-copy {
  position: absolute; bottom: 142px; z-index: 8; width: min(430px, calc(100% - (var(--pad) * 2)));
  opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .65s var(--ease);
}
.left-copy { left: var(--pad); }
.right-copy { right: var(--pad); text-align: right; }
.hero-page[data-focus="law"] .hero-law .hero-copy,
.hero-page[data-focus="crime"] .hero-crime .hero-copy { opacity: 1; transform: none; }
.hero-page[data-focus="law"] .hero-law .hero-image,
.hero-page[data-focus="crime"] .hero-crime .hero-image { transform: scale(1.015); }
.eyebrow, .section-tag { display: inline-block; font: 600 10px/1 "Space Grotesk", sans-serif; letter-spacing: .19em; color: #d0d0d0; }
.hero-copy h2 { margin: 10px 0 6px; font-size: clamp(74px, 10vw, 176px); line-height: .78; letter-spacing: -.075em; font-weight: 900; }
.hero-copy p { margin: 0; font: 600 12px/1.5 "Space Grotesk", sans-serif; letter-spacing: .12em; color: #ececec; }
.hero-center {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%,-50%); z-index: 10; text-align: center; display: grid; place-items: center; pointer-events: none;
}
.hero-logo-wrap { width: clamp(120px, 12vw, 190px); aspect-ratio: 1; }
.hero-logo { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 28px rgba(255,255,255,.08)); }
.hero-center h1 { margin: 6px 0 14px; font-size: clamp(50px, 5vw, 92px); line-height: .9; letter-spacing: -.055em; font-weight: 900; }
.hero-center p { margin: 0; max-width: 680px; font: 700 11px/1.4 "Space Grotesk", sans-serif; letter-spacing: .22em; }
.hero-cards {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; z-index: 10; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.hero-cards article { border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.22); backdrop-filter: blur(12px); padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.hero-cards strong { font-size: clamp(28px, 3vw, 44px); line-height: .9; }
.hero-cards span { font: 600 9px/1.3 "Space Grotesk", sans-serif; letter-spacing: .16em; color: #d0d0d0; text-align: right; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 12px;
  font: 600 9px/1 "Space Grotesk", sans-serif; letter-spacing: .18em; color: rgba(255,255,255,.58);
}
.scroll-cue i { width: 72px; height: 1px; background: rgba(255,255,255,.24); overflow: hidden; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-100%); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 50%,100% { transform: translateX(100%); } }

.page-bg, .join-bg { position: absolute; inset: 0; }
.page-bg img, .join-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-overlay { position: absolute; inset: 0; z-index: 1; }
.page-overlay.dark { background: linear-gradient(90deg, rgba(3,3,3,.85), rgba(3,3,3,.56) 42%, rgba(3,3,3,.74)); }
.page-overlay.blue { background: linear-gradient(90deg, rgba(2,4,10,.86), rgba(0,0,0,.24) 48%, rgba(0,0,0,.7)); }
.page-overlay.red { background: linear-gradient(270deg, rgba(18,3,4,.86), rgba(0,0,0,.24) 48%, rgba(0,0,0,.7)); }
.page-overlay.subtle { background: radial-gradient(circle at top, rgba(255,255,255,.03), transparent 45%); }
.page-overlay.final { background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.82)); }

.page-inner {
  position: relative; z-index: 3; height: 100%; padding: calc(var(--header-h) + 24px) var(--pad) 38px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
.copy-block h2, .section-head h2, .final-content h2 { margin: 18px 0 18px; font-size: clamp(52px, 7vw, 122px); line-height: .84; letter-spacing: -.065em; font-weight: 900; }
.copy-block .lead, .final-content .lead { max-width: 680px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.58; color: #d3d3d3; }
.metrics-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.metrics-grid div { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); padding: 18px; }
.metrics-grid strong { display: block; font-size: 16px; margin-bottom: 6px; letter-spacing: .04em; }
.metrics-grid span { color: #afafaf; font-size: 13px; }
.visual-block { position: relative; height: min(72vh, 760px); }
.floating-card { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #080808; box-shadow: 0 18px 60px rgba(0,0,0,.3); }
.floating-card img { width: 100%; height: 100%; object-fit: cover; }
.floating-card.big { inset: 5% 4% 5% 18%; }
.floating-card.small { width: 34%; height: 34%; }
.floating-card.small.top { top: 0; left: 0; }
.floating-card.small.bottom { right: 0; bottom: 0; }

.single-side { display: flex; align-items: center; }
.left-layout { justify-content: flex-start; }
.right-layout { justify-content: flex-end; }
.narrow { width: min(720px, 100%); }
.right { text-align: right; }
.pill-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.right .pill-row { justify-content: flex-end; }
.pill-row span { border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.36); padding: 12px 16px; font: 600 10px/1 "Space Grotesk", sans-serif; letter-spacing: .15em; }
.pill-row.red span { border-color: rgba(227,38,54,.36); }

.systems-layout { display: grid; grid-template-rows: auto 1fr; align-items: start; }
.center-head { text-align: center; }
.systems-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 24px; height: calc(100% - 170px);
}
.system-tile { border: 1px solid rgba(255,255,255,.08); background: #090909; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.system-tile img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.system-tile div { padding: 20px; }
.system-tile span { font: 700 10px/1 "Space Grotesk", sans-serif; letter-spacing: .18em; color: #b0b0b0; }
.system-tile h3 { margin: 12px 0 8px; font-size: clamp(22px, 2vw, 34px); letter-spacing: -.04em; }
.system-tile p { margin: 0; color: #c0c0c0; line-height: 1.5; font-size: 14px; }

.join-layout { display: grid; place-items: center; text-align: center; }
.final-mark { position: absolute; width: min(64vw, 820px); aspect-ratio: 1; object-fit: contain; opacity: .06; filter: drop-shadow(0 0 42px rgba(255,255,255,.05)); }
.final-content { position: relative; z-index: 4; max-width: 940px; }
.cta-row { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.cta-primary { display: inline-flex; align-items: center; gap: 24px; background: #fff; color: #000; padding: 20px 26px; font: 800 11px/1 "Space Grotesk", sans-serif; letter-spacing: .12em; transition: .25s; }
.cta-primary:hover { transform: translateY(-3px); }
.cta-secondary { padding: 20px 22px; font: 700 11px/1 "Space Grotesk", sans-serif; letter-spacing: .15em; border-bottom: 1px solid rgba(255,255,255,.35); }
footer {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; z-index: 4; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font: 600 9px/1 "Space Grotesk", sans-serif; letter-spacing: .15em; color: #6d6d6d;
}

.cursor-dot, .cursor-ring { display: none; }
@media (pointer:fine) and (min-width:981px) {
  body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: none; }
  .cursor-dot, .cursor-ring { display: block; position: fixed; pointer-events: none; z-index: 9999; left: 0; top: 0; transform: translate(-50%,-50%); }
  .cursor-dot { width: 7px; height: 7px; background: #fff; border-radius: 50%; }
  .cursor-ring { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transition: width .25s,height .25s,border-color .25s,background .25s; display: grid; place-items: center; }
  .cursor-ring span { font: 700 7px/1 "Space Grotesk", sans-serif; letter-spacing: .12em; opacity: 0; }
  .cursor-ring.active { width: 72px; height: 72px; background: rgba(0,0,0,.32); backdrop-filter: blur(4px); border-color: #fff; }
  .cursor-ring.active span { opacity: 1; }
}

@media (max-width: 980px) {
  html, body { overflow: auto; }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .nav-actions, .page-dots { display: none; }
  .menu-button { display: grid; gap: 7px; width: 42px; height: 42px; place-content: center; justify-self: end; }
  .menu-button span { width: 22px; height: 1px; background: #fff; display: block; transition: .3s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 1900; background: rgba(3,3,3,.98); padding: 28px var(--pad); flex-direction: column; gap: 8px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: clamp(32px, 10vw, 60px); font-weight: 900; letter-spacing: -.06em; border-bottom: 1px solid var(--line); padding: 12px 0; }

  .fullpage { height: auto; transform: none !important; }
  .page { height: auto; min-height: 100svh; }
  .page::before { opacity: .04; }

  .hero-page {
    display: grid; grid-template-columns: 1fr; grid-template-rows: 34vh 34vh 34vh auto; padding-top: var(--header-h);
  }
  .hero-side { position: relative; width: auto !important; inset: auto; }
  .hero-law { grid-row: 2; }
  .hero-crime { grid-row: 3; }
  .hero-copy { opacity: 1; transform: none; width: auto; bottom: 20px; left: 18px !important; right: 18px !important; text-align: left !important; }
  .hero-copy p, .eyebrow { display: none; }
  .hero-copy h2 { margin: 0; font-size: clamp(44px, 13vw, 78px); }
  .hero-center { position: relative; left: auto; top: auto; transform: none !important; grid-row: 1; background: #050505; height: 100%; padding: 20px; }
  .hero-center p { max-width: 360px; font-size: 10px; letter-spacing: .16em; }
  .hero-cards { position: relative; inset: auto; grid-template-columns: 1fr; padding: 18px; gap: 10px; }
  .scroll-cue { display: none; }

  .page-inner { height: auto; padding: calc(var(--header-h) + 18px) var(--pad) 28px; }
  .two-col, .systems-grid { grid-template-columns: 1fr; }
  .copy-block h2, .section-head h2, .final-content h2 { font-size: clamp(46px, 12vw, 88px); }
  .visual-block { height: auto; min-height: 62vh; }
  .floating-card.big { position: relative; inset: auto; height: 42vh; }
  .floating-card.small { width: 42%; height: 24vh; }
  .floating-card.small.top { top: -16px; left: 0; }
  .floating-card.small.bottom { right: 0; bottom: -8px; }
  .single-side { min-height: 100svh; }
  .right-layout { justify-content: flex-start; }
  .right { text-align: left; }
  .right .pill-row { justify-content: flex-start; }
  .systems-grid { height: auto; gap: 14px; margin-top: 18px; }
  .system-tile { grid-template-rows: 240px auto; }
  .final-mark { width: 82vw; }
  .cta-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal-page { opacity: 1; transform: none; }
}
