/* The downloaded Nuxt snapshot leaves a second hydrated <main> after SSR. */
@font-face {
  font-family: "Felix Titling";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Felix Titling.TTF") format("truetype");
}

@font-face {
  font-family: "Ma Shan Zheng SONG";
  src: url("/fonts/MaShanZheng-title-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --color-light-white: #ebe8e1;
  --song-article-color: #595955;
  --song-article-font-family: NeueHaasDisplay-Roman, sans-serif;
  --song-article-font-size: 14px;
  --song-article-font-weight: 500;
  --song-article-line-height: 20px;
  --song-article-letter-spacing: 0.6px;
  --song-article-paragraph-gap: 10px;
  --song-home-title-size: 57px;
}

#__nuxt > main ~ main {
  display: none !important;
}

html {
  overscroll-behavior-y: none;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  overflow-x: clip;
  background: #ebe8e1;
}

/* Keep the opening video and hero words visible before hydration completes. */
#hero {
  height: 200vh !important;
  opacity: 1 !important;
}

@media (min-width: 768px) {
  #hero {
    height: 300vh !important;
  }
}

#hero .title {
  font-family: "Felix Titling", serif !important;
  font-size: 57px !important;
  font-weight: 700 !important;
}

#hero .title > span {
  filter: none !important;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

#hero .title > span:nth-child(2),
#hero .title > span:nth-child(4) {
  padding-left: 3ch;
}

.song-mobile-video-play {
  display: none;
}

@media (min-width: 435px) {
  :root {
    --song-home-title-size: 72px;
  }

  #hero .title {
    font-size: 72px !important;
  }
}

@media (min-width: 1440px) {
  :root {
    --song-home-title-size: 152px;
  }

  #hero .title {
    font-size: 152px !important;
  }
}

.song-logo-host canvas {
  display: none !important;
}

.song-logo-host {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 92px;
}

/* The opening mark needs the full box, but the compact wordmark must not keep
   that invisible box over the English mobile navigation. */
.song-logo-host.is-wordmark {
  width: 0;
  height: 0;
}

.song-logo-variant {
  position: absolute;
  grid-area: 1 / 1;
  display: block;
  background-image: url("/images/song-logo.png");
  background-repeat: no-repeat;
  transition: none;
  will-change: opacity, transform;
}

.song-logo-variant--mark {
  width: 120px;
  height: 92px;
  background-size: 336px 226px;
  background-position: -110px -134px;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* The opening seal belongs to the hero, not the top navigation. Center its
   full 120 x 92 artwork box in the visible video at every viewport size while
   keeping the existing scroll fade/scale transform intact. */
@media (max-width: 767px) {
  .song-logo-variant--mark {
    position: fixed;
    top: 50vh;
    left: 50vw;
    margin-top: -46px;
    margin-left: -60px;
  }
}

@media (min-width: 768px) {
  .song-logo-variant--mark {
    position: fixed;
    top: 50vh;
    left: 50vw;
    margin-top: -46px;
    margin-left: -60px;
  }
}

.song-logo-variant--wordmark {
  width: 71px;
  height: 18px;
  background-size: 71px 48px;
  background-position: 0 0;
  opacity: 0;
  transform: translateY(5px) scale(0.94);
}

.song-logo-host.is-wordmark .song-logo-variant--mark {
  opacity: 0;
  transform: translateY(-5px) scale(0.9);
}

.song-logo-host.is-wordmark .song-logo-variant--wordmark {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.song-document-nav {
  position: absolute;
  top: 34px;
  right: 32px;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--color-dark-text, #201f1f);
  font-size: 11px;
  letter-spacing: 1.2px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 320ms ease, transform 320ms ease, visibility 0s linear 320ms;
}

.song-language-switcher {
  position: static;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.song-language-select {
  min-width: 82px;
  height: 34px;
  padding: 0 28px 0 12px;
  border: 1px solid rgba(32, 31, 31, 0.28);
  border-radius: 999px;
  color: #201f1f;
  background: var(--song-page-paper, #ebe8e1);
  font: 500 10px/1 NeueHaasDisplay-Roman, sans-serif;
  letter-spacing: 0.8px;
  cursor: pointer;
  backdrop-filter: none;
}

.song-language-select:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.song-i18n-paragraph {
  display: block;
}

.song-i18n-paragraph + .song-i18n-paragraph {
  margin-top: 10px;
}

#allocation .song-i18n-paragraph + .song-i18n-paragraph {
  margin-top: calc(var(--song-article-line-height) * 1.15);
}

.song-document-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

#__nuxt > main > header.song-home-header-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
  transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms;
}

@media (min-width: 768px) {
  #__nuxt > main > header {
    z-index: 12 !important;
  }

  body:has(.song-document-nav.is-visible)::before {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100vw;
    height: 72px;
    background: #ebe8e1;
    content: "";
    pointer-events: none;
  }
}

.song-document-nav a {
  position: relative;
  padding-bottom: 3px;
}

.song-document-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms ease;
}

