/* Nexxen v4 "Liquid Gold" — shared system: tokens, type, nav + menu card, pills, letter-roll, reveals, chips, lightbox,
   M7 veil, cursor, footer, sticky scenes, no-GL fallbacks. Pages add their own sheet (home.css, apps.css …). */

@font-face { font-family: "Mona Sans"; src: url("../fonts/mona-sans-var-latin.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --pearl: #F1F1F6; --pearl-2: #E7E6EE; --pearl-3: #FFFFFF;
  --obs: #050506; --obs-2: #0E0D11; --obs-3: #17161B;
  --ink: #0B0B10; --ink-2: #4F4E5C; --ink-3: #75747F;
  --cream: #F4F1EA; --cream-2: #ABA69C;
  --g1: #FAD042; --g2: #E8A52C; --g3: #B1771E; --gdeep: #8E5A0E;
  --gold-grad: linear-gradient(100deg, #FFE9A6 0%, #FAD042 28%, #E8A52C 60%, #B1771E 100%);
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r-s: 14px; --r-m: 22px; --r-l: 32px;
  --pad: clamp(16px, 4vw, 48px);
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "Mona Sans", ui-sans-serif, system-ui, sans-serif; /* numerals: tabular Mona (no extra font download) */
  /* theme vars (Pearl default) */
  --bg: var(--pearl); --fg: var(--ink); --fg-2: var(--ink-2); --line: rgba(11, 11, 16, .12); --card: #FFFFFF; --card-line: rgba(11, 11, 16, .08);
  color-scheme: light;
}
.t-pearl { --bg: var(--pearl); --fg: var(--ink); --fg-2: var(--ink-2); --line: rgba(11, 11, 16, .12); --card: #FFFFFF; --card-line: rgba(11, 11, 16, .08); color: var(--fg); }
.t-obs { --bg: var(--obs); --fg: var(--cream); --fg-2: var(--cream-2); --line: rgba(255, 255, 255, .12); --card: #111015; --card-line: rgba(255, 255, 255, .09); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--pearl); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; font-weight: 420;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: normal; overflow-x: clip; }
.has-gl body { background: transparent; }
/* theme hook: <body data-bg="obs"> pages are dark from the first paint and stay dark under the GL canvas (never flash Pearl) */
body[data-bg="obs"], html.has-gl body[data-bg="obs"] { background: var(--obs); color: var(--cream); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.nt { text-transform: none; }

/* the one WebGL canvas: the living page background (100lvh so phone URL-bar moves never resize it) */
canvas.gl { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; display: block; }
main, .foot { position: relative; z-index: 1; }

/* ------------------------------------------------ type */
.label { font-size: 11px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; font-stretch: 108%; color: var(--fg-2); }
.h-sec { font-size: clamp(34px, 5.2vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--fg-2); letter-spacing: -.01em; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-pearl .gold-text { background: linear-gradient(100deg, #D9A23A 0%, #B1771E 55%, #8E5A0E 100%); -webkit-background-clip: text; background-clip: text; }
.credit { font-size: 10.5px; letter-spacing: .04em; color: var(--fg-2); opacity: .85; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--pad); margin-bottom: clamp(28px, 5vw, 64px); }
.sec-head--c { justify-content: center; text-align: center; }

/* ------------------------------------------------ pills + round buttons (Lusion) */
.pill { --pbg: #fff; --pfg: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px;
  background: var(--pbg); color: var(--pfg); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-stretch: 108%; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .4s, color .4s, box-shadow .4s; isolation: isolate; }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(.97); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; transition: transform .5s var(--ease); }
.pill:hover .pill__dot { transform: scale(1.5); }
.pill__dots { display: inline-flex; gap: 3px; } .pill__dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill--dark { --pbg: var(--ink); --pfg: #fff; }
.pill--light { --pbg: #fff; --pfg: var(--ink); }
.pill--gold { --pbg: var(--g1); --pfg: #1a1205; background: linear-gradient(100deg, #FFE08A, #FAD042 40%, #E8A52C); box-shadow: 0 6px 24px -10px rgba(232, 165, 44, .7); }
.pill--line { --pbg: transparent; --pfg: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.pill--xl { height: 54px; padding: 0 24px 0 28px; font-size: 13px; }
.btn-round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .5s var(--ease); }
.btn-round:hover { transform: scale(1.06); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .9); color: var(--ink); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-grad); }
.chip--glass { background: rgba(10, 10, 12, .55); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.t-pearl .chip--glass { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--card-line); }

/* ------------------------------------------------ letter roll */
[data-roll] { display: inline-block; }
.roll { display: inline-flex; overflow: hidden; vertical-align: top; }
.roll .ch { display: inline-flex; flex-direction: column; height: 1.15em; line-height: 1.15em; overflow: hidden; }
.roll .ch > span { display: block; transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 18ms); }
[data-roll-host]:hover .roll .ch > span, [data-roll-host]:focus-visible .roll .ch > span, [data-roll-host].rolled .roll .ch > span { transform: translateY(-100%); }

/* ------------------------------------------------ reveals */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------ nav (solid pills — never backdrop-filter over WebGL) */
.nav { position: fixed; z-index: 40; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 12px; padding: 16px var(--pad);
  transition: transform .6s var(--ease); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translate3d(0, -120%, 0); }
.nav__brand { display: block; width: 132px; flex: none; }
.nav__brand img { width: 100%; height: auto; }
.nav__pills { margin-left: auto; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 rgba(11, 11, 16, .04), 0 10px 30px -18px rgba(11, 11, 16, .4); transition: background-color .5s; }
.nav__pills > * { height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-stretch: 106%; color: var(--ink); transition: background-color .3s, color .3s; }
.nav__pills > *:hover { background: rgba(11, 11, 16, .06); }
.nav__actions { display: flex; gap: 8px; align-items: center; }
.pill--menu { display: none; --pbg: #fff; }
.nav.is-dark .nav__pills { background: rgba(22, 21, 26, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.nav.is-dark .nav__pills > * { color: var(--cream); }
.nav.is-dark .nav__pills > *:hover { background: rgba(255, 255, 255, .08); }
.nav.is-dark .pill--menu { --pbg: #1a191e; --pfg: var(--cream); }
.nav.is-dark .nav__brand img { filter: drop-shadow(0 0 18px rgba(0, 0, 0, .5)); }
/* current page: a small gold dot in its nav pill + gold in the menu card */
.nav__pills > [aria-current="page"] { background: rgba(11, 11, 16, .06); }
.nav__pills > [aria-current="page"]::before { content: ""; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 8px rgba(250, 208, 66, .8); flex: none; }
.nav.is-dark .nav__pills > [aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--g1); }
.menu__links a[aria-current="page"] { color: var(--g3); }

.menu { position: fixed; top: 72px; right: var(--pad); width: min(720px, calc(100vw - 2 * var(--pad))); z-index: 45; display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px;
  padding: 28px; border-radius: var(--r-l); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(11, 11, 16, .45), 0 0 0 1px rgba(11, 11, 16, .05);
  transform-origin: top right; animation: menuIn .55s var(--ease); }
.menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
.menu__links a { display: block; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.04em; font-weight: 500; }
.menu__links li { opacity: 0; animation: menuItem .6s var(--ease) forwards; }
.menu__links li:nth-child(2) { animation-delay: .04s; } .menu__links li:nth-child(3) { animation-delay: .08s; } .menu__links li:nth-child(4) { animation-delay: .12s; } .menu__links li:nth-child(5) { animation-delay: .16s; }
@keyframes menuItem { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.menu__side .label { color: var(--ink-3); margin-bottom: 10px; }
.menu__div { display: grid; gap: 2px; }
.menu__div a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 12px; margin: 0 -12px; border-radius: 12px; transition: background-color .3s; }
.menu__div a:hover { background: var(--pearl); }
.menu__div b { font-weight: 560; font-size: 15px; letter-spacing: -.01em; }
.menu__div span { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
.menu__foot { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.calm-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.calm-toggle i { width: 30px; height: 18px; border-radius: 999px; background: rgba(11, 11, 16, .14); position: relative; transition: background-color .3s; }
.calm-toggle i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.calm-toggle[aria-pressed="true"] i { background: var(--g2); }
.calm-toggle[aria-pressed="true"] i::after { transform: translateX(12px); }

@media (max-width: 980px) {
  .nav__pills { display: none; }
  .pill--menu { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  .menu { grid-template-columns: 1fr; top: 66px; max-height: calc(100svh - 84px); overflow: auto; padding: 22px; gap: 18px; }
}
@media (max-width: 520px) {
  .nav { padding: 12px 16px; }
  .nav__brand { width: 108px; }
  .nav__audit { height: 36px; padding: 0 12px 0 14px; font-size: 11px; }
  .pill--menu { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .pill--menu .pill__label { display: none; }
  .menu { left: 12px; right: 12px; width: auto; }
}

/* ------------------------------------------------ sticky scenes (pin lengths are per-section vars; phones ≈ 60 %) */
.scene { position: relative; height: var(--len, 300vh); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ------------------------------------------------ M7 veil (liquid gold page transition) */
.veil { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; overflow: hidden; }
.veil.on { visibility: visible; pointer-events: auto; }
.veil i { position: absolute; width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFE9A6 0%, #FAD042 22%, #E8A52C 46%, #B1771E 70%); transform: scale(0); transition: transform .62s var(--ease-io); }
.veil i:nth-child(2) { width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; transition-delay: .05s; }
.veil i:nth-child(3) { width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; transition-delay: .1s; }
.veil i:nth-child(4) { width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; transition-delay: .07s; }
.veil i:nth-child(5) { width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; transition-delay: .12s; }
.veil img { position: absolute; left: 50%; top: 50%; width: 220px; height: auto; transform: translate(-50%, -50%) scale(.9); opacity: 0; transition: opacity .4s, transform .8s var(--ease); filter: brightness(.25) contrast(1.4); mix-blend-mode: multiply; }
.veil.flood i, .veil.still i { transform: scale(1); }
.veil.flood img, .veil.still img { opacity: .9; transform: translate(-50%, -50%) scale(1); transition-delay: .25s; }
.veil.still i, .veil.still img { transition: none; }
.veil.recede i { transform: scale(0); transition-duration: .8s; transition-timing-function: cubic-bezier(.7, 0, .2, 1); }
.veil.recede i:nth-child(1) { transition-delay: .12s; }
.veil.recede img { opacity: 0; transition-delay: 0s; }
html.veil-in:not(.ld-flash):not(.ld-full)::after { /* pages with the landing: its beam flash is the incoming veil */ content: ""; position: fixed; inset: 0; z-index: 89; background: radial-gradient(circle, #FFE9A6, #FAD042 30%, #E8A52C 60%, #B1771E); }

/* ------------------------------------------------ cursor (fine pointers) */
.cursor { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor span { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--g2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); transition: transform .45s var(--ease), background-color .3s; }
.cursor.link span { transform: scale(2.6); background: rgba(232, 165, 44, .35); }
.cursor.drag span { transform: scale(4.2); background: rgba(250, 208, 66, .22); box-shadow: inset 0 0 0 .5px rgba(250, 208, 66, .9); }

/* ------------------------------------------------ lightbox */
.lb { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb__scrim { position: absolute; inset: 0; background: rgba(5, 5, 6, .86); animation: fadeIn .4s; }
.lb__panel { position: relative; width: min(1200px, 100%); display: grid; gap: 14px; animation: lbIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } } @keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lb__player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000 center / cover no-repeat; }
.lb__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.lb__credit { position: absolute; left: 14px; bottom: 12px; color: #fff; pointer-events: none; }
.lb__info { color: var(--cream); }
.lb__close { position: absolute; right: -6px; top: -54px; }
/* no scroll lock: toggling root overflow relayouts the whole long page; the lightbox closes itself on scroll instead */
.lb { contain: layout paint; }

/* ------------------------------------------------ footer */
.foot { padding: clamp(56px, 8vw, 110px) var(--pad) 28px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); font-size: 14px; }
.foot__brand img { width: 150px; height: auto; margin-bottom: 14px; }
.foot__grid .label { margin-bottom: 12px; }
.foot__list li + li { margin-top: 4px; }
.foot__muted { color: var(--fg-2); }
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.ul:hover { background-size: 100% 1px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; font-size: 12px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ no-GL fallback: sections paint their own theme */
.no-gl .t-pearl, .no-js .t-pearl { background: var(--pearl); }
.no-gl .t-obs, .no-js .t-obs { background: var(--obs); }
.fallback-img { display: none; }
.no-gl .fallback-img { display: block; }

/* ------------------------------------------------ slow line: a static stand-in for the page's WebGL opening (round 4b)
   html.gl-wait (landing.js): the visitor went in before three.js / the page's first GL frame arrived. Pure CSS + one inline
   SVG (no request), and STATIC: no infinite animation (looping full-viewport layers made headless Chrome's compositor
   tile-glitch on desktop now and then). It sits above the GL canvas and cross-fades away on gl-ready (or no-gl); gl-wait
   leaves 1.4 s later.
   ride (home, apps frame): the golden thread rising through gold dust towards its light · neb (about): the gold-dust nebula */
.gl-fb { display: none; }
html.gl-wait .gl-fb { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; animation: fbIn .8s; transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1); }
html.gl-wait.gl-ready .gl-fb, html.gl-wait.no-gl .gl-fb { opacity: 0; }
@keyframes fbIn { from { opacity: 0; } }
.gl-fb--ride { background: radial-gradient(9px 9px at 57% 35%, #FFF6D8, rgba(255, 233, 166, 0)), radial-gradient(34% 27% at 57% 35%, rgba(255, 222, 140, .36), rgba(250, 190, 90, .1) 45%, rgba(250, 190, 90, 0) 72%),
  radial-gradient(ellipse 95% 80% at 52% 58%, #2A2318, #141217 58%, #09090B); }
/* no CSS filter on the full-viewport SVG: a drop-shadow there made headless Chrome's compositor tile-glitch on desktop */
.gl-fb--ride svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gl-fb__glow { stroke-width: 9px; opacity: .2; }
.gl-fb__core { stroke-width: 2.2px; }
.gl-fb::before, .gl-fb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 0; background-repeat: repeat; }
.gl-fb--ride::before { background-size: 300px 300px; opacity: .6;
  background-image: radial-gradient(circle at 12% 18%, #FFE9A6 0 1.3px, rgba(255, 233, 166, 0) 2px), radial-gradient(circle at 37% 62%, #FAD042 0 1px, rgba(250, 208, 66, 0) 1.7px),
    radial-gradient(circle at 71% 27%, #FFF3D0 0 1.5px, rgba(255, 243, 208, 0) 2.2px), radial-gradient(circle at 88% 74%, #FAD042 0 1.1px, rgba(250, 208, 66, 0) 1.8px),
    radial-gradient(circle at 55% 91%, #FFE9A6 0 .9px, rgba(255, 233, 166, 0) 1.6px), radial-gradient(circle at 24% 84%, #E8A52C 0 1.2px, rgba(232, 165, 44, 0) 1.9px),
    radial-gradient(circle at 63% 46%, #FFFFFF 0 .8px, rgba(255, 255, 255, 0) 1.5px); }
.gl-fb--ride::after { background-size: 190px 190px; opacity: .32;
  background-image: radial-gradient(circle at 20% 40%, #FAD042 0 .8px, rgba(250, 208, 66, 0) 1.4px), radial-gradient(circle at 66% 12%, #FFE9A6 0 .9px, rgba(255, 233, 166, 0) 1.5px),
    radial-gradient(circle at 82% 58%, #E8A52C 0 .8px, rgba(232, 165, 44, 0) 1.4px), radial-gradient(circle at 44% 80%, #FFF3D0 0 .7px, rgba(255, 243, 208, 0) 1.3px); }
.gl-fb--neb { background: radial-gradient(21% 12% at 50% 27%, rgba(255, 226, 150, .4), rgba(255, 226, 150, 0) 70%), radial-gradient(15% 10% at 39% 31%, rgba(250, 196, 90, .28), rgba(250, 196, 90, 0) 70%),
  radial-gradient(16% 9% at 62% 23%, rgba(255, 214, 120, .26), rgba(255, 214, 120, 0) 70%), radial-gradient(50% 32% at 50% 28%, rgba(150, 96, 30, .3), rgba(150, 96, 30, 0) 75%); }
.gl-fb--neb::before, .gl-fb--neb::after { -webkit-mask-image: radial-gradient(36% 21% at 50% 28%, #000 20%, rgba(0, 0, 0, 0) 100%); mask-image: radial-gradient(36% 21% at 50% 28%, #000 20%, rgba(0, 0, 0, 0) 100%);
  background-image: radial-gradient(circle at 12% 18%, #FFE9A6 0 1.2px, rgba(255, 233, 166, 0) 1.9px), radial-gradient(circle at 37% 62%, #FAD042 0 1px, rgba(250, 208, 66, 0) 1.6px),
    radial-gradient(circle at 71% 27%, #FFF3D0 0 1.3px, rgba(255, 243, 208, 0) 2px), radial-gradient(circle at 88% 74%, #FAD042 0 1px, rgba(250, 208, 66, 0) 1.6px),
    radial-gradient(circle at 55% 91%, #FFE9A6 0 .8px, rgba(255, 233, 166, 0) 1.4px), radial-gradient(circle at 24% 84%, #E8A52C 0 1.1px, rgba(232, 165, 44, 0) 1.7px); }
.gl-fb--neb::before { background-size: 46px 46px; }
.gl-fb--neb::after { background-size: 29px 31px; opacity: .55; }
@media (max-aspect-ratio: 1/1) { /* portrait: the GL nebula spreads across the width */
  .gl-fb--neb { background: radial-gradient(44% 9% at 50% 31%, rgba(255, 226, 150, .36), rgba(255, 226, 150, 0) 70%), radial-gradient(30% 7% at 30% 35%, rgba(250, 196, 90, .26), rgba(250, 196, 90, 0) 70%),
    radial-gradient(30% 6% at 72% 28%, rgba(255, 214, 120, .24), rgba(255, 214, 120, 0) 70%), radial-gradient(70% 20% at 50% 32%, rgba(150, 96, 30, .3), rgba(150, 96, 30, 0) 75%); }
  .gl-fb--neb::before, .gl-fb--neb::after { -webkit-mask-image: radial-gradient(52% 15% at 50% 31%, #000 20%, rgba(0, 0, 0, 0) 100%); mask-image: radial-gradient(52% 15% at 50% 31%, #000 20%, rgba(0, 0, 0, 0) 100%); }
}
