/* Sound categories only; original artwork remains the static baseline. */
.categories { --categories-top-trim: 1.5625vw; position: relative; isolation: isolate; min-height: calc(100vw * 2161 / 3840 + 5px - var(--categories-top-trim)); margin-top: 0; color: #edf3ff; }
/* In-flow separator; the opaque Block 5 scenery starts below its lower edge. */
.categories::before { content: ''; display: block; position: relative; z-index: 1; height: 5px; box-sizing: border-box; background: #123a4a; border: 0; pointer-events: none; }
.categories-backdrop { position: absolute; z-index: -1; inset: 5px 0 0; overflow: hidden; background: #031127; pointer-events: none; }
.categories-scenery { position: absolute; inset: calc(-1 * var(--categories-top-trim)) 0 0; overflow: hidden; }
.categories-source { position: absolute; contain: layout paint; }
.categories-source > picture, .categories-source > picture > img { display: block; width: 100%; height: 100%; }
.categories-source > picture > img { position: absolute; inset: 0; }
/* Crop positions are literal source pixels; the complete source frame scales as one unit. */
.category-light { position: absolute; opacity: 0; will-change: opacity; pointer-events: none; animation-play-state: paused !important; }
.categories.is-visible .category-light { animation-play-state: running !important; }
.category-light-browser { animation: category-browser-light 6.1s -1.7s ease-in-out infinite; }
.category-light-sunset { animation: category-sunset-light 7.9s -3.6s ease-in-out infinite; }
.category-light-shore { animation: category-shore-light 9.3s -.9s ease-in-out infinite; }
.category-light-reflection { animation: category-reflection-light 8.5s -5.1s ease-in-out infinite; }
.category-light-edge { animation: category-edge-light 10.3s -2.8s ease-in-out infinite; }
@keyframes category-browser-light { 0%,15%,28%,52%,75%,100% { opacity: 0.03; } 20% { opacity: 0.36; } 60% { opacity: 0.54; } 68% { opacity: 0.075; } 89% { opacity: 0.24; } }
@keyframes category-sunset-light { 0%,19%,40%,75%,100% { opacity: 0.045; } 25% { opacity: 0.48; } 31% { opacity: 0.15; } 56% { opacity: 0.6; } 64% { opacity: 0.105; } 92% { opacity: 0.3; } }
@keyframes category-shore-light { 0%,12%,37%,64%,100% { opacity: 0; } 18% { opacity: 0.54; } 26% { opacity: 0.075; } 48% { opacity: 0.33; } 55% { opacity: 0.045; } 83% { opacity: 0.48; } 91% { opacity: 0.06; } }
@keyframes category-reflection-light { 0%,16%,43%,73%,100% { opacity: 0.015; } 25% { opacity: 0.42; } 33% { opacity: 0.06; } 59% { opacity: 0.57; } 66% { opacity: 0.09; } 91% { opacity: 0.21; } }
@keyframes category-edge-light { 0%,21%,44%,76%,100% { opacity: 0.03; } 29% { opacity: 0.45; } 35% { opacity: 0.12; } 61% { opacity: 0.6; } 68% { opacity: 0.075; } 91% { opacity: 0.3; } }
.categories-bottom { display: none; }
/* Content geometry remains independent of background illumination. */
.categories-content { padding: calc(5.28vw - var(--categories-top-trim)) 4.4vw 5vw 11.18vw; }
.categories-copy { margin-left: 9.04vw; }
.categories h2 { margin: 0; font-size: 4.3vw; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; width: max-content; max-width: 100%; color: transparent; background: linear-gradient(105deg,#99eeef,#a9d6f6 30%,#d4b6f7 58%,#f28cce 81%,#ffa0b0); background-clip: text; }
.categories-description { margin: .65vw 0 0; max-width: 61vw; color: #e3e6f4; font-size: 1.316vw; line-height: 1.32; font-weight: 400; letter-spacing: -.015em; }
.categories-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .84vw .9vw; margin-top: 2.15vw; }
.category-card { --category-progress: 0; position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.93; border: 1px solid #acb8e166; border-radius: 1vw; overflow: hidden; background: #031127; transform: scale(1); transition: transform 500ms cubic-bezier(.22,1,.36,1),box-shadow 500ms cubic-bezier(.22,1,.36,1); }
.category-artwork { position: absolute; inset: 0; z-index: -1; }
.category-artwork picture, .category-artwork img { display: block; width: 100%; height: 100%; }
.category-artwork img { object-fit: cover; }
.category-art-progress { position: absolute; inset: 0 0 var(--category-info-height,42%); overflow: hidden; pointer-events: none; }
.category-played { position: absolute; inset: 0; background: rgba(3,10,28,.28); transform: scaleX(var(--category-progress)); transform-origin: left center; }
.category-card::before { content: ''; position: absolute; z-index: 0; inset: 35% 0 0; background: linear-gradient(transparent,#031022cf 49%,#020d1eeb); pointer-events: none; }
.category-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 2.99vw minmax(0,1fr); align-items: center; gap: 1.1vw; padding: .55vw .8vw .9vw; }
.category-play { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 0; border: 1px solid #bbc7e7a3; border-radius: 50%; color: #e3ecff; background: radial-gradient(circle at 35% 25%,#35435d99,#0a1832bf); cursor: pointer; box-shadow: inset 0 0 9px #bdd2ff0d; }
.category-play svg { width: 54%; height: 54%; fill: currentColor; }
.category-pause-icon { display: none; }
.category-play[aria-pressed='true'] .category-play-icon { display: none; }
.category-play[aria-pressed='true'] .category-pause-icon { display: initial; }
.category-play:focus-visible { outline: 2px solid #bceeff; outline-offset: 3px; }
.category-title { margin: 0; font-size: .957vw; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.category-description { margin: .26vw 0 0; color: #d0deef; font-size: .837vw; line-height: 1.25; font-weight: 400; letter-spacing: -.015em; }
.category-status { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); margin: 0; padding: 4px 7px; border-radius: 5px; background: #122039d9; color: #eff6ff; font-size: 12px; line-height: 1.35; pointer-events: none; }
.category-status:empty { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .category-card:hover, .category-card:focus-within { transform: scale(var(--category-scale,1)); box-shadow: 0 0 13px #a6bfff25; }
}
@media (max-width: 1099px) {
 .categories { --categories-top-trim: 0px; }
 .categories-content { padding: 68px 32px 110px; }
 .categories-copy { margin-left: 0; }
 .categories h2 { width: auto; font-size: 42px; line-height: 1.1; }
 .categories-description { font-size: 17px; line-height: 1.5; max-width: 720px; margin-top: 22px; letter-spacing: 0; }
 .categories-description br { display: none; }
 .categories-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 34px; }
 .category-card { aspect-ratio: 1.78; border-radius: 17px; }
 .category-info { grid-template-columns: 46px minmax(0,1fr); gap: 12px; padding: 10px 14px 15px; }
 .category-title { font-size: 16px; line-height: 1.25; }
 .category-description { font-size: 14px; line-height: 1.3; margin-top: 5px; }
 .categories-scenery { inset: 0 0 auto; height: 420px; mask: linear-gradient(black 48%,transparent 83%); }
 .categories-bottom { display: block; position: absolute; inset: auto 0 0; height: 140px; overflow: hidden; mask: linear-gradient(transparent,black 35px); }
}
@media (max-width: 600px) {
 .categories-content { padding: 64px 24px 100px; }
 .categories h2 { font-size: clamp(30px,8vw,35px); }
 .categories-description { font-size: 16px; line-height: 1.5; margin-top: 22px; }
 .categories-grid { grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: 30px; }
 .category-info { grid-template-columns: 48px minmax(0,1fr); }
 .categories-scenery { height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
 .category-light { display: none !important; animation: none !important; }
 .category-card { transition: none; }
}
