/* --------------------------------------------------------------------------
   Logo rendering fix: keep every DampAmok logo at its natural proportions and
   remove any inherited rounded clipping/masking without changing other images.
   -------------------------------------------------------------------------- */
.pls-site-header .pls-header-logo,
.pls-site-header .pls-header-logo > a,
.pls-mobile-menu .pls-mobile-menu-header .pls-header-logo,
.pls-mobile-menu .pls-mobile-menu-header .pls-header-logo > a,
.pls-site-footer .elementor-element-7cb3d782,
.pls-site-footer .elementor-element-7cb3d782 .elementor-widget-container,
.pls-header-logo img,
.pls-site-footer .elementor-element-7cb3d782 img,
img[src*="DampAmok-Black.png"],
img[src*="DampAmok-White-1.png"],
img[alt*="DampAmok"] {
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.pls-site-header .pls-header-logo,
.pls-site-header .pls-header-logo > a,
.pls-mobile-menu .pls-mobile-menu-header .pls-header-logo,
.pls-mobile-menu .pls-mobile-menu-header .pls-header-logo > a,
.pls-site-footer .elementor-element-7cb3d782,
.pls-site-footer .elementor-element-7cb3d782 .elementor-widget-container {
  overflow: visible !important;
}

.pls-site-header .pls-header-logo img,
.pls-mobile-menu .pls-mobile-menu-header .pls-header-logo img,
.pls-header-logo img[src*="DampAmok"],
img[src*="DampAmok-Black.png"],
img[src*="DampAmok-White-1.png"],
img[alt*="DampAmok"] {
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.pls-site-header .pls-header-logo img,
.pls-mobile-menu .pls-mobile-menu-header .pls-header-logo img {
  width: 145px !important;
  max-width: 145px !important;
}

@media (max-width: 991px) {
  .pls-site-header .pls-header-mobile .pls-header-logo img,
  .pls-mobile-menu .pls-mobile-menu-header .pls-header-logo img {
    width: 105px !important;
    max-width: 105px !important;
  }
}

/* --------------------------------------------------------------------------
   Custom 404 page. All rules are scoped to this template only.
   -------------------------------------------------------------------------- */
.dampamok-404-page {
  box-sizing: border-box;
  padding: 66px 24px 84px !important;
  background: #f7f6f3 !important;
  color: #202124 !important;
}

.dampamok-404-page *,
.dampamok-404-page *::before,
.dampamok-404-page *::after {
  box-sizing: border-box;
}

.dampamok-404-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.dampamok-404-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  min-height: 470px;
  overflow: hidden;
  border: 1px solid #e8e5df;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(28, 39, 59, .055);
}

.dampamok-404-copy {
  align-self: center;
  min-width: 0;
  padding: 64px clamp(32px, 5vw, 72px) 60px;
}

.dampamok-404-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px !important;
  color: #616875 !important;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.dampamok-404-eyebrow > span {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #3478f6;
  box-shadow: 0 0 0 4px rgba(52, 120, 246, .10);
}

.dampamok-404-copy h1 {
  margin: 0 0 21px !important;
  color: #202124 !important;
  font-family: inherit;
  font-size: clamp(38px, 4vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -.052em !important;
  text-transform: none !important;
}

.dampamok-404-copy h1 span {
  color: #2563eb !important;
}

.dampamok-404-description {
  max-width: 440px;
  margin: 0 !important;
  color: #737982 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

.dampamok-404-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.dampamok-404-button {
  display: inline-flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.dampamok-404-button-primary {
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 7px 17px rgba(37, 99, 235, .16);
}

.dampamok-404-button-primary:hover {
  transform: translateY(-1px);
  background: #1d4ed8 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
}

.dampamok-404-button-primary svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.dampamok-404-button-secondary {
  border-color: #e3e6eb !important;
  background: #fff !important;
  color: #303640 !important;
}

.dampamok-404-button-secondary:hover {
  border-color: #c9d7f5 !important;
  background: #f7faff !important;
  color: #1d4ed8 !important;
}

.dampamok-404-footnote {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0 !important;
  color: #969ba3 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.dampamok-404-footnote span {
  color: #2563eb;
  font-size: 17px;
  line-height: 1;
}

.dampamok-404-art {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 1px solid #edf0f5;
  background: radial-gradient(circle at 52% 46%, rgba(220, 233, 255, .92) 0, rgba(239, 245, 255, .72) 38%, rgba(247, 249, 253, .96) 73%), #f4f7fc;
}

.dampamok-404-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgba(37, 99, 235, .13);
  border-radius: 50%;
  pointer-events: none;
}

.dampamok-404-orbit-large {
  width: min(390px, 78%);
  aspect-ratio: 1;
}

.dampamok-404-orbit-small {
  width: min(300px, 60%);
  aspect-ratio: 1;
  border-color: rgba(37, 99, 235, .10);
}

.dampamok-404-number {
  position: relative;
  z-index: 1;
  padding-right: .09em;
  color: #2563eb;
  background: linear-gradient(145deg, #7fb1ff 3%, #2563eb 52%, #1e40af 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: inherit;
  font-size: clamp(120px, 14vw, 190px);
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.105em;
  user-select: none;
}

.dampamok-404-art-dot {
  position: absolute;
  z-index: 2;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3478f6;
  box-shadow: 0 0 0 6px rgba(52, 120, 246, .10);
}

.dampamok-404-art-dot-one {
  top: 24%;
  right: 19%;
}

.dampamok-404-art-dot-two {
  bottom: 25%;
  left: 17%;
  width: 6px;
  height: 6px;
  background: #a8c7ff;
  box-shadow: 0 0 0 5px rgba(52, 120, 246, .08);
}

.dampamok-404-art-label {
  position: absolute;
  z-index: 3;
  right: 11%;
  bottom: 15%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(225, 231, 241, .9);
  border-radius: 7px;
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 8px 24px rgba(32, 53, 92, .07);
  color: #596273;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .015em;
}

.dampamok-404-art-label span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e55e65;
}

.dampamok-404-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35) !important;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .dampamok-404-page {
    padding: 42px 18px 58px !important;
  }

  .dampamok-404-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    min-height: 410px;
  }

  .dampamok-404-copy {
    padding: 46px 32px;
  }

  .dampamok-404-art-label {
    right: 7%;
    bottom: 12%;
  }
}

@media (max-width: 680px) {
  .dampamok-404-page {
    padding: 26px 14px 42px !important;
  }

  .dampamok-404-card {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
  }

  .dampamok-404-art {
    min-height: 215px;
    border-left: 0;
    border-bottom: 1px solid #edf0f5;
  }

  .dampamok-404-orbit-large {
    width: 190px;
  }

  .dampamok-404-orbit-small {
    width: 148px;
  }

  .dampamok-404-number {
    font-size: 112px;
  }

  .dampamok-404-art-dot-one {
    top: 23%;
    right: 20%;
  }

  .dampamok-404-art-dot-two {
    bottom: 20%;
    left: 19%;
  }

  .dampamok-404-art-label {
    right: 7%;
    bottom: 12%;
    padding: 8px 10px;
    font-size: 10px;
  }

  .dampamok-404-copy {
    padding: 34px 25px 32px;
  }

  .dampamok-404-eyebrow {
    margin-bottom: 19px !important;
    font-size: 11px !important;
  }

  .dampamok-404-copy h1 {
    font-size: clamp(35px, 9vw, 45px) !important;
  }

  .dampamok-404-description {
    font-size: 15px !important;
  }

  .dampamok-404-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dampamok-404-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dampamok-404-button {
    transition: none !important;
  }
}
