/* Interaction refinement. All movement is opt-in through the hero action. */
.music-toggle {
  position: fixed;
  z-index: 12;
  right: 24px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #080a0d50;
  border-radius: 2px;
  background: #e9eae9f5;
  color: var(--ink);
  box-shadow: 0 4px 20px #080a0d14;
  font: 500 .8125rem/1.5 var(--sans);
}
.music-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.music-toggle[aria-pressed="true"] .music-muted-mark { display: none; }
.music-toggle[aria-pressed="false"] .music-waves { display: none; }
.music-available footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 540px) {
  .music-toggle { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
html {
  scroll-padding-top: calc(4rem + 36px);
}
.header-shell {
  height: max(92px, 5.75rem);
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: max(92px, 5.75rem);
  transition: height 180ms ease, box-shadow 180ms ease;
}
.site-header.is-compact {
  height: max(64px, 4rem);
  box-shadow: 0 4px 20px #080a0d0d;
}
.site-header.is-compact .header-inner {
  min-height: 0;
}
.site-header .header-inner {
  min-height: 0;
}
.site-header.is-compact .brand img {
  width: 32px;
  height: 32px;
}
.site-header.is-compact .brand small {
  display: none;
}
nav a[aria-current="location"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.play-disc {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}
.play-copy {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}
.play-overlay small {
  margin-top: 5px;
  font-size: .75rem;
  letter-spacing: .2px;
}
.enter-order .play-copy {
  font-family: var(--serif);
  font-size: 1.6875rem;
  font-weight: 700;
  letter-spacing: -.7px;
}
.enter-order small {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .3px;
}
.player.is-loading:not(.has-started) .play-disc {
  color: transparent;
  border-right-color: transparent;
  animation: loading-turn 800ms linear infinite;
}
.hero.is-entering .hero-copy > .eyebrow,
.hero.is-entering h1,
.hero.is-entering .hero-intro {
  animation: entrance-focus 560ms ease both;
}
.hero.is-entering .hero-map {
  animation: entrance-map 560ms ease both;
}
.hero.is-entering .emblem-face {
  animation: entrance-emblem 560ms cubic-bezier(.2,.7,.3,1) both;
}
.hero.is-entering .emblem-light::after {
  animation: entrance-glint 560ms ease-out both;
}
.hero.is-entering .hero-player {
  animation: entrance-frame 560ms cubic-bezier(.2,.7,.3,1) both;
}
.hero.is-entering .hero-player::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid #ffffffad;
  animation: entrance-edge 560ms ease-out both;
}
.hero.is-entering .hero-player.has-started .play-overlay {
  display: flex;
  pointer-events: none;
  animation: entrance-label 300ms ease both;
}
.source-disclosure {
  border-top: 1px solid var(--dark-line);
  margin-top: 36px;
}
.source-disclosure summary {
  min-height: 52px;
  padding: 18px 0;
  color: var(--dark-muted);
  font-size: .8125rem;
  cursor: pointer;
}
.source-disclosure .source-links {
  border: 0;
  margin: 0;
  padding: 0 0 12px;
  justify-content: flex-start;
}
.source-links a {
  min-height: 44px;
  font-size: .8125rem;
}
.clip-list .selected .clip-time > span {
  color: #fff;
}
.token-primary {
  margin-top: 22px;
}
.token-primary .buy-link {
  justify-content: space-between;
  min-height: 56px;
  width: min(100%, 320px);
  font-size: 1rem;
  font-weight: 600;
  padding: 0 22px;
}
.token-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
summary:focus-visible {
  outline: 3px solid #5477a1;
  outline-offset: 4px;
}
@keyframes entrance-focus {
  0%, 100% { opacity: 1; }
  30% { opacity: .64; }
}
@keyframes entrance-map {
  0%, 100% { opacity: .3; }
  30% { opacity: .18; }
}
@keyframes entrance-emblem {
  0% { transform: rotateY(-9deg) translateY(0); }
  55% { transform: rotateY(6deg) translateY(-5px); }
  100% { transform: rotateY(0deg) translateY(0); }
}
@keyframes entrance-glint {
  from { transform: translateX(-35%); }
  to { transform: translateX(35%); }
}
@keyframes entrance-frame {
  0% { transform: scale(.99); }
  100% { transform: scale(1); }
}
@keyframes entrance-edge {
  from { opacity: .9; }
  to { opacity: 0; }
}
@keyframes entrance-label {
  to { opacity: 0; }
}
@keyframes loading-turn {
  to { transform: rotate(360deg); }
}
@media (max-width: 820px) {
  .site-header.is-compact .header-inner {
    gap: 8px;
  }
}
@media (max-width: 540px) {
  html { scroll-padding-top: calc(3.875rem + 24px); }
  .header-shell, .site-header { height: max(78px, 4.875rem); }
  .site-header.is-compact { height: max(62px, 3.875rem); }
  .site-header.is-compact .brand > span { display: none; }
  .site-header.is-compact nav {
    display: flex;
    gap: 16px;
    margin: 0 auto;
  }
  .site-header.is-compact nav a { font-size: .8125rem; }
  .site-header.is-compact .buy-control { font-size: .75rem; }
  .site-header .unavailable, .site-header .buy-link { min-height: 44px; }
  .play-disc { width: 56px; height: 56px; }
  .play-action { gap: 12px; }
  .play-copy { font-size: 1rem; }
  .enter-order .play-copy { font-size: 1.4375rem; letter-spacing: -.5px; }
  .play-overlay small { font-size: .75rem; }
  .media-heading { font-size: .6875rem; line-height: 1.7; }
  .section-label { font-size: .6875rem; }
  .source-disclosure { margin-top: 28px; }
  .source-disclosure .source-links { gap: 6px 20px; }
  .source-links a { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .hero.is-entering *, .hero.is-entering *::after,
  .player.is-loading .play-disc { animation: none !important; }
}
