/* ==========================================================================
   GOLDEN DUST · SOLAR ESSENCE (2026-11-14)
   A style layer on top of the page: Cinzel lettering like the MΛRSSEIΛ logo,
   golden-dust grain, sun glows, warm gradients and textures from Marss's own
   photos (golden sand under water, golden peaks). Remove this file + its <link>
   to go back to the previous look.
   ========================================================================== */
@font-face { font-family: "Cinzel"; src: url("../assets/fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  --display: "Cinzel", "Marcellus", Georgia, serif;   /* titles: like the logo */
  --quote:   "Marcellus", "Cormorant Garamond", Georgia, serif; /* long sentences stay readable */
  --dust: #e9c37a;
  /* fine film grain, drawn once */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .78 0 0 0 0 .45 0 0 0 1.4 -.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* golden dust: scattered specks of light */
  --specks:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 226, 160, .95), transparent 70%),
    radial-gradient(1px 1px at 33% 72%, rgba(255, 214, 140, .8), transparent 70%),
    radial-gradient(1.6px 1.6px at 58% 34%, rgba(255, 236, 190, .9), transparent 70%),
    radial-gradient(1px 1px at 77% 81%, rgba(255, 200, 120, .75), transparent 70%),
    radial-gradient(1.3px 1.3px at 89% 12%, rgba(255, 230, 170, .85), transparent 70%),
    radial-gradient(.9px .9px at 46% 52%, rgba(255, 220, 150, .7), transparent 70%),
    radial-gradient(1.1px 1.1px at 6% 88%, rgba(255, 224, 160, .8), transparent 70%),
    radial-gradient(1.4px 1.4px at 68% 6%, rgba(255, 240, 200, .85), transparent 70%);
}

/* ── lettering ───────────────────────────────────────────── */
.wordmark { font-size: clamp(3rem, 15.5vw, 7.4rem); letter-spacing: .26em; padding-left: .26em; font-weight: 400; }
.display { letter-spacing: .1em; font-weight: 400; line-height: 1.14; }
.display--hero { font-size: clamp(1.7rem, 8.4vw, 3.6rem); }
.statement__lines { font-family: var(--display); letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; font-size: clamp(1.55rem, 6.8vw, 3rem); }
.s-title { letter-spacing: .12em; font-weight: 400; }
.nav__mark, .foot__mark, .app__word { letter-spacing: .34em; }
/* long sentences keep the softer serif */
.beat-t, .philo-statement p, .ro-line, .portal-sub, .hero__line, .arrives__sub { font-family: var(--quote); }
/* gold words get a slow shimmer, like dust catching light */
.key, .s-title em, .codes-mega em {
  background: linear-gradient(100deg, #c99a4a 0%, #ffe7b0 28%, #e2b25e 46%, #fff3d2 60%, #c99a4a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gd-shimmer 7s ease-in-out infinite;
}
.key::before, .key::after { color: var(--dust); -webkit-text-fill-color: var(--dust); }
@keyframes gd-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ── grain over the whole page (static: no cost while scrolling) ── */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: var(--grain); background-size: 220px 220px;
  opacity: .16; mix-blend-mode: soft-light;
}

/* ── shared golden-dust layer for the sections below ── */
.statement::after, .work::after, .yt::after, .circle::after, .s-pieces::after, .app::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--specks); background-size: 260px 260px;
  opacity: .55; animation: gd-drift 60s linear infinite;
}
@keyframes gd-drift { from { background-position: 0 0; } to { background-position: 260px -520px; } }

