@font-face {
  font-family: "BaselNeue";
  src: url("../Fonts/Basel Neue/Basel_Neue.woff2") format("woff2"),
       url("../Fonts/Basel Neue/Basel_Neue.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Resolve the original site's legacy family name to the same local font. */
@font-face {
  font-family: "basel-neue";
  src: url("../Fonts/Basel Neue/Basel_Neue.woff2") format("woff2"),
       url("../Fonts/Basel Neue/Basel_Neue.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chenier";
  src: url("../Fonts/chenier-regular.woff2") format("woff2"),
       url("../Fonts/chenier-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ls-black: #000;
  --ls-white: #fff;
  --ls-green: #08e074;
  --ls-green-hover: #23ff91;
  --ls-nav-height: 52px;
  --ls-grid-gap: 20px;
}

html {
  min-height: 100%;
  scroll-padding-top: calc(var(--ls-nav-height) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: 100vh;
  margin: 0;
  padding-top: var(--ls-nav-height);
  font-family: "BaselNeue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
td,
th { font-family: "BaselNeue", Arial, sans-serif; }

img,
picture,
video,
object,
embed {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

.ls-picture { display: block; width: 100%; }
.ls-fluid-image { width: 100%; height: auto; }

.ls-client-banner,
.ls-client-banner > img {
  display: block !important;
  width: 100%;
  height: auto;
}

.ls-client-page,
.ls-client-page-table,
.ls-client-banner { margin-top: 0; }

.ls-client-page-table {
  width: 100%;
  border-spacing: 0;
}

.ls-client-page-table > tbody > tr > td { padding: 0; }

a { text-underline-offset: .16em; }
a:link { color: var(--ls-green); }
a:hover { color: var(--ls-green-hover); }

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 2000;
  padding: .65rem .9rem;
  color: var(--ls-black) !important;
  background: var(--ls-white);
  transform: translateY(-150%);
  transition: transform .15s ease;
}

.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

/* Shared Bootstrap 5 navigation, isolated from legacy page styles. */
.ls-site-nav {
  width: 100%;
  min-height: var(--ls-nav-height);
  padding: 0;
  color: var(--ls-white);
  background: rgba(0, 0, 0, .9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: "BaselNeue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  z-index: 1040;
}

.ls-site-nav,
.ls-site-nav * { box-sizing: border-box; }

.ls-site-nav .container {
  min-height: var(--ls-nav-height);
  padding-inline: .75rem;
}

.ls-site-nav .navbar-brand {
  display: flex;
  align-items: center;
  height: var(--ls-nav-height);
  margin-right: 1rem;
  padding: .35rem 0;
}

.ls-site-nav .navbar-brand img {
  width: 25px;
  height: auto;
}

.ls-site-nav .nav-link,
.ls-site-nav .dropdown-item,
.ls-site-nav .dropdown-header {
  font-family: "BaselNeue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .02em;
}

@media (min-width: 1200px) {
  .ls-site-nav .nav-link,
  .ls-site-nav .dropdown-item,
  .ls-site-nav .dropdown-header { font-size: 16px; }
}

.ls-site-nav a.nav-link,
.ls-site-nav a.nav-link:link,
.ls-site-nav a.nav-link:visited,
.ls-site-nav a.dropdown-item,
.ls-site-nav a.dropdown-item:link,
.ls-site-nav a.dropdown-item:visited { color: rgba(255, 255, 255, .82) !important; }

.ls-site-nav a.nav-link:hover,
.ls-site-nav a.nav-link:focus-visible,
.ls-site-nav .nav-link.show,
.ls-site-nav .nav-link.active,
.ls-site-nav a.dropdown-item:hover,
.ls-site-nav a.dropdown-item:focus-visible,
.ls-site-nav .dropdown-item.active { color: var(--ls-white) !important; }

.ls-site-nav .dropdown-item.active {
  background: rgba(255, 255, 255, .14);
}

.ls-site-nav .dropdown-menu {
  --bs-dropdown-bg: rgba(8, 8, 8, .98);
  --bs-dropdown-border-color: rgba(255, 255, 255, .18);
  --bs-dropdown-link-color: rgba(255, 255, 255, .82);
  --bs-dropdown-link-hover-color: var(--ls-white);
  --bs-dropdown-link-hover-bg: rgba(255, 255, 255, .1);
  --bs-dropdown-header-color: rgba(255, 255, 255, .52);
  max-height: calc(100vh - var(--ls-nav-height) - 1rem);
  overflow-y: auto;
  border-radius: 0;
}

.ls-site-nav .dropdown-divider { border-color: rgba(255, 255, 255, .18); }

.ls-site-nav .navbar-toggler {
  padding: .375rem;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
}

.ls-site-nav .navbar-toggler:focus,
.ls-site-nav .navbar-toggler:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.ls-site-nav .navbar-toggler:focus-visible .navbar-toggler-icon {
  opacity: .72;
}

.ls-site-nav a:focus-visible,
.ls-carousel-control:focus-visible,
.media a:focus-visible .media__body {
  outline: 2px solid var(--ls-green);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .ls-site-nav .container {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ls-site-nav .navbar-brand,
  .ls-site-nav .navbar-toggler { flex: 0 0 auto; }

  .ls-site-nav .navbar-collapse {
    width: 100%;
    flex-basis: 100%;
    max-height: calc(100vh - var(--ls-nav-height));
    max-height: calc(100dvh - var(--ls-nav-height));
    padding: .5rem 0 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    touch-action: pan-y;
  }

  .ls-site-nav .dropdown-menu {
    position: static;
    max-height: none;
    overflow: visible;
    margin: 0 0 .5rem;
    border-inline: 0;
  }
}

/* Match ericlaverty.com: centered horizontal navigation on desktop/tablet. */
@media (min-width: 768px) {
  .ls-site-nav .navbar-toggler { display: none !important; }
  .ls-site-nav .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    align-items: center;
    padding-block: 0;
  }
  .ls-site-nav .navbar-nav { flex-direction: row; }
  .ls-site-nav .navbar-nav .dropdown-menu { position: absolute; }
}

/* Legacy layout helpers retained for the portfolio pages. */
.img-responsive { display: block; max-width: 100%; height: auto; }
.center-block,
.center { display: block; margin-right: auto; margin-left: auto; }
.hide { display: none !important; }
.clear::before,
.clear::after { display: table; content: ""; }
.clear::after { clear: both; }
.byebye:empty { display: none; }

.a2a_floating_style {
  position: fixed;
  z-index: 1035;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.a2a_floating_style img { width: 32px; height: auto; }

table { max-width: 100%; }
td img { max-width: 100%; }

#mainContent {
  min-height: calc(100vh - var(--ls-nav-height));
  outline: 0;
}

.container-lg.overflow-hidden {
  display: flex;
  flex-wrap: wrap;
  padding-inline: 0;
}

.about-copy {
  max-width: 82rem;
  margin-inline: auto;
  color: #000;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  text-align: left;
}

.layout-redux {
  width: min(80%, 1800px);
  margin-inline: auto;
  padding-block: 3rem;
}

.site-header,
.site-header2,
.site-header3 {
  position: relative;
  width: min(70%, 1800px);
  margin-inline: auto;
  color: var(--ls-black);
  background: transparent;
}

.site-header { margin-top: -5rem; padding: 1.25rem 4.375rem 3.125rem; }
.site-header2 { padding: 1.25rem 4.375rem 3.125rem; }
.site-header3 { margin-top: -1.25rem; padding: 0 4.375rem 1.25rem; }

.site-header a,
.site-header2 a,
.site-header3 a { color: var(--ls-white); }

.fontpro4 {
  color: var(--ls-white);
  font-family: "Chenier", sans-serif;
  font-size: 1.5rem;
}

.fontpro5 {
  color: var(--ls-black);
  font-family: "Chenier", sans-serif;
}

.over-title,
.over-title-Top,
.over-title-Top-2,
.over-title-Bottom,
.over-title-Bottom2,
.over-title-Bottom3,
.over-title-Bottom4,
.over-title-Bottom5 {
  position: relative;
  z-index: 20;
  display: block;
  font-family: "BaselNeue", Arial, sans-serif;
  text-transform: none;
}

.over-title { bottom: 1em; width: 100%; padding: 2em; background: rgba(0,0,0,.8); border: 2px solid #9fc; }
.over-title-Top { top: 1em; width: 45%; padding: 1em; background: rgba(0,0,0,.8); border: 2px solid #9fc; }
.over-title-Top-2 { float: right; top: 0; width: 180px; margin-right: 20px; text-align: center; background: #000; border: 2px solid #9fc; box-shadow: 5px 10px 10px rgba(0,0,0,.25); }
.over-title-Bottom,
.over-title-Bottom2,
.over-title-Bottom3,
.over-title-Bottom4,
.over-title-Bottom5 { bottom: 1em; width: 85%; padding: 1em; box-shadow: -5px -10px 10px rgba(0,0,0,.25); }
.over-title-Bottom { width: 55%; margin-top: -40px; background: rgba(0,0,0,.6); }
.over-title-Bottom2 { width: 55%; margin-top: -80px; background: rgba(0,0,0,.8); }
.over-title-Bottom3 { margin-top: -10px; background: rgba(0,0,0,.8); }
.over-title-Bottom3 h1 { color: var(--ls-white); }
.over-title-Bottom4 { margin-top: -40px; background: rgba(255,255,255,.8); }
.over-title-Bottom5 { margin-top: -10px; background: rgba(0,0,0,.6); }

@media (min-width: 1668px) {
  .over-title-Bottom3 h1 { font-size: 1.75rem; }
}

/* Dependency-free masonry. JavaScript creates the column wrappers. */
.intro-grid {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-inline: -10px;
}

.intro-grid > .column {
  position: relative;
  flex: 0 0 25%;
  width: 25%;
  min-width: 0;
  padding-top: 5px;
}

.intro-grid .item,
.intro-grid .item-1,
.intro-grid .item-2,
.intro-grid .item-3,
.intro-grid .item-4 {
  position: relative;
  margin: 0 10px 20px;
}

.intro-grid .item {
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 1px solid #333;
  border-radius: 1px;
}

.intro-grid .item-1 { padding: 20px; text-align: center; }
.intro-grid .item-2 { padding: 15px; text-align: center; background: transparent; }
.intro-grid .item-3 { padding: 15px; text-align: center; background: rgba(178,0,178,.5); }
.intro-grid .item-4 { padding: 15px; text-align: center; background: rgba(255,255,255,.7); }

.media {
  position: relative;
  display: inline-block;
  width: calc(100% - 20px);
  vertical-align: middle;
}

.media__image { width: 100%; }

.media > a { color: inherit; text-decoration: none; }

.media__body {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: .75rem;
  color: rgba(255,255,255,.92);
  text-align: center;
  background: rgba(0,0,0,.67);
  opacity: 0;
  transition: opacity .3s ease;
}

.media:hover .media__body,
.media:focus-within .media__body { opacity: 1; }

.media__body h5 { margin: 0; line-height: 1.35; }
.media__body .heavy { font-weight: 600; }
.media__body .img-responsive { width: 30px; margin-top: .75rem; }

@media (hover: none) {
  .media__body,
  .media:hover .media__body,
  .media:focus-within .media__body { opacity: 0; }
}

/* Mobile project viewer: keep the home grid image-first, then reveal details on tap. */
html.ls-project-modal-open,
html.ls-project-modal-open body { overflow: hidden; }

.ls-project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: calc(3.75rem + env(safe-area-inset-top)) 1rem calc(1.25rem + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ls-white);
  background: rgba(0, 0, 0, .96);
  border: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ls-project-modal[open] {
  display: grid;
  align-content: center;
}

.ls-project-modal::backdrop { background: rgba(0, 0, 0, .96); }

.ls-project-modal__content {
  display: grid;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  place-items: center;
}

.ls-project-modal__image {
  display: block;
  width: auto;
  max-width: min(96vw, 1200px);
  height: auto;
  max-height: calc(100vh - 11rem);
  max-height: calc(100dvh - 11rem);
  margin: 0 auto;
  object-fit: contain;
}

.ls-project-modal__caption {
  width: min(100%, 50rem);
  padding: 1rem .5rem .25rem;
  color: var(--ls-white);
  text-align: center;
}

.ls-project-modal__caption h2 {
  margin: 0;
  color: var(--ls-white);
  font-family: "BaselNeue", Arial, sans-serif;
  font-size: clamp(1rem, 4.5vw, 1.35rem);
  font-weight: 300;
  line-height: 1.35;
}

.ls-project-modal__link {
  display: inline-block;
  margin-top: 1rem;
  padding: .65rem 1rem;
  color: var(--ls-white) !important;
  font-family: "BaselNeue", Arial, sans-serif;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .75);
}

.ls-project-modal__link:hover,
.ls-project-modal__link:focus-visible {
  color: var(--ls-black) !important;
  background: var(--ls-white);
}

.ls-project-modal__close {
  position: fixed;
  top: calc(.65rem + env(safe-area-inset-top));
  right: .75rem;
  z-index: 2001;
  padding: .25rem .5rem;
  color: var(--ls-white);
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
  background: transparent;
  border: 0;
}

.ls-project-modal__close:focus-visible {
  outline: 2px solid var(--ls-green);
  outline-offset: 2px;
}

/* Modern replacement for the old WOWSlider scripts. */
[id^="wowslider-container"] {
  position: relative;
  width: 100%;
  overflow: hidden;
}

[id^="wowslider-container"] .ws_images,
[id^="wowslider-container"] .ws_images > ul {
  width: 100%;
  margin: 0;
  padding: 0;
}

[id^="wowslider-container"] .ws_images > ul { list-style: none; }
[id^="wowslider-container"] .ws_images > ul > li { display: none; margin: 0; }
[id^="wowslider-container"] .ws_images > ul > li.is-active { display: block; }
[id^="wowslider-container"] .ws_images img { width: 100%; height: auto; }
[id^="wowslider-container"] .ws_bullets,
[id^="wowslider-container"] .ws_shadow { display: none; }

.ls-carousel-controls {
  position: absolute;
  inset: 50% .75rem auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.ls-carousel-control {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--ls-white);
  font-size: 1.6rem;
  line-height: 1;
  place-items: center;
  pointer-events: auto;
  background: rgba(0,0,0,.66);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
}

.site-footer__copyright {
  margin: 1rem;
  color: #000;
  font-size: clamp(.8rem, 1.4vw, 1.15rem);
  font-weight: 400;
  text-align: center;
}

@media (max-width: 819px) {
  .layout-redux,
  .site-header,
  .site-header2,
  .site-header3 { width: 100%; }

  .site-header,
  .site-header2,
  .site-header3 { padding-inline: 2.5rem; }
}

@media (max-width: 500px) {
  .ls-client-banner { display: none !important; }

  .ls-client-page { padding-top: 0; }

  .ls-client-page > .ls-client-page-table > tbody > tr:nth-child(2) > td {
    padding-top: .75rem;
  }

  .ls-client-page > .ls-client-page-table > tbody > tr:nth-child(2) .site-header {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-header2,
  .site-header3,
  .layout-redux { padding-inline: 1.25rem; }

  .intro-grid > .column {
    flex-basis: 100%;
    width: 100%;
  }

  .over-title-Bottom,
  .over-title-Bottom2,
  .over-title-Bottom3,
  .over-title-Bottom4,
  .over-title-Bottom5 { width: 92%; }
}

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