:root {
    --bg: #0a0b0c;
    --bg-soft: #101214;
    --surface: #131517;
    --surface-raised: #1a1d20;
    --text: #f2f0ea;
    --muted: #9d9e99;
    --faint: #888a85;
    --line: rgba(242, 240, 234, 0.14);
    --line-strong: rgba(242, 240, 234, 0.4);
    --accent: #b8d9d4;
    --accent-strong: #d9efeb;
    --accent-ink: #10211f;
    --danger: #ef9b91;
    --success: #9bd3ae;
    --warning: #e3c98b;
    --overlay: rgba(8, 9, 10, 0.78);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --motion-sheen: rgba(255, 255, 255, 0.16);
    --motion-card-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
    --display: "Iowan Old Style", Baskerville, "Baskerville Old Face", Georgia, "Times New Roman", serif;
    --ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --content: min(1440px, calc(100vw - 64px));
    --header-height: 76px;
    --player-height: 92px;
    color-scheme: dark;
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
        --bg: #f2f0ea;
        --bg-soft: #eae7df;
        --surface: #faf9f5;
        --surface-raised: #ffffff;
        --text: #171819;
        --muted: #666862;
        --faint: #575954;
        --line: rgba(23, 24, 25, 0.14);
        --line-strong: rgba(23, 24, 25, 0.52);
        --accent: #285b55;
        --accent-strong: #1d4742;
        --accent-ink: #f6fffd;
        --danger: #9d3f38;
        --success: #2f7147;
        --warning: #806321;
        --overlay: rgba(242, 240, 234, 0.82);
        --shadow: 0 24px 70px rgba(39, 34, 26, 0.14);
        --motion-sheen: rgba(255, 255, 255, 0.34);
        --motion-card-shadow: 0 20px 42px rgba(51, 45, 35, 0.17);
        color-scheme: light;
    }
}

:root[data-theme="light"] {
    --bg: #f2f0ea;
    --bg-soft: #eae7df;
    --surface: #faf9f5;
    --surface-raised: #ffffff;
    --text: #171819;
    --muted: #666862;
    --faint: #575954;
    --line: rgba(23, 24, 25, 0.14);
    --line-strong: rgba(23, 24, 25, 0.52);
    --accent: #285b55;
    --accent-strong: #1d4742;
    --accent-ink: #f6fffd;
    --danger: #9d3f38;
    --success: #2f7147;
    --warning: #806321;
    --overlay: rgba(242, 240, 234, 0.82);
    --shadow: 0 24px 70px rgba(39, 34, 26, 0.14);
    --motion-sheen: rgba(255, 255, 255, 0.34);
    --motion-card-shadow: 0 20px 42px rgba(51, 45, 35, 0.17);
    color-scheme: light;
}

:root[data-theme="dark"] {
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 20px);
}

body {
    margin: 0;
    min-width: 280px;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--ui);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.has-player {
    padding-bottom: calc(var(--player-height) + env(safe-area-inset-bottom, 0px));
}

button,
input,
textarea,
select {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: 0;
}

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
}

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

.wordmark {
    max-width: min(34vw, 320px);
    overflow: hidden;
    color: inherit;
    font-family: var(--display);
    font-size: 1rem;
    letter-spacing: 0.24em;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.text-link,
.primary-link,
.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 1px solid currentColor;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover,
.primary-link:hover,
.back-link:hover {
    color: var(--accent);
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) max(24px, env(safe-area-inset-right, 0px), calc((100vw - 1440px) / 2)) 0 max(24px, env(safe-area-inset-left, 0px), calc((100vw - 1440px) / 2));
    border-bottom: 1px solid transparent;
    color: var(--text);
    transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.public-text-page .site-header,
.public-release-page .site-header {
    border-color: var(--line);
    background: var(--overlay);
    backdrop-filter: blur(18px);
}

.hero-has-art .site-header:not(.is-scrolled) {
    color: #f7f5ef;
}

.site-nav {
    display: flex;
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
}

.site-nav a,
.theme-toggle,
.quiet-button {
    color: inherit;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav a {
    position: relative;
    padding: 10px 0;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.theme-toggle,
.quiet-button {
    justify-self: end;
    min-width: 48px;
    min-height: 44px;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.theme-toggle:hover,
.quiet-button:hover {
    color: var(--accent);
}

.music-hero {
    position: relative;
    display: flex;
    min-height: 680px;
    min-height: max(680px, 100vh);
    min-height: max(680px, 100svh);
    align-items: flex-end;
    overflow: hidden;
    padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 80px) max(32px, env(safe-area-inset-right, 0px), calc((100vw - 1440px) / 2)) 92px max(32px, env(safe-area-inset-left, 0px), calc((100vw - 1440px) / 2));
    transition: padding-bottom 220ms ease;
    background:
        radial-gradient(circle at 75% 28%, rgba(184, 217, 212, 0.14), transparent 27%),
        radial-gradient(circle at 20% 75%, rgba(117, 93, 132, 0.14), transparent 32%),
        linear-gradient(145deg, var(--bg-soft), var(--bg));
}

.music-hero--with-art {
    color: #f7f5ef;
    background: #070809;
}

.hero-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-art::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 8, 9, 0.93) 0%, rgba(7, 8, 9, 0.62) 43%, rgba(7, 8, 9, 0.2) 74%),
        linear-gradient(0deg, rgba(7, 8, 9, 0.74) 0%, transparent 48%);
    content: "";
}

.hero-art img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.05);
    object-fit: cover;
    object-position: center 38%;
    opacity: 0.82;
    transform-origin: center;
    transition: filter 320ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.motion-ready .hero-art img {
    transform: translate3d(0, var(--hero-image-y, 0), 0) scale(var(--hero-image-scale, 1.015));
    will-change: transform;
}

