/* Dhi & Kin round 7: midnight + gold luxe layer. Loaded last. Remove its <link> and dk-lux.js to revert. */
:root{
 --a-bg2:#f6f1e7;--a-tx:#14110c;--a-mu:#6a6050;--a-acc:#8f6416;--a-line:rgba(120,90,30,.16);
 --lx-ink:#0a0907;--lx-ink2:#14110c;--lx-gold:#d9a93a;--lx-gold-hi:#f1d58a;--lx-ivory:#f6f1e8;
 --lx-gold-grad:linear-gradient(120deg,#f1d58a 0%,#d9a93a 45%,#a87a1c 100%);
 --lx-serif:'Augustine',Georgia,'Times New Roman',serif;
}
html,html body{background:#fffdf9!important;color:var(--a-tx)!important}

/* serif for the gold accent words: sans headlines + serif jewels */
html body .sec-title_heading span,html body .dk-hero-h1 span,html body h1 em,html body h2 em,html body .band h2 em{--a-font:var(--lx-serif);font-weight:600!important;letter-spacing:-.01em!important;font-style:normal}
html body .sec-title_heading,html body .dk-hero-h1,html body .dk-head h2{font-weight:650!important;letter-spacing:-.04em!important}
html body .sec-title_heading span,html body .dk-hero-h1 span{background:var(--lx-gold-grad)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}

/* eyebrow: small caps, wide tracking, gold diamond */
html body .sec-title_title,html body .tag,html body .dk-hero-pill{
 text-transform:uppercase!important;letter-spacing:.3em!important;font-size:11.5px!important;font-weight:600!important;color:var(--a-acc)!important}
html body .sec-title_title::before{display:inline-block!important;content:"\25C6"!important;width:auto!important;height:auto!important;background:none!important;margin-right:12px;font-size:8px;vertical-align:2px;transform:none!important}
html body .sec-title_title::after{display:none!important}

/* gold hairline at the top of each light section */
html body .page-wrapper section.dk:not(.dk-ideas):not(.dk-sis)::before{
 display:block!important;content:""!important;position:absolute!important;inset:auto!important;top:0;left:50%;transform:translateX(-50%);width:min(560px,62%);height:1px;z-index:1;
 background:linear-gradient(90deg,transparent,#c9962b,transparent)!important;opacity:.75}
html body .page-wrapper section.dk{background:#fffdf9!important}
html body .page-wrapper section.dk:nth-of-type(even){background:var(--a-bg2)!important}
html body .page-wrapper section.dk.dk-ideas,html body .page-wrapper section.dk.dk-sis{background:var(--lx-ink)!important}

/* ===== homepage hero: midnight + gold ===== */
html body .dk-hero{position:relative;overflow:hidden;color:var(--lx-ivory)!important;
 background:radial-gradient(900px 560px at 50% -8%,rgba(217,169,58,.30),transparent 62%),radial-gradient(700px 520px at 92% 42%,rgba(150,105,35,.22),transparent 60%),radial-gradient(600px 460px at 4% 70%,rgba(90,70,40,.35),transparent 60%),linear-gradient(180deg,#0a0907,#0f0c08 70%,#0a0907)!important}
html body .dk-hero::before{display:block!important;content:""!important;position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(520px circle at var(--mx,50%) var(--my,28%),rgba(241,213,138,.17),transparent 62%)}
html body .dk-hero-h1{color:var(--lx-ivory)!important}
html body .dk-hero-h1 span{filter:drop-shadow(0 0 28px rgba(217,169,58,.28))}
html body .dk-hero p,html body .dk-hero .lede{color:rgba(246,241,232,.72)!important}
html body .dk-hero-pill{color:var(--lx-gold-hi)!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(241,213,138,.28)!important;padding:9px 20px!important;border-radius:999px!important;display:inline-block!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important}
html body .dk-hero-stats b{font-family:var(--lx-serif)!important;--a-font:var(--lx-serif);background:var(--lx-gold-grad)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;font-weight:600!important}
html body .dk-hero-stats span{color:rgba(246,241,232,.6)!important;text-transform:uppercase!important;letter-spacing:.22em!important;font-size:11px!important}
html body .dk-hero .btn-style-two{color:var(--lx-gold-hi)!important;border-color:rgba(241,213,138,.55)!important}
html body .dk-hero .btn-style-two:hover{background:var(--lx-gold-hi)!important;color:#14110c!important}
html body .dk-hero .dk-reel{box-shadow:0 30px 60px rgba(0,0,0,.55),0 0 0 1px rgba(241,213,138,.14)}
html body .dk-strip{background:var(--lx-ink)!important;border-block:1px solid rgba(217,169,58,.28)!important}
html body .dk-strip div{color:#d8c79f!important}.dk-strip i{color:var(--lx-gold)!important}

/* header over the dark hero: transparent + light, then light glass once scrolled */
html body .main-header:not(.dk-scrolled){background:transparent!important;border-bottom-color:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .main-header:not(.dk-scrolled) .navigation>li>a{color:rgba(246,241,232,.86)!important}
html body .main-header:not(.dk-scrolled) .navigation>li>a:hover{color:var(--lx-gold-hi)!important}
html body .main-header:not(.dk-scrolled) .logo img{filter:brightness(0) invert(1)!important}
html body .main-header:not(.dk-scrolled) .main-header_buttons .btn-style-two{color:var(--lx-gold-hi)!important;border-color:rgba(241,213,138,.55)!important}
html body .main-header:not(.dk-scrolled) .dk-burger span,html body .main-header:not(.dk-scrolled) .dk-burger i{background:var(--lx-ivory)!important}
html body .main-header.dk-scrolled{background:rgba(255,253,249,.78)!important}

/* ===== luxe controls ===== */
html body .template-btn.btn-style-one,html body .cta,html body .nav nav a.cta2{
 background:var(--lx-gold-grad)!important;color:#1b1407!important;box-shadow:0 1px 0 rgba(255,255,255,.55) inset,0 10px 28px rgba(168,122,28,.32)!important}
html body .template-btn.btn-style-one:hover,html body .cta:hover{box-shadow:0 1px 0 rgba(255,255,255,.65) inset,0 16px 38px rgba(168,122,28,.45)!important;filter:brightness(1.05)}

/* ===== cards & tiles ===== */
html body .dk-card{border-radius:30px!important;background:#fff!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 22px 50px rgba(90,65,20,.10)!important;overflow:hidden}
html body .dk-card:hover{transform:translateY(-8px)!important;box-shadow:0 30px 70px rgba(90,65,20,.18),0 0 0 1px rgba(217,169,58,.5)!important}
html body .dk-card .b h3{font-weight:650!important;letter-spacing:-.03em!important}
html body .dk-card .n{color:var(--lx-gold)!important;font-family:var(--lx-serif);--a-font:var(--lx-serif)}
html body .dk-tile{border-radius:30px!important;background:#14110c!important;box-shadow:0 0 0 1px rgba(217,169,58,.14),0 24px 60px rgba(0,0,0,.45)!important}
html body .dk-tile:hover{box-shadow:0 0 0 1px rgba(241,213,138,.55),0 30px 70px rgba(0,0,0,.6)!important}
html body .dk-card img,html body .dk-tile img{transform:translate3d(0,var(--py,0px),0) scale(1.1)!important;transition:transform .9s cubic-bezier(.2,.7,.2,1)!important;will-change:transform}
html body .dk-card:hover img,html body .dk-tile:hover img{transform:translate3d(0,var(--py,0px),0) scale(1.16)!important}
html body .dk-w,html body .dk-post{border-radius:28px!important;box-shadow:0 18px 44px rgba(90,65,20,.09)!important}
html body .gp-press a,html body .dk-gp .gp-press a{box-shadow:0 14px 34px rgba(90,65,20,.08)}
html body .dk-gp .gp-facts span{border:1px solid rgba(217,169,58,.35);background:rgba(255,253,249,.9)}
html body .dk-gp .gp-vid,html body .dk-gp .gp-ph{box-shadow:0 40px 90px rgba(90,65,20,.28),0 0 0 1px rgba(217,169,58,.35)}

/* closing band + footer: obsidian with a gold glow */
html body .band{background:radial-gradient(700px 360px at 50% 0,rgba(217,169,58,.26),transparent 65%),var(--lx-ink)!important}
html body .band h2{color:var(--lx-ivory)!important}
html body footer,html body .main-footer{background:var(--lx-ink)!important;color:#a99f8a!important;border-top:1px solid rgba(217,169,58,.28)!important}
html body footer a,html body .main-footer li a{color:#e6d9b8!important}
html body footer a:hover,html body .main-footer li a:hover{color:var(--lx-gold-hi)!important}
html body .main-footer .footer-title,html body .main-footer h5{color:var(--lx-gold-hi)!important;text-transform:uppercase!important;letter-spacing:.22em!important;font-size:11.5px!important}
html body .main-footer .footer-newsletter{background:rgba(255,255,255,.05)!important;border:1px solid rgba(217,169,58,.25)!important;color:#d8c9a3!important}
html body .main-footer .footer-newsletter_text,html body .main-footer .footer-newsletter_text *{color:#cfc3a4!important}
html body .main-footer .footer-bottom,html body .main-footer .footer-copyright,html body .main-footer .footer-bottom *{color:#8d8472!important;border-color:rgba(217,169,58,.2)!important}
html body .main-footer .footer-logo img,html body footer .logo img{filter:brightness(0) invert(1)!important}
html body footer h2,html body footer h3{color:var(--lx-gold-hi)!important}

/* ===== inner pages ===== */
html body main.wrap{position:relative}
html body main.wrap::before{content:"";position:absolute;left:50%;top:-40px;transform:translateX(-50%);width:min(900px,100%);height:380px;background:radial-gradient(closest-side,rgba(217,169,58,.20),transparent 72%);pointer-events:none;z-index:-1}
html body main.wrap h1{font-weight:650!important}
html body main.wrap h2{font-weight:650!important}
html body main.wrap h2::before{content:"";display:block;width:44px;height:2px;background:var(--lx-gold-grad);margin-bottom:16px;border-radius:2px}
html body main.wrap .stats b{font-family:var(--lx-serif)!important;--a-font:var(--lx-serif);background:var(--lx-gold-grad)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;font-weight:600!important}
html body main .card,html body main .post,html body main .qa details,html body main .vid,html body main .stats,html body main .sp-card{background:var(--a-bg2)!important;box-shadow:0 1px 0 rgba(255,255,255,.8) inset!important}
html body main .card:hover,html body main .post:hover{box-shadow:0 22px 50px rgba(90,65,20,.14),0 0 0 1px rgba(217,169,58,.45)!important}
html body .nav{background:rgba(255,253,249,.72)!important}
html body .qa details[open]{box-shadow:0 0 0 1px rgba(217,169,58,.5)!important}
html body main p a,html body main li a{color:#8f6416!important}

/* focus + selection */
:focus-visible{outline:2px solid var(--lx-gold)!important;outline-offset:3px}
::selection{background:#f1d58a;color:#14110c}
#dkProg{background:var(--lx-gold-grad)!important;height:2px}

@media(max-width:768px){
 html body .dk-hero::before{display:none!important}
 html body .page-wrapper section.dk:not(.dk-ideas):not(.dk-sis)::before{width:70%}
}
@media(prefers-reduced-motion:reduce){html body .dk-card img,html body .dk-tile img{transform:scale(1.04)!important}}

/* nav pill: the bar itself is the glass, so the pill and list stay clear */
html body .main-header .main-menu,html body .main-header nav.main-menu,html body .main-header ul.navigation{background:transparent!important;box-shadow:none!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* softer hero spotlight */
html body .dk-hero::before{background:radial-gradient(420px circle at var(--mx,50%) var(--my,22%),rgba(241,213,138,.09),transparent 62%)!important}
html body .main-header .nav-outer .main-menu,html body .main-header .header-lower .main-menu .navigation,html body .main-header .header-lower .main-menu,html body .main-header.header-style-one .header-lower .main-menu .navigation{background:transparent!important;box-shadow:none!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .dk-hero{background:radial-gradient(900px 520px at 50% -10%,rgba(217,169,58,.24),transparent 62%),radial-gradient(700px 520px at 92% 42%,rgba(150,105,35,.18),transparent 60%),radial-gradient(600px 460px at 4% 70%,rgba(90,70,40,.30),transparent 60%),linear-gradient(180deg,#0a0907,#0f0c08 70%,#0a0907)!important}
html body .dk-hero{isolation:isolate}
html body .dk-hero-glow,html body .dk-hero::after{display:none!important}
html body .dk-hero .btn-style-two .text-one,html body .dk-hero .btn-style-two .text-two,html body .dk-hero .btn-style-two span,html body .main-header:not(.dk-scrolled) .btn-style-two span{color:inherit!important}
html body .dk-hero .btn-style-two:hover span{color:#14110c!important}
/* contrast: deep gold on light sections, bright gold on dark ones */
html body .sec-title_heading span,html body main h1 em,html body main h2 em{background:linear-gradient(120deg,#c9962b 0%,#a87a1c 50%,#7d5710 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
html body .dk-hero .dk-hero-h1 span,html body .dk-ideas .sec-title_heading span,html body .dk-sis .sec-title_heading span,html body .band h2 em,html body .dk-ideas h2 span,html body .dk-sis h2 span{background:var(--lx-gold-grad)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
html body .page-wrapper section.dk:not(.dk-ideas):not(.dk-sis)::before{left:50%!important;top:0!important;right:auto!important;bottom:auto!important}
/* header floats over the hero at every width (it was in-flow on phones) */
html body .main-header{position:fixed!important;top:0!important;left:0!important;width:100%!important;z-index:1000}
@media(max-width:991px){html body .main-header:not(.dk-scrolled) .dk-burger{border-color:rgba(241,213,138,.4)!important;background:rgba(255,255,255,.08)!important}
html body .main-header.dk-open{background:rgba(10,9,7,.96)!important}
html body .main-header.dk-open .navigation>li>a{color:var(--lx-ivory)!important}}

/* every dark section: light headings and copy (the space section was inheriting dark ink) */
html body .dk-sis .sec-title_heading,html body .dk-sis h1,html body .dk-sis h2,html body .dk-sis h3,html body .dk-sis h4,html body .dk-ideas .sec-title_heading,html body .dk-ideas h2,html body .dk-ideas h3,html body .band h2,html body .band h3{color:var(--lx-ivory)!important}
html body .dk-sis p,html body .dk-sis li,html body .dk-sis small,html body .dk-sis .dk-lead{color:rgba(246,241,232,.74)!important}
html body .dk-sis p a,html body .dk-sis a:not(.template-btn):not(.dk-sp){color:var(--lx-gold-hi)!important}
html body .dk-sis .sec-title_title{color:var(--lx-gold-hi)!important}
html body .dk-sis .btn-style-two{color:var(--lx-gold-hi)!important;border-color:rgba(241,213,138,.55)!important}
html body .dk-sis .btn-style-two span{color:inherit!important}
html body .dk-sis .btn-style-two:hover{background:var(--lx-gold-hi)!important;color:#14110c!important}
html body .dk-sis .btn-style-two:hover span{color:#14110c!important}
/* header stays legible over dark sections */
html body .main-header.dk-scrolled{background:rgba(255,253,249,.95)!important;box-shadow:0 1px 0 rgba(120,90,30,.14),0 10px 30px rgba(20,17,12,.12)!important}
html body .nav{background:rgba(255,253,249,.94)!important}