.song-document-nav a:hover::after,
.song-document-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.song-document-nav a:focus-visible,
.song-circle-cta:focus-visible,
.song-circle-back:focus-visible,
.song-circle-form input:focus-visible,
.song-circle-form button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.song-circle-cta {
  cursor: pointer;
}

.song-source-stacked {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 34px !important;
  width: 100%;
  min-height: 100svh;
  padding: 0 0 72px !important;
  background: #ebe8e1;
}

.song-source-media {
  order: 1;
  align-self: center;
  width: 100vw;
  max-width: none;
  margin: 0;
}

.song-source-media > div,
.song-source-media > div > div,
.song-source-media [data-framer-background-image-wrapper="true"] {
  width: 100% !important;
  max-width: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.song-source-media [data-framer-background-image-wrapper="true"] {
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}

.song-source-media img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

main[data-song-language="en"] .song-source-media {
  position: relative;
  height: 220svh;
}

main[data-song-language="en"] .song-source-reveal-stage {
  --song-source-image-opacity: 0;
  --song-source-image-scale: 1.035;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #ebe8e1;
}

main[data-song-language="en"] .song-source-media > .song-source-reveal-stage > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: var(--song-source-image-opacity) !important;
  transform: scale(var(--song-source-image-scale)) !important;
  transform-origin: center center !important;
}

main[data-song-language="en"] .song-source-reveal-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.song-source-reveal-title {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22em;
  margin: 0;
  padding: 40px;
  color: #fff;
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  opacity: var(--song-source-image-opacity);
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.42);
}

.song-source-reveal-title-zh {
  font-family: "Ma Shan Zheng SONG", "STLiti", "华文隶书", "Songti SC", "STSong", serif;
  font-size: clamp(112px, 11vw, 180px);
  letter-spacing: 0.12em;
}

.song-source-reveal-title-en {
  font-family: "Felix Titling", serif;
  font-size: clamp(22px, 3vw, 44px);
  letter-spacing: 0.012em;
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .song-source-reveal-title {
    transform: scale(var(--song-source-image-scale));
    transform-origin: center center;
    will-change: opacity, transform;
  }
}

.song-source-copy {
  order: 2;
  width: min(1120px, calc(100vw - 64px)) !important;
  max-width: 1120px !important;
  gap: 0 !important;
  margin: 0 auto !important;
}

.song-source-copy [data-framer-name="Source"] {
  display: none !important;
}

.song-source-copy [data-framer-name="Ode"] {
  display: none !important;
}

.song-source-static-copy {
  display: grid;
  gap: var(--song-article-paragraph-gap);
  width: 100%;
  max-width: 1120px;
  margin: 40px 0 0;
  color: var(--song-article-color);
  font-family: var(--song-article-font-family);
  font-size: var(--song-article-font-size);
  font-weight: var(--song-article-font-weight);
  line-height: var(--song-article-line-height);
  letter-spacing: var(--song-article-letter-spacing);
  text-align: center;
  text-transform: uppercase;
  opacity: 1 !important;
  transform: none !important;
}

.song-source-static-copy p {
  margin: 0;
}

.song-material-page {
  position: relative;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  width: 100vw !important;
  height: auto !important;
  min-height: 100svh !important;
  padding: 92px 5vw 68px !important;
  overflow: hidden;
  color: var(--color-dark-text, #201f1f);
  background: var(--color-light-white, #fff);
  text-transform: none;
}

.song-material-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1680px, 100%);
  margin: auto;
}

.song-material-divider {
  position: absolute;
  z-index: 2;
  top: 50%;
  bottom: auto;
  left: 50%;
  width: 1px;
  height: var(--song-material-copy-height, 200px);
  background: #c9c9c6;
  opacity: 0.72;
  transform: translate(-0.5px, -50%);
}

.song-material-panel {
  display: grid;
  align-items: center;
  min-height: min(650px, 72vh);
  gap: clamp(28px, 2.4vw, 46px);
}

.song-material-panel--leaf {
  grid-template-columns: minmax(240px, 1.13fr) minmax(260px, 1fr);
  padding-right: clamp(28px, 3.6vw, 70px);
}