.hero-signal {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
    -webkit-mask-image: linear-gradient(90deg, transparent 1%, rgba(0, 0, 0, 0.36) 32%, #000 68%, rgba(0, 0, 0, 0.82));
    mask-image: linear-gradient(90deg, transparent 1%, rgba(0, 0, 0, 0.36) 32%, #000 68%, rgba(0, 0, 0, 0.82));
}

.hero-signal.is-ready {
    opacity: 0.72;
}

.hero-signal canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .music-hero--with-art:hover .hero-art img {
        filter: grayscale(68%) saturate(82%) contrast(1.05);
    }
}

.music-hero--with-art:has(:focus-visible) .hero-art img,
.music-hero--with-art:has(button:active, a:active) .hero-art img {
    filter: grayscale(68%) saturate(82%) contrast(1.05);
}

.hero-noise {
    position: absolute;
    z-index: 1;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: soft-light;
    opacity: 0.42;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(720px, 70vw);
}

.hero-content h1 {
    max-width: 11ch;
    margin: 0;
    overflow-wrap: anywhere;
    font-family: var(--display);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.86;
}

.hero-artist {
    margin: 18px 0 0;
    font-family: var(--display);
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-style: italic;
}

.hero-description {
    max-width: 560px;
    margin: 24px 0 0;
    color: currentColor;
    font-size: clamp(0.95rem, 1.25vw, 1.12rem);
    opacity: 0.74;
}

.hero-actions {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-top: 36px;
}

.primary-play {
    display: inline-flex;
    min-height: 56px;
    gap: 14px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease;
}

.music-hero--with-art .primary-play {
    border-color: #f4f1e9;
    background: #f4f1e9;
    color: #121313;
}

.primary-play:hover {
    transform: translateY(-2px);
}

.play-mark {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
}

.is-playing .play-mark,
.primary-play.is-playing .play-mark {
    width: 8px;
    height: 10px;
    margin-left: 0;
    border: 0;
    border-right: 3px solid currentColor;
    border-left: 3px solid currentColor;
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    right: max(32px, calc((100vw - 1440px) / 2));
    bottom: 44px;
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: bottom 220ms ease;
}

.hero-scroll span {
    font-size: 1rem;
}

body.has-player .hero-scroll {
    bottom: calc(var(--player-height) + env(safe-area-inset-bottom, 0px) + 44px);
}

body.has-player .music-hero {
    padding-bottom: calc(var(--player-height) + env(safe-area-inset-bottom, 0px) + 44px);
}

.release-section,
.home-about,
.site-footer {
    width: var(--content);
    margin-right: auto;
    margin-left: auto;
}

.release-section {
    padding: 112px 0 132px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.6rem, 5vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.section-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 58px 28px;
}

.archive-subheading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 24px;
}

.archive-subheading--singles {
    margin-top: 76px;
}

.archive-subheading h3 {
    margin: 4px 0 0;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 400;
    letter-spacing: -0.035em;
}

.archive-subheading > span {
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.collection-list {
    display: grid;
    gap: 18px;
}

.collection-card {
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color 180ms ease, background 180ms ease;
}

.collection-card.is-current {
    border-color: var(--accent);
}

.collection-card__summary {
    display: grid;
    min-height: 250px;
    padding: 18px;
    cursor: pointer;
    grid-template-columns: 214px minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 58px);
    align-items: center;
    list-style: none;
}

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

.collection-card__summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.collection-card[open] .collection-card__summary {
    border-bottom: 1px solid var(--line);
}

.collection-card__art {
    position: relative;
    display: block;
    overflow: hidden;
    width: 214px;
    aspect-ratio: 1;
    background: var(--surface-raised);
}

.collection-card__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 220ms ease;
}

.collection-card__summary:hover .collection-card__art img {
    filter: brightness(0.82);
    transform: scale(1.025);
}

