/* Site chrome from the public IP ENFORCER website. */
:root { --ip-navy: #020647; --ip-lime: #b7ff32; }
html { scroll-padding-top: 60px; }
body { margin: 0; background: var(--ip-navy); }
#ip-main { margin: 12px 2.45% 0; container-type: inline-size; }
.ip-shell-top, .ip-shell-menu, .ip-shell-foot, .ip-shell-areas, .ip-shell-skip { font-family: Arial, Helvetica, sans-serif; letter-spacing: normal; text-transform: none; }
.ip-shell-top *, .ip-shell-menu *, .ip-shell-foot *, .ip-shell-areas * { box-sizing: border-box; }
.ip-shell-top a, .ip-shell-menu a, .ip-shell-areas a { text-decoration: none; }
.ip-shell-top { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-sizing: border-box; min-height: 56px; padding: 0 28px; color: #141414; background: #fff; border-bottom: 1px solid #e2e2e2; }
.ip-shell-brand {
  --ip-brand-image: url("/assets/frame/ip-enforcer-logo.png");
  display: inline-flex;
  align-items: center;
  width: clamp(230px, 21vw, 248px);
  min-width: 0;
  min-height: 44px;
  perspective: 1100px;
  color: inherit;
}
.ip-shell-brand-turn { position: relative; display: block; width: 100%; transform-style: preserve-3d; }
.ip-shell-brand-face { display: block; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ip-shell-brand-front { position: relative; transform: translateZ(.1px); }
.ip-shell-brand-front img { display: block; width: 100%; height: auto; aspect-ratio: 862 / 190; object-fit: contain; }
.ip-shell-brand-back {
  position: absolute;
  inset: 0;
  background: var(--ip-brand-image) center / contain no-repeat;
  transform: rotateY(180deg) translateZ(.1px);
}

/* Match the two holds, turns and light sweeps on the wordmark in the cases section. */
@keyframes ip-shell-brand-turn {
  0%, 35% { transform: rotateY(0deg); }
  43%, 76% { transform: rotateY(180deg); }
  84%, 100% { transform: rotateY(360deg); }
}
@keyframes ip-shell-brand-shine {
  0%, 41%, 56%, 82%, 97%, 100% { background-position: -70% center; opacity: 0; }
  42%, 83% { background-position: -70% center; opacity: 1; }
  54%, 95% { background-position: 170% center; opacity: 1; }
  55%, 96% { background-position: 170% center; opacity: 0; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .ip-shell-brand-turn { animation: ip-shell-brand-turn 13s cubic-bezier(.45,0,.2,1) infinite; }
  @supports ((mask-image: linear-gradient(black, black)) or (-webkit-mask-image: linear-gradient(black, black))) {
    .ip-shell-brand-face::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(108deg, transparent 30%, rgb(255 255 255 / 52%) 49%, transparent 70%) -70% center / 39% 100% no-repeat;
      -webkit-mask: var(--ip-brand-image) center / contain no-repeat;
      mask: var(--ip-brand-image) center / contain no-repeat;
      opacity: 0;
      animation: ip-shell-brand-shine 13s cubic-bezier(.2,.6,.3,1) infinite;
    }
  }
  .ip-shell-brand:is(:hover, :focus) .ip-shell-brand-turn,
  .ip-shell-brand:is(:hover, :focus) .ip-shell-brand-face::after { animation-play-state: paused; }
}
.ip-shell-langs { display: flex; align-items: center; gap: 26px; }
.ip-shell-langs a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 16px; line-height: 1.2; }
.ip-shell-langs a[aria-current] { font-weight: 700; }
.ip-shell-menu, .ip-shell-areas, .ip-shell-foot { color: white; background: var(--ip-navy); }
.ip-shell-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 26px; padding: 6px 2.45%; box-sizing: border-box; min-height: 54px; }
.ip-shell-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 22px; padding: 0 8px; }
.ip-shell-nav a { color: white; font: 700 18.6667px/1.38 Arial, sans-serif; padding: 8px 0; }
.ip-shell-client { display: flex; align-items: center; justify-content: center; width: 24%; min-height: 36px; border: 2px solid var(--ip-lime); border-radius: 4px; background: transparent; color: var(--ip-lime); font: 400 16px/1.2 Arial,sans-serif; padding-inline: 8px; }
@keyframes ip-shell-client-flash {
  0%, 100% { border-color: var(--ip-lime); }
  60% { border-color: transparent; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .ip-shell-client { animation: ip-shell-client-flash 2s steps(1, end) infinite; }
  .ip-shell-client:is(:hover, :focus-visible) { animation: none; }
}
.ip-shell-areas { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding: 10px 2.45%; }
.ip-shell-areas a { padding: 9px 12px; text-align: center; font: 400 16px/1.2 Arial,sans-serif; color: var(--ip-navy); background: var(--ip-lime); border-radius: 4px; }
.ip-shell-foot { display: flex; align-items: center; gap: .4em; min-height: 75px; padding: 5px 3.1%; font: 400 12px/1.6 Georgia,serif; color: #d8dbed; }
.ip-shell-foot a { color: var(--ip-lime); text-decoration: underline; }

.ipe-home .ipe-directory {
  margin: 0;
  padding: clamp(22px, 3vw, 38px) 0 clamp(18px, 2.2vw, 30px);
  scroll-margin-top: 72px;
  background: var(--ip-navy);
  text-align: center;
}
.ipe-directory-rule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 1.8vw, 27px);
  align-items: center;
  perspective: 680px;
}
.ipe-directory-rule::before, .ipe-directory-rule::after {
  content: "";
  height: 2px;
  background-color: var(--ip-lime);
}
.ipe-directory-rule img {
  display: block;
  width: clamp(146px, 17vw, 205px);
  height: auto;
  border-radius: 3px;
}
.ipe-directory figcaption {
  max-width: 78ch;
  margin: 14px auto 0;
  padding-inline: 16px;
  text-wrap: balance;
  color: var(--ip-lime);
  font: 400 16px/1.45 Arial, sans-serif;
}
@keyframes ipe-directory-turn {
  from { transform: rotateY(-16deg); }
  to { transform: rotateY(10deg); }
}
@keyframes ipe-directory-scale {
  from { scale: .97; }
  to { scale: 1.06; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .ipe-home .ipe-directory-rule img {
    animation: ipe-directory-turn 2.5s ease-in-out alternate,
               ipe-directory-scale 2.5s ease-in-out -1.25s alternate;
    /* The homepage template otherwise limits its animations to one iteration. */
    animation-iteration-count: infinite !important;
  }
}
.ip-shell-menu a:hover, .ip-shell-langs a:hover { text-decoration: underline; }
.ip-shell-top a:focus-visible, .ip-shell-menu a:focus-visible, .ip-shell-foot a:focus-visible, .ip-shell-areas a:focus-visible { outline: 3px solid #6588ea; outline-offset: 2px; }
.ip-shell-skip { position: fixed; top: -100px; left: 8px; z-index: 100; padding: 9px; background: white; color: var(--ip-navy); }
.ip-shell-skip:focus { top: 4px; }
@media (max-width: 760px) {
  .ip-shell-top { padding: 0 16px; min-height: 54px; }
  .ip-shell-brand { width: clamp(140px, 45vw, 172px); }
  .ip-shell-langs { gap: 12px; }
  .ip-shell-langs a { font-size: 14px; }
  .ip-shell-menu { padding: 8px 16px; gap: 5px 12px; }
  .ip-shell-nav { gap: 0 15px; padding: 0; }
  .ip-shell-nav a { font-size: 15px; padding-block: 6px; }
  .ip-shell-client { min-width: 145px; min-height: 32px; margin-block: 2px; }
  .ip-shell-areas { grid-template-columns: 1fr; padding: 12px 16px; gap: 7px; }
  .ip-shell-foot { padding: 8px 16px; }
}
@media (max-width: 355px) {
  .ip-shell-top { padding-inline: 10px; }
  .ip-shell-langs { gap: 8px; }
}
