html{scroll-padding-top:72px}
body{padding-bottom:110px}

/* —— DEKOVEN floating flame player —— */
.dk-player{
  --p:0;
  --ember:#ff9a3c;
  --blood:#c4202f;
  --ink:#f2ece6;
  --dim:#9d9089;
  --glass:rgba(8,6,6,.78);
  position:fixed;left:12px;right:12px;bottom:14px;z-index:90;
  display:flex;align-items:center;gap:12px;
  width:min(420px,calc(100vw - 24px));
  margin:0 auto;padding:10px 12px 10px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(42,8,10,.55),var(--glass) 42%,rgba(5,5,5,.88));
  border:1px solid rgba(196,32,47,.35);
  backdrop-filter:blur(18px) saturate(1.2);
  box-shadow:
    0 0 0 1px rgba(255,154,60,.08) inset,
    0 18px 40px -18px rgba(0,0,0,.85),
    0 0 28px -10px rgba(196,32,47,.45);
  transition:border-color .25s,box-shadow .25s,transform .2s;
}
.dk-player.playing{
  border-color:rgba(255,154,60,.45);
  box-shadow:
    0 0 0 1px rgba(255,154,60,.12) inset,
    0 18px 40px -18px rgba(0,0,0,.85),
    0 0 36px -8px rgba(196,32,47,.65);
}

/* circular progress ring + flame core */
.dk-ring{
  position:relative;flex:0 0 auto;
  width:58px;height:58px;border-radius:50%;
  background:
    conic-gradient(from -90deg,var(--blood) 0 calc(var(--p) * 1turn),rgba(58,34,36,.9) 0);
  display:grid;place-items:center;
  box-shadow:0 0 18px -4px rgba(196,32,47,.55);
}
.dk-ring::before{
  content:"";position:absolute;inset:3px;border-radius:50%;
  background:#0a0707;
  box-shadow:inset 0 0 12px rgba(0,0,0,.8);
}
.dk-flame{
  position:absolute;inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);
  border-radius:50%;z-index:1;pointer-events:none;
}
.dk-core{
  position:relative;z-index:2;
  width:34px;height:34px;border-radius:50%;border:0;
  display:grid;place-items:center;cursor:pointer;
  background:radial-gradient(circle at 35% 30%,#2a0a0c,#120808 70%);
  color:var(--ink);
  box-shadow:0 0 0 1px rgba(255,154,60,.25),0 4px 12px rgba(0,0,0,.45);
  transition:transform .15s ease,box-shadow .2s;
}
.dk-core:hover{transform:scale(1.06);box-shadow:0 0 0 1px rgba(255,154,60,.5),0 0 16px rgba(196,32,47,.55)}
.dk-core:active{transform:scale(.96)}
.dk-core svg{width:14px;height:14px;fill:currentColor}
.dk-core img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:none}
.dk-player.playing .dk-core img{display:block}
.dk-player.playing .dk-core svg{display:none}

