:root {
    --ink: #f1eadf;
    --muted: #8f8a80;
    --line: rgba(241, 234, 223, 0.12);
    --paper: #090807;
    --white: #f6efe4;
    --accent: #b89a55;
    --accent-strong: #d5b66a;
    --accent-2: #8f6f38;
    --blue: #8fa8d9;
    --black: #030303;
    --panel: #11100d;
    --panel-strong: #17140f;
    --glass: rgba(246, 239, 228, 0.055);
    --radius: 8px;
    --hero-top-space: 142px;
    --hero-bottom-space: 66px;
    --hero-min-height: 62vh;
    --hero-side-space: clamp(18px, 5vw, 72px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% -8%, rgba(184, 154, 85, 0.08), transparent 34%),
        linear-gradient(180deg, #050504 0%, var(--paper) 42%, #040403 100%);
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0;
}

body.is-modal-open {
    overflow: hidden;
}

body.is-audio-player-open {
    padding-bottom: 112px;
}

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

main a:not(.button):not(.result-secondary):not(.email-link) {
    transition:
        color 360ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

main a:not(.button):not(.result-secondary):not(.email-link):hover {
    color: var(--accent-strong);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 48px);
    background: rgba(5, 5, 4, 0.84);
    border-bottom: 1px solid rgba(246, 239, 228, 0.1);
    backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 38px;
    max-width: 174px;
    object-fit: contain;
}

.brand-tagline {
    color: rgba(255, 253, 248, 0.78);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: 10px 13px;
    border-radius: var(--radius);
    color: rgba(246, 239, 228, 0.68);
    font-size: 13px;
    font-weight: 700;
    transition:
        color 600ms cubic-bezier(0.16, 1, 0.3, 1),
        background-color 600ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 600ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a::before {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: -1;
    border-radius: 6px;
    background: rgba(246, 239, 228, 0);
    transform: scale(0.92);
    opacity: 0;
    transition:
        opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
        background-color 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--white);
    background: rgba(246, 239, 228, 0.08);
    box-shadow: inset 0 0 0 1px rgba(184, 154, 85, 0.28), 0 10px 30px rgba(0, 0, 0, 0.32);
}

.site-nav a:hover {
    transform: translateY(-1.5px);
}

.site-nav a:hover::before,
.site-nav a.is-active::before {
    opacity: 1;
    transform: scale(1);
    background: rgba(184, 154, 85, 0.14);
}

.lang-switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(246, 239, 228, 0.12);
    border-radius: var(--radius);
    background: rgba(246, 239, 228, 0.045);
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    transition:
        color 600ms cubic-bezier(0.16, 1, 0.3, 1),
        background-color 600ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 600ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switch a:hover {
    color: var(--white);
    background: rgba(246, 239, 228, 0.08);
    transform: translateY(-1px);
}

.lang-switch a.is-active {
    color: var(--black);
    background: var(--accent);
    box-shadow: 0 8px 24px rgba(184, 154, 85, 0.16);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

main {
    min-height: 100vh;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    align-items: start;
    min-height: var(--hero-min-height);
    padding: var(--hero-top-space) var(--hero-side-space) var(--hero-bottom-space);
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 20%, rgba(184, 154, 85, 0.16), transparent 34%),
        linear-gradient(140deg, #030303 0%, #0b0907 54%, #020202 100%);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(to top, rgba(3, 3, 3, 0.96), transparent);
    pointer-events: none;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.58;
}

.studio-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(184, 154, 85, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 239, 228, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000 18%, transparent 88%);
}

.wave {
    position: absolute;
    left: -8%;
    right: -8%;
    height: 28vh;
    border: 1px solid rgba(184, 154, 85, 0.38);
    border-left: 0;
    border-right: 0;
    transform: skewY(-7deg);
}

.wave-one {
    top: 26%;
    background: linear-gradient(90deg, transparent, rgba(143, 111, 56, 0.16), transparent);
}

.wave-two {
    top: 42%;
    border-color: rgba(246, 239, 228, 0.16);
    transform: skewY(5deg);
}

.wave-three {
    top: 58%;
    border-color: rgba(184, 154, 85, 0.18);
}

.hero-content,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero-content {
    width: min(760px, calc(100vw - 36px));
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(44px, 5.2vw, 67px);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.03;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.hero-copy,
.page-hero p {
    max-width: 620px;
    color: rgba(255, 253, 248, 0.78);
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    color: rgba(255, 253, 248, 0.68);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-credentials span {
    padding: 8px 10px;
    border: 1px solid rgba(184, 154, 85, 0.22);
    border-radius: 999px;
    background: rgba(3, 3, 3, 0.34);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(246, 239, 228, 0.18);
    border-radius: var(--radius);
    font-weight: 800;
    transition:
        color 420ms cubic-bezier(0.16, 1, 0.3, 1),
        background-color 420ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 420ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.button-primary {
    background: var(--accent);
    color: var(--black);
    border-color: rgba(213, 182, 106, 0.5);
    box-shadow: 0 10px 34px rgba(184, 154, 85, 0.14);
}

.button-primary:hover {
    background: var(--white);
    border-color: rgba(213, 182, 106, 0.82);
    box-shadow: 0 18px 46px rgba(184, 154, 85, 0.24);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(255, 253, 248, 0.42);
}

.button-secondary:hover,
.result-secondary:hover {
    color: var(--black);
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 18px 42px rgba(246, 239, 228, 0.12);
}

.button-light {
    color: var(--black);
    background: var(--white);
    border-color: var(--white);
}

.button-light:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 18px 42px rgba(184, 154, 85, 0.2);
}

.hero-panel {
    align-self: start;
    padding: 24px;
    border: 1px solid rgba(184, 154, 85, 0.22);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(246, 239, 228, 0.075), rgba(246, 239, 228, 0.025)),
        var(--glass);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(18px);
}

.elite-panel {
    display: grid;
    gap: 2px;
}

.hero-panel span,
.steps span,
.audience-list span,
.feature-strip span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    margin-bottom: 16px;
    padding: 0 9px;
    color: var(--black);
    background: var(--accent);
    border: 1px solid rgba(8, 8, 8, 0.18);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(184, 154, 85, 0.16);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.04;
}

.hero-panel small {
    color: rgba(255, 253, 248, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.panel-meter {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.panel-meter i {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(246, 239, 228, 0.08);
    overflow: hidden;
}

.panel-meter i::before {
    content: "";
    display: block;
    width: var(--level);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), rgba(246, 239, 228, 0.62));
}

.authority-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: var(--white);
    background: #070706;
    border-top: 1px solid rgba(184, 154, 85, 0.14);
    border-bottom: 1px solid rgba(184, 154, 85, 0.14);
}

.authority-strip div {
    display: grid;
    gap: 8px;
    min-height: 128px;
    padding: clamp(22px, 3.5vw, 38px) clamp(18px, 4vw, 48px);
    border-right: 1px solid rgba(246, 239, 228, 0.1);
}

.authority-strip div:last-child {
    border-right: 0;
}

.authority-strip strong {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
}

.authority-strip span {
    max-width: 320px;
    color: rgba(255, 253, 248, 0.62);
    line-height: 1.5;
}

.section {
    padding: 0 clamp(18px, 5vw, 72px) clamp(58px, 8vw, 104px);
}

.intro-section,
.split-section,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(32px, 7vw, 96px);
}

