/* Three new loaders behind ?ld2= (js/loader-options2.js). Nothing here applies without the switch. */

.l2 { position: absolute; inset: 0; overflow: hidden; }
.l2-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 45%, #FFFBF1 0%, #FFF3DE 62%, #FDE6BF 100%); }
.l2-bg--white { background: radial-gradient(ellipse 70% 60% at 50% 46%, #FFFFFF 0%, #FFFCF4 60%, #FFF6E6 100%); }
.l2-shotbox { position: absolute; overflow: hidden; }
.l2-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }

/* ---------- 01 Developing ---------- */
.l2-card { position: absolute; will-change: transform; }
.l2-paper { position: absolute; background: linear-gradient(170deg, #FFFEFA 0%, #FBF8F1 100%); border-radius: 1px; }
.l2-paper::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(120, 90, 40, .06); }
.l2-cap { position: absolute; left: 0; right: 0; display: flex; align-items: center; font-family: var(--hand), "Homemade Apple", cursive; color: #2E5E6B; transform: rotate(-1deg); }
.l2-img { position: absolute; inset: 0; overflow: hidden; background: #C9CBBF; }
.l2-shotbox--in { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }
.l2-milk { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 45% 40% at 30% 35%, #B9C0B4 0%, rgba(185, 192, 180, 0) 70%),
    radial-gradient(ellipse 50% 45% at 72% 62%, #C3C6B8 0%, rgba(195, 198, 184, 0) 70%),
    linear-gradient(160deg, #CFD1C5 0%, #C2C7BB 55%, #CDCDBF 100%); }
.l2-milk--b { background: radial-gradient(ellipse 60% 55% at 60% 30%, rgba(214, 208, 192, .95) 0%, rgba(214, 208, 192, 0) 72%),
  radial-gradient(ellipse 40% 35% at 25% 75%, rgba(176, 186, 176, .9) 0%, rgba(176, 186, 176, 0) 72%); }

/* ---------- 02 Tide ---------- */
.l2-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- 03 Glare ---------- */
.l2-white { position: absolute; inset: 0; background: #FFFCF4; pointer-events: none; }
.l2-glow { position: absolute; left: 50%; top: 46%; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 249, 232, .95) 38%, rgba(255, 226, 160, .55) 62%, rgba(255, 214, 140, 0) 100%); will-change: transform; }
.l2-mark { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 14px; }
.l2-sun { width: 200px; overflow: visible; }
.l2-word { margin: 0; font: italic 800 50px/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.l2-flare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
/* the flare streak (.s) is gone: it read as a white line across the picture (Sam, Nov 21) */
.l2-flare .g { position: absolute; border-radius: 50%; }
.l2-flare .g1 { left: 58%; top: 52%; width: 90px; height: 90px; background: radial-gradient(circle, rgba(170, 230, 255, .28), rgba(170, 230, 255, 0) 70%); }
.l2-flare .g2 { left: 66%; top: 58%; width: 36px; height: 36px; background: radial-gradient(circle, rgba(255, 200, 150, .4), rgba(255, 200, 150, 0) 70%); }
.l2-flare .g3 { left: 38%; top: 36%; width: 140px; height: 140px; background: radial-gradient(circle, rgba(255, 255, 220, .18), rgba(255, 255, 220, 0) 70%); }

@media (max-width: 760px) {
  .l2-sun { width: 110px; }
  .l2-word { font-size: 32px; }
}