.collection-card__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.collection-card__copy > strong {
    max-width: 18ch;
    margin-top: 13px;
    overflow-wrap: anywhere;
    font-family: var(--display);
    font-size: clamp(2.6rem, 5vw, 5.1rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.9;
}

.collection-card__artist {
    margin-top: 14px;
    overflow-wrap: anywhere;
    font-family: var(--display);
    font-size: 1.05rem;
    font-style: italic;
}

.collection-card__description {
    max-width: 680px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.collection-card__toggle {
    display: flex;
    min-width: 150px;
    min-height: 48px;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.collection-card__toggle-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--text);
    font-size: 1rem;
    transition: transform 180ms ease, border-color 180ms ease;
}

.collection-card[open] .collection-card__toggle-mark {
    transform: rotate(45deg);
    border-color: var(--accent);
}

.collection-card__tracks {
    padding: 26px 30px 32px;
}

.collection-card__full-description {
    max-width: 820px;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.75;
}

.collection-tracklist__heading {
    display: flex;
    justify-content: space-between;
    padding: 0 0 16px;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.collection-tracklist {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.collection-track {
    display: grid;
    min-height: 78px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 42px 58px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    transition: background 160ms ease;
}

.collection-track:last-child {
    border-bottom: 0;
}

.collection-track.is-current {
    background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.collection-track__number,
.collection-track__duration {
    color: var(--muted);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}

.collection-track__play {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--surface-raised);
    color: #121313;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.collection-track__play::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(7, 8, 9, 0.18);
    content: "";
    transition: background 180ms ease;
}

.collection-track__play img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 180ms ease, transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.collection-track__play-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    transform: scale(0.94);
    place-items: center;
    border-radius: 50%;
    background: rgba(244, 241, 233, 0.9);
    color: #121313;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.collection-track__play:hover,
.collection-track__play:focus-visible,
.collection-track__play.is-playing {
    border-color: var(--accent);
}

.collection-track__play:hover::after,
.collection-track__play:focus-visible::after,
.collection-track__play.is-playing::after {
    background: rgba(7, 8, 9, 0.36);
}

.collection-track__play:hover img,
.collection-track__play:focus-visible img,
.collection-track__play.is-playing img {
    filter: brightness(0.78);
    transform: scale(1.04);
}

.collection-track__play:hover .collection-track__play-icon,
.collection-track__play:focus-visible .collection-track__play-icon {
    transform: scale(1);
}

.collection-track__play.is-playing {
    box-shadow: 0 0 0 2px var(--accent);
}

.collection-track__play.is-playing .collection-track__play-icon {
    transform: scale(1);
    background: var(--accent);
    color: var(--accent-ink);
}

.collection-track__copy {
    display: grid;
    min-width: 0;
}

.collection-track__copy a {
    width: fit-content;
    overflow-wrap: anywhere;
    font-family: var(--display);
    font-size: 1.12rem;
}

.collection-track__copy a:hover {
    color: var(--accent);
}

.collection-track__copy span {
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 0.68rem;
}

.release-card {
    min-width: 0;
}

.release-art,
.release-detail__art,
.art-drop,
.admin-thumb,
.player-cover {
    position: relative;
    overflow: hidden;
    background: var(--surface-raised);
}

.release-art {
    aspect-ratio: 1;
}

.release-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 300ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.release-card:hover .release-art img {
    filter: brightness(0.68);
    transform: scale(1.025);
}

.placeholder-cover {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 32% 24%, rgba(184, 217, 212, 0.22), transparent 31%),
        linear-gradient(140deg, var(--surface-raised), var(--bg-soft));
}

.placeholder-cover > span,
.art-placeholder {
    font-family: var(--display);
    font-size: clamp(3rem, 10vw, 8rem);
    opacity: 0.25;
}

.release-card__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -42%) scale(0.9);
    place-items: center;
    border-radius: 50%;
    background: #f4f1e9;
    color: #121313;
    cursor: pointer;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

.release-card:hover .release-card__play,
.release-card__play:focus-visible,
.release-card.is-current .release-card__play {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.release-number {
    position: absolute;
    right: 14px;
    bottom: 12px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    mix-blend-mode: difference;
}

.release-card.is-current .release-art {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.release-meta {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
}

.release-meta h3 {
    overflow: hidden;
    margin: 0;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.release-meta h3 a:hover {
    color: var(--accent);
}

.release-meta p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.73rem;
    letter-spacing: 0.05em;
}

.release-duration {
    flex: 0 0 auto;
}

.empty-archive {
    display: grid;
    min-height: 300px;
    place-content: center;
    border: 1px solid var(--line);
    text-align: center;
}

.empty-archive p {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 4rem);
}

.empty-archive span {
    margin-top: 10px;
    color: var(--muted);
}

.home-about {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 48px;
    align-items: start;
    padding: 112px 0 126px;
    border-top: 1px solid var(--line);
}

.home-about__statement {
    max-width: 1000px;
    margin: -10px 0 32px;
    font-family: var(--display);
    font-size: clamp(2.1rem, 4vw, 4.8rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.home-about .text-link {
    grid-column: 2;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.manage-link {
    margin-left: 18px;
}

.footer-nav {
    display: flex;
    gap: 22px;
}

.footer-nav a:hover {
    color: var(--text);
}

.global-player {
    --player-progress-color: #d8d4cb;
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(var(--player-height) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 13, 14, 0.96);
    color: #f4f2ed;
    box-shadow: 0 -16px 52px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(22px);
}

.global-player :focus-visible,
.hero-has-art .site-header:not(.is-scrolled) :focus-visible,
.hero-has-art .music-hero :focus-visible {
    outline-color: #b8d9d4;
}

.player-progress-wrap {
    position: absolute;
    top: -12px;
    right: 0;
    left: 0;
    height: 24px;
}

.player-progress-visual {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border: 0;
    background: rgba(255, 255, 255, 0.34);
}

.player-progress-visual > span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--player-progress-color);
    transition: background-color 220ms ease;
    will-change: transform;
}

.player-progress,
.volume-control input {
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.player-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 24px;
}

.player-progress::-webkit-slider-runnable-track {
    height: 3px;
    background: transparent;
}

.player-progress::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -4px;
    appearance: none;
    border-radius: 50%;
    background: #f4f2ed;
    opacity: 0.9;
}

.player-progress:hover::-webkit-slider-thumb,
.player-progress:focus-visible::-webkit-slider-thumb {
    opacity: 1;
}

.player-progress::-moz-range-track {
    height: 3px;
    background: transparent;
}

.player-progress::-moz-range-progress {
    height: 3px;
    background: transparent;
}

.player-inner {
    display: grid;
    width: min(1504px, 100%);
    height: var(--player-height);
    margin: 0 auto;
    padding-right: max(32px, env(safe-area-inset-right, 0px));
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.player-now {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: center;
}

.player-cover {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
}

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

.player-cover > span {
    font-size: 1.4rem;
}

.player-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.player-copy strong,
.player-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-copy strong {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 400;
}

.player-copy span {
    color: #a9aaa5;
    font-size: 0.7rem;
}

.player-transport {
    display: flex;
    gap: 12px;
    align-items: center;
}

.player-icon,
.player-play {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.player-icon {
    font-size: 1.1rem;
}

.player-play {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.player-play span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
}

.player-play.is-playing span {
    width: 8px;
    height: 11px;
    margin-left: 0;
    border: 0;
    border-right: 3px solid currentColor;
    border-left: 3px solid currentColor;
}

.player-tools {
    display: flex;
    justify-self: end;
    gap: 24px;
    align-items: center;
}

.player-status {
    position: absolute;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(var(--player-height) + env(safe-area-inset-bottom, 0px) + 10px);
    max-width: min(420px, calc(100vw - 32px));
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    background: #16191b;
    color: #f4f2ed;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.player-status.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.player-time {
    color: #a9aaa5;
    font-size: 0.66rem;
    font-variant-numeric: tabular-nums;
}

.volume-control {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #a9aaa5;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.volume-control input {
    width: 72px;
}

.volume-control input::-webkit-slider-runnable-track {
    height: 2px;
    background: rgba(255, 255, 255, 0.28);
}

.volume-control input::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
    margin-top: -4px;
    appearance: none;
    border-radius: 50%;
    background: #f4f2ed;
}

.release-detail {
    display: grid;
    width: var(--content);
    min-height: 100svh;
    margin: 0 auto;
    padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 80px) 0 110px;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.75fr);
    gap: clamp(56px, 8vw, 140px);
    align-items: center;
}

.release-detail__art {
    aspect-ratio: 1;
    box-shadow: var(--shadow);
}

.release-detail__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-detail__copy h1,
.text-hero h1,
.error-panel h1,
.setup-intro h1,
.login-card h1,
.admin-titlebar h1 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.95;
    overflow-wrap: anywhere;
}

.release-detail__copy h1 {
    font-size: clamp(4rem, 7vw, 7.5rem);
}

.release-detail__artist {
    margin: 18px 0 32px;
    color: var(--muted);
    font-family: var(--display);
    font-size: 1.5rem;
    font-style: italic;
}