.song-material-panel--vessel {
  grid-template-columns: minmax(280px, 1fr) minmax(230px, 0.86fr);
  padding-left: clamp(28px, 3.6vw, 70px);
}

.song-material-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
}

.song-material-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.song-material-visual--leaf img {
  max-width: 335px;
  max-height: none;
  transform: translateY(-27px) scale(1.12);
}

.song-material-visual--vessel img {
  max-width: 275px;
  max-height: none;
  transform: translateY(clamp(4px, calc(4px + (100vw - 1360px) * 0.075), 56px));
}

.song-material-copy {
  align-self: center;
  height: var(--song-material-copy-height, auto);
  max-width: 370px;
  color: var(--song-article-color);
  font-family: var(--song-article-font-family);
  font-weight: var(--song-article-font-weight);
  text-transform: uppercase;
}

.song-material-copy h2 {
  margin: 0 0 12px;
  color: #595955;
  font-family: "Felix Titling", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.song-material-copy p {
  margin: 0;
  color: var(--song-article-color);
  font-family: var(--song-article-font-family);
  font-size: var(--song-article-font-size);
  font-weight: var(--song-article-font-weight);
  line-height: var(--song-article-line-height);
  letter-spacing: var(--song-article-letter-spacing);
  text-transform: uppercase;
}

.song-material-copy p + p {
  margin-top: var(--song-article-paragraph-gap);
}

.song-scene-carousel-section {
  width: 100vw !important;
  height: 200vh !important;
  min-height: 0;
  overflow: visible;
}

.song-scene-carousel-section > .sticky {
  display: block !important;
  box-sizing: border-box;
  background: var(--color-light-white, #fff);
}

.song-scene-layered-section > .sticky > .image-wrapper {
  top: 0 !important;
  width: 100vw !important;
  height: 100svh !important;
}

.song-scene-layered-section > .sticky > .image-wrapper > [data-image-wrapper-item] {
  transform-origin: center center;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.song-scene-layered-section .image-wrapper img {
  object-fit: cover !important;
  object-position: center center !important;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

.song-scene-layered-section > .sticky > .image-wrapper:first-child img {
  object-fit: cover !important;
}

.song-scene-layer-copy {
  position: absolute;
  z-index: 20;
  top: calc(clamp(88px, 11vh, 108px) + min(560px, 60vh) + 28px);
  right: 4vw;
  bottom: auto;
  left: 4vw;
  margin: 0 auto;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: center;
  text-transform: none !important;
}

.song-scene-layer-copy span {
  display: block;
}

.song-scene-carousel-section > .song-scene-carousel {
  display: none !important;
}

.song-scene-carousel-returned-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(48px, 7.3vw, 140px);
  box-sizing: border-box;
  width: min(1440px, 100vw);
  height: auto;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(104px, 12vh, 128px) 16px clamp(72px, 10vh, 108px)
    clamp(32px, 7.3vw, 140px);
  overflow: clip;
  background: var(--color-light-white, #fff);
}

.song-scene-carousel-returned-section > .song-scene-carousel {
  display: block !important;
  box-sizing: border-box;
  justify-self: center;
  width: auto;
  height: min(76svh, 820px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
}

.song-scene-carousel-returned-section .song-scene-slide {
  inset: 0;
}

.song-scene-carousel-returned-section .song-scene-slide img {
  object-fit: contain !important;
  object-position: center center !important;
}

.song-scene-carousel-copy {
  display: grid;
  gap: var(--song-article-paragraph-gap);
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--song-article-color);
  font-family: var(--song-article-font-family);
  font-size: var(--song-article-font-size);
  font-weight: var(--song-article-font-weight);
  line-height: var(--song-article-line-height);
  letter-spacing: var(--song-article-letter-spacing);
  text-align: left;
  text-transform: none;
}

.song-scene-carousel-copy h2,
.song-scene-carousel-copy p {
  margin: 0;
}

.song-scene-carousel-copy h2 {
  font-family: "Felix Titling", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1.2px;
}

.song-scene-carousel-copy p {
  text-transform: uppercase;
}

main[data-song-language="en"] .song-scene-carousel-copy {
  gap: 0;
}

main[data-song-language="en"] .song-scene-carousel-copy h2 {
  margin-bottom: var(--song-article-line-height);
}

main[data-song-language="en"] .song-scene-carousel-copy p {
  white-space: pre-line;
}

main[data-song-language="en"] .song-scene-carousel-copy p + p {
  margin-top: calc(var(--song-article-line-height) * 2);
}

.song-scene-arrangement {
  position: relative;
  justify-self: center;
  width: min(100%, 620px);
  height: auto;
  min-height: 0;
}

.song-scene-arrangement-item {
  position: relative;
  width: 100%;
  aspect-ratio: 425 / 497;
  margin: 0;
  overflow: hidden;
}

.song-scene-arrangement-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#allocation [data-framer-name="Ode"],
#allocation [data-framer-name="Ode"] p,
#allocation [data-framer-name="Ode"] span {
  color: var(--song-article-color) !important;
  font-family: var(--song-article-font-family) !important;
  font-size: var(--song-article-font-size) !important;
  font-weight: var(--song-article-font-weight) !important;
  line-height: var(--song-article-line-height) !important;
  letter-spacing: var(--song-article-letter-spacing) !important;
}

#allocation [data-framer-name="Source"],
#allocation [data-framer-name="Source"] p,
#allocation [data-framer-name="Source"] span {
  color: #595955 !important;
  font-family: "Felix Titling", serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
}

#allocation [data-framer-name="Source"],
#allocation [data-framer-name="Source"] p {
  width: 100% !important;
  text-align: left !important;
  white-space: nowrap !important;
}

#allocation [data-framer-name="Source"] span[data-line] {
  display: inline !important;
  white-space: nowrap !important;
}