.dk-meta{flex:1;min-width:0;display:grid;gap:7px;align-content:center}
.dk-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.dk-title{
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.dk-player.playing .dk-title{color:#ff6b74;text-shadow:0 0 12px rgba(196,32,47,.45)}
.dk-time{
  font-size:11px;color:var(--dim);font-variant-numeric:tabular-nums;flex:0 0 auto;
}
/* volume sits ABOVE the seek line so it never hides under the timer */
.dk-volrow{
  position:relative;z-index:2;
  display:flex;align-items:center;gap:8px;
  min-height:16px;padding:1px 0;
}
.dk-volrow svg{
  width:12px;height:12px;flex:0 0 auto;opacity:.75;
  fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  color:var(--dim);
}
.dk-volrow input[type=range]{
  flex:1;height:4px;margin:0;padding:0;cursor:pointer;
  accent-color:var(--ember);background:transparent;position:relative;z-index:2;
}
.dk-volrow span{
  font-size:10px;color:var(--dim);min-width:2.2em;text-align:right;
  font-variant-numeric:tabular-nums;
}
.dk-bar{
  position:relative;z-index:1;
  height:14px;display:flex;align-items:center;
  margin-top:2px;
}
.dk-bar input[type=range]{
  width:100%;height:3px;margin:0;padding:0;cursor:pointer;
  accent-color:var(--blood);background:transparent;
}

.dk-side{
  display:flex;flex-direction:column;gap:6px;flex:0 0 auto;
}
.dk-pbtn{
  width:34px;height:34px;border-radius:50%;border:1px solid rgba(58,34,36,.9);
  display:grid;place-items:center;cursor:pointer;color:var(--ink);
  background:rgba(18,12,12,.7);transition:transform .15s,border-color .2s,box-shadow .2s;
}
.dk-pbtn:hover{border-color:var(--ember);box-shadow:0 0 12px rgba(255,154,60,.25);transform:scale(1.05)}
.dk-pbtn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

@media (min-width:720px){
  .dk-player{left:50%;right:auto;transform:translateX(-50%)}
}
@media (max-width:420px){
  .dk-volrow span{display:none}
  body{padding-bottom:104px}
}
@media (prefers-reduced-motion:reduce){
  .dk-player,.dk-core,.dk-pbtn{transition:none}
  .dk-flame{opacity:.35}
}

/* brand mark */
.nav .logo,.foot-brand .logo,.logo-w,.logo-c{object-fit:contain;border-radius:50%}
.nav .logo{height:52px;width:52px}
.nav.scrolled .logo{height:42px;width:42px}
footer .logo,.foot-brand .logo{height:72px;width:72px}

/* nav: pull logo + CTA into the same content grid as .wrap */
.nav .wrap{
  width:min(1180px,100% - 32px) !important;
  margin-inline:auto;
  padding-inline:0;
  box-sizing:border-box;
}
.nav .wrap > a:first-child{
  display:inline-flex;align-items:center;
  padding-left:12px;padding-right:8px;
}
.nav .right{padding-right:12px}
.nav .right > .btn.sm{
  margin-right:4px;
  padding-right:22px;
  padding-left:18px;
}

/* logo-matched multi-bevel gold rim (navbar / hero primary / footer CTAs) */
:root{
  --dk-gold-border:linear-gradient(135deg,#6b5218 0%,#f5e6a8 18%,#d4af37 36%,#8a6a20 52%,#f0d78c 70%,#a67c2a 86%,#5c4514 100%);
}
.btn.gold-rim,
.nav .right > a.btn.sm,
.hero .ctas .btn.glow,
.final .ctas .btn.glow,
.foot-actions .btn{
  border:2px solid transparent !important;
  background:
    linear-gradient(#c4202f,#a3131f) padding-box,
    var(--dk-gold-border) border-box !important;
  color:#fff !important;
  box-shadow:
    0 0 0 1px rgba(212,175,55,.28),
    0 0 16px rgba(212,175,55,.32),
    0 0 28px rgba(196,32,47,.28),
    inset 0 1px 0 rgba(255,236,180,.35),
    inset 0 -1px 0 rgba(90,60,10,.35) !important;
  text-decoration:none;
  animation:goldPulse 2.8s ease-in-out infinite;
}
.btn.gold-rim:hover,
.nav .right > a.btn.sm:hover,
.hero .ctas .btn.glow:hover,
.final .ctas .btn.glow:hover,
.foot-actions .btn:hover{
  background:
    linear-gradient(#d42535,#b31420) padding-box,
    var(--dk-gold-border) border-box !important;
  box-shadow:
    0 0 0 1px rgba(240,215,140,.5),
    0 0 22px rgba(212,175,55,.5),
    0 0 34px rgba(196,32,47,.4),
    inset 0 1px 0 rgba(255,245,210,.45) !important;
}
@keyframes goldPulse{
  0%,100%{filter:brightness(1)}
  50%{filter:brightness(1.06)}
}
@media (prefers-reduced-motion:reduce){
  .btn.gold-rim,.nav .right > a.btn.sm,.hero .ctas .btn.glow,.final .ctas .btn.glow,.foot-actions .btn{animation:none}
}

/* smoother scroll + AOS-friendly motion */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
[data-aos]{will-change:transform,opacity}
.aos-animate{will-change:auto}

/* one golden curve — sitewide */
.dk-gold-curve{
  position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;
}
.dk-gold-curve svg{
  position:absolute;left:-8%;top:0;width:116%;height:100%;
  min-height:100vh;min-height:100dvh;
}
.dk-gold-curve path{
  fill:none;
  stroke:url(#dkGoldGrad);
  stroke-width:1.35;
  stroke-linecap:round;
  filter:drop-shadow(0 0 6px rgba(212,175,55,.35));
  opacity:.55;
}
:root[data-theme="light"] .dk-gold-curve path{opacity:.38}
.nav,.mnav,main,footer,.dk-player{position:relative;z-index:1}
.nav{z-index:80}
.mnav{z-index:79}
.gate{position:fixed;z-index:300}
.dk-player{z-index:90}
