/* =====================================================================
   Magnus Care — Ultra-Light Silicon Wafer Lithography (Content-First)
   ===================================================================== */

html { background: #ffffff; }
body { background: transparent; }

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: #ffffff;
  /* Whisper-faint wafer alignment grid */
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.014) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.014) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, #000 50%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, #000 50%, transparent 100%);
}

.bg-fx canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Soft studio rim lighting */
.bg-fx .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.bg-fx .b1 {
  width: 58vmax;
  height: 58vmax;
  right: -16vmax;
  top: -20vmax;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.065) 0%, transparent 70%);
}

.bg-fx .b2 {
  width: 54vmax;
  height: 54vmax;
  left: -16vmax;
  bottom: -18vmax;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.08) 0%, transparent 72%);
}

.bg-fx .b3 {
  display: none;
}

/* Keep hero & tinted sections crisp and translucent */
.hero         { background: transparent; }
.page-hero    { background: rgba(253, 236, 236, 0.78); backdrop-filter: blur(14px); }
.about-hero   { background: rgba(253, 236, 236, 0.78); backdrop-filter: blur(14px); }
.about-teaser { background: rgba(255, 246, 246, 0.74); backdrop-filter: blur(14px); }

@media print { .bg-fx { display: none; } }