:root {
  --bg: #020711;
  --panel: rgba(6, 18, 34, .78);
  --panel-strong: rgba(11, 31, 58, .92);
  --line: rgba(111, 170, 245, .24);
  --line-strong: rgba(111, 170, 245, .42);
  --text: #f7fbff;
  --muted: #a8bdd9;
  --blue: #2f7df6;
  --blue-strong: #65a7ff;
  --gold: #f6c65b;
  --green: #2fe084;
  --red: #ff4d69;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(47, 125, 246, .24), transparent 28rem),
    linear-gradient(180deg, #061326 0%, #020711 48%, #020711 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(111, 170, 245, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 170, 245, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 2.4rem);
  background: rgba(2, 7, 17, .58);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: background .2s ease, border-color .2s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 7, 17, .88);
  border-color: rgba(111, 170, 245, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 170, 245, .45);
  border-radius: 14px;
  background: linear-gradient(135deg, #2f7df6, #1648b7);
  box-shadow: 0 0 28px rgba(47, 125, 246, .38);
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.muted {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.site-nav a,
.btn,
.portal-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .58rem .82rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .92rem;
}

.site-nav a {
  color: #dbeafe;
}

.site-nav a:hover {
  background: rgba(111, 170, 245, .12);
  border-color: rgba(111, 170, 245, .18);
}

.portal-link {
  background: rgba(47, 125, 246, .16);
  border-color: rgba(111, 170, 245, .34);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(111, 170, 245, .22);
  border-radius: 12px;
  background: rgba(6, 18, 34, .76);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 3px auto;
  border-radius: 999px;
  background: #dbeafe;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 7.2rem clamp(1rem, 4vw, 4rem) 2rem;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 7, 17, .1), rgba(2, 7, 17, .8) 82%),
    radial-gradient(circle at 70% 34%, rgba(47, 125, 246, .34), transparent 24rem);
}

.scene-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(101, 167, 255, .28), transparent 62%);
  transform: translate(-50%, -50%);
  left: 74%;
  top: 30%;
  pointer-events: none;
  transition: left .16s ease, top .16s ease;
}

.scene-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  height: 38%;
  opacity: .65;
  background:
    linear-gradient(90deg, transparent 0 4%, rgba(10, 28, 52, .78) 4% 11%, transparent 11% 15%, rgba(8, 22, 42, .88) 15% 21%, transparent 21% 26%, rgba(11, 31, 58, .76) 26% 34%, transparent 34% 38%, rgba(10, 28, 52, .82) 38% 49%, transparent 49% 54%, rgba(8, 22, 42, .72) 54% 61%, transparent 61% 65%, rgba(11, 31, 58, .9) 65% 72%, transparent 72% 77%, rgba(8, 22, 42, .74) 77% 84%, transparent 84% 100%),
    linear-gradient(180deg, transparent 0 34%, rgba(2, 7, 17, .95) 34%);
}

.scene-road {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 0;
  height: 28%;
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(246, 198, 91, .5) 45% 46%, transparent 46% 54%, rgba(246, 198, 91, .5) 54% 55%, transparent 55%),
    linear-gradient(180deg, rgba(13, 26, 44, .3), rgba(2, 7, 17, .96));
  transform: skewY(-2deg);
  transform-origin: bottom left;
}

.patrol-car {
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  bottom: 13%;
  width: min(520px, 54vw);
  aspect-ratio: 3.4 / 1;
  border: 1px solid rgba(111, 170, 245, .38);
  border-radius: 34px 74px 28px 28px;
  background:
    linear-gradient(90deg, #f8fafc 0 46%, #101827 46% 57%, #f8fafc 57%),
    linear-gradient(180deg, #f8fafc, #b9c7d9);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .46), 0 0 42px rgba(47, 125, 246, .18);
}

.lightbar {
  position: absolute;
  top: -18px;
  left: 47%;
  width: 72px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #f8fafc, var(--blue));
  box-shadow: -24px 0 48px rgba(255, 77, 105, .65), 24px 0 48px rgba(47, 125, 246, .65);
  animation: pulseLights 1.15s infinite;
}

.windshield {
  position: absolute;
  top: 17%;
  left: 33%;
  width: 25%;
  height: 36%;
  border-radius: 22px 48px 8px 8px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .95), rgba(101, 167, 255, .45));
}

.door-badge {
  position: absolute;
  top: 42%;
  left: 58%;
  font-size: clamp(1.2rem, 3vw, 2.7rem);
  color: #0b1f3a;
  font-weight: 950;
}