#allocation [data-framer-name="Source"] br {
  display: none !important;
}

#allocation .song-allocation-line-start {
  display: block !important;
}

#allocation .song-allocation-paragraph-start {
  margin-top: var(--song-article-line-height) !important;
}

@media (min-width: 1200px) {
  #allocation [data-framer-name="Description"] {
    max-width: 640px !important;
  }
}

@media (min-width: 768px) {
  .song-scene-carousel-section {
    height: 300vh !important;
  }

  .song-scene-layered-section > .sticky > .image-wrapper {
    top: 0 !important;
    height: 100svh !important;
  }
}

@media (min-width: 1440px) {
  .song-scene-layered-section > .sticky > .image-wrapper:nth-child(1) > [data-image-wrapper-item] {
    width: calc(100% - 64px) !important;
    height: calc(100% - 64px) !important;
  }

  .song-scene-layered-section > .sticky > .image-wrapper:nth-child(2) > [data-image-wrapper-item] {
    width: calc(100% - 128px) !important;
    height: calc(100% - 128px) !important;
  }

  .song-scene-layered-section > .sticky > .image-wrapper:nth-child(3) > [data-image-wrapper-item] {
    width: calc(100% - 192px) !important;
    height: calc(100% - 192px) !important;
  }

  .song-scene-layered-section > .sticky > .image-wrapper:nth-child(4) > [data-image-wrapper-item] {
    width: calc(100% - 256px) !important;
    height: calc(100% - 256px) !important;
  }
}

.song-scene-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 16px;
  background: var(--color-light-white, #fff);
  isolation: isolate;
}

.song-scene-slide {
  position: absolute;
  inset: 16px;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.035);
  transition: opacity 1300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 6200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.song-scene-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.song-scene-slide picture,
.song-scene-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.song-scene-slide img {
  object-fit: cover;
}

