/* Home: restrained glass surfaces with an editorial studio feel. */
body { background: #0b1220; }

.site-header {
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(11, 18, 32, .78);
  backdrop-filter: blur(18px);
}

/* The homepage introduction is intentionally open: the content sits directly
   on the atmosphere instead of inside a glass card. */
#home .mx-auto {
  max-width: 78rem;
  padding: clamp(2.5rem, 7vw, 5.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.work-card,
.capability,
#contact > div,
#contact form {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(24, 33, 51, .66);
  box-shadow: 0 .9rem 2.4rem rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}

.work-card:hover,
.capability:hover,
.capability-link:hover {
  border-color: rgba(240,75,63,.5);
  box-shadow: 0 1.15rem 2.8rem rgba(0,0,0,.2);
}

#services {
  background: rgba(255,255,255,.022) !important;
}

#contact > div { overflow: hidden; }
#contact form { background: rgba(255,255,255,.025) !important; }

.filter {
  background: rgba(255,255,255,.035);
}

/* Shared page treatment. */
.page-hero {
  margin-top: 1.2rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1.35rem;
  background: rgba(18, 29, 47, .44);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.13);
  backdrop-filter: blur(12px);
}

.about-image,
.experience-list,
.contact-aside,
.premium-form,
.classic-service-grid article,
.page-cta,
.site-footer-rich {
  border-color: rgba(255,255,255,.11) !important;
  background: rgba(24, 33, 51, .52) !important;
  box-shadow: 0 1rem 2.8rem rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
}

.classic-service-grid article,
.contact-aside,
.premium-form,
.experience-list,
.about-image {
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.classic-service-grid article:hover,
.contact-aside:hover,
.premium-form:hover,
.experience-list:hover,
.about-image:hover {
  border-color: rgba(240,75,63,.45) !important;
  background: rgba(28, 39, 60, .68) !important;
  box-shadow: 0 1.4rem 3.2rem rgba(0,0,0,.2);
  transform: translateY(-2px);
}

.full-gallery .gallery-photo,
.photo-viewer,
.analytics-totals div,
.message,
.admin-dashboard .admin-card,
.admin-topbar {
  border-color: rgba(255,255,255,.11) !important;
  background: rgba(18, 29, 47, .62) !important;
  backdrop-filter: blur(12px);
}

.footer-bottom { border-color: rgba(255,255,255,.1); }

@supports not (backdrop-filter: blur(1px)) {
  .page-hero, .classic-service-grid article, .premium-form,
  .contact-aside, .experience-list, .about-image { background: #182133 !important; }
}

@media (max-width: 768px) {
  #home .mx-auto { max-width: 78rem; border-radius: 0; }
}
