/* Hero figures and compact header
   Compact header, hero tags and illustrated figures.
   Edit this file to change these styles on every page that uses it. */

.tick-bar .wrap {
  padding-top: 3px;
  padding-bottom: 3px;
}

.tick-bar {
  font-size: .82rem;
  border-bottom-width: 2px;
}

.tick-bar .tag {
  padding: 1px 10px;
}

header.top .wrap {
  padding-top: 3px;
  padding-bottom: 3px;
}

header.top img {
  height: 32px;
}

.brand .name b {
  font-size: 1.15rem;
}

.brand .name i {
  font-size: .6rem;
  margin-top: 2px;
}

.brand .name {
  padding-left: 10px;
}

nav a {
  padding: 5px 10px;
  font-size: .88rem;
}

header.top {
  box-shadow: 0 1px 8px rgba(16,38,61,.08);
}

.uh.nj {
  padding: 32px 0 270px;
  background: linear-gradient(180deg,#061425 0%,#0a2038 62%,#0f2c4a 100%);
}

.uh.nj h1 {
  font-size: clamp(1.9rem,4.4vw,3rem);
}

.hlt {
  display: inline-block;
  padding: 0 .22em;
  border-radius: 12px;
  background: linear-gradient(135deg,var(--sf2),var(--sf));
  color: var(--ink);
  line-height: 1.15;
  animation: pulse 2.7s ease-out infinite;
}

.tgs {
  display: grid;
  gap: 16px;
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
}

.tg {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,187,46,.55);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(5px);
  text-decoration: none;
  color: #fff;
  transition: .3s;
  animation: lbob 4.6s ease-in-out infinite alternate;
}

.tg:nth-child(2) {
  animation-delay: 1s;
  margin-left: 26px;
}

.tg:hover {
  background: rgba(255,255,255,.16);
  border-color: var(--sf);
}

.tg .ic {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  background: var(--sf);
  color: var(--ink);
}

.tg b {
  display: block;
  font: 700 2rem/1.1 Lora,Georgia,serif;
  color: var(--sf2);
  letter-spacing: .04em;
}

.tg span {
  font-size: .9rem;
  color: #d7e1ea;
  line-height: 1.35;
  display: block;
}

.art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 270px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%,rgba(255,187,46,.3),transparent 60%);
}

.art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg,transparent,var(--sf),transparent);
}

.fig {
  position: absolute;
  bottom: 3px;
  height: 250px;
  width: auto;
  fill: rgba(10,32,56,.82);
  stroke: var(--sf2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.fig.doc {
  left: 4%;
}

.fig.eng {
  right: 4%;
  stroke: #cfe0f0;
}

.fig .bob {
  animation: bobf 4s ease-in-out infinite alternate;
}

@keyframes bobf {
  to {
    transform: translateY(-6px);
  }
}

.fig .nf {
  fill: none;
}

.fig .ac {
  stroke: var(--sf2);
}

.cp {
  transform-box: fill-box;
  transform-origin: center;
  animation: beat 1s ease-in-out infinite;
}

@keyframes beat {
  50% {
    transform: scale(1.55);
  }
}

.gear {
  transform-box: fill-box;
  transform-origin: center;
  animation: whl 14s linear infinite;
}

.gear.r {
  animation-direction: reverse;
}

.fl {
  opacity: 0;
  animation: fup 5s ease-in infinite;
}

@keyframes fup {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: .9;
  }
  100% {
    opacity: 0;
    transform: translateY(-70px);
  }
}

.ecgw {
  position: absolute;
  left: 0;
  bottom: 60px;
  width: 100%;
  height: 80px;
  fill: none;
  stroke: var(--sf2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .6;
}

.ecgw .g {
  stroke: rgba(255,255,255,.15);
  stroke-dasharray: none;
}

.ecgw .p {
  stroke-dasharray: 22 78;
  animation: ecg 4s linear infinite;
}

@keyframes ecg {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.bt {
  background: var(--ink);
  color: #fff;
  font: 800 .72rem Mulish,sans-serif;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
}

#batches .card {
  display: flex;
  flex-direction: column;
}

#batches .big {
  display: block;
  margin: .1em 0 .3em;
}

#batches dl {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: .95rem;
}

#batches dt {
  font-weight: 800;
  color: var(--ink);
}

#batches dd {
  margin: 0;
}

#batches .cd {
  color: var(--muted);
}

#batches .btn {
  margin-top: auto;
  justify-content: center;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tag2 {
  display: inline-block;
  font: 800 .72rem Mulish,sans-serif;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: #8a5a00;
  border: 1px solid var(--sf);
  margin: 0 6px 6px 0;
}

@media(max-width:980px) {
  .tg:nth-child(2) {
    margin-left: 0;
  }
}

@media(max-width:700px) {
  .uh.nj {
    padding-bottom: 200px;
  }
  .art {
    height: 200px;
  }
  .fig {
    height: 165px;
  }
  .ecgw {
    bottom: 40px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .fig .bob,
  .cp,
  .gear,
  .fl,
  .ecgw .p,
  .tg,
  .hlt {
    animation: none!important;
  }
  .fl {
    opacity: .6;
  }
  .ecgw .p {
    stroke-dasharray: none;
  }
}