.song-scene-controls {
  display: none !important;
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 8px;
  color: #171717;
  background: rgba(247, 245, 240, 0.82);
  border: 1px solid rgba(23, 23, 23, 0.15);
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.song-scene-control {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.song-scene-control:hover {
  background: rgba(23, 23, 23, 0.08);
}

.song-scene-control:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.song-scene-previous span,
.song-scene-next span {
  display: block;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.song-scene-toggle {
  border: 1px solid rgba(23, 23, 23, 0.45);
}

.song-scene-toggle-icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
}

.song-scene-toggle-icon::before,
.song-scene-toggle-icon::after {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 10px;
  background: currentColor;
  content: "";
}

.song-scene-toggle-icon::before {
  left: 1px;
}

.song-scene-toggle-icon::after {
  right: 1px;
}

.song-scene-toggle.is-paused .song-scene-toggle-icon::before {
  top: 0;
  left: 2px;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.song-scene-toggle.is-paused .song-scene-toggle-icon::after {
  display: none;
}

.song-scene-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 3px;
}

.song-scene-dot {
  width: 14px;
  height: 32px;
  border-radius: 0;
}

.song-scene-dot::before {
  width: 5px;
  height: 5px;
  background: rgba(23, 23, 23, 0.34);
  border-radius: 50%;
  content: "";
  transition: transform 240ms ease, background-color 240ms ease;
}

.song-scene-dot.is-active::before {
  background: currentColor;
  transform: scale(1.45);
}

.song-scene-status {
  min-width: 40px;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .song-scene-slide {
    transition: none;
    transform: none;
  }

  .song-scene-dot::before {
    transition: none;
  }
}

.song-material-section-removed {
  display: none !important;
}

.song-footer-section-removed {
  display: none !important;
}

.song-circle-section-removed {
  display: none !important;
}

body.song-circle-page {
  min-height: 100vh;
  background: var(--color-accent-gold, #ebe9e5);
  color: var(--color-dark-text, #201f1f);
}

.song-circle-page .story-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  box-sizing: border-box;
  min-height: 27px;
  padding: 0 32px;
  background: var(--color-accent-gold, #ebe9e5);
}

.song-circle-shell::before {
  height: 27px;
  content: "";
}

.song-circle-shell {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  padding: 32px;
}

.song-circle-back {
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}

.song-circle-main {
  display: grid;
  width: min(100%, 1280px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
  padding: clamp(28px, 5vh, 52px) 0 72px;
}

.song-circle-intro {
  align-self: start;
}

.song-circle-kicker {
  margin: 0 0 10px;
  color: var(--color-dark-subText, #767573);
  font-size: 14px;
  font-weight: 700;
}

.song-circle-title {
  margin: 0 0 22px;
  font-family: "Felix Titling", serif;
  font-size: clamp(24px, 2.25vw, 36px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.song-circle-art {
  width: clamp(240px, 20vw, 320px);
  margin: 0;
}

.song-circle-art-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.song-circle-art-caption {
  margin-top: 8px;
  color: var(--color-dark-subText, #767573);
  font-family: "Felix Titling", serif;
  font-size: clamp(10px, 0.7vw, 13px);
  line-height: 1.35;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

main[data-song-language="en"] .song-material-copy p,
main[data-song-language="en"] .song-scene-carousel-copy p,
main[data-song-language="en"] #allocation [data-framer-name="Ode"],
main[data-song-language="en"] #allocation [data-framer-name="Ode"] p,
main[data-song-language="en"] #allocation [data-framer-name="Ode"] span {
  text-transform: none !important;
}

.song-circle-copy {
  max-width: 520px;
  margin-top: clamp(48px, 7vh, 76px);
  color: var(--song-article-color);
  font-family: var(--song-article-font-family);
  font-size: var(--song-article-font-size);
  font-weight: var(--song-article-font-weight);
  line-height: var(--song-article-line-height);
  letter-spacing: var(--song-article-letter-spacing);
  text-transform: none;
}

.song-circle-copy p + p {
  margin-top: 16px;
}

.song-circle-welcome {
  max-width: none;
  font-size: clamp(8px, 1.05vw, 14px);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .song-circle-main,
  .song-circle-intro,
  .song-circle-copy {
    min-width: 0;
  }

  .song-circle-welcome {
    white-space: normal;
  }
}

.song-circle-form {
  display: grid;
  width: min(100%, 400px);
  margin-top: clamp(132px, 17vh, 188px);
  justify-self: start;
  gap: 26px;
  transform: translateX(-24px);
}

.song-circle-field {
  display: grid;
  gap: 6px;
}

.song-circle-form label {
  color: var(--color-dark-subText, #767573);
  font-size: 14px;
}

.song-circle-form input {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  outline: none;
  font: inherit;
  font-size: 18px;
  text-transform: none;
  appearance: none;
}

.song-circle-form input::placeholder {
  color: color-mix(in srgb, currentColor 50%, transparent);
}

.song-circle-form button {
  width: fit-content;
  margin-top: 6px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease;
}

.song-circle-form button:hover {
  background: var(--color-dark-black, #000);
  color: var(--color-light-white, #fff);
}

/* Desktop Circle: keep the invitation, artwork and login fields within the
   first viewport. Mobile retains the established stacked composition below. */
@media (min-width: 901px) {
  body.song-circle-page .song-circle-shell {
    min-height: calc(100svh - 136px);
  }

  body.song-circle-page .song-footer-band {
    min-height: 136px;
    gap: 16px;
    padding: 32px 32px 16px;
  }

  .song-circle-main {
    padding: clamp(18px, 3vh, 28px) 0 28px;
  }

  .song-circle-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(210px, 20vw, 270px);
    grid-template-areas:
      "kicker art"
      "title art"
      "copy art";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(28px, 4vw, 56px);
    align-content: start;
  }

  .song-circle-kicker {
    grid-area: kicker;
  }

  .song-circle-title {
    grid-area: title;
    margin-bottom: clamp(20px, 3vh, 28px);
  }

  .song-circle-art {
    grid-area: art;
    width: 100%;
    max-width: 270px;
    justify-self: end;
  }

  .song-circle-copy {
    grid-area: copy;
    align-self: start;
    max-width: 470px;
    margin-top: 0;
  }

  .song-circle-welcome {
    white-space: normal;
  }

  .song-circle-form {
    margin-top: clamp(76px, 11vh, 104px);
  }
}

.song-circle-status {
  min-height: 18px;
  color: var(--color-dark-subText, #767573);
  line-height: 1.5;
}

.song-circle-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--color-dark-subText, #767573);
}

.song-legal-footer {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(110px, 14vw, 220px) 0 0;
  color: var(--color-dark-text, #201f1f);
  background: #ebe8e1;
  border: 0;
  font-size: 12px;
  letter-spacing: 0.35px;
  overflow: hidden;
}

.song-footer-tea {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: clamp(240px, 38vw, 600px);
  margin: 0 auto;
  overflow: hidden;
}

.song-footer-tea > img {
  display: block;
  width: 100%;
  height: auto;
  transform: translate(-3%, -10%);
  mix-blend-mode: multiply;
}

.song-footer-overlay {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(18px, 3vw, 44px);
  color: var(--color-dark-text, #201f1f);
}

.song-footer-wordmark {
  display: block;
  width: clamp(86px, 10vw, 150px);
  height: clamp(22px, 2.7vw, 40px);
  background: url("/images/song-logo.png") 0 0 / 100% auto no-repeat;
}

.song-footer-terms-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
}

.song-footer-terms-group .song-language-switcher {
  flex: 0 0 auto;
}

.song-footer-overlay .song-language-select {
  color: #201f1f;
  background: #fff;
}

.song-footer-overlay button {
  justify-self: center;
  padding: 6px 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: clamp(9px, 0.9vw, 12px);
  letter-spacing: 0.7px;
  white-space: nowrap;
  cursor: pointer;
}

.song-footer-overlay button:hover,
.song-footer-overlay button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 900px) {
  .song-footer-overlay {
    box-sizing: border-box;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-height: clamp(22px, 2.7vw, 40px);
    padding-left: calc(50vw - 32px + clamp(61px, 7vw, 105px));
  }

  .song-footer-wordmark {
    position: absolute;
    top: 50%;
    left: calc(50vw - 32px);
    transform: translate(-50%, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .song-scene-layered-section > .sticky > .image-wrapper > [data-image-wrapper-item] {
    transform: scale(1) !important;
  }

  .song-scene-layered-section .image-wrapper img {
    transform: none !important;
  }
}

.song-footer-band {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: space-between;
  gap: 72px;
  min-height: 260px;
  padding: clamp(112px, 10vw, 150px) 32px 32px;
  color: var(--color-dark-text, #201f1f);
  background: #fff;
}

.song-legal-footer.song-legal-footer--compact {
  padding-top: 0;
}

.song-footer-meta {
  display: flex;
  justify-content: space-between;
  align-self: end;
  width: 100%;
  gap: 24px;
}

.song-policy-dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: min(82svh, 820px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  color: var(--color-dark-text, #201f1f);
  background: #fff;
  border: 1px solid rgba(32, 31, 31, 0.5);
}

.song-policy-dialog::backdrop {
  background: rgba(15, 14, 12, 0.62);
}

.song-policy-panel {
  box-sizing: border-box;
  max-height: min(82svh, 820px);
  padding: clamp(24px, 5vw, 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.song-policy-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(32, 31, 31, 0.35);
}

.song-policy-heading h2 {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.05;
}

.song-policy-close {
  flex: 0 0 auto;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 0.8;
  cursor: pointer;
}

.song-policy-content {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  overflow: visible;
  font-size: 14px;
  line-height: 1.55;
}

.song-policy-intro {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.45;
}

.song-policy-content section {
  display: grid;
  gap: 7px;
}

.song-policy-content h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.65px;
}

@media (max-width: 767px) {
  /* Keep the opening mark above the static mobile hero words. */
  #__nuxt > main > header {
    z-index: 12 !important;
    top: 0 !important;
    transform: none !important;
  }

  #hero {
    opacity: 1 !important;
    background: #151513 url("/videos/song-hero-poster.jpg") center / cover no-repeat;
  }

  #hero video {
    object-fit: cover !important;
    opacity: 1 !important;
  }

  .song-mobile-video-play {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    color: #fff;
    background: rgba(12, 12, 11, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    font: 500 11px/1 NeueHaasDisplay-Roman, sans-serif;
    letter-spacing: 1.1px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .song-mobile-video-play:disabled {
    opacity: 0.62;
  }

  #hero.is-video-playing .song-mobile-video-play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  #allocation {
    scroll-margin-top: 124px;
  }

  #allocation [data-framer-name="Ode"] p {
    text-align: left !important;
  }

  #allocation .song-i18n-paragraph {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  #allocation.song-mobile-allocation-ready [data-framer-name="Ode"] [data-line] {
    opacity: 0 !important;
    filter: blur(4px) !important;
    transform: translateY(18px) !important;
    transition:
      opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 620ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0ms;
    will-change: opacity, filter, transform;
  }

  #allocation.song-mobile-allocation-ready.is-allocation-revealed [data-framer-name="Ode"] [data-line] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  #allocation.song-mobile-allocation-ready.is-allocation-revealed [data-framer-name="Ode"] [data-song-allocation-index="1"] { transition-delay: 240ms; }
  #allocation.song-mobile-allocation-ready.is-allocation-revealed [data-framer-name="Ode"] [data-song-allocation-index="2"] { transition-delay: 480ms; }
  #allocation.song-mobile-allocation-ready.is-allocation-revealed [data-framer-name="Ode"] [data-song-allocation-index="3"] { transition-delay: 720ms; }
  #allocation.song-mobile-allocation-ready.is-allocation-revealed [data-framer-name="Ode"] [data-song-allocation-index="4"] { transition-delay: 960ms; }
  #allocation.song-mobile-allocation-ready.is-allocation-revealed [data-framer-name="Ode"] [data-song-allocation-index="5"] { transition-delay: 1200ms; }

  .song-source-stacked {
    gap: 24px !important;
    padding: 0 0 56px !important;
  }

  .song-source-media {
    width: 100% !important;
  }

  .song-source-copy {
    width: calc(100% - 32px) !important;
  }

  .song-source-static-copy {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.6px;
  }

  .song-material-page {
    align-items: flex-start;
    padding: 112px 20px 64px !important;
  }

  .song-material-inner {
    display: block;
  }

  .song-material-divider {
    display: none;
  }

  .song-material-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
    padding: 0 0 54px;
  }

  .song-material-panel + .song-material-panel {
    padding-top: 54px;
    border-top: 1px solid rgba(32, 31, 31, 0.45);
  }

  .song-material-panel--vessel .song-material-copy {
    order: 2;
  }

  .song-material-panel--vessel .song-material-visual {
    order: 1;
  }

  .song-material-visual--leaf img {
    max-width: 220px;
    max-height: none;
    transform: translateY(-25px);
  }

  .song-material-visual--vessel img {
    max-width: 180px;
    max-height: none;
    transform: none;
  }

  .song-material-copy {
    align-self: auto;
    height: auto;
    max-width: none;
  }

  .song-material-copy h2 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
  }

  .song-material-copy p {
    font-size: 14px;
    line-height: 20px;
  }

  .song-document-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    gap: 11px;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    font-size: 8px;
    letter-spacing: 0.7px;
    scrollbar-width: none;
  }

  .song-document-nav::-webkit-scrollbar {
    display: none;
  }

  .song-language-switcher {
    position: static;
  }

  .song-language-select {
    min-width: 76px;
    height: 32px;
  }

  .song-scene-carousel-section {
    height: 200svh !important;
    min-height: 0;
  }

  .song-scene-carousel-returned-section {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
    align-content: center;
    gap: 24px;
    padding: 104px 16px 48px;
  }

  .song-scene-carousel-returned-section > .song-scene-carousel {
    justify-self: center;
    width: auto;
    height: min(64svh, 640px);
    max-width: 100%;
    aspect-ratio: 9 / 16;
  }

  .song-scene-arrangement {
    width: min(88vw, 430px);
    height: auto;
    min-height: 0;
  }

  .song-scene-carousel-copy {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }

  .song-scene-layered-section > .sticky > .image-wrapper {
    top: 0 !important;
    width: 100vw !important;
    height: 100svh !important;
  }

  .song-scene-layer-copy {
    top: calc(104px + min(520px, 58vh) + 22px);
    right: 20px;
    bottom: auto;
    left: 20px;
    font-size: 11px;
    line-height: 1.5;
  }

  .song-scene-controls {
    bottom: 28px;
    gap: 4px;
    min-height: 42px;
    padding: 4px 6px;
  }

  .song-scene-control {
    width: 30px;
    height: 30px;
  }

  .song-scene-dot {
    width: 12px;
  }

  .song-circle-shell {
    padding: 24px 16px;
  }

  .song-circle-page .story-header {
    min-height: 104px;
    padding: 18px 16px;
  }

  .song-circle-shell::before {
    height: 104px;
  }

  .song-circle-main {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 52px;
    padding: 36px 0 72px;
  }

  .song-circle-art {
    width: min(62vw, 240px);
  }

  .song-circle-art-caption {
    white-space: normal;
  }

  .song-circle-copy {
    margin-top: 44px;
  }

  .song-source-reveal-title {
    padding: 24px 12px;
    gap: 0.28em;
  }

  .song-source-reveal-title-zh {
    font-size: clamp(30px, 9vw, 42px);
  }

  .song-source-reveal-title-en {
    font-size: clamp(16px, 4.9vw, 23px);
  }

  .song-circle-form {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    margin-top: 0;
    justify-self: start;
    transform: none;
  }

  .song-circle-footer {
    flex-direction: column;
  }

  .song-footer-meta {
    flex-direction: column;
  }

  .song-legal-footer {
    padding: 88px 0 0;
  }

  .song-footer-tea {
    width: 100vw;
    height: clamp(142px, 38vw, 210px);
    margin-bottom: 0;
    margin-left: 0;
  }

  .song-footer-tea img {
    transform: translate(-3%, -10%);
  }

  .song-footer-overlay {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .song-footer-wordmark {
    justify-self: center;
  }

  .song-footer-wordmark {
    width: 76px;
    height: 20px;
  }

  .song-footer-overlay button {
    font-size: 7px;
    letter-spacing: 0.25px;
  }

  .song-footer-band {
    min-height: 230px;
    padding: 94px 16px 24px;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #allocation.song-mobile-allocation-ready [data-framer-name="Ode"] [data-line] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  main[data-song-language="en"] .song-source-media {
    height: 100svh;
  }

  main[data-song-language="en"] .song-source-media > .song-source-reveal-stage > div {
    opacity: 1 !important;
    transform: none !important;
  }

  .song-source-reveal-title {
    opacity: 1;
    color: #fff;
    text-shadow: 0 2px 18px rgb(0 0 0 / 0.42);
  }
}

/* Mobile-only stability pass. Desktop scroll choreography remains unchanged. */
@media (max-width: 767px) {
  #hero {
    height: 200svh !important;
    min-height: 100svh !important;
    overflow: clip !important;
    background: transparent !important;
  }

  #hero > .sticky,
  #hero > .sticky > div.h-screen {
    width: 100vw !important;
    height: 100svh !important;
  }

  #hero .title {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100vw - 40px) !important;
    height: auto !important;
    padding: 0 !important;
    font-size: clamp(32px, 10vw, 44px) !important;
    line-height: 1.08 !important;
    text-align: center !important;
    text-shadow: none !important;
  }

  #hero .title > span {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .song-mobile-video-play {
    display: none !important;
  }

  .song-document-nav {
    right: auto;
    left: 50%;
    width: max-content;
    overflow-x: auto;
    overflow-y: hidden;
    transform: translate(-50%, -8px);
  }

  .song-document-nav.is-visible {
    transform: translate(-50%, 0);
  }

  body:has(.song-document-nav.is-visible)::before {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 104px;
    background: #ebe8e1;
    content: "";
    pointer-events: none;
  }

  .song-document-nav a[data-song-allocation-link]::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .song-footer-overlay {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .song-footer-terms-group {
    display: contents;
  }

  .song-footer-wordmark {
    flex: 0 0 62px;
    width: 62px;
    height: 17px;
  }

  .song-footer-overlay button {
    flex: 0 0 auto;
    font-size: 6.5px;
    letter-spacing: 0.15px;
  }

  .song-footer-overlay .song-language-select {
    min-width: 58px;
    width: 58px;
    height: 30px;
    padding: 0 18px 0 8px;
    font-size: 8px;
  }

  #allocation.song-mobile-allocation-ready [data-framer-name="Ode"] [data-line] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  #allocation [data-framer-name="Ode"] p,
  #allocation [data-framer-name="Ode"] p * {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  main[data-song-language="en"] .song-source-media {
    height: auto !important;
    min-height: 0 !important;
  }

  main[data-song-language="en"] .song-source-reveal-stage {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
  }

  main[data-song-language="en"] .song-source-media > .song-source-reveal-stage > div {
    opacity: 1 !important;
    transform: none !important;
  }

  main[data-song-language="en"] .song-source-media > .song-source-reveal-stage > div > div,
  main[data-song-language="en"] .song-source-media > .song-source-reveal-stage > div picture,
  main[data-song-language="en"] .song-source-media > .song-source-reveal-stage img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }

  main[data-song-language="en"] .song-source-reveal-title {
    opacity: 1 !important;
  }
}
