:root {
    color-scheme: dark;
    --page-width: 1200px;
    --line: rgba(255, 255, 255, 0.1);
    --muted: #a1a1aa;
    --surface: #111111;
    --accent: #dc2626;
}

html {
    background: #050505;
    scroll-padding-top: 86px;
}

body {
    min-width: 320px;
    background: #050505;
    text-rendering: optimizeLegibility;
}

body > section[id] {
    scroll-margin-top: 86px;
}

[class*="tracking-tight"] {
    letter-spacing: 0 !important;
}

.rounded-xl,
.rounded-2xl,
.rounded-3xl {
    border-radius: 8px !important;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ef4444;
    outline-offset: 3px;
}

header > div {
    max-width: 1440px !important;
    gap: 24px;
}

header img {
    flex: 0 0 auto;
}

header > div > a {
    min-width: 0;
    flex: 0 1 auto;
}

header ul {
    flex: 0 1 auto;
    gap: clamp(14px, 2vw, 32px) !important;
}

header ul a,
header ul li {
    white-space: nowrap;
}

.language-picker {
    position: relative;
}

.language-picker summary {
    display: inline-flex;
    min-width: 76px;
    height: 38px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    list-style: none;
}

.language-picker summary::-webkit-details-marker {
    display: none;
}

.language-picker summary:hover,
.language-picker[open] summary {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.09);
}

.language-picker summary svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.language-picker summary .language-chevron {
    width: 13px;
    transition: transform 180ms ease;
}

.language-picker[open] .language-chevron {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 70;
    width: 174px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    padding: 6px;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    padding: 10px;
    color: #d4d4d8;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none;
}

.language-dropdown a span {
    width: 25px;
    color: #71717a;
    font-size: 10px;
}

.language-dropdown a:hover,
.language-dropdown a[aria-current="true"] {
    background: rgba(239, 68, 68, 0.13);
    color: #fff;
}

.language-dropdown a[aria-current="true"] span {
    color: #ef4444;
}

.language-picker-mobile .language-dropdown {
    right: 0;
}

.site-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 24%;
    content: "";
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, #050505);
}

.site-hero > .relative {
    width: min(100%, 960px);
}

#about,
#highlight > div,
#contact {
    width: min(100%, var(--page-width));
}

#services > div {
    min-height: 260px;
}

#roster-slider {
    height: clamp(520px, 56vw, 760px) !important;
}

.roster-slide > div:first-child {
    background-position: center 30%;
}

#highlight {
    padding-top: 80px;
    padding-bottom: 80px;
}

.highlight-grid {
    align-items: stretch;
}

.highlight-media {
    background: #0f0f0f;
}

.highlight-media iframe,
.highlight-media img {
    display: block;
}

.membership-logos {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}

.membership-logos a {
    display: flex;
    min-width: 0;
    min-height: 72px;
    align-items: center;
    justify-content: center;
}

#memberships .membership-logos img {
    width: auto !important;
    height: auto !important;
    max-width: 136px !important;
    max-height: 56px !important;
    object-fit: contain;
    filter: grayscale(1);
}

#memberships .membership-logos img[alt="SACEM"] {
    max-width: 102px !important;
    max-height: 46px !important;
}

#memberships .membership-logos img[alt="The MLC"] {
    max-width: 116px !important;
    max-height: 48px !important;
}

#memberships .membership-logos img[alt="ABRAMUS"],
#memberships .membership-logos img[alt="SoundExchange"],
#memberships .membership-logos img[alt="ECAD"],
#memberships .membership-logos img[alt="GfK Media Measurement"] {
    transform: scale(1.16);
}

#memberships .membership-logos img[alt="ASCAP"],
#memberships .membership-logos img[alt="Audiogest"] {
    max-width: 120px !important;
}

#memberships a:hover img,
#memberships a:focus-visible img {
    filter: grayscale(0);
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#contact input,
#contact select,
#contact textarea,
#regular-contact-modal input,
#regular-contact-modal textarea {
    border-radius: 8px !important;
}

[data-turnstile-widget] {
    width: 300px;
    max-width: 100%;
    min-height: 65px;
    overflow: hidden;
    border-radius: 6px;
}

