:root {
  color-scheme: dark;
  --bg: #0e0d0b;
  --bg-elevated: #151310;
  --surface: #1c1915;
  --surface-2: #242019;
  --ink: #f7f1e7;
  --muted: #aaa196;
  --line: rgba(255,255,255,.12);
  --accent: #f59a52;
  --accent-strong: #ff7a2f;
  --accent-soft: #ffcc9f;
  --accent-text: var(--accent);
  --accent-text-strong: var(--accent-strong);
  --danger: #ff6b67;
  --success: #6fd3a7;
  --shadow: 0 24px 80px rgba(0,0,0,.32);
  --radius: 22px;
  --shell: min(1200px, calc(100vw - 40px));
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5efe5;
  --bg-elevated: #fffaf1;
  --surface: #fffdf8;
  --surface-2: #eee5d8;
  --ink: #17130f;
  --muted: #6e645b;
  --line: rgba(32,23,16,.16);
  --accent: #ffc89f;
  --accent-strong: #ffd8ba;
  --accent-soft: #ffc89f;
  --accent-text: #d75c18;
  --accent-text-strong: #b9470b;
  --shadow: 0 24px 70px rgba(76,48,26,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; transition: background-color .25s ease, color .25s ease; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 82% 4%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 32%), radial-gradient(circle at 12% 70%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 30%); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.site-main { min-height: 70vh; overflow: hidden; }

.site-header, .admin-header { width: var(--shell); min-height: 84px; margin: 0 auto; display: flex; align-items: center; gap: 34px; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.site-header { justify-content: flex-start; }
.site-header .global-hit-counter { margin-left: 18px; }
.site-header .site-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.site-header .header-actions { margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: .92rem; font-weight: 900; letter-spacing: .16em; }
.brand-lockup { display: inline-flex; align-items: center; gap: 16px; }
.brand-mark { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #17100b; font-size: .72rem; letter-spacing: -.04em; box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 12%, transparent); }
.brand-avatar { width: 42px; aspect-ratio: 1; overflow: hidden; flex: 0 0 auto; border: 2px solid color-mix(in srgb, var(--accent) 72%, transparent); border-radius: 50%; box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 12%, transparent); }
.brand-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.12); }
.global-hit-counter { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: color-mix(in srgb, var(--surface) 76%, transparent); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.global-hit-counter svg { width: 13px; height: 13px; fill: none; stroke: var(--accent-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.global-hit-counter strong { color: var(--ink); font-size: .76rem; letter-spacing: 0; }
.site-nav, .admin-header nav { display: flex; align-items: center; gap: 30px; }
.site-nav a, .admin-header nav a { color: var(--muted); font-size: .92rem; font-weight: 700; transition: color .2s ease; }
.site-nav a:hover, .admin-header nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 9px; }
.icon-button { width: 44px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.icon-button:hover { transform: translateY(-2px); border-color: var(--accent); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle:hover { transform: none; border-color: var(--line); background: var(--surface); }
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .theme-toggle:hover { background: transparent; }
.moon-icon, html[data-theme="light"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: block; }
.nav-toggle { display: none; }

.hero { min-height: 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8px 36px; align-items: start; padding: 12px 0 18px; }
.hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
.eyebrow { display: block; color: var(--accent-text); font-size: .74rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1, .page-hero h1, .release-intro h1, .song-content h1, .article-page h1, .error-page h1 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -.07em; line-height: .91; text-transform: uppercase; }
.hero h1 { max-width: 720px; font-size: clamp(2.35rem, 2.8vw, 2.8rem); }
.hero h1 em { display: block; color: var(--accent-text); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: .9rem; line-height: 1.45; margin: 8px 0 12px; }
.hero .button { min-height: 40px; padding: 7px 16px; font-size: .8rem; }
.button-row.hero-streaming-buttons { grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; gap: 8px; width: 100%; overflow-x: auto; padding-bottom: 2px; }
.hero-streaming-buttons .button { min-width: 0; padding-inline: 11px; font-size: .72rem; white-space: nowrap; }
.button-row, .stream-links { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 10px 20px; font-size: .86rem; font-weight: 800; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #18100a; }
.button-primary:hover { background: var(--accent-strong); }
html[data-theme="light"] .button-primary { background: #ffc89f; color: #17100f; }
html[data-theme="light"] .button-primary:hover { background: #ffd8ba; }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-secondary:hover, .button-ghost:hover { border-color: var(--accent); }
.button-ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.button-danger { background: color-mix(in srgb, var(--danger) 14%, transparent); border-color: color-mix(in srgb, var(--danger) 40%, transparent); color: var(--danger); }
.streaming-button { gap: 8px; }
.service-icon { width: 17px; height: 17px; flex: 0 0 17px; display: block; }
.hero-portrait { grid-column: 2; grid-row: 1; position: relative; min-height: 215px; display: grid; place-items: start center; transform: translateY(-4px); }
.portrait-frame { width: min(165px, 80%); aspect-ratio: .79; overflow: hidden; border-radius: 48% 48% 18px 18px; background: var(--surface); box-shadow: var(--shadow); position: relative; z-index: 2; transform: translate3d(0, var(--hero-portrait-y, 0), 0); will-change: transform; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -100px 100px rgba(0,0,0,.24); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; top: 0; border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent); border-radius: 50%; }
.orbit-one { width: 285px; height: 170px; transform: translate3d(0, var(--orbit-one-y, 0), 0) rotate(var(--orbit-one-rotation, 12deg)); will-change: transform; }
.orbit-two { width: 330px; height: 120px; transform: translate3d(0, var(--orbit-two-y, 0), 0) rotate(var(--orbit-two-rotation, -34deg)); will-change: transform; }
.orbit-three { top: 45px; width: 360px; height: 95px; transform: rotate(-12deg); }
.orbit-four { top: 10px; width: 310px; height: 110px; transform: rotate(24deg); }

html.motion-ready .reveal-on-scroll { opacity: 0; transform: translate3d(0, 16px, 0) scale(.992); transition: opacity .52s ease, transform .58s cubic-bezier(.2,.72,.2,1); transition-delay: var(--reveal-delay, 0ms); }
html.motion-ready .reveal-on-scroll.is-visible { opacity: 1; transform: none; }

.section { padding: 95px 0; }
.hero + .section { padding-top: 28px; }
.section-tight { padding: 30px 0 100px; }
.section-tint { background: var(--bg-elevated); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 34px; }
.section-heading h2, .about-copy h2 { font-family: var(--display); font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.055em; line-height: 1; text-transform: uppercase; margin: 0; }
.text-link { color: var(--accent-text); font-size: .88rem; font-weight: 800; }
.text-link:hover { color: var(--accent-text-strong); }
.featured-release { display: grid; grid-template-columns: minmax(320px, .9fr) 1.1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.featured-release > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--surface-2); }
.featured-release > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(35px, 6vw, 84px); }
.featured-release h3 { margin: 18px 0; font-family: var(--display); font-size: clamp(2.3rem, 4.5vw, 4.3rem); line-height: .92; letter-spacing: -.07em; text-transform: uppercase; }
.featured-release p { color: var(--muted); max-width: 530px; margin: 0 0 28px; }
.pill { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.release-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.cover-link { display: grid; place-items: center; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--surface-2); }
.cover-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cover-arrow { position: absolute; right: 13px; top: 13px; width: 37px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(15,12,9,.8); color: #fff; backdrop-filter: blur(8px); transform: translateY(-55px); transition: transform .25s ease; }
.cover-link:hover .cover-arrow { transform: none; }
.card-meta { display: flex; justify-content: space-between; color: var(--accent-text); font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; margin: 15px 0 7px; }
.release-card h3 { margin: 0; font-family: var(--display); font-size: 1.48rem; line-height: 1.05; letter-spacing: -.035em; }
.release-card h3 a:hover { color: var(--accent-text); }
.release-card > p { color: var(--muted); font-size: .83rem; margin: 6px 0 0; }
.song-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 30px; }
.song-card { min-height: 118px; display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding: 17px 0; }
.song-card-art { overflow: hidden; border-radius: 10px; }
.song-card-art img { width: 74px; height: 74px; object-fit: cover; }
.song-card .eyebrow { margin: 0 0 3px; font-size: .62rem; }
.song-card h3 { margin: 0; font-size: 1rem; }
.song-card p { color: var(--muted); font-size: .75rem; margin: 2px 0 0; }
.round-link { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-text); transition: background-color .2s ease; }
.round-link:hover { background: var(--accent); color: #17100b; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.post-card > span { color: var(--accent-text); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-card h2, .post-card h3 { font-family: var(--display); font-size: 1.75rem; letter-spacing: -.045em; line-height: 1.05; margin: 24px 0 10px; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent-text); }
.post-card p { color: var(--muted); font-size: .9rem; }
.post-card .text-link { margin-top: auto; }
.post-card img { width: calc(100% + 56px); max-width: none; height: 210px; object-fit: cover; margin: -28px -28px 25px; border-radius: 15px 15px 0 0; }
.post-grid-large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listen-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.listen-panel h2 { font-family: var(--display); font-size: clamp(2.1rem, 3.8vw, 3.4rem); letter-spacing: -.06em; line-height: .95; text-transform: uppercase; margin: 0 0 18px; }
.listen-panel p { color: var(--muted); max-width: 480px; }
.listen-panel iframe { width: 100%; min-height: 352px; border: 0; border-radius: 14px; background: var(--surface); }
.empty-state { padding: 60px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-state h2, .empty-state h3 { font-family: var(--display); font-size: 2rem; margin: 0; }
.empty-state p { color: var(--muted); }

.page-hero { max-width: 980px; margin-left: max(20px, calc((100vw - 1200px)/2)); padding: 42px 0 32px; }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6.2rem); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.about-page-hero { padding: 34px 0 22px; }
.about-page-hero h1 { font-size: clamp(2.4rem, 3vw, 3rem); letter-spacing: -.055em; line-height: 1; }
.filter-bar { display: grid; grid-template-columns: repeat(3, 1fr) auto auto; gap: 13px; align-items: end; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 22px; }
.filter-bar label, .stack-form label { display: grid; gap: 7px; color: var(--muted); font-size: .76rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-elevated); color: var(--ink); padding: 11px 12px; }
textarea { min-height: 100px; resize: vertical; }
select { cursor: pointer; }
.results-count { color: var(--muted); font-size: .82rem; margin: 24px 0; }

.release-page { display: grid; grid-template-columns: minmax(320px, .86fr) 1.14fr; gap: clamp(50px, 8vw, 120px); align-items: center; padding: 80px 0; }
.release-cover { position: sticky; top: 20px; }
.release-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.release-intro h1, .song-content h1 { font-size: clamp(3rem, 5.5vw, 5.5rem); overflow-wrap: anywhere; }
.release-date { color: var(--muted); margin: 22px 0 32px; }
.soft-copy { max-width: 640px; color: var(--muted); font-size: 1.06rem; }
.prose { color: color-mix(in srgb, var(--ink) 88%, var(--muted)); font-size: 1.04rem; }
.prose h2, .prose h3 { font-family: var(--display); letter-spacing: -.035em; line-height: 1.1; margin: 1.7em 0 .6em; }
.prose h2 { font-size: 2rem; }
.prose p { margin: 0 0 1.25em; }
.prose a:not(.button) { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.stream-links { margin-top: 30px; }
.track-section { padding-top: 30px; }
.track-list { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.track-list li { display: grid; grid-template-columns: 48px minmax(230px, 1fr) 70px 100px 40px; gap: 16px; align-items: center; min-height: 82px; border-top: 1px solid var(--line); }
.track-number { color: var(--accent-text); font-family: var(--display); font-size: .83rem; }
.track-list li > div { display: grid; }
.track-list li > div a { font-weight: 800; }
.track-list li > div a:hover { color: var(--accent-text); }
.track-list small, .track-list li > span:not(.track-number) { color: var(--muted); font-size: .74rem; }

.song-page { display: grid; grid-template-columns: minmax(280px, .72fr) 1.28fr; gap: clamp(45px, 8vw, 110px); align-items: start; padding: 80px 0 120px; }
.song-art-panel { position: sticky; top: 30px; }
.song-art-panel img { width: 100%; height: auto; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.song-art-panel p { color: var(--muted); font-size: .75rem; text-align: center; }
.song-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .78rem; margin: 25px 0 42px; }
.song-facts a { color: var(--accent-text); }
.story-prose { font-size: 1.16rem; }
.story-placeholder { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; }
.story-placeholder h2 { font-family: var(--display); margin: 0; }
.story-placeholder p { color: var(--muted); margin: 10px 0 0; }
.player-shell { margin: 35px 0 18px; overflow: hidden; border-radius: 14px; background: var(--surface); }
.player-shell iframe { width: 100%; min-height: 175px; display: block; border: 0; }

.article-page { max-width: 1200px; padding: 58px 0 90px; }
.article-masthead { display: grid; grid-template-columns: minmax(250px, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 68px); align-items: end; padding: 24px 0 30px; border-top: 5px solid var(--ink); border-bottom: 1px solid var(--ink); }
.article-masthead:not(.has-image) { grid-template-columns: minmax(0, 900px); }
.article-masthead-copy { min-width: 0; padding-bottom: 4px; }
.article-masthead .eyebrow { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.article-page h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 4.4vw, 4.5rem); font-weight: 800; letter-spacing: -.065em; line-height: .92; text-transform: none; }
.article-deck { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; margin: 24px 0 0; }
.article-masthead-media { width: 100%; max-width: 380px; margin: 0; padding-right: clamp(18px, 2.5vw, 30px); border-right: 1px solid var(--line); }
.article-masthead-media img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow); }
.article-prose { max-width: 760px; margin: 50px auto 0; padding-top: 22px; border-top: 1px solid var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.13rem; line-height: 1.82; }
.article-prose > p:first-child::first-letter { float: left; color: var(--accent-text); font-family: var(--display); font-size: 5rem; font-weight: 900; line-height: .74; margin: .12em .09em 0 0; }
.article-prose h2, .article-prose h3, .article-prose h4 { font-family: var(--display); letter-spacing: -.035em; }
.article-footer { max-width: 900px; margin: 60px auto 0; padding-top: 10px; border-top: 5px solid var(--ink); }
.article-share { padding: 26px 0 30px; border-bottom: 1px solid var(--ink); }
.article-share-copy { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 24px; align-items: baseline; }
.article-share-copy .eyebrow { grid-row: 1 / span 2; margin: 0; }
.article-share h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.article-share-copy p { color: var(--muted); margin: 5px 0 0; }
.article-share-buttons { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0 174px; }
.article-share-buttons .button { min-height: 40px; padding: 8px 16px; font-size: .76rem; }
.share-status { min-height: 1.4em; color: var(--accent-text); font-size: .76rem; margin: 12px 0 0 174px; }
.article-back-link { display: inline-block; margin-top: 25px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.about-image img { width: 100%; height: auto; aspect-ratio: auto; border-radius: var(--radius); }
.about-copy { font-size: 1.12rem; }
.about-copy h2 { font-size: 3rem; }
.about-gallery-section .section-heading > p { max-width: 320px; color: var(--muted); margin: 0; text-align: right; }
.about-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-gallery figure { min-width: 0; aspect-ratio: 1; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.about-gallery figure img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.about-gallery figure:hover img { transform: scale(1.035); }
.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 0; }
.error-code { color: var(--accent-text); font-family: var(--display); font-size: 1.5rem; }
.error-page h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.error-page p { color: var(--muted); }

.site-footer { width: var(--shell); display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 40px; margin: 0 auto; padding: 60px 0 28px; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); font-size: .82rem; }
.footer-links, .social-links { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.footer-links a:hover, .social-links a:hover { color: var(--accent-text); }
.social-links a { display: inline-flex; align-items: center; gap: 9px; width: fit-content; }
.social-icon { width: 25px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-text); flex: 0 0 auto; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.social-icon svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.social-icon svg rect, .social-icon svg circle, .social-icon svg path { vector-effect: non-scaling-stroke; }
.social-links a:hover .social-icon { color: #18100a; background: var(--accent); border-color: var(--accent); }
.social-links a:nth-child(2) .social-icon svg, .social-links a:nth-child(3) .social-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-links a:nth-child(2) .social-icon-dot { fill: currentColor; stroke: none; }
.social-links a:nth-child(4) .social-icon svg rect { fill: currentColor; }
.footer-share { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.footer-share-label { color: var(--accent-text); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.footer-share .article-share-buttons { margin: 0; }
.footer-share .article-share-buttons .button { min-height: 37px; padding: 7px 14px; font-size: .72rem; }
.footer-share .share-status { min-height: 0; margin: 0 0 0 auto; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 18px; }

/* Administration */
.admin-body { background: var(--bg-elevated); }
.admin-header { width: 100%; padding: 0 max(20px, calc((100vw - 1380px)/2)); background: var(--surface); }
.admin-header .brand { margin-right: auto; }
.inline-form { margin: 0; }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.admin-main { width: min(1380px, calc(100vw - 40px)); margin: 0 auto; padding: 50px 0 100px; }
.flash-stack { position: fixed; z-index: 100; right: 20px; top: 90px; width: min(390px, calc(100vw - 40px)); display: grid; gap: 8px; }
.flash { padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); font-size: .86rem; }
.flash-success { border-color: color-mix(in srgb, var(--success) 50%, var(--line)); }
.flash-error { border-color: color-mix(in srgb, var(--danger) 55%, var(--line)); }
.login-card { width: min(460px, 100%); margin: 7vh auto; padding: 38px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.login-card h1 { font-family: var(--display); font-size: 2.8rem; letter-spacing: -.055em; margin: 0; }
.login-card > p { color: var(--muted); }
.stack-form { display: grid; gap: 16px; }
.login-card form { margin: 28px 0 20px; }
.form-error { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); border-radius: 9px; padding: 10px 12px; font-size: .82rem; }
.admin-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.admin-page-heading h1 { font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4.3rem); letter-spacing: -.06em; line-height: .95; margin: 0; }
.admin-page-heading p { color: var(--muted); margin: 8px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 24px; }
.stat-grid article, .stat-grid > a { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stat-grid span { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.stat-grid strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; margin-top: 10px; }
.stat-card-link { transition: transform .2s ease, border-color .2s ease; }
.stat-card-link:hover { transform: translateY(-3px); border-color: var(--accent); }
.stat-card-link small { display: block; color: var(--accent-text); font-size: .7rem; font-weight: 800; margin-top: 10px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-panel { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.admin-panel h2 { font-family: var(--display); font-size: 1.35rem; margin: 0; }
.control-form { margin-top: 24px; }
.control-form .button { justify-self: start; }
.counter-breakdown dl { display: grid; gap: 0; margin: 22px 0; }
.counter-breakdown dl > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.counter-breakdown dt { color: var(--muted); font-size: .8rem; }
.counter-breakdown dd { margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 900; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel-heading a { color: var(--accent-text); font-size: .76rem; font-weight: 800; }
.admin-list { display: grid; }
.admin-list a { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.admin-list strong { color: var(--muted); font-size: .74rem; }
.view-bars { display: grid; gap: 9px; margin-top: 18px; }
.view-bars > div { display: grid; grid-template-columns: 48px 1fr 38px; gap: 10px; align-items: center; font-size: .68rem; }
.view-bars i { height: 7px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--bar), var(--surface-2) var(--bar)); }
.muted { color: var(--muted); font-size: .82rem; }
.admin-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 850px; font-size: .82rem; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { color: var(--muted); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-table small { display: block; color: var(--muted); margin-top: 3px; }
.story-approval-note { margin-bottom: 20px; }
.story-approval-note p { color: var(--muted); margin: 6px 0 0; }
.story-batch-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 14px; }
.story-review-table { min-width: 760px; }
.story-review-table th:first-child, .story-review-table td:first-child { width: 80px; text-align: center; }
.table-title { display: flex; align-items: center; gap: 12px; }
.table-title img { width: 48px; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.status { display: inline-flex; padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.status-published { color: var(--success); border-color: color-mix(in srgb, var(--success) 35%, var(--line)); }
.status-scheduled { color: var(--accent-text); }
.editor-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.editor-main { display: grid; gap: 20px; }
.editor-sidebar { display: grid; gap: 20px; position: sticky; top: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack-form label > span { float: right; color: var(--accent-text); font-size: .65rem; text-transform: uppercase; }
.check-label { display: flex !important; grid-template-columns: 18px 1fr; align-items: center; gap: 9px !important; }
.check-label input { width: auto; }
.editor-cover { width: 100%; border-radius: 10px; }
.markdown-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.markdown-toolbar button { border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--ink); padding: 5px 9px; cursor: pointer; font-size: .7rem; }
.membership-list { display: grid; gap: 8px; max-height: 520px; overflow: auto; }
.membership-list > div { display: grid; grid-template-columns: 1fr 90px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.membership-list input[type="number"] { padding: 7px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 14px; padding: 18px 0 30px; }
  .hero-copy, .hero-portrait, .hero-streaming-buttons { grid-column: 1; grid-row: auto; }
  .hero-portrait { order: -1; min-height: 180px; place-items: center; transform: none; }
  .button-row.hero-streaming-buttons { flex-wrap: wrap; overflow-x: visible; }
  .portrait-frame { width: 140px; }
  .orbit-one { width: 170px; } .orbit-two { width: 205px; height: 115px; }
  .orbit-three { top: 35px; width: 235px; height: 75px; }
  .orbit-four { top: 26px; width: 205px; height: 80px; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-release, .release-page, .song-page, .about-grid { grid-template-columns: 1fr; }
  .listen-panel { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: 1fr 1fr; }
  .release-cover, .song-art-panel { position: static; }
  .release-cover { max-width: 680px; }
  .song-art-panel { max-width: 500px; }
  .filter-bar { grid-template-columns: repeat(3, 1fr); }
  .post-grid, .post-grid-large { grid-template-columns: 1fr 1fr; }
  .article-masthead { grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .social-links { align-items: flex-end; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .editor-form { grid-template-columns: 1fr; }
  .editor-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .admin-header nav { display: none; }
  .global-hit-label { display: none; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1200px); }
  .site-header { min-height: 72px; }
  .site-header { display: flex; justify-content: space-between; }
  .site-header .global-hit-counter { margin-left: auto; }
  .brand-lockup { gap: 10px; }
  .global-hit-label { display: none; }
  .nav-toggle { display: grid; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 7px; }
  .hero { gap: 12px; padding: 14px 0 26px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero-portrait { min-height: 150px; }
  .portrait-frame { width: 120px; }
  .orbit-one { width: 145px; } .orbit-two { width: 175px; height: 100px; }
  .orbit-three { top: 30px; width: 195px; height: 60px; }
  .orbit-four { top: 20px; width: 175px; height: 68px; }
  .button-row .button { width: 100%; }
  .section { padding: 70px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .featured-release { grid-template-columns: 1fr; }
  .featured-release > div { padding: 30px; }
  .release-grid { grid-template-columns: 1fr; gap: 34px; }
  .song-list { grid-template-columns: 1fr; }
  .post-grid, .post-grid-large { grid-template-columns: 1fr; }
  .article-page { padding: 34px 0 70px; }
  .article-masthead { grid-template-columns: 1fr; gap: 22px; padding: 18px 0 22px; }
  .article-masthead-copy { order: -1; }
  .article-masthead-media { max-width: none; padding: 22px 0 0; border-top: 1px solid var(--line); border-right: 0; }
  .article-page h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .article-prose { margin-top: 34px; }
  .article-share-copy { grid-template-columns: 1fr; }
  .article-share-copy .eyebrow { grid-row: auto; }
  .article-share-buttons, .share-status { margin-left: 0; }
  .article-share-buttons .button { width: auto; flex: 1 1 120px; }
  .page-hero { padding: 30px 0 24px; }
  .page-hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .about-page-hero { padding: 26px 0 18px; }
  .about-page-hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar label { grid-column: 1 / -1; }
  .release-page, .song-page { padding: 45px 0 80px; }
  .release-intro h1, .song-content h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .track-list li { grid-template-columns: 35px 1fr 38px; gap: 10px; padding: 12px 0; }
  .track-list li > span:nth-of-type(2), .track-list li > span:nth-of-type(3) { display: none; }
  .site-footer { grid-template-columns: 1fr; }
  .about-gallery-section .section-heading > p { text-align: left; }
  .about-gallery { grid-template-columns: 1fr; }
  .social-links { align-items: flex-start; }
  .footer-share { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .footer-share .article-share-buttons { margin: 0; }
  .footer-share .share-status { margin: 0; }
  .copyright { grid-column: auto; }
  .admin-main { width: min(100% - 24px, 1380px); padding-top: 30px; }
  .admin-header { padding-inline: 14px; }
  .admin-page-heading { align-items: flex-start; flex-direction: column; }
  .admin-page-heading .button-row { width: 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .form-grid, .editor-sidebar { grid-template-columns: 1fr; }
  .admin-panel { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
  html.motion-ready .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}
