/* ==========================================================================
   THE SUN AS SOURCE · halo dawn (2026-11-15)
   Same pinned animation (the sun still crosses the sky as you scroll; js unchanged),
   redrawn in the aesthetic of the opening: hazy cream-gold air, a white sun with an
   iridescent halo ring, misty mountains over still water, soft grain. Dusk at the end
   turns lavender-rose instead of purple-orange.
   Remove this file + its <link> to go back to the old sky.
   ========================================================================== */
.philo-stage { background: #d8ccbb; }

/* dawn air: dusty lavender into golden haze */
.philo-sky--a { background: linear-gradient(180deg, #9a95a0 0%, #c4b5aa 38%, #e7cfaa 72%, #f2ddb6 100%); }
/* noon: almost white cream */
.philo-day { background: linear-gradient(180deg, #ede4d4 0%, #f6ecd6 60%, #f8efd9 100%); opacity: calc(var(--day) * .78); }
/* dusk/night: soft violet-blue to rose, never black */
.philo-sky--b { background: linear-gradient(180deg, #2f2d3d 0%, #57495f 42%, #9c7c80 78%, #c39b8c 100%); }
.philo-stars { opacity: clamp(0, calc((var(--p) - .7) * 3), .7); }

/* light around the sun + a 22° halo ring in pastel rainbow (like the photo) */
.philo-glow {
  background:
    radial-gradient(circle at var(--sxp) var(--gy), rgba(255, 252, 240, .95) 0%, rgba(255, 240, 205, .55) 7%, rgba(255, 230, 190, .18) 16%, transparent 30%),
    radial-gradient(circle at var(--sxp) var(--gy),
      transparent 0, transparent 17.2%,
      rgba(255, 196, 150, .30) 18.2%, rgba(255, 232, 170, .30) 19.2%,
      rgba(206, 232, 196, .26) 20.2%, rgba(176, 208, 236, .30) 21.2%,
      rgba(200, 188, 232, .18) 22.2%, transparent 23.6%);
}
/* the sun: white-gold light with no hard edge */
.philo-sun {
  width: 13vmin; height: 13vmin;
  background: radial-gradient(circle, #fffef9 0%, #fff7e2 38%, rgba(255, 240, 205, .55) 62%, rgba(255, 236, 196, 0) 74%) !important;
  box-shadow: 0 0 90px 40px rgba(255, 248, 228, .6), 0 0 260px 120px rgba(255, 236, 200, .28);
}
.philo-sun::after { display: none; }

/* misty mountains over still water instead of the dune photo */
.philo-dunes {
  height: 40%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23a8abb8'/%3E%3Cstop offset='1' stop-color='%23cbc3bf'/%3E%3C/linearGradient%3E%3ClinearGradient id='n' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%237c7887'/%3E%3Cstop offset='1' stop-color='%239d938f'/%3E%3C/linearGradient%3E%3ClinearGradient id='w' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23d9ccb8'/%3E%3Cstop offset='1' stop-color='%23998f92'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 300 L380 270 C520 250 600 150 700 70 C730 50 770 50 800 72 C900 150 980 250 1120 268 L1440 286 V400 H0Z' fill='url(%23f)' opacity='.82'/%3E%3Cpath d='M0 318 C160 292 300 300 430 306 C560 312 640 284 760 290 C900 298 1020 310 1160 300 C1280 292 1360 300 1440 306 V400 H0Z' fill='url(%23n)' opacity='.9'/%3E%3Crect y='322' width='1440' height='78' fill='url(%23w)'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  filter: none;
}
/* mountains go darker at dawn and dusk, glow pale at noon */
.philo-dunes::after { background: #3a3444; opacity: calc(.42 - var(--day) * .38); }
/* a line of light on the water under the sun */
.philo-dunes-shade {
  height: 22%;
  background:
    radial-gradient(18% 30% at var(--sxp) 18%, rgba(255, 250, 236, .75), rgba(255, 240, 210, .25) 45%, transparent 75%),
    linear-gradient(to top, rgba(40, 34, 44, .45), transparent 80%);
}

/* paper grain so it feels printed, like the opening */
.philo-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image: var(--grain); background-size: 180px 180px; opacity: .3; mix-blend-mode: multiply;
}

/* words: white, held by a soft warm shadow so they read on the light sky */
.philo-copy::before { background: radial-gradient(closest-side, rgba(60, 44, 36, .34), rgba(60, 44, 36, 0)); }
.philo-copy .s-eyebrow, .beat-k { color: #fff3dc; text-shadow: 0 1px 14px rgba(50, 36, 30, .55); }
.philo-title { color: #fff; text-shadow: 0 2px 30px rgba(50, 36, 30, .45); }
.beat-t, .philo-statement p { color: #fff; text-shadow: 0 2px 26px rgba(50, 36, 30, .55); }
.philo-dots i { border-color: rgba(255, 255, 255, .8); }
.philo-dots i.on { background: #fff; border-color: #fff; }

/* title (2026-11-15): smaller, size play — "THE SUN, THE SOURCE," spaced capitals + "within you" italic */
.philo-title {
  font: 400 clamp(.95rem, 1.6vw, 1.35rem)/1.6 var(--display) !important;
  letter-spacing: .42em; text-transform: uppercase; color: #fff;
}
.philo-title .key {
  display: block; margin-top: .15em;
  font: italic 400 clamp(2.4rem, 4.6vw, 4.2rem)/1.05 var(--quote) !important;
  letter-spacing: 0; text-transform: none; color: #fff !important;
  background: none !important; -webkit-text-fill-color: #fff;
}
.philo-title .key::before, .philo-title .key::after { content: none !important; }