.intro-section {
    padding-top: 100px;
}

.split-section {
    padding-top: 100px;
}

.section-heading h2 {
    color: var(--ink);
}

.intro-copy {
    display: grid;
    gap: 24px;
    color: rgba(246, 239, 228, 0.78);
    font-size: clamp(18px, 2.1vw, 26px);
    line-height: 1.42;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-strip article {
    min-height: 260px;
    padding: clamp(28px, 5vw, 56px);
    border-right: 1px solid var(--line);
    background: var(--panel);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-strip article:last-child {
    border-right: 0;
}

.feature-strip article:hover {
    position: relative;
    z-index: 1;
    border-color: rgba(184, 154, 85, 0.34);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
    transform: translateY(-3px);
}

.feature-strip p,
.steps p,
.audience-list p,
.feature-grid p,
.contact-card p,
.request-form label {
    color: var(--muted);
    line-height: 1.65;
}

.dark-band {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(46px, 6vw, 78px) clamp(18px, 5vw, 72px);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(184, 154, 85, 0.1), transparent 36%),
        var(--black);
}

.dark-band h2 {
    max-width: 880px;
    margin-bottom: 0;
}

.standard-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(32px, 7vw, 96px);
    padding-top: 100px;
    background: #0d0b09;
}

.standard-board {
    display: grid;
    gap: 12px;
}

.standard-board article {
    display: grid;
    grid-template-columns: 70px minmax(160px, 0.7fr) minmax(220px, 1fr);
    align-items: start;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid rgba(246, 239, 228, 0.12);
}

.standard-board article:last-child {
    border-bottom: 1px solid rgba(246, 239, 228, 0.12);
}

.standard-board small {
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 900;
}

.standard-board h3 {
    margin: 0;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
}

.standard-board p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
    min-height: var(--hero-min-height);
    padding: var(--hero-top-space) var(--hero-side-space) var(--hero-bottom-space);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(184, 154, 85, 0.16), transparent 35%),
        linear-gradient(315deg, rgba(246, 239, 228, 0.06), transparent 42%),
        var(--black);
}

.page-hero-copy {
    width: min(840px, calc(100vw - 36px));
    max-width: 840px;
}

.page-proof-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(184, 154, 85, 0.22);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(246, 239, 228, 0.075), rgba(246, 239, 228, 0.03)),
        rgba(246, 239, 228, 0.04);
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(18px);
}

.page-proof-card span {
    width: fit-content;
    padding: 7px 9px;
    color: var(--black);
    background: var(--accent);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.page-proof-card strong {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
}

.page-proof-card p {
    margin: 0;
    color: rgba(255, 253, 248, 0.68);
    font-size: 14px;
    line-height: 1.6;
}

.compact-hero {
    min-height: var(--hero-min-height);
}

.status-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
}

.craft-hero,
.contact-hero {
    min-height: var(--hero-min-height);
}

.page-hero h1 {
    max-width: 840px;
    font-size: clamp(42px, 5vw, 62px);
}

.sticky-heading {
    position: sticky;
    top: 116px;
    align-self: start;
}