.release-facts {
    display: grid;
    margin: 0 0 34px;
    border-top: 1px solid var(--line);
}

.release-facts > div {
    display: grid;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 120px 1fr;
}

.release-facts dt,
.release-facts dd {
    margin: 0;
    font-size: 0.76rem;
}

.release-facts dt {
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.release-description {
    max-width: 640px;
    margin-top: 40px;
    color: var(--muted);
    white-space: normal;
}

.release-detail__links {
    display: flex;
    gap: 28px;
    margin-top: 30px;
}

.native-player {
    width: min(100%, 640px);
    margin-top: 24px;
}

.text-hero {
    width: var(--content);
    margin: 0 auto;
    padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 140px) 0 90px;
    border-bottom: 1px solid var(--line);
}

.text-hero h1 {
    max-width: 14ch;
    font-size: clamp(4rem, 9vw, 9rem);
}

.prose-panel {
    width: min(780px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 96px 0 140px;
}

.prose-panel p {
    color: var(--muted);
    font-size: 1.05rem;
}

.prose-panel .lead {
    margin-top: 0;
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(2rem, 4.5vw, 4rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.prose-panel .primary-link {
    margin-top: 30px;
}

.notes-archive {
    width: var(--content);
    margin: 0 auto;
    padding: 72px 0 140px;
}

.notes-archive__meta {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.notes-archive__meta p {
    margin: 0;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.note-card__link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    background: var(--surface-raised);
}

.note-card__visual,
.note-card__visual::after {
    position: absolute;
    inset: 0;
}

.note-card__visual::after {
    z-index: 1;
    background: linear-gradient(0deg, rgba(5, 6, 7, 0.94), rgba(5, 6, 7, 0.08) 74%);
    content: "";
}

.note-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.62);
    transition: filter 300ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.note-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle at 32% 24%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 32%),
        linear-gradient(140deg, var(--surface-raised), var(--bg-soft));
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(5rem, 10vw, 9rem);
    filter: brightness(0.62);
    opacity: 0.35;
}

.note-card__overlay {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 8px;
    padding: clamp(18px, 2vw, 28px);
    color: #f7f5ef;
}

.note-card__overlay time,
.note-detail__header time {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.note-card__overlay h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.notes-empty {
    display: grid;
    min-height: 260px;
    place-content: center;
    text-align: center;
}

.notes-empty p {
    margin: 0 0 22px;
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 4rem);
}

.note-detail {
    width: var(--content);
    margin: 0 auto;
    padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 100px) 0 150px;
}

.note-detail__header {
    max-width: 1120px;
    margin: 0 auto clamp(64px, 8vw, 110px);
}

.note-detail__header .back-link {
    margin-bottom: 72px;
}

.note-detail__header .eyebrow {
    margin-bottom: 12px;
}

.note-detail__header time {
    display: block;
    margin-bottom: 22px;
    color: var(--muted);
}

.note-detail__header h1 {
    max-width: 13ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(4rem, 9vw, 9rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.95;
    overflow-wrap: anywhere;
}

.note-detail__image {
    width: min(1200px, 100%);
    margin: 0 auto clamp(68px, 9vw, 120px);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.note-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.note-detail__body {
    width: min(720px, calc(100vw - 48px));
    margin: 0 auto;
}

.note-detail__body p {
    margin: 0 0 1.6em;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.85;
    overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
    .note-card__visual img,
    .note-card__placeholder {
        filter: none;
    }

    .note-card__overlay {
        transform: translateY(10px);
        opacity: 0;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .note-card__link:hover .note-card__overlay,
    .note-card__link:focus-visible .note-card__overlay {
        transform: none;
        opacity: 1;
    }

    .note-card__link:hover img,
    .note-card__link:focus-visible img {
        filter: brightness(0.62);
        transform: scale(1.025);
    }

    .note-card__link:hover .note-card__placeholder,
    .note-card__link:focus-visible .note-card__placeholder {
        filter: brightness(0.62);
    }
}

/* Progressive motion: the unenhanced site remains fully visible and usable. */
.motion-ready [data-motion-reveal] {
    transform: translate3d(0, 22px, 0);
    opacity: 0;
    transition:
        opacity 480ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--motion-delay, 0ms),
        transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--motion-delay, 0ms);
}

.motion-ready [data-motion-reveal].is-revealed,
.motion-ready [data-motion-reveal]:focus-within {
    transform: none;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .motion-ready [data-motion-card] {
        --motion-rx: 0deg;
        --motion-ry: 0deg;
        --motion-x: 50%;
        --motion-y: 50%;
    }

    .motion-ready [data-motion-media] {
        transform: perspective(900px) rotateX(var(--motion-rx)) rotateY(var(--motion-ry)) translate3d(0, 0, 0);
        transform-origin: center;
        transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 260ms ease, border-color 220ms ease;
    }

    .motion-ready [data-motion-media]::before {
        position: absolute;
        z-index: 2;
        inset: 0;
        background: radial-gradient(circle at var(--motion-x) var(--motion-y), var(--motion-sheen), transparent 42%);
        content: "";
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
    }

    .motion-ready [data-motion-card].is-motion-active [data-motion-media],
    .motion-ready [data-motion-card]:focus-visible [data-motion-media],
    .motion-ready [data-motion-card]:focus-within [data-motion-media] {
        transform: perspective(900px) rotateX(var(--motion-rx)) rotateY(var(--motion-ry)) translate3d(0, -6px, 0);
        border-color: color-mix(in srgb, var(--motion-edge-color, var(--accent)) 72%, var(--line));
        box-shadow: var(--motion-card-shadow), 0 0 0 1px color-mix(in srgb, var(--motion-edge-color, var(--accent)) 38%, transparent);
    }

    .motion-ready [data-motion-card].is-motion-active [data-motion-media],
    .motion-ready [data-motion-card]:focus-visible [data-motion-media] {
        will-change: transform;
    }

    .motion-ready [data-motion-card].is-motion-active [data-motion-media]::before,
    .motion-ready [data-motion-card]:focus-visible [data-motion-media]::before,
    .motion-ready [data-motion-card]:focus-within [data-motion-media]::before {
        opacity: 1;
    }

    .motion-ready .note-card__link [data-motion-media] {
        transform: perspective(900px) rotateX(var(--motion-rx)) rotateY(var(--motion-ry)) scale(1.01);
    }

    .motion-ready .note-card__link.is-motion-active [data-motion-media],
    .motion-ready .note-card__link:focus-visible [data-motion-media] {
        transform: perspective(900px) rotateX(var(--motion-rx)) rotateY(var(--motion-ry)) scale(1.035);
    }

    .motion-ready .release-card.is-motion-active .release-art img,
    .motion-ready .release-card:focus-within .release-art img,
    .motion-ready .collection-card__summary.is-motion-active .collection-card__art img,
    .motion-ready .collection-card__summary:focus-visible .collection-card__art img {
        transform: scale(1.045);
    }

    .motion-ready .release-card:focus-within .release-art img,
    .motion-ready .collection-card__summary:focus-visible .collection-card__art img {
        filter: brightness(0.72);
    }
}

@media (hover: none), (pointer: coarse) {
    .motion-ready [data-motion-card]:active [data-motion-media] {
        transform: scale(0.985);
    }
}

.about-layout {
    display: grid;
    width: min(1100px, calc(100vw - 64px));
    margin: 0 auto;
    padding: 96px 0 140px;
    grid-template-columns: minmax(240px, 320px) minmax(0, 680px);
    gap: clamp(48px, 7vw, 88px);
    align-items: start;
    justify-content: center;
}

.about-layout--text-only {
    width: min(780px, calc(100vw - 48px));
    grid-template-columns: minmax(0, 780px);
}

.about-layout__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.about-layout__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-layout__copy {
    min-width: 0;
    padding-top: clamp(0px, 1.2vw, 18px);
}

.about-layout__copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.about-layout__copy .lead {
    margin-top: 0;
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.about-layout--text-only .lead {
    font-size: clamp(2rem, 4.5vw, 4rem);
}

.about-layout__copy .primary-link {
    margin-top: 30px;
}

.error-panel {
    display: grid;
    width: min(720px, calc(100vw - 48px));
    min-height: 100svh;
    margin: 0 auto;
    padding: 120px 0;
    place-content: center;
}

.error-panel h1 {
    font-size: clamp(4rem, 10vw, 8rem);
}

.error-panel > p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
}

.error-panel .primary-link {
    justify-self: start;
    margin-top: 26px;
}

.flash-stack {
    position: fixed;
    z-index: 300;
    top: calc(var(--header-height) + 16px);
    right: 20px;
    display: grid;
    width: min(420px, calc(100vw - 40px));
    gap: 8px;
}

.flash {
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
    font-size: 0.85rem;
}

.flash--success {
    border-left: 3px solid var(--success);
}

.flash--error {
    border-left: 3px solid var(--danger);
}

/* Setup and shared forms */
.setup-page {
    background:
        radial-gradient(circle at 20% 10%, rgba(184, 217, 212, 0.1), transparent 24%),
        var(--bg);
}

.setup-shell {
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 90px 0 120px;
}

.setup-intro {
    max-width: 700px;
    margin-bottom: 68px;
}

.setup-intro h1 {
    font-size: clamp(4rem, 8vw, 7rem);
}

.setup-intro > p:last-child {
    color: var(--muted);
}

.setup-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 32px;
    align-items: start;
}