.wheel {
  position: absolute;
  bottom: -18%;
  width: 19%;
  aspect-ratio: 1;
  border: 12px solid #030813;
  border-radius: 999px;
  background: radial-gradient(circle, #94a3b8 0 22%, #111827 23% 100%);
}

.wheel.front {
  right: 12%;
}

.wheel.rear {
  left: 13%;
}

.dispatch-card {
  position: absolute;
  display: grid;
  gap: .18rem;
  padding: .82rem .95rem;
  border: 1px solid rgba(111, 170, 245, .28);
  border-radius: var(--radius);
  background: rgba(6, 18, 34, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.dispatch-card span,
.panel-label,
.eyebrow {
  color: #93c5fd;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.dispatch-card strong {
  font-size: 1.4rem;
}

.dispatch-card small {
  color: var(--muted);
}

.dispatch-primary {
  right: 11%;
  top: 22%;
}

.dispatch-secondary {
  right: 31%;
  top: 42%;
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 9rem;
}

.hero-content h1 {
  margin: .15rem 0;
  font-size: clamp(5rem, 15vw, 14rem);
  line-height: .78;
  letter-spacing: 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .42);
}

.hero-content p {
  max-width: 680px;
  color: #cfe3ff;
  font-size: clamp(1.05rem, 1.8vw, 1.36rem);
  line-height: 1.55;
}

.hero-actions,
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #2f7df6, #1653d2);
  border-color: rgba(111, 170, 245, .45);
  box-shadow: 0 14px 34px rgba(47, 125, 246, .28);
}

.btn.secondary {
  color: #dbeafe;
  background: rgba(6, 18, 34, .72);
  border-color: rgba(111, 170, 245, .32);
}

.hero-status {
  position: absolute;
  left: clamp(1rem, 4vw, 4rem);
  right: clamp(1rem, 4vw, 4rem);
  bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .72rem;
}

.hero-status article,
.command-panel,
.division-grid article,
.career-steps article,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
}

.hero-status article {
  padding: .82rem .95rem;
}

.hero-status span,
.hero-status strong {
  display: block;
}

.hero-status span {
  color: var(--muted);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 1.3rem;
}

.section h2,
.career-copy h2,
.contact-section h2 {
  margin: .2rem 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.section-head p,
.career-copy p,
.contact-section p {
  color: var(--muted);
  line-height: 1.6;
}

.command-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr .75fr;
  gap: .9rem;
}

.command-panel {
  min-height: 210px;
  padding: 1rem;
}

.command-panel h3 {
  margin: .45rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.command-panel strong {
  display: block;
  margin-top: .5rem;
  font-size: 2.4rem;
}

.signal-list {
  display: grid;
  gap: .58rem;
}

.signal-list span {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #dbeafe;
}

.signal-list i {
  width: .7rem;
  height: .7rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(47, 224, 132, .5);
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.division-grid article,
.career-steps article {
  padding: 1rem;
}

.division-grid span,
.career-steps span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: rgba(47, 125, 246, .18);
  border: 1px solid rgba(111, 170, 245, .32);
  font-weight: 950;
}

.division-grid h3,
.career-steps strong {
  display: block;
  margin: .8rem 0 .4rem;
}

.division-grid p,
.career-steps p {
  color: var(--muted);
  line-height: 1.55;
}

.career-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 1.3rem;
  align-items: center;
}

.career-copy {
  max-width: 620px;
}

.career-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.contact-section {
  margin: clamp(2rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.contact-cards a {
  min-width: 140px;
  padding: .78rem 1rem;
  border: 1px solid rgba(111, 170, 245, .24);
  border-radius: 14px;
  background: rgba(47, 125, 246, .12);
  text-align: center;
  text-decoration: none;
  font-weight: 850;
}

.ticket-preview-section {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.ticket-preview-grid,
.ticket-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.ticket-preview-grid article,
.ticket-card,
.ticket-thread,
.ticket-hero-status {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
}

.ticket-preview-grid article {
  padding: 1rem;
}

.ticket-preview-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: rgba(47, 125, 246, .18);
  border: 1px solid rgba(111, 170, 245, .32);
  font-weight: 950;
}

.ticket-preview-grid h3 {
  margin: .8rem 0 .4rem;
}

.ticket-preview-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.ticket-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1rem;
}

.ticket-hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 1.2rem;
  padding: 7.2rem clamp(1rem, 4vw, 4rem) 2.4rem;
  background:
    linear-gradient(180deg, rgba(2, 7, 17, .22), rgba(2, 7, 17, .9)),
    radial-gradient(circle at 74% 24%, rgba(47, 125, 246, .34), transparent 24rem);
}

