
:root{--bg:#030303;--panel:#0b0b0b;--fg:#f3f0e8;--muted:#a7a29a;--line:#28251f;--gold:#d9ad4c;--green:#35e07a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 Arial,sans-serif}a{color:inherit}img{max-width:100%;display:block}
.wrap{max-width:1120px;margin:auto;padding:0 22px}.top{border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(5,10,7,.96);z-index:10;backdrop-filter:blur(12px)}
.header{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;letter-spacing:.08em}.brand img{width:56px;height:56px;object-fit:contain;background:#030303;border:1px solid #29231a;border-radius:9px;padding:2px}.brand span{font-size:20px}
nav{display:flex;gap:18px;flex-wrap:wrap}nav a{text-decoration:none;color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.08em}nav a:hover{color:var(--gold)}
.hero{padding:76px 0 66px;background:radial-gradient(ellipse at 80% 15%,#163421 0,transparent 45%)}.eyebrow,.meta{color:var(--gold);font-size:12px;text-transform:uppercase;letter-spacing:.15em}
h1{font-size:clamp(42px,8vw,82px);line-height:.98;letter-spacing:-.04em;margin:14px 0 22px}h2{font-size:clamp(30px,5vw,48px);line-height:1.05;margin:0 0 24px}h3{margin:0 0 12px}.lead{font-size:19px;color:var(--muted);max-width:650px}
.btn{display:inline-block;padding:13px 19px;border:1px solid var(--gold);text-decoration:none;text-transform:uppercase;letter-spacing:.08em;font-size:12px;margin:8px 8px 0 0}.btn.primary{background:var(--gold);color:#111;border-color:var(--gold);font-weight:bold}
section{padding:58px 0;border-top:1px solid var(--line)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.card{background:var(--panel);border:1px solid var(--line);padding:24px;border-radius:8px}.muted{color:var(--muted)}.cover{width:100%;max-width:440px;border-radius:4px;box-shadow:0 18px 45px #0008}.release{display:grid;grid-template-columns:minmax(0,380px) 1fr;gap:42px;align-items:center}
footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:12px}footer .wrap{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}
@media(max-width:760px){.grid,.release{grid-template-columns:1fr}.header{align-items:flex-start}nav{gap:12px}.hero{padding:55px 0}.brand span{font-size:17px}}

/* IRETOMIWA scroll-triggered 20-second preview */
.preview-art{position:relative;max-width:440px}
.preview-art .cover{width:100%}
.preview-toggle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid var(--gold);border-radius:999px;background:rgba(5,10,7,.92);color:#fff;padding:14px 20px;font-weight:700;cursor:pointer;white-space:nowrap}
.preview-toggle:hover,.preview-toggle:focus-visible{background:var(--gold);color:#111}
.preview-hint{font-size:12px;color:var(--muted);margin:10px 0 0;text-align:center}
.preview-art.is-playing .preview-toggle{background:var(--gold);color:#111}

/* Mobile three-line navigation and subtle motion */
.menu-toggle{display:none;width:46px;height:42px;background:transparent;border:1px solid var(--line);border-radius:5px;padding:10px;cursor:pointer}
.menu-toggle span{display:block;height:2px;background:var(--gold);margin:5px 0;transition:transform .25s,opacity .25s}
.menu-toggle.active span:first-child{transform:translateY(7px) rotate(45deg)}.menu-toggle.active span:nth-child(2){opacity:0}.menu-toggle.active span:last-child{transform:translateY(-7px) rotate(-45deg)}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}.reveal.in-view{opacity:1;transform:translateY(0)}
.btn,.card,.cover,.preview-art{transition:transform .25s ease,box-shadow .25s ease}.card:hover{transform:translateY(-3px);box-shadow:0 16px 35px #0005}
@media(max-width:760px){.header{position:relative;align-items:center}.menu-toggle{display:block;margin-left:auto}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#030303;border:1px solid var(--line);padding:18px 22px;z-index:30;flex-direction:column;gap:16px}.site-nav.open{display:flex}.site-nav a{font-size:14px;padding:5px 0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}

.donation-card{max-width:760px;margin:auto;background:#0b0b0b;border:1px solid #3b3020}.dynamic-release{min-width:0}.dynamic-release .cover{margin-bottom:16px}.dynamic-preview-button{cursor:pointer}.dynamic-release .action-row{margin-top:10px}
.tracklist{margin:18px 0;padding-top:12px;border-top:1px solid var(--line)}.tracklist h4{margin:0 0 10px;color:var(--gold)}.track-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.track-row audio{display:none}

/* Build 14.1 theme system */
:root{--accent-text:#111}
html[data-theme="light"]{--bg:#f7f7f4;--panel:#ffffff;--fg:#171717;--muted:#626262;--line:#deded8}
html[data-theme="light"] body{background:var(--bg);color:var(--fg)}
html[data-theme="light"] .top{background:rgba(250,250,247,.96)}
html[data-theme="light"] .card,html[data-theme="light"] .donation-card{background:var(--panel);border-color:var(--line)}
html[data-theme="light"] .site-nav{background:#fff}
html[data-theme="light"] input,html[data-theme="light"] textarea,html[data-theme="light"] select{background:#fff;color:#171717;border-color:#ccc}
html[data-theme="light"] .preview-toggle{background:rgba(255,255,255,.94);color:#171717}
html[data-theme="light"] .admin-drawer .drawer-panel{background:#fff;color:#171717}
html[data-theme="light"] .drawer-panel a{color:#171717}
.mode-toggle{border:1px solid var(--gold);background:transparent;color:var(--fg);padding:9px 12px;border-radius:999px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;margin-left:auto}
.mode-toggle:hover{background:var(--gold);color:var(--accent-text)}
.theme-admin-preview{border:1px solid var(--line);border-radius:8px;padding:18px;margin:12px 0;background:var(--panel);color:var(--fg)}
.theme-swatches{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.theme-swatch{width:38px;height:38px;border-radius:50%;border:2px solid var(--line);cursor:pointer}.theme-swatch[aria-pressed="true"]{outline:3px solid var(--gold);outline-offset:2px}


/* Build 15.1 clock and refined responsive controls */
.dee-clock{display:flex;align-items:center;gap:10px;padding:7px 11px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0;color:var(--fg)}
.dee-clock-copy{display:grid;line-height:1.2;min-width:88px}.dee-clock-label,.theme-preview-kicker{font-size:9px;letter-spacing:.16em;font-weight:800;color:var(--gold)}.dee-clock-time{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.04em}.dee-clock-date{font-size:10px;color:var(--muted);white-space:nowrap}.dee-clock-zone-label select{margin:0;padding:7px 24px 7px 8px;width:auto;max-width:125px;font-size:11px;border-radius:8px;background:var(--bg);color:var(--fg);border:1px solid var(--line)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.header .dee-clock{order:4;width:100%;justify-content:space-between}.header .mode-toggle{margin-left:0}}
@media(max-width:390px){.dee-clock{gap:6px;padding:6px 8px}.dee-clock-time{font-size:15px}.dee-clock-zone-label select{max-width:112px;font-size:10px}}

/* Build 15.5 artist submissions and communications */
.demo-card,.newsletter-composer{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:clamp(20px,4vw,38px)}
.demo-card h2,.newsletter-composer h2{font-size:clamp(28px,5vw,42px);margin:.25em 0}
.demo-card input[type=file]{padding:14px;border-style:dashed}
.demo-card textarea,.newsletter-composer textarea{min-height:90px}
.demo-card button:disabled,.newsletter-composer button:disabled{opacity:.55;cursor:wait}
.demo-card .hint,.newsletter-composer .hint{line-height:1.65}
.demo-review-row{padding:18px 0;border-bottom:1px solid var(--line);display:grid;gap:10px}
.demo-review-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.demo-review-actions{display:flex;gap:8px;flex-wrap:wrap}
.newsletter-preview{background:#fff;color:#171717;border-radius:12px;padding:22px;min-height:140px;overflow-wrap:anywhere}
.newsletter-preview a{color:#986c13}
@media(max-width:620px){.demo-review-meta{display:block}.demo-review-actions>*{flex:1}}

/* Artist opportunity modal */
.deal-modal-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:18px}.deal-modal-backdrop[hidden]{display:none}.deal-modal{position:relative;width:min(100%,480px);background:var(--panel,#111814);color:var(--fg,#f5f1e8);border:1px solid var(--gold,#d9ad4c);border-radius:18px;padding:clamp(22px,5vw,34px);box-shadow:0 24px 80px rgba(0,0,0,.4)}.deal-modal h2{font-size:clamp(25px,5vw,34px);line-height:1.15;margin:.35em 0}.deal-modal p{line-height:1.65}.deal-modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:inherit;font-size:30px;cursor:pointer}.deal-modal-note{font-size:13px;color:var(--muted)}.deal-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.deal-modal-open{overflow:hidden}


/* DEE RECORDS — Professional visual refinement */
:root{
  --bg:#070707;
  --panel:#101010;
  --fg:#f5f2eb;
  --muted:#aaa69e;
  --line:#2b2924;
  --gold:#d9ad4c;
  --accent-text:#111;
  --content-width:1200px;
  --surface-shadow:0 18px 55px rgba(0,0,0,.22);
}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.7;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.wrap{max-width:var(--content-width);padding-left:clamp(18px,3vw,34px);padding-right:clamp(18px,3vw,34px)}
.top{
  background:rgba(7,7,7,.9);
  border-bottom:1px solid rgba(217,173,76,.18);
  box-shadow:0 8px 30px rgba(0,0,0,.12);
}
.header{min-height:86px;gap:18px}
.brand{gap:13px;letter-spacing:.12em}
.brand img{width:52px;height:52px;border-radius:12px;border-color:rgba(217,173,76,.28);background:#080808}
.brand span{font-size:17px;font-weight:850}
.site-nav{align-items:center;gap:clamp(8px,1.1vw,16px)}
.site-nav a{
  font-size:10px;
  font-weight:750;
  letter-spacing:.095em;
  white-space:nowrap;
  transition:color .2s ease;
}
.site-nav a:hover,.site-nav a:focus-visible{color:var(--gold)}
.hero{
  position:relative;
  overflow:hidden;
  padding:clamp(76px,10vw,132px) 0 clamp(70px,8vw,108px);
  background:
    radial-gradient(ellipse at 82% 12%,rgba(38,83,54,.34),transparent 43%),
    radial-gradient(ellipse at 8% 92%,rgba(217,173,76,.08),transparent 40%),
    linear-gradient(145deg,#090b09 0%,#070707 70%);
}
.hero .wrap{position:relative;z-index:1}
.hero .eyebrow{font-weight:800;font-size:11px;letter-spacing:.2em}
h1{
  max-width:1000px;
  font-size:clamp(46px,8.4vw,104px);
  line-height:.96;
  letter-spacing:-.065em;
  font-weight:900;
  text-wrap:balance;
}
h2{
  font-size:clamp(29px,4.5vw,52px);
  letter-spacing:-.045em;
  line-height:1.04;
  font-weight:820;
  text-wrap:balance;
}
h3{font-weight:780;letter-spacing:-.02em}
p{max-width:75ch}
.lead{font-size:clamp(17px,2vw,21px);line-height:1.65;max-width:650px}
section{padding:clamp(52px,7vw,88px) 0;border-top-color:rgba(255,255,255,.075)}
.eyebrow,.meta{font-weight:800;font-size:10px;letter-spacing:.2em}
.grid{gap:clamp(18px,3vw,32px)}
.card,.demo-card,.newsletter-composer{
  border-radius:18px;
  padding:clamp(22px,3vw,34px);
  border-color:rgba(217,173,76,.16);
  box-shadow:0 12px 38px rgba(0,0,0,.12);
}
.card:hover{transform:translateY(-4px);box-shadow:var(--surface-shadow);border-color:rgba(217,173,76,.34)}
.release{gap:clamp(28px,5vw,64px)}
.cover{border-radius:14px;box-shadow:0 24px 65px rgba(0,0,0,.38)}
.btn,button.btn{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:999px;
  padding:13px 21px;
  font-weight:800;
  font-size:10px;
  letter-spacing:.12em;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(217,173,76,.15)}
.btn.primary{background:var(--gold);color:var(--accent-text,#111);box-shadow:0 8px 24px rgba(217,173,76,.12)}
.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
}
input,textarea,select{
  max-width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:13px 14px;
  background:var(--panel);
  color:var(--fg);
  font:inherit;
}
label{font-weight:650}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}
fieldset{border-radius:12px}
.mode-toggle{
  border-radius:999px;
  padding:10px 15px;
  font-weight:800;
  letter-spacing:.03em;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.mode-toggle:hover{transform:translateY(-1px)}
.preview-toggle{
  border-radius:999px;
  padding:15px 23px;
  border-color:rgba(217,173,76,.8);
  box-shadow:0 10px 35px rgba(0,0,0,.3);
}
footer{border-top-color:rgba(217,173,76,.2);padding:34px 0}
footer .wrap{align-items:center}
footer a{color:var(--gold);text-decoration:none}
footer a:hover{text-decoration:underline}
.dee-clock{border-radius:14px}
.admin-drawer .drawer-panel,.admin-section .card{border-radius:16px}
@media(max-width:1050px){
  .header{min-height:76px}
  .menu-toggle{display:block;margin-left:auto}
  .site-nav{
    display:none;
    position:absolute;
    top:100%;left:0;right:0;
    max-height:min(72vh,620px);
    overflow:auto;
    background:var(--panel);
    border:1px solid var(--line);
    border-top:1px solid rgba(217,173,76,.24);
    border-radius:0 0 16px 16px;
    padding:18px clamp(18px,4vw,34px) 22px;
    z-index:40;
    flex-direction:column;
    align-items:stretch;
    gap:3px;
    box-shadow:0 22px 40px rgba(0,0,0,.35);
  }
  .site-nav.open{display:flex}
  .site-nav a{font-size:12px;padding:11px 4px;border-bottom:1px solid var(--line)}
  .header{position:relative;align-items:center}
}
@media(max-width:760px){
  .grid,.release{grid-template-columns:1fr}
  .hero{padding:68px 0 62px}
  h1{font-size:clamp(43px,12vw,72px)}
  section{padding:48px 0}
  .brand span{font-size:15px}
  .brand img{width:46px;height:46px}
  .header .mode-toggle{margin-left:0}
  .preview-art{margin-inline:auto;width:100%}
  .release .cover{max-width:100%}
}
@media(max-width:420px){
  .wrap{padding-left:17px;padding-right:17px}
  .btn{width:100%;margin:7px 0 0}
  .mode-toggle{font-size:11px}
}
html[data-theme="light"] .hero{
  background:
    radial-gradient(ellipse at 82% 12%,rgba(217,173,76,.17),transparent 43%),
    linear-gradient(145deg,#fffefa 0%,#f4f2ec 100%);
}
html[data-theme="light"] .top{background:rgba(250,249,245,.92);border-bottom-color:rgba(120,91,33,.18)}
html[data-theme="light"] .card,
html[data-theme="light"] .demo-card,
html[data-theme="light"] .newsletter-composer{
  box-shadow:0 12px 35px rgba(30,25,12,.06);
}
html[data-theme="light"] .site-nav{background:#fff}
html[data-theme="light"] .preview-toggle{background:rgba(255,255,255,.94);color:#171717}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* Build 16 brand mark refinement */
.brand img{display:block;flex:0 0 auto;width:58px;height:58px;object-fit:contain;padding:3px;background:#050505;border:1px solid rgba(217,173,76,.55);border-radius:10px}
.admin-head .brand img{width:54px;height:54px}
@media(max-width:760px){.brand img{width:48px;height:48px}.admin-head .brand img{width:46px;height:46px}}
/* Build 17: blog listing and article typography */
.blog-card{padding:24px}.blog-card h2 a{color:var(--fg);text-decoration:none}.blog-card h2 a:hover{color:var(--gold)}.article-copy{line-height:1.85}


/* Build 16 final clock refinement: compact, Nigeria-first, responsive */
.dee-clock{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 10px;min-height:48px;border-radius:12px;max-width:100%;}
.dee-clock-copy{display:flex;align-items:baseline;gap:9px;min-width:0;line-height:1.15;white-space:nowrap}
.dee-clock-label{font-size:9px;letter-spacing:.14em;font-weight:800;color:var(--gold)}
.dee-clock-time{font-size:16px;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:.025em}
.dee-clock-date{font-size:10px;color:var(--muted);white-space:nowrap}
.dee-clock-zone-label{flex:0 0 auto}
.dee-clock-zone-label select{margin:0;padding:6px 22px 6px 8px;width:auto;max-width:132px;font-size:11px;border-radius:8px;background:var(--bg);color:var(--fg);border:1px solid var(--line)}
@media(max-width:760px){.header .dee-clock{order:4;width:100%;min-height:44px;padding:5px 9px;gap:8px;justify-content:space-between}.dee-clock-copy{gap:7px}.dee-clock-label{font-size:8px}.dee-clock-time{font-size:15px}.dee-clock-date{font-size:9px}.dee-clock-zone-label select{max-width:118px;font-size:10px;padding:6px 18px 6px 7px}}
@media(max-width:390px){.header .dee-clock{min-height:42px;padding:4px 7px}.dee-clock-copy{gap:5px}.dee-clock-time{font-size:14px}.dee-clock-date{font-size:8px}.dee-clock-zone-label select{max-width:105px;font-size:9px}}

/* Build 17 affiliate deals */
.deal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.deal-card{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.deal-card>img{width:100%;height:205px;object-fit:contain;background:#fff;padding:10px}.deal-card-body{padding:18px}.deal-price{font-weight:800;color:var(--gold)}@media(max-width:800px){.deal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.deal-grid{grid-template-columns:1fr}}


/* Dynamic release cards: match the established IRETOMIWA artwork-led preview layout. */
.dynamic-release{overflow:hidden;display:flex;flex-direction:column;gap:0;padding:0;border-radius:18px;}
.dynamic-release-art{position:relative;width:100%;max-width:none;margin:0;aspect-ratio:1/1;overflow:hidden;background:var(--panel);}
.dynamic-release-art .cover{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0;box-shadow:none;margin:0;}
.dynamic-release-art .preview-toggle{z-index:2;max-width:calc(100% - 28px);font-size:15px;padding:14px 22px;}
.dynamic-release.is-playing .dynamic-release-art .preview-toggle{background:var(--gold);color:#111;}
.dynamic-release-info{padding:24px;}
.dynamic-release-info h3{margin:.35em 0;font-size:clamp(1.35rem,3vw,1.9rem);}
.dynamic-release-info .preview-hint{margin:10px 0 16px;text-align:center;font-size:.92rem;color:var(--muted);}
.dynamic-release-info audio{display:none;}
.dynamic-release .action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.dynamic-release .action-row .btn{flex:1 1 130px;text-align:center;}
@media(max-width:640px){.dynamic-release{border-radius:16px;}.dynamic-release-info{padding:20px;}.dynamic-release-art .preview-toggle{font-size:14px;padding:12px 18px;}}


/* Build 16 payment agreement */
.payment-agreement{margin:1rem 0;padding:1rem;border:1px solid var(--border, #777);border-radius:12px;background:var(--surface, transparent)}
.agreement-check{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer;line-height:1.55}
.agreement-check input{width:1.15rem;height:1.15rem;flex:0 0 auto;margin-top:.2rem}

/* Build 16.2 artist profile presentation */
.artist-profile-card{position:relative;overflow:hidden;padding:0 0 22px}
.artist-profile-card>p:not(.eyebrow){padding:0 22px}
.artist-cover{height:150px;background-position:center;background-size:cover;background-color:var(--panel);border-bottom:1px solid var(--line)}
.artist-profile-heading{display:flex;align-items:center;gap:14px;padding:18px 22px 4px}
.artist-avatar{width:78px;height:78px;flex:0 0 78px;object-fit:cover;border-radius:50%;border:2px solid var(--gold);background:var(--panel)}
.artist-profile-heading h3{margin:3px 0}
.artist-profile-card.is-featured{border-color:var(--gold);box-shadow:0 12px 38px rgba(217,173,76,.13)}
html[data-theme="light"] .artist-profile-card{background:var(--panel);color:var(--fg)}
html[data-theme="light"] .artist-profile-card .muted{color:var(--muted)}

/* Build 16.2: display mode control available on every public page */
.mode-toggle-floating{position:fixed;right:16px;top:16px;z-index:9997;margin:0;background:var(--panel);box-shadow:0 5px 20px #0003}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="light"] body{background-color:var(--bg);color:var(--fg)}
html[data-theme="light"] .card,html[data-theme="light"] .panel{background-color:var(--panel);color:var(--fg);border-color:var(--line)}
html[data-theme="light"] .site-nav a,html[data-theme="light"] .header a{color:var(--fg)}

/* Build 16.3: consistent full-page visitor appearance */
html[data-theme="dark"]{
 color-scheme:dark;
 --bg:#050605;--panel:#10120f;--fg:#f5f3ed;--muted:#b8b5ad;--line:#343128;
}
html[data-theme="light"]{
 color-scheme:light;
 --bg:#f7f6f1;--panel:#ffffff;--fg:#171714;--muted:#5d5b55;--line:#dedbd2;
}
html[data-theme="dark"] body{background:#050605!important;background-image:none!important;color:#f5f3ed!important}
html[data-theme="light"] body{background:#f7f6f1!important;background-image:none!important;color:#171714!important}
html[data-theme="dark"] main,html[data-theme="dark"] footer,html[data-theme="dark"] section{color:var(--fg)}
html[data-theme="light"] main,html[data-theme="light"] footer,html[data-theme="light"] section{color:var(--fg)}
html[data-theme="dark"] .header,html[data-theme="dark"] header,html[data-theme="dark"] .top,html[data-theme="dark"] .site-nav{background:#090a08!important;color:#f5f3ed!important;border-color:#343128!important}
html[data-theme="light"] .header,html[data-theme="light"] header,html[data-theme="light"] .top,html[data-theme="light"] .site-nav{background:#fff!important;color:#171714!important;border-color:#dedbd2!important}
html[data-theme="dark"] .hero,html[data-theme="dark"] #homepageFeaturedSection,html[data-theme="dark"] #artist-hub,html[data-theme="dark"] .home-section-intro{background:#050605!important;color:#f5f3ed!important}
html[data-theme="light"] .hero,html[data-theme="light"] #homepageFeaturedSection,html[data-theme="light"] #artist-hub,html[data-theme="light"] .home-section-intro{background:#f7f6f1!important;color:#171714!important}
html[data-theme="dark"] .card,html[data-theme="dark"] .home-hub-card,html[data-theme="dark"] .release,html[data-theme="dark"] .newsletter-composer{background:#10120f!important;color:#f5f3ed!important;border-color:#343128!important}
html[data-theme="light"] .card,html[data-theme="light"] .home-hub-card,html[data-theme="light"] .release,html[data-theme="light"] .newsletter-composer{background:#fff!important;color:#171714!important;border-color:#dedbd2!important}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] p,html[data-theme="dark"] li,html[data-theme="dark"] label,html[data-theme="dark"] .lead,html[data-theme="dark"] .muted{color:inherit}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] p,html[data-theme="light"] li,html[data-theme="light"] label,html[data-theme="light"] .lead{color:var(--fg)}
html[data-theme="light"] .muted,html[data-theme="light"] .hint,html[data-theme="light"] .small{color:var(--muted)!important}
html[data-theme="light"] .hero .eyebrow,html[data-theme="light"] .eyebrow{color:#8a651b}
html[data-theme="light"] .hero h1{color:#171714!important}
html[data-theme="dark"] .hero h1{color:#f5f3ed!important}
html[data-theme="light"] .btn:not(.primary),html[data-theme="light"] a.btn:not(.primary){color:#5a4315!important;background:transparent;border-color:#c69a38}
html[data-theme="dark"] .btn:not(.primary),html[data-theme="dark"] a.btn:not(.primary){color:#f5f3ed!important}
html[data-theme="light"] .mode-toggle{color:#5a4315;background:#fff}
html[data-theme="dark"] .mode-toggle{color:#f5f3ed;background:#10120f}

/* Homepage featured artist presentation */
.homepage-featured-artist-image{width:104px;height:104px;object-fit:cover;border-radius:50%;border:2px solid var(--gold);margin:0 0 14px}
.homepage-featured-artist-cover{height:120px;background-size:cover;background-position:center;border-radius:8px;margin:-4px -4px 18px}
#homepageFeaturedArtistContent .action-row{margin-top:12px}


/* Mobile navigation correction: one clear vertical list, no duplicate-looking columns. */
@media (max-width: 1050px) {
  .site-nav.open {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100%;
    box-sizing: border-box;
  }
  .site-nav.open > a {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
  }
}


/* Build 16.5 · smoother DEE RECORDS motion system */
:root{--dee-motion:cubic-bezier(.2,.75,.25,1)}
html{scroll-behavior:smooth}
.reveal{transition:opacity .35s var(--dee-motion),transform .35s var(--dee-motion);filter:none!important;opacity:1!important}
.reveal.in-view{filter:none!important;opacity:1!important}
.btn,.menu-toggle,.mode-toggle,.quick-contact-toggle,.card,.release-card,.artist-card,.cover,.preview-art{transition:transform .28s var(--dee-motion),box-shadow .28s var(--dee-motion),border-color .28s ease,background-color .28s ease}
.btn:active,.menu-toggle:active,.mode-toggle:active{transform:scale(.97)}
.card:hover,.release-card:hover,.artist-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(0,0,0,.16)}
.site-nav.open{animation:deeNavReveal .3s var(--dee-motion) both}
.site-nav.open a{animation:deeNavItem .34s var(--dee-motion) both}
.site-nav.open a:nth-child(2){animation-delay:.025s}.site-nav.open a:nth-child(3){animation-delay:.05s}.site-nav.open a:nth-child(4){animation-delay:.075s}.site-nav.open a:nth-child(5){animation-delay:.1s}.site-nav.open a:nth-child(6){animation-delay:.125s}
@keyframes deeNavReveal{from{opacity:0;transform:translateY(-8px);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes deeNavItem{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;filter:none!important}.reveal{opacity:1;transform:none}}


/* BUILD 16 — SITE-WIDE LIQUID GLASS POLISH (public pages + admin pages) */
:root {
  --dee-glass-border: rgba(198, 157, 73, .24);
  --dee-glass-shadow: 0 18px 55px rgba(0, 0, 0, .10);
  --dee-glass-blur: 18px;
}
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: no-preference) {
  body { animation: deePageIn .42s ease both; }
  @keyframes deePageIn {
    from { opacity: .88; }
    to { opacity: 1; }
  }
  .site-header, .admin-header, header {
    transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
  }
  .site-nav a, .admin-nav a, .admin-sidebar a,
  button, .button, .btn, .card, .panel, .release-card, .artist-card {
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease,
      border-color .22s ease, color .22s ease, opacity .22s ease;
  }
  button:active, .button:active, .btn:active { transform: scale(.985); }
  .card:hover, .panel:hover, .release-card:hover, .artist-card:hover {
    box-shadow: var(--dee-glass-shadow);
  }
}
:where(.card, .panel, .admin-card, .stat-card, .release-card, .artist-card,
       .service-card, .submission-card, .dashboard-card, .settings-card,
       .modal-content, .admin-modal, .form-card) {
  border: 1px solid var(--dee-glass-border);
  box-shadow: var(--dee-glass-shadow);
  backdrop-filter: blur(var(--dee-glass-blur));
  -webkit-backdrop-filter: blur(var(--dee-glass-blur));
}
:where(input, select, textarea) {
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
:where(input, select, textarea):focus {
  outline: none;
  border-color: rgba(198, 157, 73, .78);
  box-shadow: 0 0 0 3px rgba(198, 157, 73, .16);
}
:where(button, .button, .btn, a.button, a.btn) {
  -webkit-tap-highlight-color: transparent;
}
:where(.site-header, .admin-header, .site-nav, .admin-sidebar, .admin-drawer) {
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
}
:where(.site-nav a, .admin-nav a, .admin-sidebar a):focus-visible,
:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid #c69d49;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  :where(.card, .panel, .admin-card, .stat-card, .release-card, .artist-card,
         .service-card, .submission-card, .dashboard-card, .settings-card,
         .modal-content, .admin-modal, .form-card) {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}


/* DEE RECORDS — FINAL LIQUID GLASS INTERFACE PASS
   Shared visual system for every public and admin screen. */
:root {
  --dee-glass-bg: rgba(255,255,255,.055);
  --dee-glass-bg-strong: rgba(255,255,255,.085);
  --dee-glass-stroke: rgba(255,255,255,.16);
  --dee-glass-highlight: rgba(255,255,255,.22);
  --dee-glass-gold: rgba(210,171,88,.62);
  --dee-glass-shadow: 0 18px 48px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.10);
  --dee-glass-blur: 24px;
}
html { scroll-behavior: smooth; }
body {
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(197,155,68,.105), transparent 38%),
    radial-gradient(ellipse at 92% 18%, rgba(255,255,255,.045), transparent 34%);
  background-attachment: fixed;
}
:where(.site-header, .admin-header, header, .site-nav, .admin-sidebar,
       .admin-drawer, .mobile-menu, .nav-panel, .modal, .modal-content,
       .admin-modal, .dropdown-menu, .popover, .toast) {
  background-color: rgba(20,20,18,.72) !important;
  border: 1px solid var(--dee-glass-stroke) !important;
  box-shadow: var(--dee-glass-shadow);
  backdrop-filter: blur(var(--dee-glass-blur)) saturate(1.45);
  -webkit-backdrop-filter: blur(var(--dee-glass-blur)) saturate(1.45);
}
:where(.card, .panel, .admin-card, .stat-card, .release-card, .artist-card,
       .service-card, .submission-card, .dashboard-card, .settings-card,
       .form-card, .content-card, .feature-card, .metric-card, .table-wrap,
       .admin-section, .settings-panel, .editor-panel, .workspace-card) {
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025)) !important;
  border: 1px solid var(--dee-glass-stroke) !important;
  border-top-color: var(--dee-glass-highlight) !important;
  border-radius: 22px !important;
  box-shadow: var(--dee-glass-shadow) !important;
  backdrop-filter: blur(var(--dee-glass-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--dee-glass-blur)) saturate(1.35);
}
:where(input, select, textarea) {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(210,171,88,.34) !important;
  border-radius: 16px !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
  color: inherit;
}
:where(input, select, textarea):focus {
  border-color: rgba(220,181,99,.9) !important;
  box-shadow: 0 0 0 4px rgba(210,171,88,.15), inset 0 1px 3px rgba(0,0,0,.1) !important;
}
:where(button, .button, .btn, a.button, a.btn) {
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.16);
}
:where(.site-nav a, .admin-nav a, .admin-sidebar a, .admin-menu a) {
  border-radius: 14px;
  transition: background .24s ease, transform .24s ease, border-color .24s ease;
}
:where(.site-nav a, .admin-nav a, .admin-sidebar a, .admin-menu a):hover {
  background: rgba(210,171,88,.11);
  transform: translateY(-1px);
}
:where(.admin-section h2, .section-heading, .page-heading) {
  text-wrap: balance;
}
:where(table) {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
}
:where(th) {
  background: rgba(210,171,88,.10);
}
:where(td, th) {
  border-color: rgba(255,255,255,.10);
}
img, video {
  border-radius: 16px;
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes deeGlassRise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  :where(.card, .panel, .admin-card, .stat-card, .release-card, .artist-card,
         .service-card, .submission-card, .dashboard-card, .settings-card,
         .form-card, .content-card, .feature-card, .metric-card) {
    animation: deeGlassRise .48s cubic-bezier(.2,.75,.25,1) both;
  }
  :where(button, .button, .btn, .site-nav a, .admin-sidebar a) {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  }
  :where(button, .button, .btn):active { transform: scale(.975); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Light theme: retain readable glass surfaces instead of dark translucent panels. */
html[data-theme="light"] :where(.site-header, .admin-header, header, .site-nav,
  .admin-sidebar, .admin-drawer, .mobile-menu, .nav-panel, .modal,
  .modal-content, .admin-modal, .dropdown-menu, .popover, .toast) {
  background-color: rgba(255,255,255,.78) !important;
  border-color: rgba(35,35,35,.12) !important;
  box-shadow: 0 18px 48px rgba(35,35,35,.10), inset 0 1px 0 rgba(255,255,255,.75);
}
html[data-theme="light"] :where(.card, .panel, .admin-card, .stat-card,
  .release-card, .artist-card, .service-card, .submission-card,
  .dashboard-card, .settings-card, .form-card, .content-card,
  .feature-card, .metric-card, .table-wrap, .admin-section,
  .settings-panel, .editor-panel, .workspace-card) {
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(248,246,240,.72)) !important;
  border-color: rgba(35,35,35,.12) !important;
  border-top-color: rgba(255,255,255,.95) !important;
  box-shadow: 0 18px 48px rgba(35,35,35,.09), inset 0 1px 0 rgba(255,255,255,.8) !important;
}
html[data-theme="light"] :where(input, select, textarea) {
  background: rgba(255,255,255,.82) !important;
  color: #191919 !important;
  border-color: rgba(160,125,54,.34) !important;
}
html[data-theme="light"] :where(td, th) { border-color: rgba(35,35,35,.10); }
@media (max-width: 760px) {
  :where(.card, .panel, .admin-card, .stat-card, .release-card, .artist-card,
         .service-card, .submission-card, .dashboard-card, .settings-card,
         .form-card, .content-card, .feature-card, .metric-card) {
    border-radius: 18px !important;
    backdrop-filter: blur(17px) saturate(1.25);
    -webkit-backdrop-filter: blur(17px) saturate(1.25);
  }
}

/* Build 17.69 mobile fit and overflow safeguards */
html,body{max-width:100%;overflow-x:hidden}
img,video,iframe,canvas,svg{max-width:100%}
button,input,select,textarea{max-width:100%;min-width:0}
@media(max-width:640px){
  h1{font-size:clamp(26px,8vw,38px);line-height:1.12;overflow-wrap:anywhere}
  h2{overflow-wrap:anywhere}
  .container,.wrap,.shell,.main,.content,.page-content{max-width:100%;min-width:0}
  .grid,.cards,.card-grid{grid-template-columns:minmax(0,1fr)}
  .card,.panel,.section,.module{min-width:0;overflow-wrap:anywhere}
  table{display:block;max-width:100%;overflow-x:auto}
  .btn,button{white-space:normal}
}