.steps {
    display: grid;
    gap: 18px;
}

.steps article,
.contact-card,
.request-form {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.steps article {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.protocol-section,
.craft-system,
.placement-matrix {
    background: #0d0b09;
}

.protocol-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 28px;
    background: rgba(246, 239, 228, 0.12);
}

.protocol-list article {
    min-height: 260px;
    padding: clamp(24px, 3vw, 36px);
    background: var(--panel);
}

.protocol-list b,
.feature-grid span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 900;
}

.protocol-list p {
    color: var(--muted);
    line-height: 1.65;
}

.quote-band {
    padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(184, 154, 85, 0.12), transparent 34%),
        #080807;
    border-top: 1px solid rgba(184, 154, 85, 0.2);
    border-bottom: 1px solid rgba(184, 154, 85, 0.2);
}

.quote-band blockquote {
    max-width: 980px;
    margin: 0;
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.03;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature-grid article {
    min-height: 230px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.system-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 28px;
    background: rgba(246, 239, 228, 0.12);
}

.system-track article {
    min-height: 230px;
    padding: clamp(22px, 3vw, 34px);
    background: #070706;
    color: var(--white);
}

.system-track small {
    display: block;
    margin-bottom: 48px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.system-track p {
    margin: 0;
    color: rgba(255, 253, 248, 0.72);
    line-height: 1.6;
}

.manifesto {
    padding-top: 0;
}

.manifesto p {
    max-width: 980px;
    font-size: clamp(26px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.05;
}

.audience-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #0d0b09;
}

.audience-list article {
    min-height: 250px;
    padding: clamp(24px, 3vw, 36px);
    background: var(--panel);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.matrix-grid article {
    min-height: 210px;
    padding: clamp(24px, 3.5vw, 40px);
    border: 1px solid rgba(246, 239, 228, 0.12);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(184, 154, 85, 0.1), transparent 34%),
        var(--panel);
}

.matrix-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.contact-card {
    align-self: start;
}

.email-link {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 800;
    transition:
        color 420ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.email-link::after,
.footer-xup-link::after,
.site-footer-email::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0.7;
    transition:
        transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.email-link:hover {
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.email-link:hover::after,
.footer-xup-link:hover::after,
.site-footer-email:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.premium-contact {
    position: sticky;
    top: 116px;
}

.access-notes {
    display: grid;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.access-notes span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(246, 239, 228, 0.72);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.access-notes span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-strong);
    box-shadow: 0 0 0 4px rgba(184, 154, 85, 0.16);
}

.request-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.request-form label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 15px;
    color: var(--ink);
    background: #090807;
    font: inherit;
    font-weight: 500;
    text-transform: none;
}

.request-form select {
    min-height: 51px;
}

.request-form textarea {
    resize: vertical;
}

.form-wide {
    grid-column: 1 / -1;
}

.check-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 12px !important;
    color: rgba(246, 239, 228, 0.72) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-transform: none !important;
}

.check-row input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--accent-strong);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 24px;
    padding: 28px clamp(18px, 5vw, 72px);
    color: var(--white);
    background: var(--black);
    border-top: 1px solid rgba(184, 154, 85, 0.16);
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.footer-xup-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    width: fit-content;
    color: rgba(255, 253, 248, 0.66);
    font-size: 13px;
    letter-spacing: 0.02em;
    transition:
        color 420ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-logo {
    display: block;
    width: auto;
    height: 17px;
    max-width: 100px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}

.footer-xup-logo {
    display: block;
    width: auto;
    height: 14px;
    max-width: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: invert(1);
    object-fit: contain;
}

.site-footer span,
.site-footer a {
    color: rgba(255, 253, 248, 0.66);
    font-size: 14px;
}

.site-footer-email {
    justify-self: end;
    position: relative;
    width: fit-content;
    transition:
        color 420ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer span {
    white-space: nowrap;
}

.footer-xup-link:hover,
.site-footer-email:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.result-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 96px 18px;
    background:
        linear-gradient(135deg, rgba(184, 154, 85, 0.16), transparent 36%),
        linear-gradient(315deg, rgba(246, 239, 228, 0.08), transparent 40%),
        var(--black);
}

.result-card {
    width: min(760px, 100%);
    padding: clamp(30px, 5vw, 56px);
    color: var(--white);
    background: rgba(246, 239, 228, 0.055);
    border: 1px solid rgba(184, 154, 85, 0.2);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
}

.result-card h1 {
    font-size: clamp(40px, 5vw, 62px);
}

.result-card p {
    color: rgba(255, 253, 248, 0.78);
    font-size: 18px;
    line-height: 1.6;
}

.request-code {
    margin: 24px 0 0;
    padding: 14px 16px;
    color: var(--black) !important;
    background: var(--accent);
    border-radius: var(--radius);
}

.result-secondary {
    color: var(--white);
    border-color: rgba(255, 253, 248, 0.42);
}

.portal-login-section,
.status-section {
    background: #0d0b09;
}

.portal-hero {
    min-height: 48vh;
}

.portal-login-section {
    padding-top: clamp(34px, 5vw, 64px);
}

.portal-login-form {
    display: grid;
    gap: 18px;
    width: min(520px, 100%);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(184, 154, 85, 0.22);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(246, 239, 228, 0.07), rgba(246, 239, 228, 0.025)),
        var(--panel);
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.42);
}