.ticket-hero h1 {
  margin: .15rem 0;
  font-size: clamp(3.3rem, 8vw, 8rem);
  line-height: .9;
}

.ticket-hero p {
  max-width: 720px;
  color: #cfe3ff;
  font-size: 1.12rem;
  line-height: 1.55;
}

.ticket-hero-status {
  display: grid;
  gap: .25rem;
  padding: 1rem;
}

.ticket-hero-status span,
.ticket-hero-status small,
.ticket-access-box span {
  color: var(--muted);
}

.ticket-hero-status strong {
  font-size: 1.4rem;
}

.ticket-layout {
  display: grid;
  gap: 1rem;
  padding-top: clamp(2rem, 4vw, 3.6rem);
}

.ticket-form-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.ticket-card,
.ticket-thread {
  padding: 1rem;
}

.ticket-card h2,
.ticket-thread h2 {
  margin: .15rem 0 .75rem;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}

.site-form {
  display: grid;
  gap: .78rem;
}

.site-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
}

.site-form label {
  display: grid;
  gap: .34rem;
  color: #dbeafe;
  font-weight: 800;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  min-height: 44px;
  padding: .68rem .76rem;
  color: var(--text);
  border: 1px solid rgba(111, 170, 245, .28);
  border-radius: 12px;
  outline: none;
  background: rgba(2, 7, 17, .72);
}

.site-form textarea {
  min-height: 130px;
  resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: rgba(101, 167, 255, .72);
  box-shadow: 0 0 0 3px rgba(47, 125, 246, .18);
}

.site-form input::placeholder,
.site-form textarea::placeholder {
  color: #7f95b6;
}

.site-message {
  padding: .75rem .82rem;
  margin: .65rem 0;
  color: #dbeafe;
  border: 1px solid rgba(111, 170, 245, .24);
  border-radius: 13px;
  background: rgba(111, 170, 245, .12);
  line-height: 1.45;
}

.site-message.error {
  color: #fecdd3;
  border-color: rgba(255, 77, 105, .34);
  background: rgba(255, 77, 105, .12);
}

.ticket-note {
  margin-top: 1rem;
  padding: .82rem;
  border: 1px solid rgba(246, 198, 91, .22);
  border-radius: 13px;
  background: rgba(246, 198, 91, .09);
}

.ticket-note p {
  color: var(--muted);
  line-height: 1.5;
}

.ticket-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .85rem;
}

.ticket-thread-head p {
  color: var(--muted);
}

.site-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .34rem .64rem;
  border: 1px solid rgba(111, 170, 245, .24);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
}

.site-badge.green {
  color: #8ff0b8;
  border-color: rgba(47, 224, 132, .36);
  background: rgba(47, 224, 132, .12);
}

.site-badge.yellow {
  color: #ffe1a3;
  border-color: rgba(246, 198, 91, .36);
  background: rgba(246, 198, 91, .12);
}

.site-badge.red {
  color: #fecdd3;
  border-color: rgba(255, 77, 105, .36);
  background: rgba(255, 77, 105, .12);
}

.site-badge.blue {
  color: #bfdbfe;
  border-color: rgba(111, 170, 245, .36);
  background: rgba(47, 125, 246, .12);
}

.ticket-access-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
  margin-bottom: .9rem;
}

.ticket-access-box div {
  padding: .78rem;
  border: 1px solid rgba(111, 170, 245, .2);
  border-radius: 13px;
  background: rgba(2, 7, 17, .5);
}

.ticket-access-box span,
.ticket-access-box strong {
  display: block;
}

.ticket-chat-list {
  display: grid;
  gap: .65rem;
  max-height: 520px;
  overflow: auto;
  padding: .25rem .2rem .25rem 0;
}

.ticket-bubble {
  width: min(760px, 92%);
  padding: .78rem .86rem;
  border: 1px solid rgba(111, 170, 245, .22);
  border-radius: 16px;
  background: rgba(6, 18, 34, .72);
}

.ticket-bubble.staff {
  justify-self: end;
  border-color: rgba(47, 224, 132, .24);
  background: rgba(47, 224, 132, .1);
}

.ticket-bubble-meta {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  color: var(--muted);
  font-size: .86rem;
}

.ticket-bubble p {
  margin: .35rem 0 0;
  color: #eaf4ff;
  line-height: 1.55;
}

