/* ═══════════════════════════════════════════════════════════
   ALL TIME MUSIC PUBLISHING — main.css
   Inter throughout, dark BG image, white UI
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
    --white:       #FFFFFF;
    --white-70:    rgba(255, 255, 255, 0.70);
    --white-50:    rgba(255, 255, 255, 0.50);
    --white-15:    rgba(255, 255, 255, 0.15);
    --white-08:    rgba(255, 255, 255, 0.08);
    --black:       #000000;
    --ink:         #111111;
    --card-bg:     rgba(0, 0, 0, 0.55);
    --card-border: rgba(255, 255, 255, 0.18);
    --font:        'Inter', -apple-system, sans-serif;
    --nav-h:       80px;
    --pad-x:       clamp(20px, 4vw, 64px);
    --radius-pill: 100px;
    --radius-card: 8px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family:            var(--font);
    color:                  var(--white);
    background-color:       #0a0a0a;
    background-image:       url('../../images/bg.jpg');
    background-size:        cover;
    background-position:    center;
    background-attachment:  fixed;
    background-repeat:      no-repeat;
    min-height:             100vh;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content:        '';
    position:       fixed;
    inset:          0;
    background:     rgba(0, 0, 0, 0.55);
    z-index:        0;
    pointer-events: none;
}

.atmp-header,
.atmp-home,
.atmp-artists,
.atmp-contact,
.atmp-footer { position: relative; z-index: 1; }

a      { color: inherit; text-decoration: none; }
img    { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; }

/* ════════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════════ */
.atmp-header {
    position:        fixed;
    top:             0; left: 0; right: 0;
    z-index:         100;
    height:          var(--nav-h);
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         0 var(--pad-x);
    background:      rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.atmp-logo-link {
    display:     flex;
    align-items: center;
    line-height: 0;
    position:    relative;
    z-index:     2;
}

.atmp-logo-img,
.custom-logo {
    height:     60px;
    width:      auto;
    object-fit: contain;
    display:    block;
}

.custom-logo-link { line-height: 0; }

.atmp-nav {
    display:     flex;
    gap:         10px;
    align-items: center;
}

.atmp-nav__link {
    font-size:      13px;
    font-weight:    500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:          var(--white);
    padding:        8px 20px;
    border:         1.5px solid rgba(255, 255, 255, 0.55);
    border-radius:  var(--radius-pill);
    transition:     background .2s, border-color .2s;
    white-space:    nowrap;
}

.atmp-nav__link:hover,
.atmp-nav__link.active {
    background:   rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.atmp-nav-toggle {
    display:         none;
    flex-direction:  column;
    gap:             5px;
    justify-content: center;
    width:           36px;
    height:          36px;
    padding:         6px;
    background:      none;
    border:          none;
    position:        relative;
    z-index:         2;
}

.atmp-nav-toggle span {
    display:       block;
    width:         100%;
    height:        2px;
    background:    var(--white);
    border-radius: 2px;
    transition:    transform .2s, opacity .2s;
}

.atmp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.atmp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.atmp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Producers dropdown — desktop ─────────────────────────── */
.atmp-nav__dropdown {
    position: relative;
}

.atmp-nav__dropdown-toggle {
    display:     flex;
    align-items: center;
    gap:         6px;
    background:  none;
    border:      1.5px solid rgba(255, 255, 255, 0.55);
    cursor:      pointer;
    color:       var(--white);
}

.atmp-dropdown-arrow {
    width:       10px;
    height:      6px;
    transition:  transform .2s;
    flex-shrink: 0;
}

.atmp-nav__dropdown-toggle[aria-expanded="true"] .atmp-dropdown-arrow {
    transform: rotate(180deg);
}

.atmp-nav__dropdown-menu {
    display:         none;
    position:        absolute;
    top:             calc(100% + 8px);
    left:            50%;
    transform:       translateX(-50%);
    min-width:       180px;
    background:      rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border:          1px solid rgba(255, 255, 255, 0.15);
    border-radius:   8px;
    list-style:      none;
    padding:         6px 0;
    z-index:         200;
    white-space:     nowrap;
}

.atmp-nav__dropdown-menu.is-open {
    display: block;
}

.atmp-nav__dropdown-item {
    display:        block;
    padding:        10px 20px;
    font-size:      13px;
    font-weight:    500;
    letter-spacing: 0.04em;
    color:          rgba(255, 255, 255, 0.75);
    transition:     color .15s, background .15s;
}

.atmp-nav__dropdown-item:hover {
    color:      var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.atmp-nav__dropdown-empty {
    display:    block;
    padding:    10px 20px;
    font-size:  13px;
    color:      rgba(255, 255, 255, 0.35);
    font-style: italic;
}

/* ════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════ */
.atmp-home {
    min-height:     100vh;
    padding-top:    var(--nav-h);
    display:        flex;
    flex-direction: column;
}

.atmp-home__hero {
    flex:            1;
    display:         flex;
    align-items:     center;
    justify-content: center;
    padding:         clamp(40px, 8vh, 100px) var(--pad-x);
}

.atmp-home__logo {
    width:   clamp(280px, 50vw, 700px);
    height:  auto;
    display: block;
}

/* ════════════════════════════════════════════════════════════
   ARTIST PAGE
   ════════════════════════════════════════════════════════════ */
.atmp-artists {
    padding-top:     var(--nav-h);
    padding-bottom:  clamp(48px, 8vh, 96px);
    min-height:      100vh;
    display:         flex;
    flex-direction:  column;
    justify-content: center;
}

.atmp-artist {
    max-width:             1200px;
    margin:                0 auto;
    display:               grid;
    grid-template-columns: 1fr 1.4fr;
    gap:                   clamp(32px, 5vw, 80px);
    padding:               clamp(24px, 4vh, 56px) var(--pad-x);
    align-items:           center;
}

.atmp-artist__photo { position: relative; }

.atmp-artist__img {
    width:           100%;
    height:          auto;
    display:         block;
    object-fit:      cover;
    max-height:      75vh;
    object-position: top;
}

.atmp-artist__info {
    display:        flex;
    flex-direction: column;
    gap:            24px;
    padding-top:    clamp(8px, 2vh, 24px);
}

.atmp-artist__name {
    font-size:      clamp(32px, 4.5vw, 60px);
    font-weight:    700;
    line-height:    1.05;
    letter-spacing: -0.02em;
    color:          var(--white);
}

.atmp-artist__socials {
    display:     flex;
    gap:         14px;
    align-items: center;
    flex-wrap:   wrap;
}

.atmp-artist__social-icon {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           40px;
    height:          40px;
    border-radius:   50%;
    background:      rgba(255, 255, 255, 0.12);
    color:           var(--white);
    transition:      background .2s, transform .2s;
}

.atmp-artist__social-icon svg { width: 18px; height: 18px; }

.atmp-artist__social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform:  scale(1.08);
}

.atmp-artist__social-icon svg polygon { fill: currentColor; }

.atmp-artist__bio {
    background:      var(--card-bg);
    border:          1px solid var(--card-border);
    border-radius:   var(--radius-card);
    padding:         clamp(20px, 3vw, 36px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.atmp-artist__bio p {
    font-size:     clamp(14px, 1.2vw, 16px);
    line-height:   1.75;
    color:         var(--white-70);
    margin-bottom: 1em;
}

.atmp-artist__bio p:last-child { margin-bottom: 0; }

.atmp-artist-empty {
    max-width:   600px;
    margin:      calc(var(--nav-h) + 80px) auto 0;
    padding:     0 var(--pad-x);
    text-align:  center;
    color:       var(--white-50);
    font-size:   15px;
    line-height: 1.7;
}

.atmp-artist-empty strong { color: var(--white); }

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */
.atmp-contact {
    padding-top:     var(--nav-h);
    padding-bottom:  clamp(48px, 8vh, 96px);
    min-height:      100vh;
    display:         flex;
    flex-direction:  column;
    justify-content: center;
}

.atmp-contact__inner {
    max-width:             1200px;
    margin:                0 auto;
    display:               grid;
    grid-template-columns: 1fr 1.6fr;
    gap:                   clamp(40px, 6vw, 100px);
    padding:               clamp(24px, 4vh, 56px) var(--pad-x);
    align-items:           center;
}

.atmp-contact__heading {
    font-size:      clamp(28px, 4vw, 48px);
    font-weight:    700;
    letter-spacing: 0.06em;
    margin-bottom:  16px;
    color:          var(--white);
}

.atmp-contact__sub {
    font-size:      14px;
    color:          var(--white-50);
    margin-bottom:  20px;
    letter-spacing: 0.02em;
}

.atmp-contact__socials {
    display:     flex;
    gap:         12px;
    align-items: center;
}

.atmp-social-icon--filled {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           44px;
    height:          44px;
    border-radius:   50%;
    background:      var(--white);
    color:           var(--ink);
    transition:      opacity .2s, transform .2s;
}

.atmp-social-icon--filled svg { width: 20px; height: 20px; }

.atmp-social-icon--filled:hover { opacity: 0.85; transform: scale(1.06); }

.atmp-form {
    display:        flex;
    flex-direction: column;
    gap:            20px;
}

.atmp-form__row { display: flex; gap: 16px; }
.atmp-form__row--two > * { flex: 1; min-width: 0; }
.atmp-form__group { display: flex; flex-direction: column; gap: 6px; }

.atmp-form__label {
    font-size:      12px;
    font-weight:    500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:          var(--white-50);
}

.atmp-form__input,
.atmp-form__textarea {
    width:              100%;
    padding:            12px 16px;
    font-family:        var(--font);
    font-size:          15px;
    color:              var(--white);
    background:         rgba(0, 0, 0, 0.60);
    border:             1.5px solid var(--card-border);
    border-radius:      var(--radius-card);
    outline:            none;
    transition:         border-color .2s, background .2s;
    -webkit-appearance: none;
}

.atmp-form__input:focus,
.atmp-form__textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background:   rgba(0, 0, 0, 0.75);
}

.atmp-form__input::placeholder,
.atmp-form__textarea::placeholder { color: rgba(255, 255, 255, 0.2); }

.atmp-form__textarea { resize: vertical; min-height: 200px; }

.atmp-form__submit {
    align-self:     flex-start;
    padding:        11px 32px;
    font-family:    var(--font);
    font-size:      13px;
    font-weight:    500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:          var(--white);
    background:     transparent;
    border:         1.5px solid rgba(255, 255, 255, 0.55);
    border-radius:  var(--radius-pill);
    cursor:         pointer;
    transition:     background .2s, border-color .2s;
}

.atmp-form__submit:hover {
    background:   rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.atmp-form__submit:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.atmp-form__feedback { font-size: 14px; min-height: 20px; }
.atmp-form__feedback.success { color: #4ade80; }
.atmp-form__feedback.error   { color: #f87171; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.atmp-footer {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            16px;
    padding:        32px var(--pad-x) 28px;
    position:       relative;
    z-index:        1;
    text-align:     center;
}

.atmp-footer__socials { display: flex; gap: 14px; }

.atmp-social-icon {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           40px;
    height:          40px;
    border-radius:   50%;
    background:      rgba(255, 255, 255, 0.12);
    color:           var(--white);
    transition:      background .2s, transform .2s;
}

.atmp-social-icon svg { width: 18px; height: 18px; }
.atmp-social-icon:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.08); }

.atmp-footer__copy { font-size: 13px; color: var(--white-50); }

/* ════════════════════════════════════════════════════════════
   FOCUS
   ════════════════════════════════════════════════════════════ */
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 900px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .atmp-artist {
        grid-template-columns: 1fr;
    }
    .atmp-artist__img {
        max-height:      60vw;
        object-position: center top;
    }
    .atmp-contact__inner {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 720px mobile
   ════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    :root { --nav-h: 64px; }

    .atmp-nav-toggle { display: flex; }

    /*
     * Full-screen overlay.
     * inset:0 covers the viewport; padding-top clears the fixed header.
     * Because box-sizing is border-box, justify-content:center centres the
     * buttons in the space BELOW the header at any screen height.
     * 100dvh accounts for mobile browser chrome (URL bar) collapsing.
     */
    .atmp-nav {
        display:                 none;
        position:                fixed;
        inset:                   0;
        height:                  100vh;
        height:                  100dvh;
        flex-direction:          column;
        align-items:             center;
        justify-content:         center;
        gap:                     14px;
        padding:                 var(--nav-h) 24px 32px;
        background:              rgba(0, 0, 0, 0.88);
        backdrop-filter:         blur(20px);
        -webkit-backdrop-filter: blur(20px);
        overflow-y:              auto;
        z-index:                 99;
    }

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

    .atmp-nav__link {
        width:          auto;
        min-width:      190px;
        text-align:     center;
        padding:        14px 30px;
        border:         1.5px solid rgba(255, 255, 255, 0.55);
        border-radius:  var(--radius-pill);
        color:          var(--white);
        font-size:      14px;
        font-weight:    500;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        transition:     background .2s, border-color .2s;
    }

    .atmp-nav__link:hover,
    .atmp-nav__link.active {
        background:   rgba(255, 255, 255, 0.12);
        border-color: var(--white);
    }

    /* Dropdown wrapper sits in normal flow, centred */
    .atmp-nav__dropdown {
        position:        static;
        display:         flex;
        flex-direction:  column;
        align-items:     center;
        gap:             12px;
        width:           auto;
    }

    .atmp-nav__dropdown-toggle {
        min-width:       190px;
        text-align:      center;
        padding:         14px 30px;
        border:          1.5px solid rgba(255, 255, 255, 0.55);
        border-radius:   var(--radius-pill);
        color:           var(--white);
        font-size:       14px;
        font-weight:     500;
        letter-spacing:  0.06em;
        text-transform:  uppercase;
        justify-content: center;
    }

    /* Menu flows below the toggle instead of floating absolutely */
    .atmp-nav__dropdown-menu {
        display:         none;
        position:        static;
        transform:       none;
        left:            auto;
        top:             auto;
        min-width:       0;
        width:           auto;
        background:      transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border:          none;
        border-radius:   0;
        padding:         0;
        box-shadow:      none;
        white-space:     normal;
        z-index:         auto;
    }

    .atmp-nav__dropdown-menu.is-open {
        display:        flex;
        flex-direction: column;
        align-items:    center;
        gap:            10px;
    }

    .atmp-nav__dropdown-item {
        display:        inline-block;
        padding:        11px 26px;
        font-size:      13px;
        font-weight:    500;
        letter-spacing: 0.04em;
        color:          var(--white);
        background:     rgba(255, 255, 255, 0.06);
        border:         1.5px solid rgba(255, 255, 255, 0.35);
        border-radius:  var(--radius-pill);
        transition:     background .15s, border-color .15s;
        text-align:     center;
    }

    .atmp-nav__dropdown-item:hover {
        background:   rgba(255, 255, 255, 0.16);
        border-color: var(--white);
    }

    .atmp-nav__dropdown-empty {
        padding:    10px 0;
        font-size:  13px;
        color:      rgba(255, 255, 255, 0.4);
        font-style: italic;
    }

    .atmp-form__row--two { flex-direction: column; gap: 20px; }

    .atmp-artist { padding-top: 32px; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration:  0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}