/* Beki Tech "Gold & Ivory" theme (v16). Loaded after site.css, so removing its <link> in includes/layout.php restores the old dark look.
   Light pages (ivory) with dark bands: header, hero, tech strip, call-to-action boxes and footer. One gold accent, no rainbow colours. */

/* ---------- light base ---------- */
html:has(body.site){color-scheme:light}
body.site{
  --bg:#F6F2E9; --bg2:#FFFFFF; --ink:#1A1610; --muted:#5C5547; --line:rgba(26,22,16,.15); --card:#FFFFFF;
  --accent:#8A6200; --cyan:#8A6200; --gold:#8A6200; --violet:#8A6200; --orchid:#8A6200; --mint:#0B6B49;
  --brand:#F5B83D;
  --ok-bg:rgba(11,107,73,.10); --warn-bg:rgba(201,143,18,.15); --bad-bg:rgba(164,32,47,.09);
  --grad:linear-gradient(120deg,#C98F12,#F5B83D 52%,#C98F12);
  background:var(--bg); color:var(--ink);
}
body.site ::selection{background:rgba(245,184,61,.55);color:#1A1610}
body.site :focus-visible{outline-color:#8A6200}

/* ---------- dark bands ---------- */
body.site :is(.sh,.hero,.stackbar,.sf,.cta,.page-hero){
  --bg:#0B0A08; --bg2:#15130F; --ink:#F6F2E8; --muted:#C9C3B5; --line:rgba(246,242,232,.15); --card:rgba(255,255,255,.05);
  --accent:#F5B83D; --cyan:#F5B83D; --gold:#F5B83D; --violet:#D98E1F; --orchid:#FFF1B8; --mint:#3EE6B0;
  --grad:linear-gradient(120deg,#fff1b8,#f5b83d 52%,#d98e1f);
  color:var(--ink);
}
body.site .sh,body.site .sh.scrolled{background:rgba(11,10,8,.94)}
body.site .hero{background:#0B0A08}
body.site .stackbar{background:#0B0A08;-webkit-mask-image:none;mask-image:none;border-color:rgba(246,242,232,.1)}
body.site .sf{background:#0B0A08}
body.site .page-hero{background:#0B0A08;position:relative;isolation:isolate;padding-bottom:calc(clamp(20px,3vw,36px) + 16px)}
@media(max-width:1240px){body.site .sh-nav{background:rgba(11,10,8,.98)}}

/* hero + page heroes: a faint woven pattern instead of the old glowing photo */
body.site .hero::before{background:url(/assets/art/weave-dim.svg) 0 0/48px!important;opacity:1!important;height:100%!important;inset:0!important;
  -webkit-mask-image:linear-gradient(100deg,transparent 5%,#000 75%);mask-image:linear-gradient(100deg,transparent 5%,#000 75%)}
body.site .hero::after{display:none}
body.site .page-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:url(/assets/art/weave-dim.svg) 0 0/48px;
  -webkit-mask-image:linear-gradient(100deg,transparent 10%,#000 80%);mask-image:linear-gradient(100deg,transparent 10%,#000 80%)}
body.site .cta::before{background:linear-gradient(90deg,rgba(11,10,8,.94) 0%,rgba(11,10,8,.55) 100%),url(/assets/art/weave-dim.svg) 0 0/48px}
body.site .cta{border-color:rgba(246,242,232,.12)}

/* the Ethiopian-weave border between dark and light bands */
body.site .page-hero::after,body.site .sf::before{content:"";position:absolute;left:0;right:0;height:16px;background:url(/assets/art/band.svg) 0 0/64px 16px repeat-x}
body.site .page-hero::after{bottom:0}
body.site .sf{position:relative;margin-top:16px;border-top:0}
body.site .sf::before{top:-16px}
body.site .stackbar{position:relative;margin-bottom:16px}
body.site .stackbar::after{content:"";position:absolute;left:0;right:0;bottom:-16px;height:16px;background:url(/assets/art/band.svg) 0 0/64px 16px repeat-x}

/* ---------- buttons, forms ---------- */
body.site .btn{box-shadow:0 1px 0 rgba(26,22,16,.25)}
body.site .btn:hover{box-shadow:0 8px 20px -10px rgba(138,98,0,.7)}
body.site .btn.ghost{background:transparent;color:var(--ink);border-color:rgba(26,22,16,.32);box-shadow:none}
body.site .btn.ghost:hover{background:rgba(245,184,61,.18);border-color:#8A6200}
body.site :is(.hero,.cta,.page-hero,.sf,.sh) .btn.ghost{background:rgba(255,255,255,.06);border-color:rgba(246,242,232,.3);color:var(--ink)}
body.site :is(.hero,.cta,.page-hero,.sf,.sh) .btn.ghost:hover{background:rgba(245,184,61,.12);border-color:#F5B83D}
body.site :is(.hero,.cta,.page-hero) .btn{box-shadow:0 12px 30px -14px rgba(245,184,61,.8)}

body.site :is(input[type=text],input[type=tel],input[type=email],input[type=number],input[type=password],input[type=url],textarea,select),
body.site :is(.qform,.cform) select{background:#fff;border:1px solid rgba(26,22,16,.28);color:#1A1610}
body.site input::placeholder,body.site textarea::placeholder{color:#756E60}
body.site select option{background:#fff;color:#1A1610}
body.site input:focus,body.site textarea:focus,body.site select:focus{outline:2px solid #8A6200;border-color:#8A6200}
body.site .pay,body.site .method{background:#fff;border-color:var(--line)}
body.site .method:has(input:checked){background:rgba(245,184,61,.16);border-color:#8A6200}
body.site .notice.ok,body.site .badge.confirmed{color:#0B6B49}
body.site .notice.err,body.site .badge.rejected{color:#A4202F}
body.site .notice.warn,body.site .badge.pending{color:#7A5200}
body.site .learn-prog .bar{background:rgba(26,22,16,.1)}
body.site .sv-nav a:hover{background:rgba(26,22,16,.05)}
body.site .pimg,body.site .pcard-img,body.site .post-img,body.site .post-img .work-ph,body.site .feat-img,body.site .feat-img .work-ph{background:#EFE8D8}
body.site .gbtn{border-color:rgba(26,22,16,.2)}

/* ---------- one gold accent everywhere (service pages used five different colours) ---------- */
body.site [style*="--tint"]{--tint:#8A6200!important}
body.site :is(.hero,.cta,.page-hero,.sf,.sh) [style*="--tint"],body.site .page-hero[style*="--tint"]{--tint:#F5B83D!important}
body.site .sv-ic,body.site .row-ic{background:rgba(245,184,61,.14)}

/* ---------- cards on ivory: white, hairline border, soft lift ---------- */
body.site :is(.svcard,.why-card,.pcard,.review,.acct-band,.auth-card,.tier,.card,.faq details){box-shadow:0 1px 0 rgba(26,22,16,.04),0 22px 44px -32px rgba(26,22,16,.38)}
body.site .svcard::before{display:none}
body.site .svcard:hover,body.site .why-card:hover,body.site .pcard:hover{border-color:#C98F12;box-shadow:0 1px 0 rgba(26,22,16,.04),0 26px 50px -30px rgba(138,98,0,.55)}
body.site .why-ic{background:rgba(245,184,61,.2);border-color:rgba(138,98,0,.35);color:#8A6200}
body.site .kicker,body.site .about-tags i{color:#8A6200}
body.site .about-tags span{border-color:rgba(138,98,0,.4)}
body.site .about-art{background:radial-gradient(70% 70% at 50% 40%,rgba(245,184,61,.22),transparent 70%),#FFFFFF}
body.site .proc-n,body.site .geez{background:#fff;color:#8A6200;border-color:#C98F12}

/* ---------- service illustrations ---------- */
.svcard-art{display:block;width:calc(100% + 52px);max-width:none;height:auto;aspect-ratio:16/10;margin:-26px -26px 10px;border-bottom:1px solid var(--line)}
.sv-hero-grid{display:grid;gap:28px;align-items:center}
.sv-hero-art{display:block;width:100%;max-width:420px;height:auto;border-radius:20px;justify-self:center;border:2.5px solid #1A1610;box-shadow:10px 10px 0 #F5B83D}
@media(min-width:860px){.sv-hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:56px}.sv-hero-art{justify-self:end}}

/* ---------- home hero art ---------- */
.hero-art{position:relative;width:100%;max-width:580px;margin:0 auto}
.hero-art>img{display:block;width:100%;height:auto}
/* real portfolio screenshots in frames (shown automatically when projects with images exist) */
.dv{margin:0;background:#fff;border:2.5px solid #1A1610;overflow:hidden}
.dv-browser{border-radius:14px;box-shadow:12px 12px 0 #F5B83D}
.dv-bar{position:relative;display:flex;align-items:center;gap:6px;height:32px;padding:0 12px;background:#fff;border-bottom:2.5px solid #1A1610;color:#5C5547;font-size:12px}
.dv-bar i{width:9px;height:9px;border-radius:50%;background:#F5B83D;border:1.5px solid #1A1610}
.dv-bar i+i{background:#fff}
.dv-bar span{margin-left:10px;flex:1;min-width:0;height:18px;line-height:15px;padding:0 10px;border:1.5px solid #1A1610;border-radius:9px;background:#F6F2E9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dv-browser img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}
.dv-phone{position:absolute;right:-3%;bottom:-9%;width:30%;border-radius:22px;padding:7px;box-shadow:9px 9px 0 #F5B83D}
.dv-phone img{display:block;width:100%;aspect-ratio:9/17;object-fit:cover;object-position:top;border-radius:15px}
.hero-art.has-shots{padding:0 0 9% 0;max-width:560px}

/* portfolio cards: every screenshot sits in a browser frame */
body.site .work-img{position:relative;border:2.5px solid #1A1610;border-radius:12px;background:#EFE8D8;box-shadow:6px 6px 0 #F5B83D;transition:transform .3s,box-shadow .3s}
body.site .work-img::before{content:"";position:absolute;left:0;right:0;top:0;height:24px;background:#fff;border-bottom:2.5px solid #1A1610;z-index:1}
body.site .work-img::after{content:"";position:absolute;left:10px;top:8px;width:8px;height:8px;border-radius:50%;background:#F5B83D;box-shadow:14px 0 #1A1610,28px 0 #CFC6B0;z-index:2}
body.site .work-img img{position:absolute;left:0;top:24px;width:100%;height:calc(100% - 24px);object-position:top}
body.site .work-img .work-ph{position:absolute;inset:24px 0 0 0;display:grid;place-items:center;color:#8A6200}
body.site .work a:hover .work-img{transform:translate(-2px,-2px);box-shadow:9px 9px 0 #F5B83D}

/* the old animated hero parts are no longer used */
.dev,.dev-glow{display:none}

@media(prefers-reduced-motion:reduce){body.site .work-img{transition:none}}

/* full-width pages: no ivory gap under the header; breathing room below a page hero */
body.site main:not(.page){padding-top:0}
body.site .page-hero+*{margin-top:clamp(28px,4vw,48px)}

/* ---------- motion ---------- */
.svcard-art{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
body.site .svcard{overflow:hidden}
body.site .svcard:hover .svcard-art{transform:scale(1.05)}
body.site .svcard:hover .svcard-art{animation:none}
.hero-art{transition:transform .25s ease-out;will-change:transform}
.hero-art>img,.sv-hero-art{animation:heroin 1s cubic-bezier(.2,.7,.2,1) both}
@keyframes heroin{from{opacity:0;transform:translateY(24px) scale(.96)}}
/* woven pattern drifts slowly behind the hero */
body.site .hero::before,body.site .page-hero::before{animation:drift 60s linear infinite}
@keyframes drift{to{background-position:96px 48px}}
/* gold border band shimmer on the buttons */
body.site .btn:not(.ghost){background-size:200% 100%;transition:background-position .5s,transform .2s,box-shadow .2s}
body.site .btn:not(.ghost):hover{background-position:100% 0;transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){body.site .hero::before,body.site .page-hero::before,.hero-art>img,.sv-hero-art{animation:none}.svcard-art,.hero-art{transition:none}}
.hero-art.rise{animation:none}

/* ---------- rich animated hero scene (pure HTML/CSS, no image) ---------- */
.hs{position:relative;aspect-ratio:600/480;width:100%;max-width:580px;margin:0 auto;color:#F6F2E8}
.hs-orb{position:absolute;border-radius:50%;filter:blur(44px);pointer-events:none}
.hs-o1{width:62%;aspect-ratio:1;left:-6%;top:6%;background:radial-gradient(circle,rgba(245,184,61,.55),transparent 68%);animation:orb 9s ease-in-out infinite}
.hs-o2{width:48%;aspect-ratio:1;right:-4%;bottom:0;background:radial-gradient(circle,rgba(217,142,31,.45),transparent 68%);animation:orb 11s ease-in-out -4s infinite}
@keyframes orb{50%{transform:translate(18px,-14px) scale(1.12)}}
.hs-win{position:absolute;left:2%;top:7%;width:80%;border-radius:18px;background:linear-gradient(160deg,rgba(38,33,24,.96),rgba(18,16,12,.96));border:1px solid rgba(245,184,61,.35);box-shadow:0 40px 80px -30px #000,0 0 0 1px rgba(255,255,255,.04) inset,0 0 60px -20px rgba(245,184,61,.45);animation:fl 7s ease-in-out infinite}
.hs-bar{display:flex;align-items:center;gap:6px;padding:12px 14px;border-bottom:1px solid rgba(246,242,232,.1)}
.hs-bar i{width:9px;height:9px;border-radius:50%;background:#F5B83D}.hs-bar i+i{background:#6b6454}.hs-bar i+i+i{background:#3b362b}
.hs-bar span{margin-left:12px;font-size:11px;color:#C9C3B5;background:rgba(255,255,255,.06);border-radius:99px;padding:3px 12px}
.hs-body{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;padding:22px 20px 26px;align-items:end;min-height:230px}
.hs-code{display:grid;gap:12px;align-self:start}
.hs-code b{display:block;height:9px;border-radius:5px;width:var(--w);background:linear-gradient(90deg,#F5B83D,#FFE29A);transform-origin:left;animation:type 4.8s ease-in-out infinite}
.hs-code b:nth-child(even){background:rgba(246,242,232,.3)}
.hs-code b:nth-child(2){animation-delay:.25s}.hs-code b:nth-child(3){animation-delay:.5s}.hs-code b:nth-child(4){animation-delay:.75s}.hs-code b:nth-child(5){animation-delay:1s}
@keyframes type{0%{transform:scaleX(0)}22%,86%{transform:scaleX(1)}100%{transform:scaleX(0)}}
.hs-chart{display:flex;align-items:flex-end;gap:9px;height:130px}
.hs-chart u{flex:1;height:var(--h);border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#FFE29A,#D98E1F);transform-origin:bottom;animation:grow 4.8s cubic-bezier(.3,.8,.3,1) infinite}
.hs-chart u:nth-child(2){animation-delay:.12s}.hs-chart u:nth-child(3){animation-delay:.24s}.hs-chart u:nth-child(4){animation-delay:.36s}.hs-chart u:nth-child(5){animation-delay:.48s}.hs-chart u:nth-child(6){animation-delay:.6s}
@keyframes grow{0%{transform:scaleY(.08)}30%,86%{transform:scaleY(1)}100%{transform:scaleY(.08)}}
.hs-phone{position:absolute;right:2%;bottom:3%;width:29%;aspect-ratio:9/17.5;border-radius:26px;padding:34px 12px 14px;background:linear-gradient(170deg,#2a251b,#120f0a);border:1px solid rgba(245,184,61,.45);box-shadow:0 30px 60px -20px #000,0 0 40px -14px rgba(245,184,61,.5);display:flex;flex-direction:column;gap:9px;animation:fl 6s ease-in-out -2s infinite}
.hs-notch{position:absolute;top:10px;left:50%;width:34%;height:9px;border-radius:9px;background:#000;transform:translateX(-50%)}
.hs-msg{display:flex;align-items:center;gap:6px;padding:8px;border-radius:12px;background:rgba(255,255,255,.08);color:#F5B83D;animation:pop 4.8s ease-out infinite}
.hs-msg b{flex:1;height:6px;border-radius:4px;background:rgba(246,242,232,.45)}
.hs-msg.a{background:rgba(245,184,61,.2)}
.hs-msg:nth-of-type(2){animation-delay:.5s}.hs-msg:nth-of-type(3){animation-delay:1s}
@keyframes pop{0%{opacity:0;transform:translateY(8px)}14%,88%{opacity:1;transform:none}100%{opacity:0}}
.hs-btn{margin-top:auto;height:26px;border-radius:99px;background:linear-gradient(120deg,#FFE29A,#F5B83D 60%,#D98E1F)}
.hs-chip{position:absolute;width:48px;height:48px;border-radius:15px;display:grid;place-items:center;color:#1A1610;background:linear-gradient(135deg,#FFE29A,#F5B83D);box-shadow:0 14px 30px -10px rgba(245,184,61,.7);animation:fl 5s ease-in-out infinite}
.hs-chip svg{width:22px;height:22px}
.hs-c1{left:-3%;bottom:20%;animation-delay:-1s}.hs-c2{right:-2%;top:2%;animation-delay:-2.5s;background:#fff}.hs-c3{left:35%;bottom:-2%;animation-delay:-3.5s;width:42px;height:42px;background:#fff}.hs-c4{left:-1%;top:0;animation-delay:-.5s;background:rgba(255,255,255,.1);color:#F5B83D;border:1px solid rgba(245,184,61,.5);box-shadow:none;backdrop-filter:blur(6px)}
@media(max-width:560px){.hs-chip{transform:scale(.8)}}
@media(prefers-reduced-motion:reduce){.hs *,.hs{animation:none!important}}
@keyframes fl{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.hs-body{padding-right:24%}.hs-chart{height:120px}