.ticket-reply-form {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(111, 170, 245, .18);
}

@keyframes pulseLights {
  0%, 100% {
    filter: saturate(1.3) brightness(1.1);
  }
  50% {
    filter: saturate(1.8) brightness(1.8);
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .72rem;
    border: 1px solid rgba(111, 170, 245, .22);
    border-radius: var(--radius);
    background: rgba(2, 7, 17, .94);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 100vh;
  }

  .patrol-car {
    width: min(520px, 86vw);
    right: -8vw;
    bottom: 20%;
  }

  .dispatch-primary {
    right: 1rem;
    top: 18%;
  }

  .dispatch-secondary {
    display: none;
  }

  .hero-content {
    padding-bottom: 11rem;
  }

  .hero-status,
  .command-grid,
  .division-grid,
  .career-section,
  .career-steps,
  .ticket-preview-grid,
  .ticket-form-grid,
  .ticket-hero,
  .ticket-access-box {
    grid-template-columns: 1fr;
  }

  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }

  .ticket-hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-content h1 {
    font-size: clamp(4.2rem, 28vw, 7rem);
  }

  .hero-status {
    position: static;
    margin-top: -8rem;
  }

  .hero-status article {
    padding: .7rem;
  }

  .patrol-car {
    opacity: .74;
  }

  .site-form-row,
  .ticket-thread-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ticket-bubble {
    width: 100%;
  }
}

/* Modern information-rich LSPD website */
.modern-site {
  --panel: rgba(5, 16, 31, .78);
  --panel-strong: rgba(8, 25, 48, .94);
  --line: rgba(125, 177, 245, .22);
  --line-strong: rgba(125, 177, 245, .44);
  --text: #f8fbff;
  --muted: #a9bdd7;
  --blue: #2f7df6;
  --blue-strong: #75b7ff;
  --gold: #f4c763;
  --green: #27d882;
  background:
    linear-gradient(180deg, #04101f 0%, #020711 48%, #020711 100%);
}

.modern-site::before {
  background-size: 64px 64px;
  opacity: .9;
}

.modern-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 1rem;
  padding: 7rem clamp(1rem, 4vw, 4rem) 8.8rem;
  overflow: hidden;
  isolation: isolate;
}

.modern-hero-image,
.feature-image img,
.career-visual img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.modern-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.modern-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 7, 17, .94) 0%, rgba(2, 7, 17, .72) 39%, rgba(2, 7, 17, .38) 72%, rgba(2, 7, 17, .76) 100%),
    linear-gradient(180deg, rgba(2, 7, 17, .22), rgba(2, 7, 17, .95) 88%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(125, 177, 245, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 177, 245, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, transparent 82%);
  animation: gridMove 12s linear infinite;
}

.modern-hero-content {
  width: min(840px, 100%);
}

.modern-hero-content h1 {
  margin: .22rem 0 .8rem;
  max-width: 920px;
  font-size: clamp(3.2rem, 8vw, 8.4rem);
  line-height: .88;
  letter-spacing: 0;
  text-wrap: balance;
}

.modern-hero-content p {
  max-width: 710px;
  color: #d6e9ff;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.58;
}

.hero-live-card {
  align-self: center;
  display: grid;
  gap: .65rem;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(6, 18, 34, .86), rgba(3, 12, 24, .78));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
}

.hero-live-card strong {
  font-size: 1.45rem;
}

.hero-live-card p {
  color: var(--muted);
  line-height: 1.5;
}

.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #bfe0ff;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .72rem;
  font-weight: 950;
}

.live-pulse span {
  width: .72rem;
  height: .72rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(39, 216, 130, .58);
  animation: pulseDot 1.55s infinite;
}

.live-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(125, 177, 245, .14);
}

.live-meter span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  animation: meterFill 1.5s ease both;
}

.modern-status {
  bottom: 2rem;
}

.modern-status article {
  background: rgba(5, 16, 31, .76);
  border-color: rgba(125, 177, 245, .28);
}

.intel-section {
  padding-top: clamp(4rem, 7vw, 6rem);
}

.intel-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr .75fr;
  gap: .9rem;
}

.intel-panel,
.division-modern-grid article,
.career-panel,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 25, 48, .84), rgba(5, 16, 31, .74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(12px);
}

