/* LIGHT AND SOUND TEMPLES · the spiral you can play (2026-11-24)
   The SOLAR symbol turns slowly; touch or drag over it and each part sings a crystal-bowl note (temples-spiral.js).
   The six ingredients are the main list; the three lights are one quiet line underneath. */
/* the spiral in the middle, the five words floating around it (desktop); they appear one by one when the section comes into view */
.tsp-grid { position: relative; max-width: 1220px; height: 560px; margin: clamp(50px, 7vh, 80px) auto 0; }
.tsp-art { position: absolute; left: 50%; top: 20px; width: 360px; margin-left: -180px; }
.tsp-keys { list-style: none; margin: 0; padding: 0; }
.tsp-keys li { position: absolute; width: max-content; max-width: calc(50% - 260px); opacity: 0; filter: blur(6px); transition: opacity 1.8s ease, filter 1.8s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1); }
.tsp-keys b { display: inline-block; font: 400 clamp(1.05rem, 1.5vw, 1.4rem)/1.2 Cinzel, serif; letter-spacing: .1em; text-transform: uppercase; color: #F6EFE2; text-shadow: 0 2px 24px rgba(19, 15, 23, .35); animation: tsp-float 7s ease-in-out infinite alternate; transition: color .4s ease, text-shadow .4s ease; }
.tsp-keys b::before { content: "✶"; display: block; margin-bottom: 10px; font: 400 12px/1 'Space Grotesk', sans-serif; color: #E7B559; }
.tsp-keys li:hover b { color: #F3CF86; text-shadow: 0 0 26px rgba(243, 207, 134, .55); }
/* left side (right-aligned toward the sun), right side, and one under it */
.tsp-keys li:nth-child(1) { right: calc(50% + 230px); top: 70px; text-align: right; transform: translateX(40px); }
.tsp-keys li:nth-child(3) { right: calc(50% + 250px); top: 270px; text-align: right; transform: translateX(40px); }
.tsp-keys li:nth-child(2) { left: calc(50% + 230px); top: 70px; text-align: left; transform: translateX(-40px); }
.tsp-keys li:nth-child(4) { left: calc(50% + 250px); top: 270px; text-align: left; transform: translateX(-40px); }
.tsp-keys li:nth-child(5) { left: 50%; top: 480px; text-align: center; transform: translate(-50%, -30px); }
.tsp-keys li:nth-child(1) b::before, .tsp-keys li:nth-child(3) b::before { text-align: right; }
.tsp-keys li:nth-child(5) b::before { text-align: center; }
.tsp-keys li:nth-child(2) b { animation-delay: -2s; } .tsp-keys li:nth-child(3) b { animation-delay: -4s; } .tsp-keys li:nth-child(4) b { animation-delay: -1s; } .tsp-keys li:nth-child(5) b { animation-delay: -5.5s; }
.tsp-grid.is-on .tsp-keys li { opacity: 1; filter: none; transform: none; }
.tsp-grid.is-on .tsp-keys li:nth-child(5) { transform: translateX(-50%); }
.tsp-grid.is-on .tsp-keys li:nth-child(1) { transition-delay: .3s; }
.tsp-grid.is-on .tsp-keys li:nth-child(2) { transition-delay: .9s; }
.tsp-grid.is-on .tsp-keys li:nth-child(3) { transition-delay: 1.5s; }
.tsp-grid.is-on .tsp-keys li:nth-child(4) { transition-delay: 2.1s; }
.tsp-grid.is-on .tsp-keys li:nth-child(5) { transition-delay: 2.7s; }
@keyframes tsp-float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
.ts .tsp-art .sol-hint { margin-top: 22px; }

.tsp-lights { margin: clamp(56px, 8vh, 80px) 0 0; font: 400 12px/1.8 'Space Grotesk', sans-serif; letter-spacing: .32em; text-transform: uppercase; color: rgba(246, 239, 226, .55); }
.tsp-lights i { font-style: normal; color: #E7B559; margin: 0 .9em; }

/* the playable sun (same as on solar.marsseia.com) */
.ts .sol-spin { position: relative; aspect-ratio: 1; }
.ts .sol-spin::before { content: ''; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(246, 165, 91, .32) 0, rgba(201, 105, 62, .12) 42%, rgba(11, 6, 8, 0) 70%); pointer-events: none; }
.ts .sol-play { all: unset; position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: none; }
.ts .sol-play:focus-visible { outline: 1px solid rgba(231, 181, 89, .7); outline-offset: 10px; }
.ts .sol-rot { position: absolute; inset: 0; animation: tsp-turn 40s linear infinite; }
.ts .sol-rot img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 22px rgba(255, 226, 180, .35)); transition: filter .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.ts .sol-play.is-hit .sol-rot img { filter: drop-shadow(0 0 34px rgba(246, 165, 91, .7)) brightness(1.12); transform: scale(1.035); transition-duration: .08s; }
.ts .sol-play.is-deep .sol-rot img { filter: drop-shadow(0 0 60px rgba(246, 165, 91, .85)) brightness(1.2); transform: scale(1.06); }
@keyframes tsp-turn { to { transform: rotate(360deg); } }
.ts .sol-fx { position: absolute; inset: 0; pointer-events: none; }
.ts .sol-ring { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1px solid rgba(255, 214, 160, .9); box-shadow: 0 0 14px rgba(246, 165, 91, .6); animation: tsp-ring 1.5s cubic-bezier(.2, .7, .2, 1) forwards; }
.ts .sol-ring.is-deep { border-color: rgba(255, 236, 200, .95); animation-duration: 2.6s; }
@keyframes tsp-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(var(--grow, 9)); opacity: 0; } }
.ts .sol-hint { margin: 30px 0 0; text-align: center; font: 500 11.5px/1.4 'Space Grotesk', sans-serif; letter-spacing: .32em; text-transform: uppercase; color: #E7B559; transition: opacity .8s ease; }
.ts .sol-hint-sub { display: block; margin-top: 8px; font-weight: 400; letter-spacing: .08em; text-transform: none; font-size: 13.5px; color: rgba(246, 239, 226, .62); }
.ts .sol-hint.is-quiet { opacity: .35; }

@media (prefers-reduced-motion: reduce) { .ts .sol-rot { animation: none; } .ts .sol-ring { animation-duration: .01s; } }
@media (prefers-reduced-motion: reduce) { .tsp-keys li { opacity: 1; filter: none; transform: none; transition: none; } .tsp-keys li:nth-child(5) { transform: translateX(-50%); } .tsp-keys b { animation: none; } }
@media (max-width: 1100px) {
  .tsp-grid { height: auto; }
  .tsp-art { position: relative; left: auto; top: auto; margin: 0 auto; width: min(72vw, 340px); }
  .tsp-keys { margin-top: 44px; text-align: center; }
  .tsp-keys li, .tsp-keys li:nth-child(n) { position: static; right: auto; left: auto; top: auto; text-align: center; margin: 0 0 26px; width: auto; max-width: none; transform: translateY(24px); }
  .tsp-grid.is-on .tsp-keys li:nth-child(n) { transform: none; }
  .tsp-keys b::before, .tsp-keys li:nth-child(n) b::before { text-align: center; margin-bottom: 8px; }
  .tsp-keys b { font-size: 1.2rem; }
  .tsp-lights { letter-spacing: .22em; }
  .tsp-lights i { margin: 0 .5em; }
}
.ts .ts-in { max-width: 1240px; }
