/*
Theme Name: FK-Entertainment
Theme URI: https://example.com
Author: Arto Sinervo
Description: Music company theme: logo slot, artist list and editable artist pages (domain.com/artist).
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fk-entertainment
*/

:root{
  --bg:#0e1621; --bg2:#1a2635; --steel:#5d6b78; --ink:#f2f5f8; --muted:#aab4be;
  --red:#e03a3a; --navy:#1b2a3f; --line:rgba(255,255,255,.14);
  --a:var(--red); --pad:clamp(1.25rem,4vw,3.5rem);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(135deg,var(--bg) 0%,var(--bg2) 55%,#3a4958 100%) fixed;color:var(--ink);
  font:400 1.0625rem/1.65 "Helvetica Neue",Helvetica,Arial,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--a);outline-offset:3px}
h1,h2,h3{font-weight:800;line-height:1.05;letter-spacing:-.02em;margin:0 0 .6em}
h1{font-size:clamp(2.6rem,8vw,6.5rem)}
h2{font-size:clamp(1.9rem,4.5vw,3.4rem)}
h3{font-size:1.4rem}
p{margin:0 0 1.1em;max-width:68ch}
.wrap{width:min(1200px,100% - 2*var(--pad));margin-inline:auto}
.section{padding:clamp(3.5rem,9vw,7rem) 0}
.screen-reader-text{position:absolute;left:-9999px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(14,22,33,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:84px}
.brand img,.custom-logo{max-height:64px;width:auto}
.brand-text{font-weight:800;font-size:1.3rem;text-decoration:none}
.main-nav ul{list-style:none;display:flex;gap:2rem;margin:0;padding:0}
.main-nav a{text-decoration:none;font-weight:600;padding:.4rem 0;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav .current-menu-item>a{border-color:var(--red)}
.nav-toggle{display:none;background:none;border:1px solid var(--line);color:var(--ink);padding:.5rem .9rem;font:inherit;cursor:pointer}
@media(max-width:760px){
  .nav-toggle{display:block}
  .main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--line);padding:1rem var(--pad)}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;gap:.8rem}
}

/* Hero */
.hero{min-height:clamp(550px,75vh,850px);display:flex;align-items:center;padding:clamp(4rem,8vw,7rem) 0;border-bottom:1px solid var(--line)}
.hero h1{max-width:12ch;margin-bottom:.35em}
.hero .lead{font-size:clamp(1.1rem,2vw,1.4rem);color:var(--muted);max-width:52ch}
.btn{display:inline-block;background:var(--a);color:#fff;text-decoration:none;font-weight:700;padding:.85rem 1.6rem;border:2px solid var(--a);transition:background .2s,color .2s}
.btn:hover{background:transparent;color:var(--ink)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn.ghost:hover{border-color:var(--a)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}

/* About */
.about{display:grid;grid-template-columns:1fr 1.4fr;gap:clamp(1.5rem,5vw,5rem);align-items:start}
.about p{color:#dfe5eb}
@media(max-width:800px){.about{grid-template-columns:1fr}}

/* Artist grid */
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}
.artist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.2rem}
.artist-card{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:var(--navy);text-decoration:none;border:1px solid var(--line)}
.artist-card .ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s,filter .3s;filter:grayscale(.35) brightness(.8)}
.artist-card:hover .ph{transform:scale(1.05);filter:none}
.artist-card{background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.1),transparent 62%),var(--navy)}
.artist-card .logo{position:absolute;inset:0;margin:auto;max-width:68%;max-height:56%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 2px 12px rgba(0,0,0,.6));transition:transform .4s}
.artist-card:hover .logo{transform:scale(1.06)}
.artist-card .meta{position:absolute;left:0;right:0;bottom:0;padding:1.1rem 1.2rem;background:linear-gradient(transparent,rgba(8,12,18,.92));border-bottom:4px solid var(--a)}
.artist-card .meta strong{display:block;font-size:1.25rem}
.artist-card .meta span{color:var(--muted);font-size:.95rem}
.artist-card .initials{position:absolute;inset:0;display:grid;place-items:center;font-size:5rem;font-weight:800;color:var(--steel)}

/* Releases */
.release-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem}
.release{border:1px solid var(--line);background:rgba(0,0,0,.2);text-decoration:none;display:block}
.release img{aspect-ratio:1/1;object-fit:cover;width:100%}
.release div{padding:1rem 1.2rem}
.notice{border:1px dashed var(--line);padding:2rem;color:var(--muted)}

/* Contact */
.contact{background:rgba(0,0,0,.25);border-top:1px solid var(--line);text-align:center}
.contact h2{max-width:20ch;margin-inline:auto}
.contact p{margin-inline:auto}
.socials{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-top:1.2rem}
.socials a{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid var(--line);text-decoration:none;transition:border-color .2s,color .2s,background .2s}
.socials a svg{width:22px;height:22px;display:block}
.socials a.yt:hover{color:#ff0000}
.socials a.sp:hover{color:#1ed760}
.socials a:hover{border-color:var(--a);color:#fff}

/* Footer */
.site-footer{padding:2rem 0;color:var(--muted);font-size:.95rem;border-top:1px solid var(--line)}
.site-footer .wrap{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.site-footer ul{list-style:none;display:flex;gap:1.2rem;margin:0;padding:0}

/* Single artist (uses --a accent and --bg set inline per artist) */
.artist-page{background:var(--abg,transparent)}
.artist-hero{position:relative;display:flex;align-items:flex-end;padding:2.5rem 0 3rem;background-size:cover;background-position:center;border-bottom:6px solid var(--a)}
.artist-hero.has-bg{min-height:46vh}
.artist-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 20%,var(--abg,#0e1621) 100%)}
.artist-hero .wrap{position:relative}
.artist-hero .artist-logo{max-height:140px;width:auto;margin-bottom:1.2rem}
.artist-hero .tagline{font-size:1.25rem;color:var(--muted)}
.artist-body{display:grid;grid-template-columns:1.6fr 1fr;gap:clamp(1.5rem,5vw,4rem)}
@media(max-width:800px){.artist-body{grid-template-columns:1fr}}
.entry>*+*{margin-top:1.1em}
.entry a{color:var(--a)}
.embed{aspect-ratio:16/9;margin-top:1.5rem}
.embed iframe{width:100%;height:100%;border:0}
.embed.audio{aspect-ratio:auto}
.side-box{border:1px solid var(--line);padding:1.4rem;background:rgba(0,0,0,.2)}
.side-box h3{font-size:1.1rem}
.back-link{display:inline-block;margin-bottom:1rem;color:var(--muted);text-decoration:none}

/* Generic pages */
.page-head{padding:4rem 0 1rem}
.page-content{padding-bottom:5rem}

/* Front page hero logo */
.hero {
    position: relative;
    overflow: hidden;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 68%;

    width: min(70vw, 700px);
    height: auto;

    opacity: 0.13;
    pointer-events: none;
    z-index: 0;

    transform: translate(-50%, -50%);
    animation: fkfloat 10s ease-in-out infinite;
}

@keyframes fkfloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-2deg);
    }

    50% {
        transform: translate(-50%, calc(-50% - 22px)) rotate(2deg);
    }
}

/* Artist page portrait */
.artist-hero-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}
.artist-portrait{width:min(36vw,380px);height:auto;flex:none;filter:drop-shadow(0 10px 40px rgba(0,0,0,.55))}
@media(max-width:760px){.artist-hero-inner{flex-direction:column;align-items:flex-start}.artist-portrait{width:70%}}
@media(prefers-reduced-motion:reduce){.hero-logo{animation:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