.intel-panel {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.intel-panel strong {
  display: block;
  margin-top: .55rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.intel-panel p {
  color: var(--muted);
  line-height: 1.52;
}

.intel-map {
  position: relative;
  overflow: hidden;
}

.map-radar {
  position: absolute;
  inset: 0;
  opacity: .72;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 24%, rgba(125, 177, 245, .14) 24% 25%, transparent 26% 42%, rgba(125, 177, 245, .12) 42% 43%, transparent 44%),
    linear-gradient(rgba(125, 177, 245, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 177, 245, .08) 1px, transparent 1px);
  background-size: 100% 100%, 38px 38px, 38px 38px;
}

.map-radar span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  height: 2px;
  background: linear-gradient(90deg, rgba(39, 216, 130, .9), transparent);
  transform-origin: 0 50%;
  animation: radarSweep 4s linear infinite;
}

.pin {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(244, 199, 99, .65);
}

.pin-a {
  left: 28%;
  top: 31%;
}

.pin-b {
  right: 22%;
  top: 48%;
}

.pin-c {
  left: 56%;
  bottom: 24%;
}

.image-feature,
.career-modern {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: stretch;
}

.feature-image,
.career-visual,
.gallery-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.feature-image::after,
.career-visual::after,
.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 7, 17, .78));
  pointer-events: none;
}

.feature-copy {
  display: grid;
  align-content: center;
  padding: clamp(1rem, 3vw, 2.2rem);
}

.feature-copy h2,
.career-panel h2 {
  margin: .2rem 0 .7rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
  text-wrap: balance;
}

.feature-copy p,
.career-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .62rem;
  margin-top: 1rem;
}

.feature-checks span {
  padding: .72rem .78rem;
  border: 1px solid rgba(125, 177, 245, .2);
  border-radius: 13px;
  background: rgba(125, 177, 245, .09);
  color: #dbeafe;
  font-weight: 820;
}

.division-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.division-modern-grid article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: .8rem;
  padding: 1rem;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.division-modern-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(13, 38, 70, .92), rgba(5, 16, 31, .78));
}

.division-modern-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(125, 177, 245, .34);
  border-radius: 14px;
  background: rgba(47, 125, 246, .18);
  font-weight: 950;
}

.division-modern-grid h3 {
  margin: .2rem 0;
}

.division-modern-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.career-modern {
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
}

.career-panel {
  display: grid;
  align-content: center;
  gap: .8rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.timeline {
  position: relative;
  display: grid;
  gap: .7rem;
  margin: .5rem 0 1rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: .75rem;
  padding: .72rem;
  border: 1px solid rgba(125, 177, 245, .18);
  border-radius: 14px;
  background: rgba(2, 7, 17, .36);
}

.timeline span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #061326;
  border-radius: 12px;
  background: var(--gold);
  font-weight: 950;
}

.timeline strong {
  display: block;
  color: #fff;
}

.timeline p {
  margin: .2rem 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, 260px);
  gap: .9rem;
}

.gallery-grid figure {
  min-height: 0;
  margin: 0;
}

.gallery-large {
  grid-row: span 2;
}

.gallery-grid figcaption {
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .8rem;
  z-index: 2;
  color: #fff;
  font-weight: 950;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .52);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.faq-grid details {
  padding: .9rem 1rem;
}

.faq-grid summary {
  color: #fff;
  font-weight: 900;
}

.faq-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.modern-contact {
  background:
    linear-gradient(135deg, rgba(8, 25, 48, .9), rgba(5, 16, 31, .82));
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s ease, transform .62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: .06s;
}

.reveal:nth-child(3) {
  transition-delay: .12s;
}

.reveal:nth-child(4) {
  transition-delay: .18s;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -.6%, 0);
  }
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 72px 72px;
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 216, 130, .55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(39, 216, 130, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 216, 130, 0);
  }
}

@keyframes meterFill {
  from {
    width: 0;
  }
  to {
    width: var(--value);
  }
}

@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .modern-hero,
  .intel-grid,
  .image-feature,
  .career-modern,
  .division-modern-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .modern-hero {
    min-height: 100vh;
    padding-bottom: 10rem;
  }

  .hero-live-card {
    align-self: end;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery-grid figure,
  .feature-image,
  .career-visual {
    min-height: 340px;
  }

  .gallery-large {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .modern-hero {
    display: grid;
    min-height: auto;
    padding: 6rem 1rem 1.2rem;
  }

  .modern-hero-content h1 {
    font-size: clamp(2.6rem, 14vw, 4.5rem);
  }

  .modern-status {
    position: static;
    margin-top: .8rem;
  }

  .feature-checks {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .feature-image,
  .career-visual,
  .gallery-grid figure {
    min-height: 250px;
  }
}