.portal-login-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.portal-login-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 15px;
    color: var(--ink);
    background: #090807;
    font: inherit;
    font-weight: 600;
    text-transform: none;
}

.portal-login-form input:focus,
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    outline: 2px solid rgba(184, 154, 85, 0.42);
    outline-offset: 2px;
}

.form-alert {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(213, 103, 82, 0.32);
    border-radius: var(--radius);
    color: #f4b4a6;
    background: rgba(213, 103, 82, 0.08);
    font-weight: 800;
}

.login-hint {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.portal-session-card {
    align-content: start;
}

.portal-session-card .portal-user-title {
    font-size: clamp(21px, 1.65vw, 25px);
    line-height: 1.16;
}

.portal-session-card .portal-user-title em {
    font-style: normal;
    white-space: nowrap;
}

.portal-total-link {
    color: rgba(255, 253, 248, 0.76);
    font-weight: 800;
    transition: color 180ms ease;
}

.portal-total-link:hover,
.portal-total-link.is-active {
    color: var(--accent-strong);
}

.portal-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 2px 0 4px;
}

.portal-stat-grid a {
    display: block;
    padding: 10px 11px;
    border: 1px solid rgba(246, 239, 228, 0.1);
    border-radius: 8px;
    background: rgba(3, 3, 3, 0.24);
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.portal-stat-grid a:hover,
.portal-stat-grid a.is-active {
    border-color: rgba(184, 154, 85, 0.48);
    background: rgba(184, 154, 85, 0.14);
    transform: translateY(-1px);
}

.portal-stat-grid span {
    display: block;
    width: auto;
    padding: 0;
    margin: 0 0 5px;
    color: rgba(255, 253, 248, 0.58);
    background: transparent;
    border-radius: 0;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-transform: none;
}

.portal-stat-grid strong {
    display: block;
    margin: 0;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.portal-session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.portal-session-card .button {
    width: max-content;
    min-width: 110px;
    margin-top: 0;
    white-space: nowrap;
}

.portal-session-card .button-secondary {
    color: #050504;
    background: var(--white);
    border-color: rgba(246, 239, 228, 0.78);
}

.portal-session-card .button-secondary:hover {
    color: #050504;
    background: var(--accent);
    border-color: var(--accent);
}

.status-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.status-filter-bar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(246, 239, 228, 0.12);
    border-radius: 999px;
    color: rgba(255, 253, 248, 0.72);
    background: rgba(3, 3, 3, 0.24);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.status-filter-bar a:hover,
.status-filter-bar a.is-active {
    color: var(--white);
    border-color: rgba(184, 154, 85, 0.58);
    background: rgba(184, 154, 85, 0.16);
}

.filter-radio {
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 253, 248, 0.45);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px rgba(3, 3, 3, 0.82);
}

.status-filter-bar a.is-active .filter-radio {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
}

.status-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(130px, 0.8fr)) auto;
    gap: 10px;
    align-items: end;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid rgba(246, 239, 228, 0.1);
    border-radius: var(--radius);
    background: rgba(3, 3, 3, 0.22);
}

.status-search-form label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.status-search-form label span {
    color: rgba(255, 253, 248, 0.58);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.status-search-form input,
.status-search-form select {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(246, 239, 228, 0.12);
    border-radius: 8px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.28);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.status-search-form input {
    padding: 0 12px;
}

.status-search-form select {
    padding: 0 34px 0 10px;
}

.status-search-form input:focus,
.status-search-form select:focus {
    outline: none;
    border-color: rgba(184, 154, 85, 0.62);
}

.status-search-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.status-search-actions .button {
    min-height: 38px;
    padding: 0 14px;
    white-space: nowrap;
}

.status-search-actions .button-secondary {
    color: #050504;
    background: var(--white);
    border-color: rgba(246, 239, 228, 0.78);
}

.status-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(184, 154, 85, 0.18);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.34);
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(184, 154, 85, 0.58) rgba(246, 239, 228, 0.08);
}

.status-table {
    width: 100%;
    min-width: max(100%, 1280px);
    border-collapse: collapse;
    color: var(--ink);
}

.status-table th,
.status-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(246, 239, 228, 0.09);
    text-align: left;
    white-space: nowrap !important;
    word-break: keep-all;
    overflow-wrap: normal;
    transition:
        background-color 220ms ease,
        color 220ms ease,
        border-color 220ms ease;
}

