/* Branded 404 – full-bleed background */

body.error404,
body.error404 .site-main,
body.error404 #content {
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(215, 114, 91, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 75%, rgba(69, 122, 121, 0.1), transparent 50%),
    var(--cream, #FBF6EF) !important;
}

body.error404 .site-main,
body.error404 #content.vu-404,
body.error404 .vu-404 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.vu-404 {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--vu-header-height, 78px) + 2rem) 1.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.vu-404__hero {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vu-404__code {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(7rem, 22vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--primary, #D7725B);
  opacity: 0.16;
  margin: 0 0 -0.15em;
  user-select: none;
  pointer-events: none;
}

.vu-404__eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #457A79);
  margin: 0 0 0.85rem;
}

.vu-404__title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text, #5A5C61);
  margin: 0 0 1.25rem;
  letter-spacing: 0.01em;
}

.vu-404__title span {
  color: var(--primary, #D7725B);
}

.vu-404__text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text, #5A5C61);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.vu-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 0;
}

.vu-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Futura PT", "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 30px;
  padding: 0.85rem 1.75rem 0.7rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.vu-404__btn--primary {
  background-color: var(--accent, #457A79);
  color: #fff;
  border: 1.5px solid var(--accent, #457A79);
}

.vu-404__btn--primary:hover {
  background-color: var(--primary, #D7725B);
  border-color: var(--primary, #D7725B);
  color: #fff;
  transform: translateY(-1px);
}

.vu-404__btn--ghost {
  background: transparent;
  color: var(--accent, #457A79);
  border: 1.5px solid rgba(69, 122, 121, 0.4);
}

.vu-404__btn--ghost:hover {
  border-color: var(--primary, #D7725B);
  color: var(--primary, #D7725B);
  background: transparent;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .vu-404 {
    padding: calc(var(--vu-header-height, 78px) + 1.5rem) 1.25rem 2.5rem;
  }

  .vu-404__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vu-404__btn {
    width: 100%;
  }
}