.requirements-card,
.setup-form,
.login-card,
.form-section,
.settings-form,
.system-note,
.library-panel {
    border: 1px solid var(--line);
    background: var(--surface);
}

.requirements-card {
    position: sticky;
    top: 24px;
    padding: 28px;
}

.requirements-card h2,
.form-section h2,
.library-panel h2,
.system-note h2,
.system-check h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
}

.requirements-list {
    display: grid;
    margin: 24px 0 0;
    padding: 0;
    gap: 10px;
    list-style: none;
}

.requirements-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.requirements-list .is-ok span {
    color: var(--success);
}

.requirements-list .is-bad span {
    color: var(--danger);
}

.setup-form {
    padding: clamp(24px, 4vw, 48px);
}

fieldset {
    display: grid;
    margin: 0 0 42px;
    padding: 0;
    border: 0;
    gap: 18px;
}

legend {
    width: 100%;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.5rem;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

input:not([type="range"]):not([type="checkbox"]):not([type="file"]),
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    outline: 0;
    background: var(--bg-soft);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
    resize: vertical;
}

input:not([type="range"]):not([type="checkbox"]):not([type="file"]):focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
}

.field-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field-help,
.current-file {
    margin: 3px 0 0;
    color: var(--faint);
    font-size: 0.72rem;
}

