:root {
  color-scheme: light;
  --sky: #9ed2f3;
  --cloud: #fff8ee;
  --ink: #3e4540;
  --coral: #ff8068;
  --peach: #ffc56f;
  --glass: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--sky);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  background: var(--sky);
  color: white;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(45, 83, 108, 0.92);
  color: white;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.world {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 68%, rgba(255, 188, 142, 0.6), transparent 36%),
    radial-gradient(circle at 16% 9%, rgba(255, 255, 255, 0.5), transparent 27%),
    linear-gradient(145deg, #78bae8 0%, #b7def7 48%, #ffe2c8 100%);
  opacity: 0.94;
  transform: scale(1.018);
  transition: filter 800ms ease, opacity 900ms ease, transform 1600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.world.is-ready {
  opacity: 1;
  transform: scale(1);
}

.world.has-open-panel {
  filter: blur(8px) saturate(0.82) brightness(0.76);
  transform: scale(1.035);
}

.world__art {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.world::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(58, 125, 184, 0.03), transparent 38%, rgba(74, 55, 42, 0.09)),
    radial-gradient(ellipse at center, transparent 55%, rgba(46, 75, 94, 0.14) 118%);
}

.brand-hitbox,
.explore-hitbox,
.desktop-nav,
.island-map,
.island-hitbox {
  position: absolute;
}

.brand-hitbox {
  top: 2.4%;
  left: 2.8%;
  width: 12.5%;
  height: 9%;
  min-width: 132px;
  border-radius: 1rem;
}

.desktop-nav {
  top: 2.7%;
  right: 6.7%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 23.9%;
  height: 5.2%;
  min-width: 360px;
  min-height: 44px;
  border-radius: 999px;
}

.desktop-nav a {
  border-radius: 999px;
}

.explore-hitbox {
  top: 67.2%;
  left: 43.8%;
  width: 12%;
  height: 6.9%;
  min-width: 172px;
  min-height: 52px;
  border-radius: 999px;
}

.island-map {
  inset: 0;
  pointer-events: none;
}

.island-hitbox {
  display: block;
  pointer-events: auto;
  border-radius: 46% 54% 52% 48%;
  text-decoration: none;
}

.island-hitbox::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0.58rem 0.88rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(83, 127, 154, 0.34);
  box-shadow: 0 10px 34px rgba(32, 81, 110, 0.18);
  color: white;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.island-hitbox:hover::after,
.island-hitbox:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.island-hitbox:hover,
.island-hitbox:focus-visible {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 18px 60px rgba(83, 130, 151, 0.18);
  transform: translateY(-3px);
}

.island-hitbox--product {
  left: 1.8%;
  top: 34%;
  width: 29%;
  height: 34%;
}

.island-hitbox--art {
  left: 68.5%;
  top: 27%;
  width: 29.5%;
  height: 40%;
}

.island-hitbox--music {
  left: 60%;
  top: 64%;
  width: 27%;
  height: 30%;
}

.island-hitbox--about {
  left: 34.5%;
  top: 7%;
  width: 29%;
  height: 43%;
}

.brand-hitbox,
.desktop-nav a,
.explore-hitbox,
.island-hitbox {
  outline: 0 solid transparent;
  transition: background-color 180ms ease, box-shadow 180ms ease, outline 120ms ease, transform 180ms ease;
}

.brand-hitbox:hover,
.desktop-nav a:hover,
.explore-hitbox:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.explore-hitbox:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 127, 93, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.brand-hitbox:focus-visible,
.desktop-nav a:focus-visible,
.explore-hitbox:focus-visible,
.island-hitbox:focus-visible,
.mobile-dock a:focus-visible,
.mobile-copy__cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.96);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 128, 104, 0.58);
}

.mobile-copy,
.mobile-dock {
  display: none;
}

