/* ==========================================================================
   SOLAR WORLD · the motion pieces brought over from marsseia.com/solar (2026-11-11)
   The sun that crosses the sky, Light Codes, Transmissions and the closing portal.
   Copied from site/solar/solar.css; everything is scoped to .s-* classes so it does
   not touch css/style.css. Behaviour lives in js/solar-world.js.
   ========================================================================== */
:root {
  --font-display: var(--display);
  --sand: var(--ivory);
  --ink: #2A1A26;
  --sand-l: #EADCC6;
  --img-dunes: url('../assets/img/solar/dunes-warm.jpg');
}
.s-sec { position: relative; isolation: isolate; counter-increment: sec; }
.s-wrap { position: relative; z-index: 2; width: min(1180px, 88vw); margin-inline: auto; }

/* --- type -------------------------------------------------------------- */
.s-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.s-eyebrow::before { content: counter(sec, decimal-leading-zero) " — "; opacity: .8; }

.s-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.05;
  font-size: clamp(34px, 6.4vw, 92px);
  text-shadow: 0 2px 26px rgba(19, 10, 24, .4);
}
.s-title--xl { font-size: clamp(46px, 10vw, 150px); letter-spacing: .07em; }


.s-stars, .s-stars::before, .s-stars::after { position: absolute; inset: 0; pointer-events: none; }
.s-stars {
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 88%);
}
.s-stars::before, .s-stars::after { content: ''; background-repeat: repeat; }
.s-stars::before {
  background-image:
    radial-gradient(1.6px 1.6px at 9% 14%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 27% 71%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(2px 2px at 44% 26%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 63% 84%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 78% 12%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 91% 52%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.4px 1.4px at 15% 48%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 56% 55%, rgba(255,255,255,.6), transparent 60%);
  background-size: 520px 520px;
  animation: s-twinkle 7s ease-in-out infinite;
}
.s-stars::after {
  background-image:
    radial-gradient(1px 1px at 18% 30%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 8%, rgba(255,240,210,.9), transparent 60%),
    radial-gradient(1px 1px at 52% 64%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 72% 38%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 86% 78%, rgba(255,240,210,.7), transparent 60%),
    radial-gradient(1px 1px at 5% 88%, rgba(255,255,255,.6), transparent 60%);
  background-size: 340px 340px;
  animation: s-twinkle 11s ease-in-out -4s infinite;
}
@keyframes s-twinkle { 0%, 100% { opacity: .1; } 50% { opacity: .22; } }

/* pause anything decorative while its section is off-screen */
.spin { animation-play-state: var(--play, running); }
.s-live:not(.is-live) { --play: paused; }
.s-live:not(.is-live) .s-stars::before, .s-live:not(.is-live) .s-stars::after { animation-play-state: paused; }

.par { position: absolute; inset: 0; will-change: transform; pointer-events: none; }



.w-rays { position: absolute; pointer-events: none; animation: ring-spin 240s linear infinite; animation-play-state: var(--play, running); }
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   03 — THE SOLAR PHILOSOPHY  (pinned: the sun crosses in front of real dunes as you scroll)
   solar.js writes --p, --sxp, --bot, --gy, --day, --sunA, --sunB on .philo-stage; everything else follows from them.
   ========================================================================== */
.philo-track { position: relative; height: 430vh; }
.philo-stage {
  --p: 0; --day: 0; --sxp: 8%; --bot: 22%; --gy: 78%; --sunA: #ffb54d; --sunB: #e0500f;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0b0710;
}
.philo-sky { position: absolute; inset: 0; }
.philo-sky--a { background: linear-gradient(180deg, #0b0710 0%, #2a1330 34%, #6b2a3a 62%, #c2582a 100%); }
.philo-glow { position: absolute; inset: 0; background: radial-gradient(circle at var(--sxp) var(--gy), rgba(255, 165, 85, .8), rgba(255, 110, 50, .26) 26%, transparent 54%); }
.philo-day { position: absolute; inset: 0; background: linear-gradient(180deg, #f1c48a, #fbe0b0); opacity: calc(var(--day) * .5); }
.philo-sky--b { background: linear-gradient(180deg, #08060c 0%, #150c1f 42%, #2a1330 78%, #3a1730 100%); opacity: clamp(0, calc((var(--p) - .62) * 3.4), 1); }
.philo-stars { opacity: clamp(0, calc((var(--p) - .66) * 3.4), 1); z-index: 1; }
.philo-sun {
  position: absolute;
  z-index: 2;
  left: var(--sxp);
  bottom: var(--bot);
  width: 17vmin;
  height: 17vmin;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  background: radial-gradient(circle at 50% 40%, var(--sunA), var(--sunB));
  box-shadow: 0 0 70px 24px rgba(255, 130, 50, .5);
}
.philo-sun::after { opacity: .35; }
.philo-dunes {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 3;
  background: var(--img-dunes) center/cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
  filter: saturate(1.1);
}
.philo-dunes::after { content: ''; position: absolute; inset: 0; background: #0b0710; opacity: calc(.6 - var(--day) * .6); }
.philo-dunes-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 3; background: linear-gradient(to top, rgba(11, 7, 16, .85), transparent 70%); }
.philo-dots { position: absolute; right: 4vw; top: 50%; transform: translateY(-50%); z-index: 6; display: grid; gap: 12px; }
.philo-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(246, 239, 226, .6); transition: .4s; }
.philo-dots i.on { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }

.philo-copy {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 20vh;
  margin: 0 auto;
}
.philo-copy::before { content: ''; position: absolute; left: 50%; top: 36%; width: min(1100px, 100vw); height: 58vh; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(24, 10, 32, .5), rgba(24, 10, 32, 0)); z-index: -1; pointer-events: none; }
.philo-head { transition: opacity .8s ease, transform .8s var(--ease); }
.philo-title { font-size: clamp(38px, 7vw, 104px); }
.philo-copy .s-eyebrow { text-shadow: 0 1px 12px rgba(19, 10, 24, .6); }
.beats { list-style: none; position: relative; width: min(760px, 88vw); min-height: clamp(130px, 19vh, 190px); margin-top: clamp(22px, 4vh, 46px); transition: opacity .8s ease; }
.beat { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.beat.on { opacity: 1; transform: none; }
.beat-k { display: block; font-size: 12px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.beat-t { display: block; font-family: var(--font-display); font-size: clamp(22px, 3vw, 40px); line-height: 1.35; color: var(--ivory); max-width: 22em; margin: 0 auto; text-shadow: 0 2px 24px rgba(20, 5, 10, .6); }
.philo-statement {
  position: absolute;
  left: 50%; top: 42%;
  width: min(1240px, 90vw);
  margin: 0;
  transform: translate(-50%, calc(-50% + 16px));
  text-align: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  pointer-events: none;
}
.philo-statement p { font-family: var(--font-display); font-size: clamp(23px, 3.3vw, 52px); line-height: 1.28; color: #fff6e4; text-shadow: 0 2px 30px rgba(19, 10, 24, .65); }
.philo-stage.is-end .philo-head, .philo-stage.is-end .beats { opacity: 0; }
.philo-stage.is-end .philo-head { transform: translateY(-10px); }
.philo-stage.is-end .philo-statement { opacity: 1; transform: translate(-50%, -50%); }
@media (max-width: 640px) { .philo-dots { right: 3vw; gap: 10px; } .philo-sun { width: 30vmin; height: 30vmin; } }

/* static layout: no JS, or the visitor prefers reduced motion */
html:not(.js) .philo-track { height: auto; }
html:not(.js) .philo-stage { position: relative; height: auto; --sxp: 30%; --bot: 30%; --gy: 70%; padding: clamp(110px, 16vw, 190px) 0 clamp(230px, 32vw, 380px); }
html:not(.js) .philo-copy { position: relative; inset: auto; padding: 0; }
html:not(.js) .beats { min-height: 0; display: grid; gap: 32px; }
html:not(.js) .beat { position: relative; opacity: 1; transform: none; }
html:not(.js) .philo-statement { position: relative; left: auto; top: auto; transform: none; opacity: 1; margin-top: 70px; }
html:not(.js) .philo-dots { display: none; }
@media (prefers-reduced-motion: reduce) {
  .philo-track { height: auto; }
  .philo-stage { position: relative; height: auto; --sxp: 30%; --bot: 30%; --gy: 70%; padding: clamp(110px, 16vw, 190px) 0 clamp(230px, 32vw, 380px); }
  .philo-copy { position: relative; inset: auto; padding: 0; }
  .beats { min-height: 0; display: grid; gap: 32px; }
  .beat { position: relative; opacity: 1; transform: none; }
  .philo-statement { position: relative; left: auto; top: auto; transform: none; opacity: 1; margin-top: 70px; }
  .philo-dots { display: none; }
}

/* ==========================================================================
   04 — LIGHT CODES
   ========================================================================== */
.s-codes {
  background: radial-gradient(1200px 700px at 50% 62%, #1f1420 0%, #0b0608 62%);
  padding: clamp(100px, 13vw, 190px) 0 clamp(90px, 10vw, 150px);
  overflow: hidden;
}
.codes-stars { height: 100%; -webkit-mask-image: none; mask-image: none; opacity: .85; }
.s-codes::before {
  content: '';
  position: absolute;
  left: 50%; top: 52%;
  width: min(150vw, 1300px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(140, 107, 181, .22) 0, rgba(201, 106, 62, .1) 38%, rgba(11, 8, 16, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.codes-head { text-align: center; }
.codes-sub { font-family: var(--font-display); font-size: clamp(16px, 1.9vw, 27px); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.codes-copy { max-width: 33em; margin: clamp(22px, 3vw, 36px) auto 0; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.85; color: rgba(246, 239, 226, .86); }

.codes-instrument {
  --m: min(92vw, 680px);
  --r: calc(var(--m) * .4167);
  --node: clamp(44px, 8.2vw, 64px);
  position: relative;
  z-index: 2;
  width: var(--m);
  aspect-ratio: 1;
  margin: clamp(56px, 7vw, 100px) auto clamp(64px, 8vw, 110px);
}
.mandala { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m-ring { fill: none; stroke: rgba(231, 181, 89, .5); stroke-width: 1; }
.m-ring--faint { stroke: rgba(231, 181, 89, .22); }
.m-ticks { fill: none; stroke: rgba(246, 239, 226, .55); stroke-width: 12; stroke-dasharray: 1.2 23.235; }
.m-dots { fill: none; stroke: rgba(231, 181, 89, .75); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 12.355; }
.m-dash { fill: none; stroke: rgba(246, 239, 226, .32); stroke-width: 1; stroke-dasharray: 6 8; }
.m-axes { fill: none; stroke: rgba(231, 181, 89, .14); stroke-width: 1; }
.m-rim { fill: none; stroke: rgba(231, 181, 89, .9); stroke-width: 1.5; }
.m-core-img { transform-box: fill-box; transform-origin: center; transition: transform 1.2s cubic-bezier(.22, .61, .36, 1), filter 1.2s ease; }
.m-glow { transform-box: fill-box; transform-origin: center; animation: breathe 7s ease-in-out infinite; animation-play-state: var(--play, running); }
@keyframes breathe { 0%, 100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1.07); opacity: 1; } }
.m-spin { transform-box: fill-box; transform-origin: center; animation: ring-spin 240s linear infinite; animation-play-state: var(--play, running); }
.m-spin--b { animation-duration: 170s; animation-direction: reverse; }
.m-spin--c { animation-duration: 300s; }
.m-beam { transform-origin: 300px 300px; transform: rotate(var(--a, 0deg)); transition: transform 1.1s cubic-bezier(.3, .7, .2, 1); }

.codes-list { list-style: none; }
.js .code {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform: rotate(calc(var(--i) * 45deg)) translateY(calc(var(--r) * -1)) rotate(calc(var(--i) * -45deg));
}
.code button {
  position: absolute;
  left: calc(var(--node) / -2);
  top: calc(var(--node) / -2);
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: radial-gradient(circle at 35% 30%, #4a2f22, #170d0d);
  border: 1px solid rgba(231, 181, 89, .55);
  transition: transform .5s var(--ease), box-shadow .5s ease, color .4s ease, border-color .4s ease;
}
.code button::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(231, 181, 89, .22); pointer-events: none; }
.glyph { width: 56%; height: 56%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.code button:hover, .code button:focus-visible, .code.is-active button {
  color: #fff1c9;
  border-color: #f2b95a;
  transform: scale(1.14);
  box-shadow: 0 0 0 6px rgba(242, 185, 89, .12), 0 0 36px rgba(242, 185, 89, .55);
}
.code-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.code-line { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 900px) {
  .code-name {
    width: auto; height: auto; overflow: visible; clip: auto;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(246, 239, 226, .85);
    pointer-events: none;
  }
}

.code:nth-child(1) .code-name { top: auto; bottom: calc(100% + 10px); }
@media (min-width: 1000px) {
  .code:nth-child(n+2):nth-child(-n+4) .code-name { top: 50%; left: calc(100% + 14px); transform: translateY(-50%); }
  .code:nth-child(n+6) .code-name { top: 50%; left: auto; right: calc(100% + 14px); transform: translateY(-50%); }
}
.codes-readout {
  position: absolute;
  left: 50%; top: 50%;
  width: 38%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 3;
  transition: opacity .35s ease;
}
.codes-readout::before { content: ''; position: absolute; inset: -30% -14%; background: radial-gradient(closest-side, rgba(11, 8, 16, .82), rgba(11, 8, 16, 0)); z-index: -1; }
.codes-readout.is-swap { opacity: 0; }
.ro-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: clamp(15px, 2.7vw, 26px); color: #fff1c9; line-height: 1.2; text-shadow: 0 2px 24px rgba(0, 0, 0, .85); }
.ro-line { margin-top: 8px; font-family: var(--font-display); font-size: clamp(13.5px, 1.6vw, 18px); line-height: 1.4; color: var(--ivory); text-shadow: 0 1px 16px rgba(0, 0, 0, .95); }

.codes-foot { text-align: center; }
.codes-mega {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.15;
  font-size: clamp(26px, 4.6vw, 68px);
}
.codes-mega em { font-style: normal; color: var(--gold); text-shadow: 0 0 40px rgba(231, 181, 89, .4); }

/* no-JS: the ring becomes a plain list */
html:not(.js) .codes-instrument { width: auto; aspect-ratio: auto; max-width: 900px; margin-inline: auto; }
html:not(.js) .mandala, html:not(.js) .codes-readout { display: none; }
html:not(.js) .codes-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; padding: 0 6vw; }
html:not(.js) .code { display: grid; justify-items: center; gap: 10px; text-align: center; }
html:not(.js) .code button { position: static; }
html:not(.js) .code-name, html:not(.js) .code-line { position: static; clip: auto; width: auto; height: auto; overflow: visible; transform: none; white-space: normal; }


/* ==========================================================================
   08 — FINAL PORTAL
   ========================================================================== */
.s-portal {
  background: linear-gradient(180deg, #150f1a 0%, #1a0c0d 40%, #3a140b 82%, #130F17 100%);
  padding: 14vh 0 10vh;
  overflow: hidden;
}
.portal-stars { height: 60%; }
.portal-copy { z-index: 4; text-align: center; }
.p-arch-wrap { position: relative; width: min(84vw, 540px); margin: 6vh auto 0; }
.p-arch-wrap .w-rays { width: 190%; left: -45%; top: -30%; opacity: .5; animation-duration: 300s; }
.p-arch {
  position: relative;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
  box-shadow: 0 0 0 1px rgba(231, 181, 89, .35);
}
.p-arch img { display: block; width: 100%; height: auto; max-width: none; }
.portal-mega {
  position: relative;
  z-index: 3;
  margin: -9vh auto 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.06;
  font-size: clamp(34px, 6vw, 86px);
  max-width: 11em;
  text-shadow: 0 4px 40px rgba(20, 4, 0, .8);
}
.portal-sub { position: relative; z-index: 3; font-family: var(--font-display); font-size: clamp(22px, 3.2vw, 46px); letter-spacing: .06em; color: var(--gold); margin-top: clamp(16px, 2.4vw, 30px); text-shadow: 0 2px 26px rgba(20, 4, 0, .8); }
.portal-mark { margin: clamp(70px, 9vw, 120px) 0 0; padding-left: .7em; font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 60px); letter-spacing: .7em; text-transform: uppercase; }
.portal-words { list-style: none; margin: 22px 0 clamp(46px, 6vw, 74px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: rgba(246, 239, 226, .82); }
.s-cta {
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  padding: 0 clamp(26px, 4vw, 50px);
  border: 1px solid rgba(255, 226, 170, .75);
  border-radius: 999px;
  color: #fff1c9;
  background: rgba(19, 10, 22, .55);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 500;
  box-shadow: 0 0 44px rgba(242, 185, 89, .24);
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}
.s-cta:hover, .s-cta:focus-visible { background: var(--gold); color: #1a0f14; box-shadow: 0 0 70px rgba(242, 185, 89, .6); }
.portal-links { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.portal-links a { position: relative; color: rgba(246, 239, 226, .92); text-decoration: none; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid rgba(246, 239, 226, .4); }
.portal-links a::after { content: ''; position: absolute; inset: -12px -6px; }
.portal-links a:hover { color: #fff1c9; border-color: var(--gold); }


/* ==========================================================================
   NOW — the new video and the song that is coming (sits between 06 and the Circle)
   ========================================================================== */
.s-now { background: linear-gradient(180deg, #160f1a 0%, #221318 50%, #160f1a 100%); padding: clamp(90px, 11vw, 160px) 0 clamp(80px, 9vw, 130px); }
.now-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.now-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.now-card { min-width: 0; }
.now-play, .now-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; border: 1px solid rgba(231, 181, 89, .35); overflow: hidden; }
.now-play { position: relative; padding: 0; color: var(--sun-core); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); }
.now-frame { background: #000; }
.now-play--dawn { background: radial-gradient(70% 90% at 50% 105%, #f2b95a 0%, #c96a3e 30%, #5a2320 58%, #1b0f16 82%); }
.now-play--sea { background: linear-gradient(180deg, #2a1830 0%, #8a3d4a 38%, #f0a35a 52%, #3c5770 53%, #1a2a3a 100%); }
.now-sun { position: absolute; left: 50%; bottom: 18%; width: 26%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #fff1c9 0%, #f2b95a 45%, rgba(242, 185, 90, 0) 72%); }
.now-play--sea .now-sun { bottom: 44%; width: 18%; }
.now-btn { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: rgba(19, 10, 22, .5); border: 1px solid rgba(255, 226, 170, .75); box-shadow: 0 0 44px rgba(242, 185, 89, .35); transition: background .4s ease, transform .4s ease; }
.now-btn svg { width: 26px; height: 26px; fill: #fff1c9; margin-left: 3px; transition: fill .4s ease; }
.now-play:hover .now-btn, .now-play:focus-visible .now-btn { background: var(--gold); transform: translate(-50%, -50%) scale(1.06); }
.now-play:hover .now-btn svg, .now-play:focus-visible .now-btn svg { fill: #1a0f14; }
.now-len { position: absolute; right: 16px; bottom: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 241, 201, .85); }
.now-tag { margin-top: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.now-name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; line-height: 1.05; font-size: clamp(28px, 3.4vw, 46px); margin: 12px 0 6px; }
.now-sub { font-family: var(--font-display); font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .12em; color: rgba(246, 239, 226, .75); }
.now-copy { margin-top: 14px; font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.75; color: rgba(246, 239, 226, .86); max-width: 34em; }
.now-foot { margin-top: clamp(44px, 6vw, 70px); text-align: center; }
@media (max-width: 760px) { .now-grid { grid-template-columns: 1fr; } }
.now-card .now-spotify { margin-top: 14px; }
img.w-rays { will-change: transform; display: block; }
@media (hover: none), (max-width: 900px) { .w-rays { animation: none !important; } }

/* reveal (same feel as marsseia.com) */
[data-reveal] { opacity: 0; transform: translateY(14px); filter: blur(8px);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1), filter .8s ease-out; }
[data-reveal].is-inview { opacity: 1; transform: none; filter: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .spin, .m-spin, .m-glow, .s-stars::before, .s-stars::after { animation: none !important; }
}

/* ── the app, first and main: turning flower of life (same as marsseia.com/solar) ── */
.app__flower { color: var(--gold); display: flex; justify-content: center; width: min(78vw, 340px); }
.app__flower svg { width: 100%; height: auto; overflow: visible; }
.afl-turn { transform-origin: 0 0; animation: aflTurn 180s linear infinite; }
@keyframes aflTurn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .afl-turn { animation: none; } }
@media (min-width: 880px) { .app__flower { width: 360px; } }

/* numbers: the hero is 01, every section after it counts on (both kinds of section) */
.s-eyebrow { margin-bottom: 22px; }
/* the closing button goes back to the hero */
.s-portal .s-cta { margin-top: clamp(36px, 5vw, 60px); }
/* the app now sits between the hero and "what is solar": start and end on the same colour as both, so there is no line */
.app {
  background:
    radial-gradient(55% 35% at 50% 62%, rgba(201, 106, 62, .2), transparent 70%),
    linear-gradient(180deg, var(--bg) 0, var(--panel) 50%, var(--bg) 100%);
}

/* ── seams: where two sections meet, both edges melt into the same deep colour, so no line shows ── */
.melt { position: absolute; left: 0; right: 0; height: clamp(70px, 11vh, 120px); pointer-events: none; z-index: 1; }
.melt--t { top: 0; background: linear-gradient(180deg, var(--deep), rgba(11, 8, 16, 0)); }
.melt--b { bottom: 0; background: linear-gradient(0deg, var(--deep), rgba(11, 8, 16, 0)); }
.s-philo > .melt { z-index: 6; }
.sec > .wrap, .s-sec > .s-wrap { position: relative; z-index: 2; }
.p-arch-wrap .w-rays { max-width: none; height: auto; aspect-ratio: 1; }

/* ── Solar Ring (limited edition) · brought from marsseia.com/solar ── */
.ring { margin-top: clamp(40px, 6vw, 80px); border: 1px solid rgba(231, 181, 89, .3); border-radius: 30px; background: linear-gradient(160deg, rgba(255, 240, 210, .07), rgba(255, 240, 210, .015)); }
.ring summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: clamp(22px, 3.5vw, 40px); }
.ring summary::-webkit-details-marker { display: none; }
.ring-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: #1a0f14; background: var(--gold); border-radius: 999px; padding: 8px 16px 8px 20px; }
.ring-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(30px, 4.4vw, 60px); line-height: 1; }
.ring-see { margin-left: auto; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.ring-see i { font-style: normal; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(231, 181, 89, .6); border-radius: 50%; font-size: 18px; transition: transform .4s; }
.ring[open] .ring-see i { transform: rotate(45deg); }
.ring-body { padding: 0 clamp(22px, 3.5vw, 40px) clamp(26px, 4vw, 44px); }
.ring-intro { max-width: 640px; font-size: clamp(16.5px, 1.4vw, 20px); line-height: 1.8; color: rgba(246, 239, 226, .88); margin: 0 0 clamp(24px, 3vw, 36px); }
.ring-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.ring-step figure { margin: 0; }
.ring-step img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.ring-step figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: rgba(246, 239, 226, .85); }
.ring-step figcaption b { color: var(--gold); font-weight: 500; letter-spacing: .14em; margin-right: 6px; }
.ring-step:last-child { grid-column: 1 / -1; }
.ring-step:last-child img { aspect-ratio: 16 / 9; }
.ring-ask { display: inline-block; margin-top: clamp(22px, 3vw, 32px); }
@media (max-width: 900px) { .ring-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ring-steps { grid-template-columns: 1fr; } .ring-see { margin-left: 0; } }
.ring-quote { max-width: 760px; font-family: var(--font-display); font-size: clamp(21px, 2.3vw, 32px); line-height: 1.4; color: #fff1d6; margin: 0 0 18px; }
.ring-order { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(26px, 3.5vw, 40px); }
.ring-btn { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: #1a0f14; background: var(--gold); border-radius: 999px; padding: 16px 30px 16px 34px; box-shadow: 0 0 40px rgba(242, 185, 89, .3); transition: box-shadow .3s, background .3s; }
.ring-btn:hover, .ring-btn:focus-visible { background: var(--sun-core, #fff1c9); box-shadow: 0 0 70px rgba(242, 185, 89, .6); }
.ring-note { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.6; color: rgba(246, 239, 226, .8); }
/* --- Minimal ring panel: no box, small name, tiny photos, only the essentials --- */
.ring { margin-top: clamp(28px, 4vw, 48px); border: 0; border-top: 1px solid rgba(231, 181, 89, .25); border-radius: 0; background: none; }
.ring summary { padding: 22px 0; gap: 10px 18px; }
.ring-name { font-size: clamp(20px, 2.2vw, 28px); }
.ring-tag { font-size: 10px; padding: 5px 12px; }
.ring-see { font-size: 11px; }
.ring-see i { width: 24px; height: 24px; }
.ring-body { padding: 0 0 28px; }
.ring-quote { font-size: clamp(16px, 1.6vw, 21px); margin: 0 0 22px; }
.ring-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.ring-step:last-child { grid-column: auto; }
.ring-step img, .ring-step:last-child img { aspect-ratio: 1; border-radius: 8px; }
.ring-step figcaption { margin-top: 6px; font-size: 11px; text-align: center; }
.ring-step figcaption b { margin: 0; }
.ring-order { margin-top: 24px; }
.ring-btn { font-size: 11.5px; padding: 12px 24px; }
@media (max-width: 900px) { .ring-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ring-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Silver-and-citrine line, five small photos, and the finished ring larger */
.ring-intro { margin: 0 0 22px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ring-steps, .ring-step:last-child { }
.ring-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 460px; row-gap: 22px; }
.ring-step:last-child { grid-column: 1 / -1; width: min(100%, 460px); }
.ring-step:last-child img { aspect-ratio: 3 / 2; border-radius: 12px; }
.ring-step:last-child figcaption { text-align: left; font-size: 12px; }
@media (max-width: 900px) { .ring-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ring-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; } .ring-step:last-child { width: 100%; } }
.s-pieces { background: linear-gradient(180deg, var(--deep) 0, #160f1a 50%, var(--deep) 100%); padding: clamp(80px, 11vw, 150px) 0; }
.pieces-lead { margin-top: 14px; max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: rgba(246, 239, 226, .82); }