/* ── backgrounds ──────────────────────────────────────────── */
/* The app: a warm sun breathing behind the flower of life */
.app {
  background:
    radial-gradient(60% 42% at 50% 46%, rgba(231, 160, 70, .22), transparent 70%),
    linear-gradient(180deg, var(--bg) 0, #1d1016 48%, var(--bg) 100%);
}

/* What is SOLAR: golden sand under water (Marss's photo), warmed and darkened */
.statement {
  background:
    linear-gradient(180deg, rgba(19, 15, 23, .94) 0%, rgba(40, 22, 16, .62) 40%, rgba(40, 22, 16, .62) 60%, rgba(19, 15, 23, .96) 100%),
    linear-gradient(0deg, rgba(196, 120, 40, .32), rgba(196, 120, 40, .32)),
    url("../assets/img/tex/golden-sand.jpg") center / cover no-repeat;
  background-blend-mode: normal, color, normal;
}

/* Create with me: liquid gold gradient, like light melting */
.work {
  background:
    radial-gradient(80% 50% at 85% 10%, rgba(226, 150, 60, .28), transparent 65%),
    radial-gradient(70% 45% at 10% 90%, rgba(150, 60, 40, .32), transparent 65%),
    linear-gradient(180deg, #130f17 0%, #22130f 50%, #130f17 100%);
}

/* YouTube: a sunset band */
.yt {
  background:
    radial-gradient(90% 40% at 50% 34%, rgba(240, 150, 60, .34), transparent 70%),
    linear-gradient(180deg, #160f1a 0%, #3a1a1d 40%, #5a2a1c 62%, #160f1a 100%);
}

/* Solar pieces: golden peaks at dusk (Marss's photo) */
.s-pieces {
  position: relative; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(19, 15, 23, .97) 0%, rgba(19, 15, 23, .7) 45%, rgba(19, 15, 23, .97) 100%),
    url("../assets/img/tex/gold-peaks.jpg") center / cover no-repeat;
}

/* Solar Circle: the sun's surface rising at the bottom */
.circle {
  background:
    radial-gradient(120% 60% at 50% 118%, #ffcf7a 0%, #f19a3e 18%, #b8492a 36%, rgba(90, 30, 30, .0) 62%),
    linear-gradient(180deg, var(--deep) 0, #26141b 45%, #3d1c1f 100%);
}
.circle::before {
  content: ""; position: absolute; left: 50%; bottom: -55vw; width: 130vw; height: 130vw; max-width: 1400px; max-height: 1400px;
  transform: translateX(-50%); border-radius: 50%; z-index: 0; pointer-events: none;
  background-image: var(--grain); background-size: 160px 160px; opacity: .5; mix-blend-mode: overlay;
  -webkit-mask: radial-gradient(closest-side, #000 60%, transparent); mask: radial-gradient(closest-side, #000 60%, transparent);
}

/* keep content above the layers */
.statement > *, .work > *, .yt > *, .circle > *, .s-pieces > *, .app > * { position: relative; z-index: 2; }
.statement > .melt, .work > .melt, .yt > .melt, .circle > .melt, .s-pieces > .melt, .app > .melt { position: absolute; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .key, .s-title em, .codes-mega em, .statement::after, .work::after, .yt::after, .circle::after, .s-pieces::after, .app::after { animation: none; }
}

/* ── round 2: more visible golden dust, warmer textures (2026-11-14) ── */
:root {
  --specks:
    radial-gradient(2px 2px at 12% 18%, rgba(255, 226, 160, 1), transparent 70%),
    radial-gradient(1.4px 1.4px at 33% 72%, rgba(255, 214, 140, .9), transparent 70%),
    radial-gradient(2.4px 2.4px at 58% 34%, rgba(255, 236, 190, 1), transparent 70%),
    radial-gradient(1.5px 1.5px at 77% 81%, rgba(255, 200, 120, .9), transparent 70%),
    radial-gradient(2px 2px at 89% 12%, rgba(255, 230, 170, .95), transparent 70%),
    radial-gradient(1.2px 1.2px at 46% 52%, rgba(255, 220, 150, .85), transparent 70%),
    radial-gradient(1.6px 1.6px at 6% 88%, rgba(255, 224, 160, .9), transparent 70%),
    radial-gradient(2.2px 2.2px at 68% 6%, rgba(255, 240, 200, .95), transparent 70%),
    radial-gradient(1.2px 1.2px at 24% 40%, rgba(255, 210, 140, .8), transparent 70%),
    radial-gradient(1.8px 1.8px at 93% 58%, rgba(255, 228, 170, .9), transparent 70%),
    radial-gradient(14px 14px at 20% 64%, rgba(255, 205, 120, .18), transparent 70%),
    radial-gradient(20px 20px at 74% 28%, rgba(255, 215, 140, .14), transparent 70%);
}
.statement::after, .work::after, .yt::after, .circle::after, .s-pieces::after, .app::after {
  opacity: .9; background-size: 220px 220px; filter: drop-shadow(0 0 3px rgba(255, 200, 110, .8));
}
@keyframes gd-drift { from { background-position: 0 0; } to { background-position: 220px -440px; } }

.statement {
  background:
    linear-gradient(180deg, rgba(19, 15, 23, .92) 0%, rgba(60, 34, 12, .35) 35%, rgba(60, 34, 12, .35) 65%, rgba(19, 15, 23, .95) 100%),
    linear-gradient(0deg, rgba(214, 152, 52, .55), rgba(214, 152, 52, .55)),
    url("../assets/img/tex/golden-sand.jpg") center / cover no-repeat;
  background-blend-mode: normal, color, normal;
}
.s-pieces {
  background:
    linear-gradient(180deg, rgba(19, 15, 23, .95) 0%, rgba(19, 15, 23, .35) 45%, rgba(19, 15, 23, .95) 100%),
    url("../assets/img/tex/gold-peaks.jpg") center / cover no-repeat;
}
.circle {
  background:
    radial-gradient(110% 46% at 50% 112%, #ffe2a0 0%, #f6b04e 16%, #d9672c 32%, rgba(120, 40, 30, .45) 52%, transparent 70%),
    linear-gradient(180deg, var(--deep) 0, #26141b 45%, #3d1c1f 100%);
}
/* round 2b: text stays readable over the sand; no big repeating glows */
.statement {
  background:
    linear-gradient(180deg, rgba(19, 15, 23, .92) 0%, rgba(40, 24, 10, .55) 35%, rgba(40, 24, 10, .62) 65%, rgba(19, 15, 23, .95) 100%),
    linear-gradient(0deg, rgba(214, 152, 52, .55), rgba(214, 152, 52, .55)),
    url("../assets/img/tex/golden-sand.jpg") center / cover no-repeat;
  background-blend-mode: normal, color, normal;
}
.statement__body p { text-shadow: 0 1px 12px rgba(10, 6, 4, .85); color: rgba(246, 239, 226, .9); }
.statement::after, .work::after, .yt::after, .circle::after, .s-pieces::after, .app::after {
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(255, 226, 160, 1), transparent 70%),
    radial-gradient(1.4px 1.4px at 33% 72%, rgba(255, 214, 140, .9), transparent 70%),
    radial-gradient(2.4px 2.4px at 58% 34%, rgba(255, 236, 190, 1), transparent 70%),
    radial-gradient(1.5px 1.5px at 77% 81%, rgba(255, 200, 120, .9), transparent 70%),
    radial-gradient(2px 2px at 89% 12%, rgba(255, 230, 170, .95), transparent 70%),
    radial-gradient(1.2px 1.2px at 46% 52%, rgba(255, 220, 150, .85), transparent 70%),
    radial-gradient(1.6px 1.6px at 6% 88%, rgba(255, 224, 160, .9), transparent 70%),
    radial-gradient(2.2px 2.2px at 68% 6%, rgba(255, 240, 200, .95), transparent 70%),
    radial-gradient(1.2px 1.2px at 24% 40%, rgba(255, 210, 140, .8), transparent 70%),
    radial-gradient(1.8px 1.8px at 93% 58%, rgba(255, 228, 170, .9), transparent 70%);
}
