/* lacquer — the first polish, installed in sky 2 on 17 September 2026 on the builder's word ("just implement this version, aka the first
   polish, not the later one, to sky 2"). It is the colour scheme of docs/design/sky2-lacquer-20260917 at its first pass, written against
   sky 2's own ground rules: black lacquer under everything; the navy and violet hazes at each family's opening replaced by one light of the
   family's own hue beside its artwork (the ember of the puppets' lamps for the Chinese family, ultramarine for the Sun, copper for
   Numerology); the stories on warm graphite; the Sun's four elements on their ultramarine field; the close of the page on lacquer; the
   hero's own lighter sky kept, its mauve cooled one step. Nothing later than the first pass is here: the numbers stay as sky 2 draws them.
   Loaded last; removing this stylesheet's link restores sky 2 exactly. */
:root{--page:#02040a;--lacquer:#04060b;--ember:#c0782a;--ultramarine:#2f5aa0;--copper:#b5654a}
#main{overflow-x:clip}

/* the hero keeps the builder's lighter cloudy sky; the mauve at the horizon cools a step toward the night, the warm horizon light stays */
.sky{background:
  radial-gradient(75% 46% at 50% 103%, #5c5680 0%, #3e4068 26%, #262a4d 52%, transparent 78%),
  radial-gradient(120% 96% at 50% -6%, #3a4a7c 0%, #2a3768 34%, #1a2447 62%, #0d1329 88%, #070b1a 100%)}

/* the family lights replace the navy and violet hazes at each opening */
#chinese.family::before{height:760px;opacity:1;background:
  radial-gradient(58% 66% at 78% 28%, #b4762e24, transparent 62%),
  radial-gradient(46% 50% at 8% 92%, #3a281218, transparent 60%)}
#sun.family::before{height:760px;opacity:1;background:
  radial-gradient(55% 60% at 17% 36%, #2f5aa042, transparent 54%)}
#numerology.family::before{height:760px;opacity:1;background:
  radial-gradient(50% 60% at 2% 40%, #b5654a44, transparent 60%),
  radial-gradient(60% 70% at 46% 42%, #2a1a2e5a, transparent 66%)}

/* the stories: warm graphite, the light at the header where the three small puppets sit */
#reads{position:relative;isolation:isolate}
#reads::before{content:"";position:absolute;inset:0 calc((100% - 100vw) / 2);z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 520px 480px at 8% 400px, #8a6a3a26, transparent 70%), linear-gradient(90deg,#0d0c0b,#0a0a0c 40%,#080a0f);
  -webkit-mask-image:linear-gradient(transparent,#000 240px,#000 calc(100% - 240px),transparent);mask-image:linear-gradient(transparent,#000 240px,#000 calc(100% - 240px),transparent)}
#reads .read-story p{color:#cfcabf}
#reads .read-story .read-src{color:#a9a89e}
#reads .read-record li{color:#b8b4a8}

/* the Sun's four elements: the ultramarine field */
#sun-elements{position:relative;isolation:isolate}
#sun-elements::before{content:"";position:absolute;inset:-140px calc((100% - 100vw) / 2) -80px;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse max(360px,65vw) 620px at 50% 55%, #1e3f7a72, transparent 70%), linear-gradient(#0e1d38,#0b1830);
  -webkit-mask-image:linear-gradient(transparent,#000 280px,#000 calc(100% - 220px),transparent);mask-image:linear-gradient(transparent,#000 280px,#000 calc(100% - 220px),transparent)}
#sun .element-gallery .pcard-light{background:#0a1424}
#sun .family-words .lede{color:#c6cbd4}

/* Numerology: the copper light on the study and the discoveries, on lacquer; the numbers stay as sky 2 draws them */
#eight-study{position:relative;isolation:isolate}
#eight-study::before{content:"";position:absolute;inset:0 calc((100% - 100vw) / 2);z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 720px 580px at 12% 50%, #9a5a3a30, transparent 70%)}
#number-discoveries{position:relative;isolation:isolate}
#number-discoveries::before{content:"";position:absolute;inset:0 calc((100% - 100vw) / 2);z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 620px 410px at 0% 40%, #8f5a4022, transparent 70%)}
#numerology .number-portrait span{color:#cfa87c}

/* the close of the page: lacquer, the sky's violet at the very bottom kept as a deeper echo of the hero */
.bounds-section::before{background:radial-gradient(60% 100% at 50% 0%, #17151c 0%, #0a0a10 42%, transparent 76%)}
.closing{background:radial-gradient(70% 120% at 50% 100%, #2a2036 0%, #141224 40%, #04060c 78%)}

@media (max-width:540px){
  #sun-elements::before{inset:-80px calc((100% - 100vw) / 2) -40px}
}
