/* Default home signpost — full-bleed welcome portal */
.wb-welcome-main {
  max-width: none;
  margin-top: 0 !important;
}

.wb-welcome {
  position: relative;
  min-height: calc(100vh - 4.5rem);
  overflow: hidden;
  color: #f4f7ff;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #2d4a8a 0%, #0f1729 45%, #070b14 100%);
}

.wb-welcome__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.wb-welcome__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: wb-welcome-drift 18s ease-in-out infinite alternate;
}

.wb-welcome__glow--a {
  width:  min(420px, 60vw);
  height: min(420px, 60vw);
  top: -8%;
  left: -5%;
  background: #4f7cff;
}

.wb-welcome__glow--b {
  width:  min(380px, 55vw);
  height: min(380px, 55vw);
  bottom: 5%;
  right: -8%;
  background: #7c5cff;
  animation-delay: -6s;
}

@keyframes wb-welcome-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(24px, 32px) scale(1.08); }
}

.wb-welcome__hero {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 8vw, 4.5rem) 1.25rem 1.5rem;
}

.wb-welcome__hero-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.wb-welcome__logo-wrap {
  margin-bottom: 1.25rem;
  animation: wb-welcome-fade-up 0.7s ease-out both;
}

.wb-welcome__logo {
  max-height: 5.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.wb-welcome__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
  animation: wb-welcome-fade-up 0.7s ease-out 0.05s both;
}

.wb-welcome__title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 0.85rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
  animation: wb-welcome-fade-up 0.75s ease-out 0.1s both;
}

.wb-welcome__lead {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.55;
  animation: wb-welcome-fade-up 0.8s ease-out 0.18s both;
}

@keyframes wb-welcome-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wb-welcome__signpost {
  position: relative;
  z-index: 2;
  padding: 0 1rem clamp(3rem, 6vw, 4rem);
  max-width: 920px;
}

.wb-welcome__section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-bottom: 1.25rem;
}

.wb-welcome__section-title--staff {
  color: rgba(255, 220, 160, 0.7);
}

.wb-welcome__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.wb-welcome__grid-item {
  animation: wb-welcome-fade-up 0.55s ease-out both;
  animation-delay: calc(0.12s + var(--wb-stagger, 0) * 0.05s);
}

.wb-welcome__card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #0f1729;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 4.25rem;
}

.wb-welcome__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  background: #fff;
  color: #0f1729;
}

.wb-welcome__card--staff {
  background: rgba(255, 248, 235, 0.95);
  border-color: rgba(255, 200, 120, 0.35);
}

.wb-welcome__card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #3b6cff, #6b4dff);
  color: #fff;
}

.wb-welcome__card--staff .wb-welcome__card-icon {
  background: linear-gradient(135deg, #c47a20, #e8a030);
}

.wb-welcome__card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wb-welcome__card-label {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

.wb-welcome__card-desc {
  font-size: 0.8rem;
  color: #5a6478;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wb-welcome__card-arrow {
  flex-shrink: 0;
  opacity: 0.45;
  font-size: 1.1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.wb-welcome__card:hover .wb-welcome__card-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.wb-welcome__empty {
  color: rgba(255, 255, 255, 0.65);
  padding: 2rem 1rem;
}

.wb-welcome__foot {
  position: relative;
  z-index: 2;
  padding: 0 1rem 2rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .wb-welcome__glow,
  .wb-welcome__grid-item,
  .wb-welcome__logo-wrap,
  .wb-welcome__eyebrow,
  .wb-welcome__title,
  .wb-welcome__lead {
    animation: none;
  }
  .wb-welcome__card {
    transition: none;
  }
}