.field-help a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-alert {
    margin: 0 0 24px;
    padding: 14px 18px;
    border: 1px solid color-mix(in srgb, var(--danger) 50%, transparent);
    border-left: 3px solid var(--danger);
    background: color-mix(in srgb, var(--danger) 8%, var(--surface));
    color: var(--text);
    font-size: 0.85rem;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.button--primary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.button--quiet {
    background: var(--surface);
}

.button--wide {
    width: 100%;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

/* Admin */
.admin-page {
    background: var(--bg-soft);
}

.admin-header {
    position: sticky;
    z-index: 40;
    top: 0;
    display: grid;
    min-height: 70px;
    padding: env(safe-area-inset-top, 0px) max(28px, env(safe-area-inset-right, 0px)) 0 max(28px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    grid-template-columns: auto 1fr auto;
    gap: 38px;
    align-items: center;
    backdrop-filter: blur(18px);
}

.admin-header .wordmark span {
    margin-left: 10px;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.55rem;
    letter-spacing: 0.14em;
}

.admin-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.admin-nav a {
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.admin-nav a:hover {
    color: var(--text);
}

.admin-header__tools {
    display: flex;
    gap: 14px;
    align-items: center;
}

.admin-header__tools form {
    margin: 0;
}

.admin-main {
    width: min(1320px, calc(100vw - 64px));
    margin: 0 auto;
    padding: 72px 0 100px;
}

.admin-titlebar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.admin-titlebar h1 {
    font-size: clamp(3.2rem, 5.5vw, 6rem);
}

.admin-titlebar p:last-child {
    margin: 14px 0 0;
    color: var(--muted);
}

.admin-titlebar--editor {
    margin-bottom: 32px;
}

.admin-titlebar__actions {
    display: flex;
    gap: 10px;
}

.back-link {
    margin-bottom: 30px;
}

.metric-grid {
    display: grid;
    margin-bottom: 28px;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.metric-grid article {
    display: grid;
    min-height: 132px;
    padding: 22px;
    background: var(--surface);
    align-content: space-between;
}

.metric-grid span {
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.metric-grid strong {
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 400;
}

.status-banner {
    display: grid;
    margin-bottom: 28px;
    padding: 18px 22px;
    border: 1px solid color-mix(in srgb, var(--warning) 42%, transparent);
    background: color-mix(in srgb, var(--warning) 6%, var(--surface));
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: start;
}

.status-dot {
    width: 9px;
    height: 9px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--warning) 15%, transparent);
}

.status-banner strong {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 400;
}

.status-banner p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.status-banner a {
    padding-top: 3px;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.library-panel {
    overflow: visible;
}

.collection-admin-panel {
    margin-bottom: 28px;
    scroll-margin-top: 110px;
}

.collection-members-panel {
    margin-top: 32px;
}

.library-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.library-panel__header span {
    color: var(--muted);
    font-size: 0.7rem;
}

.track-table-wrap {
    overflow-x: auto;
}

.track-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.track-table th,
.track-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.track-table tbody tr:last-child td {
    border-bottom: 0;
}

.track-table th {
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.track-table td {
    color: var(--muted);
    font-size: 0.76rem;
}

.admin-track-title {
    display: flex;
    min-width: 220px;
    gap: 13px;
    align-items: center;
}

.admin-thumb {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
}

.admin-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-thumb > span {
    font-size: 1.25rem;
}

.admin-track-title > div:last-child {
    display: grid;
}

.admin-track-title strong {
    color: var(--text);
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 400;
}

.admin-track-title span,
.track-table small {
    color: var(--faint);
    font-size: 0.67rem;
}

.track-table td > small {
    display: block;
}

.status-pill {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-pill--published {
    border-color: color-mix(in srgb, var(--success) 42%, transparent);
    color: var(--success);
}

.status-pill--draft {
    border-color: color-mix(in srgb, var(--warning) 42%, transparent);
    color: var(--warning);
}

.track-actions {
    display: flex;
    min-width: 190px;
    gap: 14px;
    align-items: center;
    justify-content: flex-end;
}

.track-actions form {
    display: inline;
    margin: 0;
}

.track-actions a,
.track-actions button,
.delete-details summary {
    padding: 8px 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.66rem;
    font-weight: 700;
}

.track-actions a:hover,
.track-actions button:hover,
.delete-details summary:hover {
    color: var(--text);
}

.delete-details {
    position: static;
}

.delete-details summary {
    list-style: none;
}

.delete-details form {
    position: static;
    display: grid;
    width: 280px;
    margin-top: 8px;
    padding: 18px;
    border: 1px solid var(--line-strong);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
    gap: 12px;
}

.danger-button {
    min-height: 40px;
    border: 1px solid var(--danger) !important;
    color: var(--danger) !important;
}

.admin-empty {
    display: grid;
    min-height: 250px;
    place-content: center;
    text-align: center;
}

.admin-empty p {
    font-family: var(--display);
    font-size: 1.8rem;
}

.editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.72fr);
    gap: 24px;
    align-items: start;
}

.editor-main,
.editor-sidebar {
    display: grid;
    gap: 24px;
}

.form-section {
    padding: clamp(22px, 3vw, 34px);
}

.form-section__heading {
    display: grid;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 30px 1fr;
    gap: 10px;
}

.form-section__heading > span {
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.form-section__heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.71rem;
}

.form-section > label,
.form-section > .field-pair {
    margin-top: 18px;
}

.drop-zone {
    display: grid;
    min-height: 230px;
    margin-top: 0 !important;
    padding: 32px;
    place-content: center;
    border: 1px dashed var(--line-strong);
    background: var(--bg-soft);
    cursor: pointer;
    text-align: center;
    transition: border-color 160ms ease, background 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging,
.drop-zone:focus-within,
.art-drop:focus-within {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--bg-soft));
}

.drop-zone:focus-within,
.art-drop:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.drop-zone input,
.art-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.drop-zone__mark {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.3rem;
    line-height: 45px;
}

.drop-zone strong {
    color: var(--text);
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.drop-zone > span:not(.drop-zone__mark),
.drop-zone small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.drop-zone small {
    margin-top: 8px;
    color: var(--faint);
}

.slug-field {
    display: flex;
    min-width: 0;
    align-items: stretch;
    border: 1px solid var(--line-strong);
    background: var(--bg-soft);
}

.slug-field > span {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding-left: 13px;
    color: var(--faint);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.slug-field input {
    min-width: 0;
    border: 0 !important;
}

.art-drop {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    margin-top: 0 !important;
    place-items: center;
    border: 1px dashed var(--line-strong);
    cursor: pointer;
}

.art-drop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-placeholder {
    font-size: clamp(4rem, 10vw, 7rem);
}

.art-drop__action {
    position: absolute;
    z-index: 2;
    bottom: 14px;
    left: 50%;
    min-width: max-content;
    padding: 8px 12px;
    transform: translateX(-50%);
    background: rgba(10, 11, 12, 0.82);
    color: #f4f2ed;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.player-color-picker {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.player-color-picker__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.player-color-picker__heading label,
.art-palette > span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.player-color-picker__heading output {
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.player-color-picker__control {
    display: grid;
    margin-top: 10px;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
}

.player-color-picker input[type="color"] {
    width: 58px;
    height: 48px;
    min-height: 48px;
    padding: 4px;
    border: 1px solid var(--line-strong);
    background: var(--bg-soft);
    cursor: pointer;
}

.player-color-picker input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.player-color-picker input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 0;
}

.player-color-picker input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 0;
}

.player-color-picker__preview {
    position: relative;
    display: grid;
    min-width: 0;
    height: 48px;
    overflow: hidden;
    align-items: center;
    background: #0b0d0e;
}

.player-color-picker__preview::before {
    position: absolute;
    right: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.34);
    content: "";
}

.player-color-picker__preview > span {
    position: relative;
    z-index: 1;
    width: 64%;
    height: 3px;
    background: #d8d4cb;
}

.art-palette {
    display: grid;
    margin-top: 18px;
    gap: 9px;
}

.art-palette[hidden] {
    display: none;
}

.art-palette__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.art-palette__swatches button {
    width: 44px;
    height: 44px;
    padding: 4px;
    border: 1px solid var(--line-strong);
    background: var(--bg-soft);
    cursor: pointer;
}

.art-palette__swatches button::before {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--swatch-color, #d8d4cb);
    content: "";
}

.art-palette__swatches button[aria-pressed="true"] {
    border-color: var(--text);
    box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text);
}

.player-color-status {
    min-height: 1.2em;
    margin: 10px 0 0;
    color: var(--faint);
    font-size: 0.68rem;
}

.player-color-status.is-error {
    color: var(--danger);
}

.check-row {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.upload-progress {
    margin-top: 24px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.upload-progress__copy {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.72rem;
}

.upload-progress__bar {
    display: block;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border: 0;
    background: var(--line);
    -webkit-appearance: none;
    appearance: none;
    accent-color: var(--accent);
}

.upload-progress__bar::-webkit-progress-bar {
    background: var(--line);
}

.upload-progress__bar::-webkit-progress-value {
    background: var(--accent);
}

.upload-progress__bar::-moz-progress-bar {
    background: var(--accent);
}

.editor-actions {
    position: sticky;
    z-index: 20;
    bottom: 0;
    display: flex;
    margin-top: 24px;
    padding: 16px max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    justify-content: flex-end;
    gap: 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(18px);
}

.settings-form {
    display: grid;
    max-width: 1180px;
    padding: clamp(24px, 4vw, 48px);
    gap: 22px;
}

.settings-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: clamp(30px, 4vw, 52px);
    align-items: start;
}

.settings-form__fields {
    display: grid;
    gap: 22px;
}

.settings-about-image {
    margin: 0;
    align-content: start;
}

.about-image-drop {
    position: relative;
    display: grid;
    width: min(100%, 280px);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    place-items: center;
    border: 1px dashed var(--line-strong);
    background: var(--bg-soft);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.about-image-drop:hover,
.about-image-drop.is-dragging,
.about-image-drop:focus-within {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--bg-soft));
}

.about-image-drop:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.about-image-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.about-image-drop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    color: var(--faint);
    font-family: var(--display);
    font-size: 3.2rem;
    letter-spacing: -0.04em;
}

.about-image-status {
    min-height: 1.3em;
    margin: -4px 0 0;
    color: var(--faint);
    font-size: 0.7rem;
}

.about-image-cancel {
    min-height: 44px;
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: uppercase;
}

.about-image-cancel:hover {
    color: var(--text);
}

.note-image-drop {
    position: relative;
    display: grid;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    place-items: center;
    border: 1px dashed var(--line-strong);
    background: var(--bg-soft);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.note-image-drop:hover,
.note-image-drop.is-dragging,
.note-image-drop:focus-within {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--bg-soft));
}

.note-image-drop:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.note-image-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.note-image-drop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.note-image-placeholder {
    color: var(--faint);
    font-family: var(--display);
    font-size: 3rem;
    letter-spacing: -0.04em;
}

.form-alert--warning {
    border-color: color-mix(in srgb, var(--warning) 50%, transparent);
    border-left-color: var(--warning);
    background: color-mix(in srgb, var(--warning) 8%, var(--surface));
}

.settings-form .button {
    justify-self: start;
    margin-top: 10px;
}

.system-grid {
    display: grid;
    margin-bottom: 28px;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.system-check {
    display: grid;
    min-height: 120px;
    padding: 24px;
    background: var(--surface);
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
}

.system-check__icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--success);
    font-size: 0.72rem;
}

.system-check__icon.is-warning {
    color: var(--warning);
}

.system-check p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.system-note {
    max-width: 780px;
    padding: 28px;
}

.system-note p {
    color: var(--muted);
    font-size: 0.86rem;
}

.login-shell {
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: 80px 24px;
    background:
        radial-gradient(circle at 50% 20%, rgba(184, 217, 212, 0.12), transparent 24%),
        linear-gradient(150deg, var(--bg-soft), var(--bg));
}

.login-wordmark {
    position: absolute;
    top: 30px;
    left: 32px;
}

.login-card {
    display: grid;
    width: min(460px, 100%);
    padding: clamp(30px, 5vw, 50px);
    gap: 20px;
    box-shadow: var(--shadow);
}

.login-card h1 {
    margin-bottom: 14px;
    font-size: clamp(3rem, 8vw, 5rem);
}

.login-back {
    justify-self: center;
    margin-top: 8px;
}

@media (max-width: 1100px) {
    :root {
        --content: min(100% - 48px, 1440px);
    }

    .release-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .notes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-header {
        grid-template-columns: auto 1fr;
    }

    .admin-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 0 0 12px;
        overflow-x: auto;
    }

    .admin-header__tools {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    :root {
        --content: calc(100vw - 32px);
        --header-height: 106px;
        --player-height: 74px;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 62px 44px;
        gap: 0 12px;
        padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
    }

    .site-nav {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        gap: clamp(22px, 8vw, 42px);
        justify-content: center;
    }

    .site-nav a:not(:first-child) {
        display: block;
    }

    .theme-toggle {
        grid-column: 2;
        grid-row: 1;
    }

    .music-hero {
        min-height: 610px;
        min-height: max(610px, 100vh);
        min-height: max(610px, 100svh);
        padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 52px) max(20px, env(safe-area-inset-right, 0px)) 74px max(20px, env(safe-area-inset-left, 0px));
    }

    .hero-art img {
        object-position: 62% center;
    }

    .hero-art::after {
        background:
            linear-gradient(0deg, rgba(7, 8, 9, 0.94) 0%, rgba(7, 8, 9, 0.48) 58%, rgba(7, 8, 9, 0.3) 100%);
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        max-width: 10ch;
        font-size: clamp(3.5rem, 16vw, 6.5rem);
    }

    .hero-description {
        max-width: 90%;
    }

    .hero-scroll {
        display: none;
    }

    .release-section {
        padding: 76px 0 90px;
    }

    .release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 16px;
    }

    .notes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .note-detail {
        padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 64px);
    }

    .note-detail__header .back-link {
        margin-bottom: 48px;
    }

    .collection-card__summary {
        min-height: 176px;
        grid-template-columns: 138px minmax(0, 1fr);
        gap: 14px 24px;
    }

    .collection-card__art {
        width: 138px;
        grid-row: 1 / span 2;
    }

    .collection-card__copy > strong {
        font-size: clamp(2.35rem, 8vw, 4.2rem);
    }

    .collection-card__toggle {
        min-width: 0;
        justify-content: flex-start;
    }

    .release-card__play {
        width: 50px;
        height: 50px;
        transform: translate(-50%, -50%);
        opacity: 0.92;
    }

    .home-about {
        display: block;
        padding: 76px 0 90px;
    }

    .home-about__statement {
        margin-top: 0;
    }

    .about-layout {
        width: min(680px, calc(100vw - 40px));
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .about-layout__image {
        width: min(300px, 68vw);
    }

    .about-layout__copy {
        padding-top: 0;
    }

    .site-footer {
        display: grid;
        gap: 4px;
    }

    .footer-nav {
        margin: 12px 0;
    }

    .player-inner {
        width: 100%;
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        grid-template-columns: 1fr auto;
    }

    .player-cover {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .player-transport {
        gap: 0;
    }

    .player-tools {
        display: none;
    }

    .release-detail {
        padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 50px) 0 90px;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .release-detail__art {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .setup-grid,
    .editor-grid {
        grid-template-columns: 1fr;
    }

    .requirements-card {
        position: static;
    }

    .admin-main {
        width: calc(100vw - 32px);
        padding-top: 46px;
    }

    .editor-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-titlebar h1 {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .system-grid {
        grid-template-columns: 1fr;
    }

    .settings-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-image-drop {
        width: min(100%, 280px);
    }
}

@media (max-width: 560px) {
    .hero-actions {
        flex-wrap: wrap;
    }

    .primary-play {
        min-height: 54px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > p {
        margin-top: 9px;
    }

    .archive-subheading {
        align-items: flex-start;
    }

    .archive-subheading--singles {
        margin-top: 58px;
    }

    .collection-card__summary {
        min-height: 132px;
        padding: 12px;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 10px 16px;
    }

    .collection-card__art {
        width: 104px;
    }

    .collection-card__copy > strong {
        margin-top: 8px;
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .collection-card__artist {
        margin-top: 8px;
        font-size: 0.9rem;
    }

    .collection-card__description {
        display: none;
    }

    .collection-card__toggle {
        min-height: 44px;
        gap: 10px;
        font-size: 0.58rem;
    }

    .collection-card__toggle-mark {
        width: 36px;
        height: 36px;
    }

    .collection-card__tracks {
        padding: 20px 14px 22px;
    }

    .collection-track {
        padding: 8px 0;
        grid-template-columns: 28px 50px minmax(0, 1fr);
        gap: 8px;
    }

    .collection-track__play {
        width: 50px;
        height: 50px;
    }

    .collection-track__play-icon {
        width: 32px;
        height: 32px;
    }

    .collection-track__duration {
        display: none;
    }

    .release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 12px;
    }

    .notes-archive {
        padding: 56px 0 96px;
    }

    .notes-grid {
        grid-template-columns: 1fr;
    }

    .note-detail {
        padding-bottom: 100px;
    }

    .note-detail__header h1 {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }

    .note-detail__image {
        margin-bottom: 56px;
    }

    .release-meta {
        padding-top: 12px;
    }

    .release-meta h3 {
        font-size: 1.05rem;
    }

    .release-duration {
        display: none;
    }

    .site-footer {
        font-size: 0.62rem;
    }

    .release-detail__copy h1 {
        font-size: clamp(3.4rem, 16vw, 5.8rem);
    }

    .text-hero {
        padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 90px);
    }

    .text-hero h1 {
        font-size: clamp(3.6rem, 17vw, 6rem);
    }

    .about-layout {
        width: calc(100vw - 32px);
        padding: 64px 0 96px;
        gap: 34px;
    }

    .about-layout__image {
        width: min(280px, 82vw);
    }

    .setup-shell {
        width: calc(100vw - 28px);
        padding-top: 54px;
    }

    .field-pair {
        grid-template-columns: 1fr;
    }

    .admin-header {
        padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
        gap: 14px;
    }

    .admin-header .wordmark span {
        display: none;
    }

    .admin-header__tools {
        gap: 4px;
    }

    .admin-nav {
        gap: 20px;
    }

    .admin-titlebar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-titlebar > .button {
        width: 100%;
    }

    .admin-titlebar__actions {
        width: 100%;
    }

    .admin-titlebar__actions .button {
        flex: 1;
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr;
    }

    .metric-grid article {
        min-height: 108px;
        padding: 17px;
    }

    .metric-grid strong {
        font-size: 1.8rem;
    }

    .status-banner {
        grid-template-columns: auto 1fr;
    }

    .status-banner > a {
        grid-column: 2;
    }

    .editor-sidebar {
        grid-template-columns: 1fr;
    }

    .drop-zone {
        min-height: 200px;
        padding: 24px 14px;
    }

    .editor-actions {
        margin-right: -16px;
        margin-left: -16px;
    }

    .editor-actions .button {
        flex: 1;
    }

    .slug-field > span {
        display: none;
    }

    .login-wordmark {
        left: 20px;
    }
}

@media (hover: none) {
    .release-card__play {
        transform: translate(-50%, -50%);
        opacity: 0.92;
    }
}

@media (max-width: 340px) {
    .release-grid {
        grid-template-columns: 1fr;
    }

    .player-transport [data-player-previous],
    .player-transport [data-player-next] {
        display: none;
    }
}

@media (forced-colors: active), (prefers-reduced-transparency: reduce) {
    .hero-signal {
        display: none;
    }

    .motion-ready [data-motion-media]::before {
        display: none;
    }
}

@media print {
    .hero-signal {
        display: none !important;
    }

    .motion-ready [data-motion-reveal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .hero-signal {
        display: none !important;
    }

    .motion-ready [data-motion-reveal],
    .motion-ready [data-motion-media] {
        transform: none !important;
        opacity: 1 !important;
        box-shadow: none !important;
    }
}
