/* =========================================================
   FLAT — solid colours, no decorative gradients or colour glows.
   Palette: #250902 · #38040E · #640D14 · #800E13 · #AD2831
   (loaded last: overrides earlier styles)
   ========================================================= */
:root {
  --bg: #160403;
  --card: #250902;
  --surface: #250902;
  --surface-2: #250902;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(173, 40, 49, .3);
  --ink: #fbeff0;
  --ink-2: #dcbfc2;
  --ink-3: #a8868a;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .8);
}

/* ---------- page background ---------- */
body { background: var(--bg); }
.aurora, .cursor-glow, .hero__visual::before, .play::before, .contact::before { display: none !important; }

/* ---------- text: no gradient fills ---------- */
.grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--c-500); }
.hero__name { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink); filter: none; }
.glitch::before { background: none; color: var(--c-300); }
.glitch::after { background: none; color: var(--c-500); }
.hero__lead strong { background-image: linear-gradient(var(--c-500), var(--c-500)); }

/* ---------- bars / lines ---------- */
.progress, .boot__bar i, .sec-rule, .nav__links a::before { background: var(--c-500); }
.sec-rule::after, .orbit i::after, .cur-dot { box-shadow: none; }
.process::before { background: rgba(173, 40, 49, .3); }
.xh-v, .xh-h { background: rgba(236, 122, 128, .22); }
.portrait__img::before { height: 1px; box-shadow: none; background: rgba(236, 122, 128, .75); }

/* ---------- buttons ---------- */
.btn::before { display: none; }
.btn--primary { background: var(--c-500); border-color: var(--c-500); color: #fff; box-shadow: none; }
.btn--primary:hover { background: #cf3f49; border-color: #cf3f49; box-shadow: none; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .14); backdrop-filter: none; }
.btn--ghost:hover { background: rgba(173, 40, 49, .08); border-color: var(--c-500); }
.df-btn--go { background: var(--c-500); border-color: var(--c-500); color: #fff; }

/* ---------- portrait ---------- */
.portrait__ring { background: none; animation: none; border: 1.5px solid rgba(173, 40, 49, .55); }
.portrait__img::after { background: none; }
.portrait__badge { background: var(--card); backdrop-filter: none; border-color: var(--line); }
.portrait__badge::after { display: none; }
.portrait__badge .ico { background: var(--c-500); color: #fff; }
.chip { background: var(--card); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow); backdrop-filter: none; }

/* ---------- cards: solid + thin border, violet border on hover ---------- */
.svc, .proj, .stack__g, .step, .gtab, .xp, .term, .bd-result, .contact, .hero__stats li, .pills li, .cinfo__item, .langs { background: var(--card); border-color: var(--line); box-shadow: none; }
.svc::before { display: none; }
.svc::after, .proj::after, .stack__g::after, .step::after, .gtab::after { display: none; }
.svc:hover, .proj:hover, .stack__g:hover, .step:hover, .gtab:hover { border-color: var(--c-500); }
.svc__ic { background: rgba(173, 40, 49, .12); border: 1px solid rgba(173, 40, 49, .3); box-shadow: none; }
.svc__ic .ico { color: var(--c-500); }
.gtab.is-active { background: rgba(173, 40, 49, .1); border-color: var(--c-500); box-shadow: none; }
.game-shell { background: #1f0607; border-color: var(--line); box-shadow: var(--shadow); }
.term { background: #120302; }
.term__head { background: #1f0607; }
.marquee { background: #1f0607; }
.step .ico { box-shadow: none; background: var(--c-500); color: #fff; }
.xp__side { background: rgba(173, 40, 49, .07); }
.xp__logo { background: var(--c-500); color: #fff; box-shadow: none; }
#radar .r-shape { filter: none; fill: rgba(173, 40, 49, .22); }

/* ---------- projects: flat thumbnails ---------- */
.proj__thumb--1, .proj__thumb--3, .proj__thumb--5 { background: #2e0a10; }
.proj__thumb--2, .proj__thumb--4 { background: #261012; }
.mock { box-shadow: none; backdrop-filter: none; }
.mock--site i:first-child { background: rgba(255, 255, 255, .22); }
.mock--bars i { background: rgba(255, 255, 255, .8); }

/* ---------- builder game ---------- */
.meter i, .bd-stat__bar > i { background: var(--c-500); }
.bd-budget.over .meter i { background: #ff6b6b; }
.bd-stat__bar > i.pass { background: var(--ok); }
.bd-opt.sel { background: rgba(173, 40, 49, .14); box-shadow: inset 0 0 0 1px var(--c-500); }
.pv.fe-1 .pv__body, .pv.fe-2 .pv__body { background: #fff; }
.pv.fe-1 .pv__hero, .pv.fe-2 .pv__hero { background: var(--c-500); color: #fff; animation: none; }

/* ---------- defense game ---------- */
.df-hpbar i { background: var(--ok); }
.df-hpbar i.mid { background: #ffcf5a; }
.df-hpbar i.low { background: #ff6b6b; }
.df-tool.sel { background: rgba(173, 40, 49, .14); box-shadow: inset 0 0 0 1px var(--c-500); }

/* ---------- tighter vertical rhythm (less dead space) ---------- */
.section { padding: clamp(40px, 4.5vw, 68px) 0; }
.sec-head { margin-bottom: 24px; }
.sec-head--center { margin-bottom: 36px; }
.sec-head h2, .contact h2 { margin-bottom: 8px; }
.sec-rule { margin-bottom: 12px; }
.sec-head p { margin-bottom: 0; }
.hero { min-height: auto; padding: 120px 0 56px; }
.marquee { margin: 0 -10px; }
.process::before { top: 26px; }
#about { padding-top: clamp(56px, 6vw, 88px); }