[data-turnstile-widget] iframe {
    display: block !important;
    width: 300px !important;
    max-width: 100% !important;
    height: 65px !important;
    min-height: 65px !important;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: "Orbitron", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-brand b {
    color: #ef4444;
}

.footer-company-logo {
    display: block;
    width: min(320px, 78vw);
    height: auto;
}

footer hr {
    width: 100%;
}

.studio-footer a:focus-visible {
    border-radius: 3px;
    outline: 2px solid #ef4444;
    outline-offset: 4px;
}

.footer-color-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-color-dots span {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #fff;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.footer-color-dots .dot-red:hover { background: #ff3333; box-shadow: 0 0 10px 2px rgba(255, 51, 51, 0.8); }
.footer-color-dots .dot-yellow:hover { background: #ffff33; box-shadow: 0 0 10px 2px rgba(255, 255, 51, 0.8); }
.footer-color-dots .dot-orange:hover { background: #ffa500; box-shadow: 0 0 10px 2px rgba(255, 165, 0, 0.8); }
.footer-color-dots .dot-green:hover { background: #33ff33; box-shadow: 0 0 10px 2px rgba(51, 255, 51, 0.8); }
.footer-color-dots .dot-violet:hover { background: #ee82ee; box-shadow: 0 0 10px 2px rgba(238, 130, 238, 0.8); }
.footer-color-dots .dot-blue:hover { background: #3333ff; box-shadow: 0 0 10px 2px rgba(51, 51, 255, 0.8); }
.footer-color-dots .dot-royal:hover { background: #4169e1; box-shadow: 0 0 10px 2px rgba(65, 105, 225, 0.8); }
.footer-color-dots .dot-gray:hover { background: #aaa; box-shadow: 0 0 10px 2px rgba(170, 170, 170, 0.8); }

@media (min-width: 768px) and (max-width: 1180px) {
    header > div {
        padding-left: 18px !important;
        padding-right: 18px !important;
        gap: 16px;
    }

    header > div > a {
        gap: 8px !important;
    }

    header > div > a span {
        font-size: 13px !important;
    }

    header ul {
        gap: 11px !important;
    }

    header ul a {
        font-size: 12px !important;
    }

    header ul li:last-child a {
        padding: 9px 13px !important;
    }

    .language-picker summary {
        min-width: 70px;
        gap: 6px;
        padding: 0 9px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    header .desktop-nav {
        display: none !important;
    }

    header .mobile-controls {
        display: flex !important;
    }

    header .mobile-nav:not([hidden]) {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    .highlight-grid {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }

    .highlight-grid > .highlight-media {
        grid-column: auto !important;
    }

    .highlight-image {
        height: 100%;
        aspect-ratio: auto !important;
    }

    .highlight-image img {
        position: absolute;
        inset: 0;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .membership-logos {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .footer-legal-bar {
        gap: 14px !important;
    }

    .footer-legal-bar p,
    .footer-legal-bar nav {
        font-size: 11px !important;
        line-height: 1.5;
    }

    .footer-legal-bar nav {
        column-gap: 16px !important;
        row-gap: 8px !important;
    }
}

@media (max-width: 767px) {
    header > div {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    header a > span {
        font-size: 12px !important;
        line-height: 1.2;
    }

    .site-hero {
        min-height: 0 !important;
        padding-top: 120px !important;
        padding-bottom: 56px !important;
    }

    .site-hero h1 {
        font-size: 40px !important;
        line-height: 1.08 !important;
    }

    #about {
        padding-top: 32px !important;
    }

    #about > div:first-child {
        margin-bottom: 52px !important;
    }

    #services > div {
        min-height: 0;
    }

    #songwriters,
    #highlight,
    #contact {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    #roster-slider {
        height: 520px !important;
    }

    .roster-slide > div:nth-last-child(1) {
        max-width: calc(100% - 104px);
        min-width: 0 !important;
    }

    #highlight {
        row-gap: 64px;
    }

    #memberships {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .membership-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .membership-logos a {
        min-height: 58px;
    }

    #memberships .membership-logos img {
        max-width: 98px !important;
        max-height: 42px !important;
    }

    .studio-footer,
    .studio-footer h3,
    .studio-footer ul,
    .studio-footer p {
        text-align: center !important;
    }

    .studio-footer .footer-brand,
    .studio-footer .flex.flex-wrap {
        justify-content: center !important;
    }

    .studio-footer-copyright {
        padding-bottom: 84px !important;
    }

    .footer-legal-bar {
        gap: 12px !important;
    }

    .footer-legal-bar p,
    .footer-legal-bar nav {
        font-size: 10px !important;
        line-height: 1.5;
    }

    .footer-legal-bar nav {
        column-gap: 14px !important;
        row-gap: 8px !important;
    }

    #regular-contact-modal > .relative {
        min-height: 100svh;
        padding: 8px !important;
    }

    #regular-contact-modal form {
        gap: 0;
    }

    [data-turnstile-widget] {
        transform-origin: left top;
    }
}

.publishing-footer {
    --footer-line: rgba(255, 255, 255, 0.12);
    --footer-muted: #a3a3aa;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--footer-line);
    background: #000;
    color: #fff;
    font: 14px/1.5 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.publishing-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr);
    gap: 48px;
    width: min(1200px, calc(100% - 48px));
    margin: auto;
    padding: 60px 0;
}

.publishing-footer-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.publishing-footer-directory > div {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.publishing-footer h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.publishing-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.publishing-footer a {
    color: inherit;
    text-decoration: none;
}

.publishing-footer-directory a,
.publishing-footer .footer-soon {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    overflow-wrap: anywhere;
}

.publishing-footer-directory a,
.publishing-footer .footer-addresses,
.publishing-footer-bottom {
    color: var(--footer-muted);
}

.publishing-footer .footer-soon {
    color: var(--footer-muted);
    opacity: 0.7;
}

.publishing-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.publishing-footer a:focus-visible {
    outline: 2px solid #ef4444;
    outline-offset: 3px;
}

.publishing-footer .footer-addresses p {
    display: flex;
    flex-direction: column;
    margin: 0 0 12px;
}

.publishing-footer .footer-addresses strong {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
}

.publishing-footer .footer-country-flag {
    font-size: 17px;
    line-height: 1;
}

.publishing-footer .footer-addresses strong {
    color: #fff;
    font-size: 12px;
}

.publishing-footer .footer-media {
    margin: 26px 0;
    padding-top: 24px;
    border-top: 1px solid var(--footer-line);
}

.publishing-footer .footer-media iframe {
    display: block;
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 8px;
}

.publishing-footer .footer-brand {
    display: block;
    width: min(260px, 100%);
    margin: 20px 0;
}

.publishing-footer .footer-brand img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 455.71 / 128.57;
    object-fit: contain;
}

.publishing-footer .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.publishing-footer .footer-socials a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
}

.publishing-footer .footer-socials svg {
    width: 22px;
    height: 22px;
}

.publishing-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: safe center;
    flex-wrap: nowrap;
    gap: 0 24px;
    padding: 16px 24px;
    overflow-x: auto;
    white-space: nowrap;
    line-height: 1.5;
    text-align: center;
    border-top: 1px solid var(--footer-line);
    background: #111;
    font-size: 11px;
}

.publishing-footer-bottom p {
    margin: 0;
}

.publishing-footer-bottom > div > p + p::before {
    content: "\00b7";
    margin-right: 10px;
}

.publishing-footer-bottom > div {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px 10px;
}

.publishing-footer-bottom nav {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0 18px;
}

.publishing-footer-bottom nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

@media (max-width: 1024px) {
    .publishing-footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .publishing-footer-locations {
        padding-top: 32px;
        border-top: 1px solid var(--footer-line);
    }

    .publishing-footer .footer-addresses {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .publishing-footer .footer-media {
        max-width: 352px;
    }

    .publishing-footer-bottom {
        justify-content: flex-start;
    }
}

@media (max-width: 660px) {
    .publishing-footer-main {
        width: calc(100% - 32px);
        padding: 36px 0;
    }

    .publishing-footer-directory {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .publishing-footer-directory > div:last-child {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .publishing-footer-directory a,
    .publishing-footer .footer-soon {
        min-height: 44px;
        font-size: 13px;
    }

    .publishing-footer .footer-addresses {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .publishing-footer-bottom {
        padding-top: 16px;
        padding-bottom: 84px;
    }
}

@media (max-height: 720px) {
    #regular-contact-modal > .relative > div {
        padding: 14px !important;
    }

    #regular-contact-modal .mb-4 {
        margin-bottom: 10px !important;
    }

    #regular-contact-modal form {
        gap: 8px !important;
    }

    #regular-contact-modal textarea {
        min-height: 62px;
        max-height: 72px;
    }

    #regular-contact-modal [data-turnstile-widget] {
        min-height: 65px;
    }
}

@media (max-height: 620px) {
    #regular-contact-modal > .relative {
        padding: 4px !important;
    }

    #regular-contact-modal > .relative > div {
        max-width: 430px;
        padding: 8px 12px !important;
    }

    #regular-contact-modal .mb-4 {
        margin-bottom: 5px !important;
    }

    #regular-contact-title {
        margin-bottom: 0 !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
    }

    #regular-contact-title + p {
        display: none;
    }

    #regular-contact-modal form > :not([hidden]) ~ :not([hidden]) {
        margin-top: 4px !important;
    }

    #regular-contact-modal label {
        margin-bottom: 2px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    #regular-contact-modal input {
        height: 34px;
        padding: 5px 10px !important;
    }

    #regular-contact-modal textarea {
        min-height: 48px;
        height: 48px;
        max-height: 48px;
        padding: 7px 10px !important;
    }

    #regular-contact-modal button[type="submit"] {
        padding: 8px 16px !important;
    }
}

@media (max-width: 360px) {
    #regular-contact-modal [data-turnstile-widget] {
        width: 246px;
        min-height: 54px;
        overflow: visible;
    }

    #regular-contact-modal [data-turnstile-widget] iframe {
        width: 300px !important;
        max-width: none !important;
        transform: scale(0.82);
        transform-origin: left top;
    }
}

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