.world-loader {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 239, 217, 0.75), transparent 27%),
    linear-gradient(180deg, #9dd3f5 0%, #e8f7ff 72%, #fff4e8 100%);
  color: rgba(60, 93, 110, 0.82);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.world-loader.is-ready {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.world-loader[hidden] {
  display: none;
}

.world-loader p {
  margin: 1rem 0 0.3rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.world-loader__progress {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.world-loader__cloud {
  position: relative;
  width: 108px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(85, 141, 176, 0.2), inset 0 -7px 14px rgba(157, 203, 228, 0.2);
  animation: loader-float 2.8s ease-in-out infinite;
}

.world-loader__cloud span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: inherit;
}

.world-loader__cloud span:nth-child(1) {
  width: 52px;
  height: 52px;
  left: 16px;
  top: -23px;
}

.world-loader__cloud span:nth-child(2) {
  width: 42px;
  height: 42px;
  left: 52px;
  top: -14px;
}

.world-loader__cloud span:nth-child(3) {
  width: 28px;
  height: 28px;
  left: 2px;
  top: 4px;
}

@keyframes loader-float {
  50% { transform: translateY(-7px); }
}

.explore-note {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 8.4%;
  margin: 0;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(91, 139, 168, 0.32);
  box-shadow: 0 12px 38px rgba(43, 80, 103, 0.18);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  backdrop-filter: blur(18px);
  transition: opacity 350ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.world.is-exploring .explore-note {
  opacity: 1;
  transform: translate(-50%, 0);
}

.world.is-exploring .island-hitbox {
  animation: island-breathe 3.6s ease-in-out 2;
}

.world.is-exploring .island-hitbox:nth-child(2) { animation-delay: 180ms; }
.world.is-exploring .island-hitbox:nth-child(3) { animation-delay: 360ms; }
.world.is-exploring .island-hitbox:nth-child(4) { animation-delay: 540ms; }

@keyframes island-breathe {
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.26), 0 0 56px rgba(255, 240, 189, 0.16); }
}

.mini-player {
  position: fixed;
  z-index: 45;
  bottom: clamp(1rem, 2.5vw, 2rem);
  left: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto auto auto;
  align-items: center;
  width: min(35rem, calc(100vw - 2rem));
  gap: 0.7rem;
  padding: 0.55rem 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 1rem;
  background: rgba(240, 247, 245, 0.58);
  box-shadow: 0 16px 46px rgba(39, 70, 79, 0.2);
  color: #34463f;
  backdrop-filter: blur(20px) saturate(1.2);
  animation: mini-player-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mini-player[hidden] {
  display: none;
}

.mini-player.is-closing {
  pointer-events: none;
  animation: mini-player-out 280ms ease-in both;
}

@keyframes mini-player-in {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mini-player-out {
  to {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(0.65rem) scale(0.96);
  }
}

.mini-player__cover {
  width: 3rem;
  height: 3rem;
  border-radius: 0.55rem;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(43, 62, 54, 0.16);
}

.mini-player__copy {
  min-width: 0;
}

.mini-player__copy strong,
.mini-player__copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-player__copy strong {
  font-size: 0.78rem;
}

.mini-player__copy span {
  margin-top: 0.16rem;
  color: #74827b;
  font-size: 0.65rem;
}

.mini-player__copy .mini-player__lyric {
  color: #536b5d;
  font-size: 0.65rem;
  font-weight: 650;
}

.mini-player__time {
  color: #74827b;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mini-player__controls {
  display: flex;
  gap: 0.2rem;
}

.mini-player__controls button,
.mini-player__close {
  display: grid;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  color: #42554c;
  font: inherit;
  cursor: pointer;
}

.mini-player__controls .mini-player__play {
  background: linear-gradient(135deg, #ff7794, #ffad6d);
  color: #fff;
}

.mini-player__close {
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  color: #708078;
  font-size: 1.1rem;
}

.mini-player__controls button:hover,
.mini-player__controls button:focus-visible,
.mini-player__close:hover,
.mini-player__close:focus-visible {
  outline: 2px solid rgba(255, 126, 135, 0.45);
  outline-offset: 1px;
}

.mini-player__progress {
  position: absolute;
  right: 0.8rem;
  bottom: 0.28rem;
  left: 0.8rem;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(65, 85, 74, 0.16);
}

.mini-player__progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff758e, #ffac69);
  transform: scaleX(0);
  transform-origin: left center;
}

.world-panel {
  position: fixed;
  inset: 0;
  width: min(1180px, calc(100vw - 6rem));
  height: min(800px, calc(100svh - 5rem));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 2rem;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 34px 100px rgba(52, 87, 103, 0.28), inset 0 1px rgba(255, 255, 255, 0.86);
  color: var(--ink);
  backdrop-filter: blur(28px) saturate(1.15);
}

.world-panel[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: panel-in 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.world-panel::backdrop {
  background: rgba(84, 131, 158, 0.24);
  backdrop-filter: blur(7px);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(34px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.world-panel button {
  font: inherit;
}

.world-panel__chrome {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(88, 117, 91, 0.1);
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(24px);
}

.world-panel__chrome form:last-child {
  justify-self: end;
}

.back-button,
.close-button,
.panel-tabs button,
.mailbox-button,
.player-controls button {
  border: 0;
  cursor: pointer;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 2.75rem;
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  background: transparent;
  color: #53675a;
  font-size: 0.86rem;
  font-weight: 700;
}

.back-button:hover,
.close-button:hover {
  background: rgba(116, 170, 109, 0.12);
}

.back-button:focus-visible,
.close-button:focus-visible,
.panel-tabs button:focus-visible,
.mailbox-button:focus-visible,
.player-controls button:focus-visible {
  outline: 3px solid rgba(255, 142, 112, 0.78);
  outline-offset: 2px;
}

.close-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
  color: #52635a;
  font-size: 1.5rem;
  line-height: 1;
}

.panel-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.16rem;
  padding: 0.28rem;
  border: 1px solid rgba(113, 145, 111, 0.12);
  border-radius: 999px;
  background: rgba(109, 154, 117, 0.07);
}

.panel-tabs button {
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  color: #68756c;
  font-size: 0.79rem;
  font-weight: 700;
}

.panel-tabs button:hover,
.panel-tabs button.is-current {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 18px rgba(70, 102, 74, 0.1);
  color: #415247;
}

.world-panel__scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(112, 144, 111, 0.34) transparent;
  scrollbar-width: thin;
}

.panel-section {
  min-height: 100%;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.panel-section[hidden] {
  display: none;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-kicker {
  margin: 0 0 0.8rem;
  color: #769069;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.section-intro h2 {
  margin: 0;
  color: #3e4d42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.section-lede {
  margin: 0;
  color: #667269;
  font-size: 1rem;
  line-height: 1.72;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(99, 129, 96, 0.12);
  border-radius: 1.65rem;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 46px rgba(73, 101, 76, 0.07);
  transition: box-shadow 360ms ease, transform 360ms ease;
}

.project-card__summary {
  display: grid;
  grid-template-columns: 1fr;
  cursor: pointer;
  list-style: none;
}

.project-card__summary::-webkit-details-marker {
  display: none;
}

.project-card[open] .project-card__summary {
  border-bottom: 1px solid rgba(99, 129, 96, 0.12);
  background: rgba(255, 255, 255, 0.34);
}

.project-card[open] {
  box-shadow: 0 28px 68px rgba(73, 101, 76, 0.16);
  transform: translateY(-0.18rem);
}

.project-card__visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 8 / 3;
  overflow: hidden;
  background: #1e2924;
}

.project-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.project-card__visual span {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.project-card__copy {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.project-card__eyebrow {
  margin: 0 0 0.42rem;
  color: #87987e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card__copy h3 {
  margin: 0 0 1rem;
  color: #455449;
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.08;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.project-tags li {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(126, 156, 114, 0.12);
  color: #6b7e67;
  font-size: 0.7rem;
}

.project-card__description {
  margin: 0;
  color: #667269;
  font-size: 0.86rem;
  line-height: 1.65;
}

.project-card__action {
  display: inline-block;
  margin-top: 1rem;
  color: #587457;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__action::after {
  content: " +";
}

.project-card[open] .project-card__action::after {
  content: " −";
}

.project-gallery {
  display: grid;
  gap: 0.7rem;
  padding: 0.7rem;
  background: rgba(237, 241, 233, 0.72);
}

.project-card[open] .project-gallery {
  animation: project-sheet-drop 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: top center;
}

@keyframes project-sheet-drop {
  from {
    opacity: 0;
    transform: translateY(-1.4rem) scale(0.985);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  user-select: none;
  -webkit-user-drag: none;
}

.art-wall {
  columns: 3 260px;
  column-gap: clamp(1rem, 2.5vw, 2rem);
}

.art-frame {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(1rem, 2.5vw, 2rem);
  padding: 0.7rem 0.7rem 1.05rem;
  border: 1px solid rgba(109, 122, 90, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(92, 95, 72, 0.12);
  break-inside: avoid;
}

.art-frame a {
  display: block;
  overflow: hidden;
  border-radius: 0.22rem;
  background: #f3eee4;
  cursor: zoom-in;
}

.art-frame img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 180ms ease;
}

.art-frame a:hover img,
.art-frame a:focus-visible img {
  transform: scale(1.015);
}

.art-frame h3 {
  margin: 0.9rem 0 0.24rem;
  color: #46534b;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-weight: 400;
}

.art-frame__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: #8a938c;
  font-size: 0.76rem;
}

.art-frame__meta time {
  margin-right: auto;
}

.art-frame__meta span {
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: rgba(126, 156, 114, 0.12);
  color: #6b7e67;
}

.art-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  background: rgba(18, 25, 22, 0.94);
  color: #fff;
}

.art-lightbox::backdrop {
  background: rgba(18, 25, 22, 0.8);
}

.art-lightbox figure {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
}

.art-lightbox img {
  max-width: min(92vw, 1600px);
  max-height: 86vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.art-lightbox figcaption {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
}

.art-lightbox__close {
  position: fixed;
  z-index: 1;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
}

.music-studio {
  display: grid;
  gap: 1rem;
}

.turntable-stage {
  position: relative;
  display: grid;
  min-height: 410px;
  place-items: center;
  overflow: hidden;
  perspective: 900px;
  background:
    radial-gradient(circle at 48% 38%, rgba(139, 216, 167, 0.28), transparent 34%),
    linear-gradient(145deg, #315f54, #8eb185 58%, #d8b98d);
}

.turntable-stage::after {
  content: "";
  position: absolute;
  inset: auto 8% 3% 8%;
  height: 16%;
  border-radius: 50%;
  background: rgba(23, 40, 33, 0.3);
  filter: blur(16px);
}

.turntable-deck {
  position: relative;
  z-index: 1;
  width: min(82%, 360px);
  aspect-ratio: 1.18;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 1.25rem;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(145deg, #f0d8b9, #bd8f67);
  box-shadow: 0 35px 45px rgba(32, 46, 39, 0.34), inset 0 1px rgba(255, 255, 255, 0.55);
  transform: rotateX(54deg) rotateZ(-9deg);
  transform-style: preserve-3d;
}

.vinyl-disc {
  position: absolute;
  top: 8%;
  left: 7%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 4px, rgba(255, 255, 255, 0.05) 5px, transparent 6px),
    conic-gradient(from 8deg, #0c0e0d, #343836, #080a09, #252927, #090b0a);
  box-shadow: 0 13px 20px rgba(28, 25, 21, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  transform: translateZ(15px);
}

.vinyl-label {
  position: absolute;
  inset: 33%;
  overflow: hidden;
  border: 2px solid rgba(255, 244, 211, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffcf86, #e27868 70%);
}

.vinyl-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-spindle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f8ecd1;
  box-shadow: 0 0 0 3px rgba(30, 32, 29, 0.55);
  transform: translate(-50%, -50%);
}

.tonearm {
  position: absolute;
  z-index: 2;
  top: 11%;
  right: 8%;
  width: 26%;
  height: 72%;
  transform: rotate(-4deg) translateZ(25px);
  transform-origin: 70% 12%;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tonearm-pivot {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.8rem;
  aspect-ratio: 1;
  border: 6px solid #646962;
  border-radius: 50%;
  background: #d4c5aa;
  box-shadow: 0 6px 10px rgba(31, 31, 28, 0.34);
}

.tonearm-bar {
  position: absolute;
  top: 2rem;
  right: 1.15rem;
  width: 6px;
  height: 75%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d716b, #e8e1d2 48%, #565a55);
  transform: rotate(5deg);
  transform-origin: top;
}

.tonearm-head {
  position: absolute;
  right: 0.3rem;
  bottom: 2%;
  width: 1.7rem;
  height: 2.2rem;
  border-radius: 0.3rem;
  background: #363c38;
}

.deck-light {
  position: absolute;
  right: 7%;
  bottom: 7%;
  width: 0.62rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff846e;
  box-shadow: 0 0 16px #ff846e;
  transform: translateZ(12px);
}

.music-player-copy {
  align-self: center;
  padding: clamp(2rem, 4vw, 4rem);
}

.now-playing {
  margin: 0 0 0.6rem;
  color: #acd6ac;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.music-track-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.music-track-artist {
  min-height: 2.8em;
  margin: 0.72rem 0 1.5rem;
  color: rgba(236, 241, 226, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.music-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  accent-color: #f5b176;
  cursor: pointer;
}

.music-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  color: rgba(236, 241, 226, 0.55);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.player-controls button {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f0df;
  font-size: 1.45rem;
}

.player-controls .play-button {
  width: 3.7rem;
  height: 3.7rem;
  border: 0;
  background: linear-gradient(135deg, #ff876e, #ffc36e);
  box-shadow: 0 10px 28px rgba(238, 132, 95, 0.32);
  color: white;
  font-size: 1rem;
}

.player-status {
  margin: 0.9rem 0 0;
  color: rgba(236, 241, 226, 0.56);
  font-size: 0.72rem;
  text-align: center;
}

.track-list,
.lyrics-lines {
  height: 25rem;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(101, 128, 97, 0.3) transparent;
  scrollbar-width: thin;
}

.track-list {
  padding: 0.55rem;
  list-style: none;
}

.track-list button {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 0.7rem;
  padding: 0.72rem 0.65rem;
  border-radius: 0.85rem;
  color: #536158;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.track-list button:hover,
.track-list button:focus-visible {
  background: rgba(139, 179, 126, 0.12);
  transform: translateX(0.16rem);
}

.track-list button[aria-current="true"] {
  background: linear-gradient(100deg, rgba(129, 171, 117, 0.2), rgba(255, 184, 130, 0.16));
  color: #34483a;
}

.track-name {
  min-width: 0;
}

.track-name strong,
.track-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-name strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
}

.track-name span {
  margin-top: 0.16rem;
  color: #919a92;
  font-size: 0.68rem;
}

.lyrics-lines {
  padding: 2.2rem 1.5rem;
  scroll-behavior: smooth;
}

.lyrics-lines p {
  margin: 0 0 1.2rem;
  color: #a1a8a1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.62;
  transition: color 240ms ease, opacity 240ms ease, transform 240ms ease;
}

.lyrics-lines p.is-current {
  color: #4f6d54;
  opacity: 1;
  transform: translateX(0.4rem);
}

.lyrics-lines .lyrics-placeholder {
  color: #909a91;
  font-style: italic;
  opacity: 1;
}

.world-panel[data-section="music"] .world-panel__scroll {
  overflow: hidden;
}

.world-panel[data-section="music"] .world-panel__footer {
  display: none;
}

.panel-section--music {
  height: 100%;
  min-height: 0;
  padding: clamp(0.75rem, 1.6vw, 1.35rem);
  font-family: Inter, "Avenir Next", "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
}

.music-studio {
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.2fr) minmax(210px, 1fr);
  align-items: stretch;
  height: 100%;
  min-height: 0;
  gap: clamp(0.8rem, 1.7vw, 1.5rem);
}

.track-shelf {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.track-shelf__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.45rem 0.85rem;
  border-bottom: 1px solid rgba(69, 82, 73, 0.16);
}

.track-shelf__header h2 {
  margin: 0;
  color: #35433a;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.track-shelf__header span {
  color: #839087;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.track-list {
  height: auto;
  min-height: 0;
  padding: 0.35rem 0;
}

.track-list button {
  grid-template-columns: 2.65rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  padding: 0.5rem 0.4rem;
  border: 0;
  border-bottom: 1px solid rgba(69, 82, 73, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #49564e;
  transform: none;
}

.track-list button:hover,
.track-list button:focus-visible {
  background: rgba(89, 119, 94, 0.07);
  transform: none;
}

.track-list button[aria-current="true"] {
  background: transparent;
  box-shadow: inset 2px 0 #738f74;
  color: #26392d;
}

.track-cover {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.22rem;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(45, 56, 48, 0.13);
}

.track-name strong {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.track-name span {
  margin-top: 0.18rem;
  font-size: 0.61rem;
}

.track-release {
  color: #929b94;
  font-size: 0.58rem;
  white-space: nowrap;
}

.turntable-stage {
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.turntable-stage::after {
  display: none;
}

.turntable-machine {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1.08;
  align-self: center;
  container-type: inline-size;
  perspective: 1100px;
}

.turntable-machine::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 11% 0;
  height: 9%;
  border-radius: 50%;
  background: rgba(17, 35, 28, 0.38);
  filter: blur(9px);
}

.dust-cover {
  position: absolute;
  z-index: 1;
  top: 7%;
  right: 10%;
  left: 10%;
  height: 54%;
  overflow: hidden;
  border: 2px solid rgba(229, 243, 235, 0.72);
  border-radius: 3cqw 3cqw 1cqw 1cqw;
  background:
    linear-gradient(117deg, rgba(255, 255, 255, 0.38), transparent 33% 72%, rgba(218, 240, 229, 0.22)),
    linear-gradient(155deg, rgba(166, 194, 181, 0.18), rgba(70, 96, 88, 0.13));
  box-shadow: inset 3px 3px 2px rgba(255, 255, 255, 0.45), inset -3px -2px 1px rgba(53, 79, 74, 0.22), 0 12px 25px rgba(27, 45, 41, 0.17);
  transform: rotateX(-8deg);
  transform-origin: bottom center;
}

.dust-cover::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -10%;
  width: 28%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(22deg);
}

.dust-cover::before {
  content: "";
  position: absolute;
  inset: 1.4cqw;
  border: 1px solid rgba(242, 255, 241, 0.45);
  border-bottom-color: rgba(69, 99, 82, 0.18);
  border-radius: 1.8cqw;
  pointer-events: none;
}

.album-display {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 28%;
  width: 34%;
  aspect-ratio: 1;
  padding: 1cqw;
  background: #fff7e6;
  box-shadow: 2px 2px 0 #c8c3b6, 4px 4px 0 #9e9e92, 0 9px 15px rgba(26, 42, 36, 0.35);
  transform: rotate(-6deg);
}

.album-display::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 7%;
  left: 78%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #111 0 4px, #292d2b 5px, #0d0f0e 7px);
  box-shadow: 0 5px 13px rgba(31, 37, 33, 0.3);
}

.album-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lid-glint {
  position: absolute;
  top: 6%;
  right: 26%;
  width: 14%;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(-1deg);
}

.turntable-deck {
  position: absolute;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: 13%;
  left: 6%;
  width: 88%;
  aspect-ratio: 1.12;
  border: 2px solid #dce8db;
  border-radius: 2.2cqw;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(125deg, #f1f3de, #c0d4c1 35%, #8fae9e);
  box-shadow: inset 0 3px 2px #fffef0, inset 0 -3px 2px #69877a, inset -3px 0 5px rgba(73, 98, 87, 0.24);
  transform: rotateX(48deg);
  transform-origin: bottom center;
}

.deck-fascia {
  position: absolute;
  top: calc(100% - 1px);
  right: -2px;
  left: -2px;
  height: 16%;
  border: 1px solid #6b8576;
  border-top: 2px solid #dce6ce;
  border-radius: 0 0 2cqw 2cqw;
  background: linear-gradient(180deg, rgba(242, 250, 220, 0.16), transparent 40%, rgba(22, 44, 34, 0.2)), linear-gradient(90deg, #839f8b, #597869 70%, #3c584d);
  box-shadow: inset 0 -4px 1px #354e43, inset 0 3px 5px rgba(225, 235, 203, 0.2), 0 15px 17px rgba(16, 33, 29, 0.25);
  transform: rotateX(-90deg);
  transform-origin: top;
}

.turntable-deck::before {
  content: "";
  position: absolute;
  inset: 2%;
  border: 1px solid rgba(87, 116, 93, 0.25);
  border-radius: 1.5cqw;
  box-shadow: 0 1px rgba(255, 255, 235, 0.6);
}

.deck-badge {
  position: absolute;
  top: 26%;
  left: 7%;
  padding: 0.7cqw 1.4cqw;
  border: 1px solid #dbd9b0;
  border-radius: 0.7cqw;
  background: linear-gradient(120deg, #f1e6c6, #c4c59e);
  box-shadow: 0 1px 2px #344f43;
  color: #50634c;
  font: italic 700 2.4cqw/1 Georgia, serif;
  letter-spacing: 0.04em;
}

.deck-grille {
  position: absolute;
  inset: 30% 8% 28% 68%;
  border-radius: 1cqw;
  background: repeating-linear-gradient(90deg, #304a3f 0 1px, #94aa91 1px 3px, transparent 3px 5px);
}

.deck-foot {
  position: absolute;
  bottom: 2%;
  width: 13%;
  height: 7%;
  border-radius: 0 0 1.5cqw 1.5cqw;
  background: linear-gradient(90deg, #283b35, #638073 40%, #1c2d28);
  box-shadow: inset 0 -4px 1px #1b2b26, 0 7px 9px rgba(12, 28, 24, 0.24);
}

.deck-foot--left { left: 13%; }
.deck-foot--right { right: 13%; }
.deck-foot::after { content: ""; position: absolute; inset: 15% 2% auto; height: 12%; border-radius: 1cqw; background: linear-gradient(90deg, #7c917e, #d4ddbc, #6c836e); }

.lid-hinge {
  position: absolute;
  top: -1%;
  width: 12%;
  height: 5%;
  border-radius: 1cqw;
  background: linear-gradient(#697d70, #e2e7ce 45%, #758b7b 65%, #384f43);
  box-shadow: 0 2px 3px #567060;
  transform: translateZ(2cqw);
}

.lid-hinge--left { left: 10%; }
.lid-hinge--right { right: 10%; }

.record-platter {
  position: absolute;
  top: 7%;
  left: 6%;
  width: 67%;
  aspect-ratio: 1;
  border: 2px solid #dce5dc;
  border-radius: 50%;
  background: repeating-conic-gradient(#d6ded5 0deg 2deg, #7f9287 2deg 4deg);
  box-shadow: 0 3px 0 #7d8b82, 0 6px 0 #42584a, 0 9px 0 #263c30, 0 13px 14px rgba(31, 51, 39, 0.42);
  transform: translateZ(3cqw);
}

.vinyl-disc {
  top: 9%;
  left: 8%;
  width: 63%;
  background:
    repeating-radial-gradient(circle, transparent 0 2px, rgba(200, 219, 210, 0.12) 2.5px, transparent 3px),
    conic-gradient(from 20deg, #101a18, #323f3b 14%, #0b1412 24% 48%, #4c5750 64%, #101a17 77%);
  box-shadow: 0 2px 0 #111b16, 0 4px 3px rgba(4, 15, 10, 0.6), inset 0 0 0 2px #37483d;
  transform: translateZ(4cqw);
  animation: vinyl-spin 4.8s linear infinite paused;
}

.music-studio.is-playing .vinyl-disc {
  animation-play-state: running;
}

@keyframes vinyl-spin {
  to { transform: translateZ(4cqw) rotate(360deg); }
}

.vinyl-label { box-shadow: 0 0 0 1px #192820, 0 0 0 3px rgba(227, 231, 209, 0.15); }
.vinyl-disc::after { content: ""; position: absolute; inset: 27%; border: 1px solid rgba(184, 201, 180, 0.24); border-radius: 50%; box-shadow: 0 0 0 3px rgba(0, 10, 5, 0.25); }
.vinyl-spindle { background: linear-gradient(110deg, #ffffeb, #b1b7a6 50%, #657369); box-shadow: 1px 2px 2px #15251b; }

.tonearm {
  top: 9%;
  right: 7%;
  width: 27%;
  height: 63%;
  transform: translateZ(7cqw) rotate(-8deg);
  transform-origin: 82% 8%;
  transform-style: preserve-3d;
}

.music-studio.is-playing .tonearm {
  transform: translateZ(6cqw) rotate(24deg);
}

.tonearm-pivot {
  width: 8cqw;
  border: 1.5cqw solid #627c6a;
  background: radial-gradient(circle at 40% 30%, #faf7dd, #b9c5ae 60%, #748b77);
  box-shadow: 0 1px 0 #dfe6cf, 0 4px 0 #3c5545, 2px 8px 5px rgba(30, 48, 34, 0.35);
}

.tonearm-counterweight {
  position: absolute;
  top: -4%;
  right: 1cqw;
  width: 6cqw;
  height: 9%;
  border: 1px solid #dce4d5;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #5b7165, #e6eddf 48%, #718779);
  box-shadow: 2px 4px 2px rgba(35, 55, 40, 0.35);
  transform: translateZ(1cqw);
}

.tonearm-bar {
  top: 4cqw;
  right: 3.1cqw;
  width: 1.5cqw;
  height: 78%;
  background: linear-gradient(90deg, #627164, #fffde4 36%, #cad5be 60%, #4a6654);
  box-shadow: 2px 6px 3px rgba(35, 53, 39, 0.28);
}

.tonearm-head {
  right: 2cqw;
  width: 5cqw;
  height: 7cqw;
  border: 1px solid #bfcdb7;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #2e4638, #758e77 55%, #354e3e);
  box-shadow: 0 3px 0 #263b2e, 1px 7px 5px rgba(26, 44, 30, 0.4);
}

.tonearm-head::after { content: ""; position: absolute; bottom: -25%; left: 40%; width: 20%; height: 30%; background: #dcbda0; }
.tonearm-head::before { content: ""; position: absolute; inset: 18% 24% 30%; background: repeating-linear-gradient(90deg, #c0cfb5 0 1px, transparent 1px 3px); }

.deck-light {
  right: 10%;
  bottom: 9%;
  width: 1.6cqw;
  background: #a0b995;
  box-shadow: 0 0 0 2px #5b7761;
  transform: translateZ(1cqw);
}

.music-studio.is-playing .deck-light { background: #e6ffd0; box-shadow: 0 0 0 2px #6f9272, 0 0 12px #c1ed93; }

.deck-knob {
  position: absolute;
  z-index: 4;
  bottom: 9%;
  width: 6cqw;
  aspect-ratio: 1;
  border: 1px solid #96a58f;
  border-radius: 50%;
  background: conic-gradient(#f0e9c9, #c0c3a5, #fcf8dc, #a6b599, #f0e9c9);
  box-shadow: 0 2px 0 #a4b097, 0 5px 0 #6e876f, 0 7px 0 #48664e, 1px 10px 7px rgba(40, 64, 44, 0.35);
  transform: translateZ(3cqw);
}

.deck-knob::after { content: ""; position: absolute; top: 12%; left: 48%; width: 2px; height: 26%; border-radius: 2px; background: #6b8069; }
.deck-knob--one { left: 34%; }
.deck-knob--two { left: 46%; }

.deck-slider {
  position: absolute;
  z-index: 4;
  right: 19%;
  bottom: 11%;
  width: 14%;
  height: 1.4cqw;
  border-radius: 999px;
  background: #546e5a;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transform: translateZ(1cqw);
}

.deck-slider::after { content: ""; position: absolute; top: -0.7cqw; left: 55%; width: 2.5cqw; height: 2.8cqw; border-radius: 0.5cqw; background: linear-gradient(90deg, #92a18a, #f5edcf, #a7b29a); box-shadow: 0 2px 2px #3b5843; }

.sticker {
  position: absolute;
  z-index: 5;
  display: block;
  overflow: visible;
  height: auto;
  filter: drop-shadow(0 1px 0 #cfceb7) drop-shadow(1px 2px 1px rgba(42, 65, 46, 0.25));
  transform: translateZ(0.5cqw) rotate(var(--sticker-angle, 0deg));
}

.sticker--star {
  top: 9%;
  left: 8%;
  width: 15%;
  --sticker-angle: -12deg;
}

.sticker--cat {
  right: 7%;
  top: 11%;
  width: 20%;
  --sticker-angle: 12deg;
}

.sticker--berry {
  bottom: 3%;
  left: 7%;
  width: 15%;
  --sticker-angle: -16deg;
}

.sticker--flower {
  right: 5%;
  bottom: 25%;
  width: 13%;
  --sticker-angle: 16deg;
}

.music-player-copy {
  display: flex;
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2.6rem) clamp(0.7rem, 1.6vw, 1.8rem);
  flex-direction: column;
  justify-content: center;
  color: #33423a;
}

.now-playing {
  margin-bottom: 0.7rem;
  color: #758d76;
  font-family: inherit;
}

.music-track-title {
  font-family: inherit;
  font-size: clamp(1.4rem, 2.2vw, 2.25rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.music-track-artist {
  min-height: 0;
  margin: 0.6rem 0 0;
  color: #6f7b73;
  font-size: 0.78rem;
}

.music-track-release {
  margin: 0.24rem 0 0;
  color: #9aa29c;
  font-size: 0.65rem;
}

.lyrics-lines {
  height: clamp(6.5rem, 22vh, 10rem);
  margin: 1rem 0 0.7rem;
  padding: 0.8rem 0;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  scroll-behavior: smooth;
}

.lyrics-lines p {
  margin: 0 0 0.7rem;
  color: #a0a8a2;
  font-family: inherit;
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  line-height: 1.45;
  opacity: 0.45;
}

.lyrics-lines p.is-current {
  color: #405b48;
  font-weight: 750;
  opacity: 1;
  transform: none;
}

.music-progress {
  height: 5px;
  accent-color: #ff806d;
}

.music-time {
  color: #8b958e;
}

.player-controls {
  margin-top: 0.8rem;
}

.player-controls button {
  border-color: rgba(66, 83, 72, 0.12);
  background: rgba(88, 111, 94, 0.08);
  color: #425249;
}

.player-controls .play-button {
  background: linear-gradient(135deg, #ff718d, #ffab67);
  box-shadow: 0 10px 26px rgba(238, 117, 102, 0.25);
  color: #fff;
}

.player-status {
  margin-top: 0.65rem;
  color: #8a958d;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
}

.about-card {
  position: relative;
  min-height: 260px;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(103, 132, 100, 0.12);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.53);
  box-shadow: 0 18px 48px rgba(72, 100, 79, 0.06);
}

.about-card--story {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 213, 139, 0.72), transparent 15%),
    linear-gradient(145deg, rgba(170, 216, 176, 0.72), rgba(255, 235, 210, 0.72));
}

.about-card--story p {
  margin: 0;
  color: #46554b;
  font-size: 1rem;
  line-height: 1.72;
}

.about-card p + p {
  margin-top: 0.85rem;
}

.about-card .tag-list {
  margin-bottom: 0.85rem;
}

.about-card__number {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  color: rgba(86, 111, 89, 0.45);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.about-card h3 {
  margin: 2.4rem 0 1.2rem;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  background: rgba(123, 167, 115, 0.1);
  color: #617061;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-card--mailbox {
  background: linear-gradient(150deg, rgba(255, 215, 189, 0.72), rgba(255, 246, 223, 0.72));
}

.mailbox-button {
  min-height: 2.75rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: #9a6545;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
}

.mailbox-button:hover,
.mailbox-button.is-open {
  background: #7c513a;
  transform: translateY(-1px);
}

.mailbox-message {
  margin: 1rem 0 0;
  color: #845c48;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-style: italic;
}

.world-panel__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.5rem;
  border-top: 1px solid rgba(95, 120, 96, 0.09);
  background: rgba(255, 253, 248, 0.68);
  color: #8c958e;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-aspect-ratio: 4 / 5), (max-width: 760px) {
  body {
    overflow: auto;
  }

  .world {
    min-height: 720px;
  }

  .world__art {
    object-position: 50% 45%;
    transform: scale(1.02);
    filter: saturate(0.96) brightness(0.92);
  }

  .world::after {
    background:
      linear-gradient(180deg, rgba(57, 118, 167, 0.05) 0%, transparent 38%, rgba(48, 85, 92, 0.58) 100%),
      linear-gradient(90deg, rgba(68, 111, 150, 0.18), transparent 18%, transparent 82%, rgba(68, 111, 150, 0.18));
  }

  .brand-hitbox,
  .desktop-nav,
  .explore-hitbox,
  .island-map {
    display: none;
  }

  .mobile-copy {
    position: absolute;
    z-index: 6;
    isolation: isolate;
    left: max(1.25rem, env(safe-area-inset-left));
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: calc(7.2rem + env(safe-area-inset-bottom));
    display: block;
    text-align: center;
    text-shadow: 0 3px 20px rgba(40, 83, 108, 0.45);
  }

  .mobile-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -8.6rem -2.6rem -5.2rem;
    background: radial-gradient(ellipse at 50% 58%, rgba(47, 94, 121, 0.9) 0 38%, rgba(47, 94, 121, 0.68) 59%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0 62%, transparent 86%);
    mask-image: radial-gradient(ellipse at center, #000 0 62%, transparent 86%);
    backdrop-filter: blur(9px);
    pointer-events: none;
  }

  .mobile-copy__eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .mobile-copy__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
  }

  .mobile-copy__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-width: 10rem;
    min-height: 3.25rem;
    margin-top: 1.3rem;
    padding: 0.8rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: linear-gradient(100deg, var(--coral), var(--peach));
    box-shadow: 0 12px 34px rgba(234, 111, 82, 0.32), inset 0 1px rgba(255, 255, 255, 0.55);
    font-size: 1.05rem;
    font-weight: 650;
    text-decoration: none;
    pointer-events: auto;
  }

  .mobile-dock {
    position: absolute;
    z-index: 10;
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 4rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.55rem;
    background: rgba(103, 151, 183, 0.38);
    box-shadow: 0 14px 42px rgba(37, 69, 88, 0.24), inset 0 1px rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(22px) saturate(1.2);
  }

  .mobile-dock a {
    display: grid;
    place-items: center;
    min-width: 0;
    border-radius: 1.2rem;
    font-size: 0.83rem;
    font-weight: 650;
    text-decoration: none;
  }

  .explore-note {
    display: none;
  }

  .world-panel {
    width: calc(100vw - 0.8rem);
    max-width: none;
    height: calc(100svh - 0.8rem);
    max-height: none;
    border-radius: 1.5rem;
  }

  .world-panel[open] {
    grid-template-rows: auto 1fr auto;
  }

  .world-panel__chrome {
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    padding: 0.7rem;
  }

  .world-panel__chrome form:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .world-panel__chrome form:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  .panel-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .panel-tabs button {
    min-width: 0;
    padding-inline: 0.35rem;
    font-size: 0.7rem;
  }

  .panel-section {
    padding: 1.8rem 1.15rem 2.4rem;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .section-intro h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .section-lede {
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .project-card__summary {
    grid-template-columns: 1fr;
  }

  .project-card__visual {
    min-height: 0;
  }

  .art-wall {
    columns: 2 220px;
  }

  .panel-section--music {
    padding: 0.65rem;
  }

  .music-studio {
    grid-template-columns: minmax(9.5rem, 0.68fr) minmax(0, 1.32fr);
    grid-template-rows: minmax(0, 0.54fr) minmax(0, 0.46fr);
    gap: 0.6rem;
  }

  .track-shelf {
    grid-row: 1 / -1;
  }

  .turntable-stage {
    min-height: 0;
  }

  .turntable-machine {
    min-height: 0;
  }

  .music-player-copy {
    padding: 0.5rem 0.65rem;
    justify-content: flex-start;
  }

  .music-track-title {
    font-size: clamp(1.3rem, 4vw, 2rem);
  }

  .lyrics-lines {
    height: 4.6rem;
    margin-top: 0.5rem;
  }

  .player-controls {
    margin-top: 0.35rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: 220px;
  }

  .world-panel__footer {
    justify-content: center;
    text-align: center;
  }

  .world-panel__footer span:last-child {
    display: none;
  }
}

@media (max-width: 520px) {
  .mini-player {
    grid-template-columns: 2.75rem minmax(0, 1fr) auto auto;
    gap: 0.45rem;
  }

  .mini-player__cover {
    width: 2.75rem;
    height: 2.75rem;
  }

  .mini-player__time {
    display: none;
  }

  .art-wall {
    columns: 1;
  }

  .back-button {
    padding-inline: 0.65rem;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Interactive 3D world */

.world__canvas,
.world__fallback {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.world__canvas {
  cursor: grab;
  outline: none;
  touch-action: none;
}

.world__canvas:active,
.world.is-flying .world__canvas {
  cursor: grabbing;
}

.world__canvas:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.9), inset 0 0 0 7px rgba(255, 139, 108, 0.55);
}

.world__fallback {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) brightness(0.94);
}

.world__fallback[hidden],
.webgl-message[hidden] {
  display: none;
}

.brand-lockup {
  position: absolute;
  z-index: 5;
  top: clamp(1.25rem, 3.2vw, 3rem);
  left: clamp(1.35rem, 3.5vw, 3.6rem);
  display: grid;
  gap: 0.18rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  text-shadow: 0 3px 22px rgba(53, 104, 135, 0.28);
  transition: opacity 700ms ease 240ms, transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 240ms;
}

.world.is-ready .brand-lockup {
  opacity: 1;
  transform: translateY(0);
}

.brand-lockup__name {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(2.2rem, 3.6vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.brand-lockup__name span {
  display: inline-block;
  margin-left: 0.25rem;
  color: #ff9879;
  font-family: Georgia, serif;
  font-size: 0.58em;
  transform: translateY(-0.55em);
}

.brand-lockup__tagline {
  padding-left: 0.28rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 43%;
  top: 57%;
  bottom: auto;
  width: min(35rem, calc(100% - 3rem));
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 4px 28px rgba(47, 92, 119, 0.42);
  transform: translate(-50%, 16px);
  transition: opacity 760ms ease 360ms, transform 980ms cubic-bezier(0.16, 1, 0.3, 1) 360ms;
}

.world.is-ready .hero-copy {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-copy h1 {
  margin: 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3.4vw, 3.65rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
}

.world.has-orbited .hero-copy h1 {
  opacity: 0;
  transform: translateY(12px);
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-copy {
    left: 36%;
    top: 63%;
    width: min(26rem, 60%);
  }
  .hero-copy h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
}

.hero-copy .explore-note {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0.3rem 0.45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 1;
  transform: none;
  text-shadow: 0 3px 18px rgba(54, 91, 110, 0.48);
  backdrop-filter: none;
}

.orbit-hint {
  position: absolute;
  z-index: 5;
  right: clamp(1.25rem, 3vw, 3rem);
  bottom: clamp(1.2rem, 3vw, 2.8rem);
  display: flex;
  align-items: center;
  gap: 0.58rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  opacity: 0;
  text-shadow: 0 3px 18px rgba(49, 91, 116, 0.42);
  text-transform: uppercase;
  transition: opacity 700ms ease 620ms;
}

.world.is-ready .orbit-hint {
  opacity: 1;
}

.orbit-hint span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(72, 120, 149, 0.2);
  font-size: 1rem;
  backdrop-filter: blur(12px);
}

.keyboard-islands {
  position: fixed;
  z-index: 40;
  left: -9999px;
  bottom: 1rem;
  display: flex;
  gap: 0.35rem;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 1.35rem;
  background: rgba(70, 116, 144, 0.72);
  box-shadow: 0 18px 54px rgba(36, 69, 87, 0.24);
  backdrop-filter: blur(18px);
}

.keyboard-islands:focus-within {
  left: 1rem;
}

.keyboard-islands button {
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.13);
  color: white;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.keyboard-islands button:focus-visible {
  outline: 3px solid #ffad87;
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.webgl-message {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 1rem;
  max-width: min(32rem, calc(100% - 2rem));
  margin: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(66, 104, 127, 0.72);
  color: white;
  font-size: 0.82rem;
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.world-panel__chrome {
  grid-template-columns: minmax(130px, 1fr) auto;
}

.world-panel__chrome form:last-child {
  grid-column: 2;
}

@media (max-aspect-ratio: 4 / 5), (max-width: 760px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .world {
    height: 100vh;
    height: 100svh;
    min-height: 100svh;
  }

  .world::after {
    background:
      linear-gradient(180deg, rgba(76, 142, 187, 0.02) 0%, transparent 52%, rgba(49, 95, 113, 0.26) 100%),
      radial-gradient(ellipse at center, transparent 52%, rgba(48, 83, 101, 0.12) 115%);
  }

  .brand-lockup {
    top: max(1rem, env(safe-area-inset-top));
    left: max(1.1rem, env(safe-area-inset-left));
  }

  .brand-lockup__name {
    font-size: 2.3rem;
  }

  .brand-lockup__tagline {
    font-size: 0.56rem;
  }

  .hero-copy {
    top: 67%;
    bottom: auto;
    left: 50%;
    width: calc(100% - 2rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 9.4vw, 3rem);
  }

  .hero-copy .explore-note {
    margin-top: 0.8rem;
    padding: 0.58rem 0.82rem;
    font-size: 0.72rem;
  }

  .orbit-hint {
    display: none;
  }

  .keyboard-islands {
    right: auto;
    bottom: max(0.55rem, env(safe-area-inset-bottom));
    flex-wrap: wrap;
  }

  .keyboard-islands:focus-within {
    left: 0.55rem;
    right: 0.55rem;
  }

  .world-panel__chrome {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
  }

  .world-panel__chrome form:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .world-panel__chrome form:last-child {
    grid-column: 2;
    grid-row: 1;
  }
}