.status-table th {
    color: var(--accent-strong);
    background: rgba(3, 3, 3, 0.42);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-table td:first-child,
.status-table td:nth-child(2) {
    color: rgba(246, 239, 228, 0.62);
    font-weight: 900;
    white-space: nowrap;
}

.status-table td:nth-child(3) {
    font-size: 17px;
    font-weight: 800;
}

.status-table td:nth-child(4),
.status-table td:nth-child(5),
.status-table td:nth-child(6),
.status-table td:nth-child(7) {
    color: rgba(246, 239, 228, 0.72);
    font-weight: 700;
}

.status-table .song-description-cell {
    width: 34%;
    min-width: 360px;
    max-width: 620px;
}

.song-description-text {
    display: block;
    max-width: 620px;
    overflow: visible;
    line-height: 1.45;
    white-space: normal !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.song-title-note {
    display: block;
    margin-top: 7px;
    color: rgba(246, 239, 228, 0.54);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.song-title-stack {
    display: inline-block;
    vertical-align: top;
}

.song-mp3-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    min-width: 44px;
    min-height: 26px;
    margin-top: 7px;
    padding: 0 9px;
    border: 1px solid rgba(143, 168, 217, 0.34);
    border-radius: 999px;
    color: #dbe8ff;
    background:
        linear-gradient(180deg, rgba(143, 168, 217, 0.18), rgba(143, 168, 217, 0.07)),
        rgba(3, 3, 3, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    font-family: inherit;
    line-height: 1.2;
    vertical-align: middle;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.modal-current-mp3 {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 7px;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.song-mp3-link i {
    font-size: 13px;
    line-height: 1;
}

.song-mp3-link span {
    font-size: 12px;
    line-height: 1;
}

.song-mp3-link + .song-mp3-link {
    margin-left: 7px;
}

.song-mp3-actions {
    display: block;
    margin-top: 7px;
}

.song-mp3-actions .song-mp3-link {
    margin-top: 0;
}

.song-mp3-link:hover {
    color: #050504;
    background:
        linear-gradient(180deg, #dbe8ff, #8fa8d9);
    border-color: rgba(219, 232, 255, 0.72);
    box-shadow: 0 10px 24px rgba(143, 168, 217, 0.18);
    transform: translateY(-1px);
}

.song-mp3-link.is-active,
.song-mp3-link.is-playing {
    color: #dbe8ff;
    background:
        linear-gradient(180deg, rgba(143, 168, 217, 0.18), rgba(143, 168, 217, 0.07)),
        rgba(3, 3, 3, 0.34);
    border-color: rgba(143, 168, 217, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.song-mp3-link.is-playing {
    animation: audio-button-scale 760ms ease-in-out infinite;
}

.modal-current-mp3:hover {
    color: var(--white);
}

@keyframes audio-button-scale {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

.status-table tbody tr.is-audio-active-row td {
    background-image:
        linear-gradient(90deg, var(--white) 50%, transparent 50%),
        linear-gradient(90deg, var(--white) 50%, transparent 50%);
    background-position:
        0 0,
        0 100%;
    background-repeat: repeat-x, repeat-x;
    background-size: 14px 1px, 14px 1px;
    animation: audio-row-dash 700ms linear infinite;
}

.status-table tbody tr.is-audio-active-row td:first-child {
    background-image:
        linear-gradient(90deg, var(--white) 50%, transparent 50%),
        linear-gradient(90deg, var(--white) 50%, transparent 50%),
        linear-gradient(0deg, var(--white) 50%, transparent 50%);
    background-position:
        0 0,
        0 100%,
        0 0;
    background-repeat: repeat-x, repeat-x, repeat-y;
    background-size: 14px 1px, 14px 1px, 1px 14px;
}

.status-table tbody tr.is-audio-active-row td:last-child {
    background-image:
        linear-gradient(90deg, var(--white) 50%, transparent 50%),
        linear-gradient(90deg, var(--white) 50%, transparent 50%),
        linear-gradient(0deg, var(--white) 50%, transparent 50%);
    background-position:
        0 0,
        0 100%,
        100% 0;
    background-repeat: repeat-x, repeat-x, repeat-y;
    background-size: 14px 1px, 14px 1px, 1px 14px;
}

@keyframes audio-row-dash {
    from {
        background-position: 0 0, 0 100%, 0 0;
    }

    to {
        background-position: 14px 0, -14px 100%, 0 -14px;
    }
}

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

.modal-mp3-grid span {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.modal-mp3-remove {
    display: flex !important;
    align-items: center;
    gap: 7px !important;
    width: fit-content;
    min-width: max-content;
    color: rgba(246, 239, 228, 0.68) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    white-space: nowrap;
}

.modal-mp3-remove input {
    width: 16px;
    min-width: 16px;
    height: 16px;
    accent-color: #ff8a7d;
}

.modal-mp3-remove span {
    white-space: nowrap;
}

.audio-player {
    position: fixed;
    right: clamp(14px, 3vw, 34px);
    bottom: clamp(14px, 3vw, 26px);
    left: clamp(14px, 3vw, 34px);
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) auto minmax(260px, 1.4fr) minmax(170px, 0.65fr);
    gap: 18px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid rgba(184, 154, 85, 0.34);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(246, 239, 228, 0.08), rgba(246, 239, 228, 0.035)),
        rgba(5, 5, 4, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(18px);
}

.audio-player-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: inherit;
    color: var(--white);
    background: rgba(3, 3, 3, 0.62);
    backdrop-filter: blur(3px);
}

.audio-player.is-error .audio-player-loading {
    background: rgba(62, 8, 5, 0.78);
}

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

.audio-player-loading span {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(246, 239, 228, 0.28);
    border-top-color: var(--accent-strong);
    border-radius: 50%;
    animation: audio-loading-spin 720ms linear infinite;
}

.audio-player.is-error .audio-player-loading span {
    display: grid;
    place-items: center;
    border-color: rgba(255, 138, 125, 0.72);
    color: #ffb2a8;
    animation: none;
}

.audio-player.is-error .audio-player-loading span::before {
    content: "!";
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.audio-player-loading strong {
    font-size: 13px;
    font-weight: 900;
}

.audio-player-loading small {
    color: rgba(255, 253, 248, 0.72);
    font-size: 12px;
    font-weight: 800;
}

.audio-player-loading button {
    margin-left: 4px;
}

@keyframes audio-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

.audio-eq {
    display: inline-flex;
    align-items: end;
    justify-content: center;
    width: 28px;
    height: 28px;
    gap: 3px;
    border: 1px solid rgba(184, 154, 85, 0.24);
    border-radius: 50%;
    background: rgba(184, 154, 85, 0.1);
}

.audio-eq span {
    width: 3px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent-strong);
    transform-origin: bottom;
}

.audio-eq.is-playing span {
    animation: audio-eq 720ms ease-in-out infinite;
}

.audio-eq.is-playing span:nth-child(2) {
    animation-delay: 120ms;
}

.audio-eq.is-playing span:nth-child(3) {
    animation-delay: 240ms;
}

@keyframes audio-eq {
    0%,
    100% {
        transform: scaleY(0.45);
    }

    45% {
        transform: scaleY(1.35);
    }
}

.audio-player-title {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.audio-player-title span {
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.audio-player-title strong {
    overflow: hidden;
    color: var(--white);
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-player-controls,
.audio-player-volume {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.audio-player button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(246, 239, 228, 0.13);
    border-radius: 50%;
    color: var(--white);
    background: rgba(246, 239, 228, 0.055);
    cursor: pointer;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.audio-player button:hover {
    color: var(--black);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.audio-player button.is-holding {
    color: var(--black);
    background: var(--accent-strong);
    border-color: rgba(246, 239, 228, 0.2);
    transform: scale(1.06);
}

.audio-player button[data-audio-toggle] {
    width: 42px;
    height: 42px;
    color: var(--black);
    background: var(--accent-strong);
    border-color: rgba(246, 239, 228, 0.2);
    font-size: 20px;
}

.audio-player .audio-mode-button,
.audio-player .audio-repeat-button {
    width: auto;
    min-width: 54px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.audio-player .audio-repeat-button {
    display: inline-flex;
    grid-auto-flow: column;
    gap: 5px;
    min-width: 0;
    width: fit-content;
    text-transform: none;
    white-space: nowrap;
}

.audio-player .audio-repeat-button span {
    white-space: nowrap;
}

.audio-player .audio-mode-button:hover,
.audio-player .audio-repeat-button:hover,
.audio-player .audio-repeat-button.is-active {
    color: var(--black);
    background: var(--accent-strong);
    border-color: rgba(246, 239, 228, 0.2);
}

.audio-player-progress {
    display: grid;
    grid-template-columns: 42px minmax(120px, 1fr) 42px;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.audio-player-progress span {
    color: rgba(246, 239, 228, 0.64);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.audio-player input[type="range"] {
    width: 100%;
    accent-color: var(--accent-strong);
}

.audio-player-volume {
    justify-content: end;
    min-width: 0;
}

.audio-player-volume input {
    max-width: 86px;
}

.audio-player-close {
    margin-left: 4px;
}

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

.status-table tbody tr {
    position: relative;
    transition:
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.status-table tbody tr:hover {
    box-shadow: inset 4px 0 0 var(--accent), inset 0 0 0 999px rgba(246, 239, 228, 0.055);
}

.status-table tbody tr:hover td {
    color: var(--white);
}

.status-table tr.status-row-contracted {
    background: rgba(0, 0, 0, 0.28);
}

.status-table tr.status-row-contracted td {
    color: rgba(246, 239, 228, 0.38);
}

.status-table tr.status-row-contracted td:nth-child(3) {
    color: rgba(246, 239, 228, 0.5);
}

.status-table tr.status-row-hold,
.status-table tr.status-row-review {
    background: rgb(139 5 0 / 42%);
}

.status-table tr.status-row-available {
    background:
        linear-gradient(90deg, rgb(71 191 255 / 48%), rgb(71 191 255 / 26%) 58%, rgb(71 191 255 / 16%)),
        rgb(71 191 255 / 33%);
    box-shadow: inset 10px 0 0 #8ed8ff;
}

.status-table tr.status-row-scheduled {
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(246, 239, 228, 0.08) 0,
            rgba(246, 239, 228, 0.08) 8px,
            rgba(17, 32, 12, 0.16) 8px,
            rgba(17, 32, 12, 0.16) 16px
        ),
        rgb(142 220 86 / 36%);
}

.status-table tr.status-row-available td {
    border-bottom-color: rgba(142, 216, 255, 0.18);
}

.status-table tr.status-row-scheduled td {
    border-bottom-color: rgba(176, 235, 117, 0.2);
}

.status-table tr.status-row-hold td,
.status-table tr.status-row-review td {
    border-bottom-color: rgba(255, 118, 101, 0.16);
}

.status-table tr.is-hidden-song {
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(246, 239, 228, 0.055) 0,
            rgba(246, 239, 228, 0.055) 8px,
            rgba(0, 0, 0, 0.18) 8px,
            rgba(0, 0, 0, 0.18) 16px
        ),
        rgba(0, 0, 0, 0.38);
    outline: 1px solid rgba(255, 106, 91, 0.5);
    outline-offset: -1px;
}

.status-table tr.is-hidden-song td {
    color: rgba(246, 239, 228, 0.48);
}

.hidden-song-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-right: 8px;
    padding: 0 8px;
    border: 1px solid rgba(255, 106, 91, 0.64);
    border-radius: 999px;
    color: #ffd8d2;
    background: rgba(139, 5, 0, 0.66);
    font-size: 11px;
    font-weight: 900;
    vertical-align: middle;
}

.contracted-title-icon {
    margin-right: 8px;
    color: rgba(184, 154, 85, 0.95);
    font-size: 15px;
    vertical-align: -1px;
}

.masked-title-button {
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.masked-title-button:hover {
    color: #b7ef79;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.masked-title-button.is-revealed {
    color: var(--white);
    cursor: pointer;
    text-decoration: none;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(246, 239, 228, 0.12);
    border-radius: 999px;
    color: rgba(246, 239, 228, 0.82);
    background: rgba(246, 239, 228, 0.055);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill.is-available {
    color: #061824;
    background:
        linear-gradient(180deg, #c9f0ff, #71caff);
    border-color: rgba(201, 240, 255, 0.88);
    box-shadow: 0 0 0 2px rgba(142, 216, 255, 0.2), 0 10px 26px rgba(71, 191, 255, 0.22);
}

.status-pill.is-available i {
    color: #061824;
    font-size: 12px;
}

.status-pill.is-scheduled {
    color: #11200c;
    background: #b7ef79;
    border-color: rgba(183, 239, 121, 0.72);
}

.status-pill.is-hold {
    color: #ffe6e2;
    background: rgba(207, 45, 35, 0.46);
    border-color: rgba(255, 93, 78, 0.62);
}

.status-pill.is-pitched {
    color: #c6d5f4;
    background: rgba(143, 168, 217, 0.1);
    border-color: rgba(143, 168, 217, 0.24);
}

.status-pill.is-rights {
    color: #d6c4ef;
    background: rgba(169, 139, 212, 0.1);
    border-color: rgba(169, 139, 212, 0.24);
}

.status-pill.is-contracted {
    color: rgba(246, 239, 228, 0.58);
    background: rgba(0, 0, 0, 0.72);
    border-color: rgba(246, 239, 228, 0.16);
}

.status-pill.is-review {
    color: #e8d6a8;
    background: rgba(184, 154, 85, 0.1);
    border-color: rgba(184, 154, 85, 0.24);
}

.title-status-pill {
    min-height: 24px;
    margin-right: 8px;
    padding: 0 8px;
    font-size: 11px;
    vertical-align: 2px;
}

.status-edit-button {
    min-height: 30px;
    margin-left: 8px;
    padding: 0 10px;
    color: #050504;
    background: var(--white);
    border-color: rgba(246, 239, 228, 0.78);
    font-size: 12px;
}

.status-edit-button:hover {
    color: #050504;
    background: var(--accent);
    border-color: var(--accent);
}

.status-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    gap: 5px;
    margin: 24px auto 0;
    padding: 9px;
    border: 1px solid rgba(184, 154, 85, 0.2);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(246, 239, 228, 0.06), rgba(246, 239, 228, 0.018)),
        rgba(5, 5, 4, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(246, 239, 228, 0.055),
        0 20px 58px rgba(0, 0, 0, 0.28);
}

.status-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(246, 239, 228, 0.68);
    background: transparent;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition:
        transform 160ms ease,
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.status-pagination a:hover,
.status-pagination a.is-active {
    color: #050504 !important;
    background:
        linear-gradient(180deg, #ffe7a1, var(--accent));
    border-color: rgba(255, 231, 161, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 10px 24px rgba(184, 154, 85, 0.22);
    transform: translateY(-1px);
}

.status-pagination a.is-active {
    min-width: 40px;
    color: #050504 !important;
    background:
        linear-gradient(180deg, #fff0bd, #d8b75d);
}

.status-pagination a:hover i,
.status-pagination a.is-active i {
    color: #050504 !important;
}

.status-pagination a.is-disabled {
    pointer-events: none;
    color: rgba(246, 239, 228, 0.26);
    background: rgba(246, 239, 228, 0.025);
    border-color: rgba(246, 239, 228, 0.08);
    box-shadow: none;
    transform: none;
}

.pagination-edge {
    min-width: 34px !important;
    width: 34px;
    padding: 0 !important;
    letter-spacing: 0;
}

.pagination-edge i {
    font-size: 14px;
    line-height: 1;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 34px;
    color: rgba(246, 239, 228, 0.34);
    font-size: 13px;
    font-weight: 900;
}

.admin-section {
    background: #0d0b09;
}

.admin-song-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: clamp(36px, 6vw, 72px);
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(184, 154, 85, 0.22);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(246, 239, 228, 0.07), rgba(246, 239, 228, 0.025)),
        var(--panel);
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.34);
}

.admin-form-heading,
.admin-list-heading {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-form-heading h2,
.admin-list-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 38px);
}

.admin-song-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-song-form input,
.admin-song-form select,
.admin-song-form textarea {
    width: 100%;
    min-height: 51px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 15px;
    color: var(--ink);
    background: #090807;
    font: inherit;
    font-weight: 600;
    text-transform: none;
}

.admin-song-form textarea {
    min-height: 92px;
    resize: vertical;
    line-height: 1.5;
}

.admin-check-row {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    min-height: 51px;
}

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

.admin-check-row span {
    color: var(--ink);
}

.admin-song-form input:focus,
.admin-song-form select:focus,
.admin-song-form textarea:focus {
    outline: 2px solid rgba(184, 154, 85, 0.42);
    outline-offset: 2px;
}

.admin-song-form input[readonly] {
    color: rgba(246, 239, 228, 0.62);
    background: rgba(246, 239, 228, 0.045);
    cursor: not-allowed;
}

.form-alert-success {
    border-color: rgba(91, 176, 121, 0.34);
    color: #c7f0d3;
    background: rgba(91, 176, 121, 0.1);
}

.admin-table {
    min-width: 1520px;
}

.user-admin-table {
    min-width: 980px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-actions form {
    margin: 0;
}

.admin-actions .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
}

.admin-form-heading .button-secondary,
.admin-actions .button-secondary {
    color: #050504;
    background: var(--white);
    border-color: rgba(246, 239, 228, 0.78);
}

.admin-form-heading .button-secondary:hover,
.admin-actions .button-secondary:hover {
    color: #050504;
    background: var(--accent);
    border-color: var(--accent);
}

.button-danger {
    color: #050504;
    background: #ff6a5b;
    border-color: rgba(255, 106, 91, 0.68);
}

.button-danger:hover {
    color: #050504;
    background: #ff8a7d;
    border-color: rgba(255, 138, 125, 0.82);
    box-shadow: 0 18px 42px rgba(255, 106, 91, 0.18);
}

.admin-delete-form {
    width: min(720px, 100%);
    margin: 0 auto;
}

.delete-target {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 106, 91, 0.3);
    border-radius: var(--radius);
    background: rgba(139, 5, 0, 0.22);
}

.delete-target span,
.delete-target small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.delete-target strong {
    color: var(--white);
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.08;
}

.admin-modal[hidden] {
    display: none;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.admin-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 180ms ease;
}

.admin-modal.is-open .admin-modal-backdrop {
    opacity: 1;
}

.admin-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(840px, calc(100vh - 48px));
    overflow: auto;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition:
        opacity 200ms ease,
        transform 200ms ease;
}

.admin-modal.is-open .admin-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.admin-modal-form {
    margin-bottom: 0;
}

.status-modal-delete-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 106, 91, 0.24);
    border-radius: var(--radius);
    background: rgba(9, 8, 7, 0.94);
}

.password-modal-dialog {
    width: min(620px, 100%);
}

.password-change-form {
    grid-template-columns: 1fr;
}

@media (max-width: 980px) {
    .hero,
    .page-hero,
    .intro-section,
    .split-section,
    .contact-layout,
    .standard-section {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 420px;
    }

    .feature-strip,
    .audience-list,
    .authority-strip,
    .protocol-list,
    .system-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .premium-contact {
        position: static;
    }

    .dark-band {
        align-items: start;
        flex-direction: column;
    }

    .status-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .status-search-keyword,
    .status-search-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 740px) {
    :root {
        --hero-top-space: 116px;
    }

    .site-header {
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .brand {
        min-width: auto;
    }

    .brand-logo {
        height: 38px;
        max-width: 146px;
    }

    .brand-tagline {
        display: none;
    }

    .nav-toggle {
        display: block;
        position: static;
        margin-left: 12px;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--panel);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        color: var(--ink);
    }

    .lang-switch {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-content,
    .page-hero-copy,
    .hero-panel,
    .page-proof-card {
        width: 342px !important;
        min-width: 0;
        max-width: calc(100vw - 48px) !important;
    }

    .hero-content h1,
    .hero-content .hero-copy,
    .page-hero-copy h1,
    .page-hero-copy p {
        width: 342px;
        max-width: calc(100vw - 48px);
        white-space: normal;
        overflow-wrap: anywhere;
    }

    h1 {
        max-width: 100%;
        font-size: 42px;
        line-height: 1.04;
        overflow-wrap: break-word;
    }

    .feature-strip,
    .feature-grid,
    .audience-list,
    .authority-strip,
    .protocol-list,
    .system-track,
    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .request-form {
        grid-template-columns: 1fr;
    }

    .status-section,
    .admin-section {
        overflow-x: hidden;
    }

    .status-table-wrap {
        width: calc(100vw - 36px);
        max-width: calc(100vw - 36px);
        margin-right: auto;
        margin-left: auto;
    }

    .status-search-form {
        grid-template-columns: 1fr;
    }

    .status-search-actions {
        flex-wrap: wrap;
    }

    .audio-player {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .audio-player-controls,
    .audio-player-volume {
        justify-content: center;
    }

    .audio-player-progress {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }

    .authority-strip div {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 253, 248, 0.12);
    }

    .standard-board article {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .feature-strip article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .sticky-heading {
        position: static;
    }

    .site-footer {
        align-items: center;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer-brand {
        justify-content: center;
    }

    .site-footer-email {
        justify-self: center;
    }
}
