/* themes.css — selectable site themes (style only). Chosen in the control panel (🎨 → SITE THEME).
   branding.js adds data-site-theme="<name>" to <html> and loads this file only when a theme is picked.
   "Classic" = no attribute = the original look, so nothing here applies to it.
   Colours: every theme keeps your brand colour (--accent); light/dark mode still works.
   Themes change style only (colours, borders, shadows, fonts, corners) — layout and alignment are identical to Classic. */

/* ═════════════ 1. TERMINAL — dark, monospace, command-line look; projects and certificates as full-width list rows ═════════════ */
html[data-site-theme="terminal"], html[data-site-theme="terminal"][data-theme="dark"] {
  --bg:#080c08; --bg2:#0b110b; --surface:#0f170f; --surface2:#142014;
  --text:#d5f2d5; --text2:#a6cba6; --muted:#6c946c;
  --border:color-mix(in srgb, var(--accent) 28%, transparent); --accent-light:color-mix(in srgb, var(--accent) 12%, transparent);
  --shadow:none; --shadow-lg:0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}
html[data-site-theme="terminal"] body,
html[data-site-theme="terminal"] button,
html[data-site-theme="terminal"] input,
html[data-site-theme="terminal"] textarea,
html[data-site-theme="terminal"] select { font-family:'Space Mono',ui-monospace,Menlo,Consolas,monospace !important; }
html[data-site-theme="terminal"] body { background:var(--bg) !important; color:var(--text); }
html[data-site-theme="terminal"] header,
html[data-theme="dark"][data-site-theme="terminal"] header { background:rgba(8,12,8,.92) !important; border-bottom:1px solid var(--border) !important; }
html[data-site-theme="terminal"] .section { background:var(--bg) !important; }
html[data-site-theme="terminal"] .section:nth-of-type(even) { background:var(--bg2) !important; }
html[data-site-theme="terminal"] .section-title-h2,
html[data-site-theme="terminal"] .hero-title { font-weight:700 !important; letter-spacing:-.5px !important; }
html[data-site-theme="terminal"] .section-title-h2::before { content:"$ "; color:var(--accent); }
html[data-site-theme="terminal"] .section-eyebrow { text- letter-spacing:.5px; }
html[data-site-theme="terminal"] .project-card,
html[data-site-theme="terminal"] .cert-card,
html[data-site-theme="terminal"] .blog-card,
html[data-site-theme="terminal"] .contact-form-wrap,
html[data-site-theme="terminal"] .contact-link,
html[data-site-theme="terminal"] .hero-stats,
html[data-site-theme="terminal"] .profile-photo-card,
html[data-site-theme="terminal"] .tool-card,
html[data-site-theme="terminal"] .speed-card {
  border-radius:2px !important; box-shadow:none !important; background:var(--surface) !important;
  border:1px solid var(--border) !important; border-left:3px solid var(--accent) !important;
}
html[data-site-theme="terminal"] .project-card:hover,
html[data-site-theme="terminal"] .cert-card:hover,
html[data-site-theme="terminal"] .blog-card:hover { background:var(--surface2) !important; border-color:var(--accent) !important; }
html[data-site-theme="terminal"] .btn-primary,
html[data-site-theme="terminal"] .nav-cta,
html[data-site-theme="terminal"] .btn-send {
  background:transparent !important; color:var(--accent) !important; border:1px solid var(--accent) !important;
  border-radius:2px !important; box-shadow:none !important; text-
}
html[data-site-theme="terminal"] .btn-primary::before { content:"> "; }
html[data-site-theme="terminal"] .btn-primary:hover,
html[data-site-theme="terminal"] .nav-cta:hover,
html[data-site-theme="terminal"] .btn-send:hover { background:var(--accent) !important; color:#06100a !important; }
html[data-site-theme="terminal"] .btn-outline { border-radius:2px !important; box-shadow:none !important; border:1px solid var(--border) !important; background:transparent !important; }
html[data-site-theme="terminal"] footer { background:var(--bg2) !important; }
html[data-site-theme="terminal"] .tag, html[data-site-theme="terminal"] .blog-cat { border-radius:2px !important; }


/* ═════════════ 2. EDITORIAL — light, serif headlines, centred hero, hairline rules, two-column grids ═════════════ */
html[data-site-theme="editorial"] {
  --bg:#fbfaf6; --bg2:#f3f0e8; --surface:#ffffff; --surface2:#f3f0e8;
  --text:#1c1917; --text2:#44403c; --muted:#78716c; --border:rgba(28,25,23,.16);
  --shadow:none; --shadow-lg:0 12px 30px rgba(28,25,23,.1);
}
html[data-site-theme="editorial"][data-theme="dark"] {
  --bg:#13110e; --bg2:#1a1713; --surface:#1d1a16; --surface2:#25211b;
  --text:#f5f1ea; --text2:#d6cfc3; --muted:#a39a8b; --border:rgba(245,241,234,.18);
}
html[data-site-theme="editorial"] .hero-title,
html[data-site-theme="editorial"] .section-title-h2,
html[data-site-theme="editorial"] .card-read-title,
html[data-site-theme="editorial"] .blog-read-title,
html[data-site-theme="editorial"] .stat-num,
html[data-site-theme="editorial"] .logo-name { font-family:Georgia,'Times New Roman',serif !important; font-weight:700 !important; letter-spacing:-.5px !important; }
html[data-site-theme="editorial"] .section { background:var(--bg) !important; }
html[data-site-theme="editorial"] .section:nth-of-type(even) { background:var(--bg2) !important; }
html[data-site-theme="editorial"] header { background:color-mix(in srgb, var(--bg) 92%, transparent) !important; }
html[data-site-theme="editorial"] .project-card,
html[data-site-theme="editorial"] .cert-card,
html[data-site-theme="editorial"] .blog-card,
html[data-site-theme="editorial"] .contact-link,
html[data-site-theme="editorial"] .tool-card {
  border-radius:0 !important; box-shadow:none !important; border:0 !important;
  border-top:2px solid var(--text) !important; background:transparent !important;
}
html[data-site-theme="editorial"] .project-card:hover,
html[data-site-theme="editorial"] .cert-card:hover,
html[data-site-theme="editorial"] .blog-card:hover { border-top-color:var(--accent) !important; }
html[data-site-theme="editorial"] .btn-primary,
html[data-site-theme="editorial"] .nav-cta,
html[data-site-theme="editorial"] .btn-send { border-radius:0 !important; box-shadow:none !important; letter-spacing:.6px; text- }
html[data-site-theme="editorial"] .btn-outline { border-radius:0 !important; box-shadow:none !important; }
html[data-site-theme="editorial"] .hero-stats { border-radius:0 !important; box-shadow:none !important; background:transparent !important; border:0 !important; border-top:1px solid var(--border) !important; border-bottom:1px solid var(--border) !important; }
html[data-site-theme="editorial"] .blog-card-img, html[data-site-theme="editorial"] .proj-thumb, html[data-site-theme="editorial"] .cert-thumb { border-radius:0 !important; }


/* ═════════════ 3. BOLD — flat colour, thick black outlines, hard offset shadows, photo on the left ═════════════ */
html[data-site-theme="bold"] {
  --bg:#fff8e1; --bg2:#ffefb8; --surface:#ffffff; --surface2:#fff3c4;
  --text:#111111; --text2:#222222; --muted:#4a4a4a; --border:#111111;
  --shadow:6px 6px 0 #111; --shadow-lg:8px 8px 0 #111;
}
html[data-site-theme="bold"][data-theme="dark"] {
  --bg:#121212; --bg2:#1b1b1b; --surface:#1f1f1f; --surface2:#292929;
  --text:#ffffff; --text2:#e8e8e8; --muted:#b5b5b5; --border:#f2f2f2;
  --shadow:6px 6px 0 #f2f2f2; --shadow-lg:8px 8px 0 #f2f2f2;
}
html[data-site-theme="bold"] .section { background:var(--bg) !important; }
html[data-site-theme="bold"] .section:nth-of-type(even) { background:var(--bg2) !important; }
html[data-site-theme="bold"] header { background:var(--bg) !important; border-bottom:3px solid var(--border) !important; backdrop-filter:none !important; }
html[data-site-theme="bold"] .hero-title,
html[data-site-theme="bold"] .section-title-h2 { font-weight:800 !important; text- letter-spacing:-.5px !important; }
html[data-site-theme="bold"] .project-card,
html[data-site-theme="bold"] .cert-card,
html[data-site-theme="bold"] .blog-card,
html[data-site-theme="bold"] .contact-form-wrap,
html[data-site-theme="bold"] .contact-link,
html[data-site-theme="bold"] .hero-stats,
html[data-site-theme="bold"] .profile-photo-card,
html[data-site-theme="bold"] .terminal,
html[data-site-theme="bold"] .tool-card,
html[data-site-theme="bold"] .speed-card {
  border:3px solid var(--border) !important; border-radius:0 !important; box-shadow:var(--shadow) !important; background:var(--surface) !important;
}
html[data-site-theme="bold"] .project-card:hover,
html[data-site-theme="bold"] .cert-card:hover,
html[data-site-theme="bold"] .blog-card:hover { box-shadow:var(--shadow-lg) !important; }
html[data-site-theme="bold"] .btn-primary,
html[data-site-theme="bold"] .nav-cta,
html[data-site-theme="bold"] .btn-send {
  background:var(--accent) !important; color:#fff !important; border:3px solid var(--border) !important;
  border-radius:0 !important; box-shadow:4px 4px 0 var(--border) !important; font-weight:800 !important; text-
}
html[data-site-theme="bold"] .btn-primary:hover,
html[data-site-theme="bold"] .nav-cta:hover { box-shadow:6px 6px 0 var(--border) !important; }
html[data-site-theme="bold"] .btn-outline { border:3px solid var(--border) !important; border-radius:0 !important; box-shadow:4px 4px 0 var(--border) !important; font-weight:700; }
html[data-site-theme="bold"] .tag, html[data-site-theme="bold"] .blog-cat { border:2px solid var(--border) !important; border-radius:0 !important; }
html[data-site-theme="bold"] footer { border-top:3px solid var(--border) !important; background:var(--bg2) !important; }


/* ═════════════ 4. GLASS — soft gradient background, frosted translucent cards, pill buttons — style only, layout identical to classic ═════════════ */
html[data-site-theme="glass"] {
  --bg:#eef2ff; --bg2:transparent; --surface:rgba(255,255,255,.6); --surface2:rgba(255,255,255,.75);
  --text:#0f172a; --text2:#334155; --muted:#64748b; --border:rgba(255,255,255,.7);
  --shadow:0 8px 32px rgba(31,38,135,.12); --shadow-lg:0 16px 48px rgba(31,38,135,.2);
}
html[data-site-theme="glass"][data-theme="dark"] {
  --bg:#0a0f1e; --bg2:transparent; --surface:rgba(255,255,255,.06); --surface2:rgba(255,255,255,.1);
  --text:#f1f5f9; --text2:#cbd5e1; --muted:#94a3b8; --border:rgba(255,255,255,.14);
  --shadow:0 8px 32px rgba(0,0,0,.4); --shadow-lg:0 16px 48px rgba(0,0,0,.55);
}
html[data-site-theme="glass"] body {
  background:
    radial-gradient(900px 520px at 12% 8%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(800px 560px at 92% 40%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 70%),
    radial-gradient(900px 600px at 30% 100%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    var(--bg) !important;
  background-attachment:fixed !important;
}
html[data-site-theme="glass"] .section { background:transparent !important; }
html[data-site-theme="glass"] header {
  background:var(--surface) !important; backdrop-filter:blur(18px) saturate(1.4) !important; -webkit-backdrop-filter:blur(18px) saturate(1.4) !important;
  border:1px solid var(--border) !important; box-shadow:var(--shadow) !important;
}
html[data-site-theme="glass"] .project-card,
html[data-site-theme="glass"] .cert-card,
html[data-site-theme="glass"] .blog-card,
html[data-site-theme="glass"] .contact-form-wrap,
html[data-site-theme="glass"] .contact-link,
html[data-site-theme="glass"] .hero-stats,
html[data-site-theme="glass"] .profile-photo-card,
html[data-site-theme="glass"] .tool-card,
html[data-site-theme="glass"] .speed-card,
html[data-site-theme="glass"] footer {
  background:var(--surface) !important; border:1px solid var(--border) !important; border-radius:24px !important;
  box-shadow:var(--shadow) !important; backdrop-filter:blur(16px) saturate(1.3); -webkit-backdrop-filter:blur(16px) saturate(1.3);
}
/* glass: hero stats — three even, centred columns with soft dividers */
@media (min-width:601px) {
  html[data-site-theme="glass"] .hero-stats {
    display:grid !important; grid-template-columns:repeat(3,1fr); align-items:center; gap:0 !important;
    width:100%; padding:18px 8px !important; text-align:center;
  }
  html[data-site-theme="glass"] .hero-stats .stat { display:flex; flex-direction:column; align-items:center; gap:4px; padding:2px 12px !important; min-width:0; }
  html[data-site-theme="glass"] .hero-stats .stat:not(:last-child) { border-right:1px solid var(--border) !important; }
  html[data-site-theme="glass"] .hero-stats .stat-num { line-height:1.1; }
  html[data-site-theme="glass"] .hero-stats .stat-label { line-height:1.3; }
}
/* glass, desktop + narrow desktop windows: hero stats sit directly on the page — no glass box around them */
@media (min-width:601px) {
  html[data-site-theme="glass"] .hero-stats {
    background:none !important; border:0 !important; box-shadow:none !important; border-radius:0 !important;
    backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  }
}
@media (min-width:901px) {
  /* …and laid out exactly like the classic theme: a left-aligned row with dividers after the first two */
  html[data-site-theme="glass"] .hero-stats {
    display:flex !important; justify-content:flex-start !important; align-items:stretch !important; flex-wrap:wrap;
    gap:32px !important; width:auto; padding:0 !important; text-align:left !important;
  }
  html[data-site-theme="glass"] .hero-stats .stat { display:block !important; align-items:initial; gap:0; padding:0 !important; min-width:auto; }
  html[data-site-theme="glass"] .hero-stats .stat:not(:last-child) { padding-right:32px !important; border-right:1px solid rgba(15,23,42,.1) !important; }
  html[data-site-theme="glass"][data-theme="dark"] .hero-stats .stat:not(:last-child) { border-right-color:rgba(148,163,184,.2) !important; }
  html[data-site-theme="glass"] .hero-stats .stat-num,
  html[data-site-theme="glass"] .hero-stats .stat-label { line-height:normal; }
}
html[data-site-theme="glass"] footer { border-radius:24px 24px 0 0 !important; }
/* backdrop-filter on the footer makes the gradient-clipped "MR_" logo invisible (browser bug) — keep it visible and clickable */
html[data-site-theme="glass"] footer { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
html[data-site-theme="glass"] .footer-logo { background:none !important; -webkit-background-clip:border-box !important; background-clip:border-box !important; color:var(--accent) !important; -webkit-text-fill-color:var(--accent) !important; position:relative; z-index:2; cursor:pointer; }
html[data-site-theme="glass"] .project-card:hover,
html[data-site-theme="glass"] .cert-card:hover,
html[data-site-theme="glass"] .blog-card:hover { box-shadow:var(--shadow-lg) !important; background:var(--surface2) !important; }
html[data-site-theme="glass"] .btn-primary,
html[data-site-theme="glass"] .nav-cta,
html[data-site-theme="glass"] .btn-send,
html[data-site-theme="glass"] .btn-outline { border-radius:999px !important; }
html[data-site-theme="glass"] .tag, html[data-site-theme="glass"] .blog-cat { border-radius:999px !important; }
html[data-site-theme="glass"] .blog-card-img, html[data-site-theme="glass"] .proj-thumb, html[data-site-theme="glass"] .cert-thumb { border-radius:18px !important; }

/* ═════════════ 5. NEON — near-black, glowing outlines and buttons, three-column grids ═════════════ */
html[data-site-theme="neon"], html[data-site-theme="neon"][data-theme="dark"] {
  --bg:#05060f; --bg2:#080a1a; --surface:#0b0e22; --surface2:#11152f;
  --text:#e8ecff; --text2:#b6bfe6; --muted:#7c88ba;
  --border:color-mix(in srgb, var(--accent) 45%, transparent);
  --shadow:0 0 18px color-mix(in srgb, var(--accent) 30%, transparent);
  --shadow-lg:0 0 30px color-mix(in srgb, var(--accent) 55%, transparent);
}
html[data-site-theme="neon"] body { background:var(--bg) !important; color:var(--text); }
html[data-site-theme="neon"] .section { background:var(--bg) !important; }
html[data-site-theme="neon"] .section:nth-of-type(even) { background:var(--bg2) !important; }
html[data-site-theme="neon"] header { background:rgba(5,6,15,.88) !important; border-bottom:1px solid var(--border) !important; box-shadow:0 4px 24px color-mix(in srgb, var(--accent) 18%, transparent) !important; }
html[data-site-theme="neon"] .hero-title strong, html[data-site-theme="neon"] .section-title-h2 { filter:drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 55%, transparent)); }
html[data-site-theme="neon"] .project-card, html[data-site-theme="neon"] .cert-card, html[data-site-theme="neon"] .blog-card,
html[data-site-theme="neon"] .contact-form-wrap, html[data-site-theme="neon"] .contact-link,
html[data-site-theme="neon"] .hero-stats, html[data-site-theme="neon"] .profile-photo-card, html[data-site-theme="neon"] .tool-card, html[data-site-theme="neon"] .speed-card {
  background:var(--surface) !important; border:1px solid var(--border) !important; border-radius:14px !important; box-shadow:var(--shadow) !important;
}
html[data-site-theme="neon"] .project-card:hover, html[data-site-theme="neon"] .cert-card:hover,
html[data-site-theme="neon"] .blog-card:hover { box-shadow:var(--shadow-lg) !important; border-color:var(--accent) !important; }
html[data-site-theme="neon"] .btn-primary, html[data-site-theme="neon"] .nav-cta, html[data-site-theme="neon"] .btn-send { box-shadow:0 0 20px color-mix(in srgb, var(--accent) 60%, transparent) !important; }
html[data-site-theme="neon"] .btn-outline { background:transparent !important; border:1px solid var(--accent) !important; color:var(--accent) !important; box-shadow:0 0 12px color-mix(in srgb, var(--accent) 30%, transparent) !important; }
html[data-site-theme="neon"] footer { background:var(--bg2) !important; border-top:1px solid var(--border) !important; }


/* ═════════════ 6. SOFT — neumorphic: matte surfaces that look pressed out of the page, big rounded corners, two-column grids ═════════════ */
html[data-site-theme="soft"] {
  --bg:#e6ebf2; --bg2:#e6ebf2; --surface:#e6ebf2; --surface2:#eef2f8;
  --text:#2d3748; --text2:#475569; --muted:#6b7a90; --border:transparent;
  --shadow:9px 9px 18px #c4cbd6, -9px -9px 18px #ffffff; --shadow-lg:12px 12px 24px #bcc4d0, -12px -12px 24px #ffffff;
}
html[data-site-theme="soft"][data-theme="dark"] {
  --bg:#21252d; --bg2:#21252d; --surface:#21252d; --surface2:#272c35;
  --text:#e5e9f0; --text2:#c2c9d6; --muted:#8d97a8;
  --shadow:9px 9px 18px #181b21, -9px -9px 18px #2a2f39; --shadow-lg:12px 12px 24px #14161b, -12px -12px 24px #2e343f;
}
html[data-site-theme="soft"] body { background:var(--bg) !important; }
html[data-site-theme="soft"] .section { background:var(--bg) !important; }
html[data-site-theme="soft"] header { background:var(--bg) !important; box-shadow:0 8px 20px rgba(0,0,0,.08) !important; border:0 !important; backdrop-filter:none !important; }
html[data-site-theme="soft"] .project-card, html[data-site-theme="soft"] .cert-card, html[data-site-theme="soft"] .blog-card,
html[data-site-theme="soft"] .contact-form-wrap, html[data-site-theme="soft"] .contact-link,
html[data-site-theme="soft"] .hero-stats, html[data-site-theme="soft"] .profile-photo-card, html[data-site-theme="soft"] .tool-card, html[data-site-theme="soft"] .speed-card {
  background:var(--surface) !important; border:0 !important; border-radius:24px !important; box-shadow:var(--shadow) !important;
}
html[data-site-theme="soft"] .project-card:hover, html[data-site-theme="soft"] .cert-card:hover,
html[data-site-theme="soft"] .blog-card:hover { box-shadow:var(--shadow-lg) !important; }
html[data-site-theme="soft"] .btn-primary, html[data-site-theme="soft"] .nav-cta, html[data-site-theme="soft"] .btn-send { border-radius:16px !important; box-shadow:6px 6px 12px rgba(0,0,0,.18), -4px -4px 10px rgba(255,255,255,.35) !important; }
html[data-site-theme="soft"] .btn-outline { border:0 !important; border-radius:16px !important; background:var(--surface) !important; box-shadow:var(--shadow) !important; }
html[data-site-theme="soft"] input, html[data-site-theme="soft"] textarea { border:0 !important; border-radius:14px !important; background:var(--bg) !important; box-shadow:inset 5px 5px 10px #c4cbd6, inset -5px -5px 10px #ffffff !important; }
html[data-site-theme="soft"][data-theme="dark"] input, html[data-site-theme="soft"][data-theme="dark"] textarea { box-shadow:inset 5px 5px 10px #181b21, inset -5px -5px 10px #2a2f39 !important; }
html[data-site-theme="soft"] .tag, html[data-site-theme="soft"] .blog-cat { border:0 !important; border-radius:12px !important; box-shadow:3px 3px 6px rgba(0,0,0,.12), -3px -3px 6px rgba(255,255,255,.5); }
html[data-site-theme="soft"] footer { background:var(--bg) !important; box-shadow:0 -8px 20px rgba(0,0,0,.06) !important; border:0 !important; }


/* ═════════════ 7. DASHBOARD — compact business-app look: tight spacing, thin outlines, four-column grids ═════════════ */
html[data-site-theme="dashboard"] {
  --bg:#f1f5f9; --bg2:#f1f5f9; --surface:#ffffff; --surface2:#f8fafc;
  --text:#0f172a; --text2:#334155; --muted:#64748b; --border:#dbe2ea;
  --shadow:0 1px 2px rgba(15,23,42,.06); --shadow-lg:0 6px 16px rgba(15,23,42,.1);
}
html[data-site-theme="dashboard"][data-theme="dark"] {
  --bg:#0b1220; --bg2:#0b1220; --surface:#111a2e; --surface2:#16213a;
  --text:#e2e8f0; --text2:#b4c0d3; --muted:#8393ab; --border:#22304a;
  --shadow:0 1px 2px rgba(0,0,0,.4); --shadow-lg:0 6px 16px rgba(0,0,0,.45);
}
html[data-site-theme="dashboard"] .section { background:var(--bg) !important; }
html[data-site-theme="dashboard"] header { background:var(--surface) !important; border-bottom:1px solid var(--border) !important; backdrop-filter:none !important; box-shadow:none !important; }
html[data-site-theme="dashboard"] .project-card, html[data-site-theme="dashboard"] .cert-card, html[data-site-theme="dashboard"] .blog-card,
html[data-site-theme="dashboard"] .contact-form-wrap, html[data-site-theme="dashboard"] .contact-link,
html[data-site-theme="dashboard"] .hero-stats, html[data-site-theme="dashboard"] .profile-photo-card, html[data-site-theme="dashboard"] .tool-card, html[data-site-theme="dashboard"] .speed-card {
  background:var(--surface) !important; border:1px solid var(--border) !important; border-top:3px solid var(--accent) !important; border-radius:8px !important; box-shadow:var(--shadow) !important;
}
html[data-site-theme="dashboard"] .project-card:hover, html[data-site-theme="dashboard"] .cert-card:hover,
html[data-site-theme="dashboard"] .blog-card:hover { box-shadow:var(--shadow-lg) !important; }
html[data-site-theme="dashboard"] .btn-primary, html[data-site-theme="dashboard"] .nav-cta, html[data-site-theme="dashboard"] .btn-send, html[data-site-theme="dashboard"] .btn-outline { border-radius:6px !important; box-shadow:none !important; }
html[data-site-theme="dashboard"] .tag, html[data-site-theme="dashboard"] .blog-cat { border-radius:4px !important; }
html[data-site-theme="dashboard"] footer { background:var(--surface) !important; border-top:1px solid var(--border) !important; }


/* ═════════════ 8. RETRO — warm paper, ink-brown outlines, typewriter headings, slightly tilted cards ═════════════ */
html[data-site-theme="retro"] {
  --bg:#f4ead5; --bg2:#ecdfc2; --surface:#fbf4e3; --surface2:#f4ead5;
  --text:#3b2a1a; --text2:#5a4430; --muted:#8a7258; --border:#3b2a1a;
  --shadow:4px 4px 0 rgba(59,42,26,.85); --shadow-lg:6px 6px 0 rgba(59,42,26,.9);
}
html[data-site-theme="retro"][data-theme="dark"] {
  --bg:#1f1812; --bg2:#271e16; --surface:#2c2219; --surface2:#33281d;
  --text:#f1e4c8; --text2:#d8c8a6; --muted:#a8946f; --border:#d9c59b;
  --shadow:4px 4px 0 rgba(217,197,155,.55); --shadow-lg:6px 6px 0 rgba(217,197,155,.7);
}
html[data-site-theme="retro"] body { background:var(--bg) !important; }
html[data-site-theme="retro"] .section { background:var(--bg) !important; }
html[data-site-theme="retro"] .section:nth-of-type(even) { background:var(--bg2) !important; }
html[data-site-theme="retro"] header { background:var(--bg) !important; border-bottom:2px dashed var(--border) !important; backdrop-filter:none !important; }
html[data-site-theme="retro"] .hero-title, html[data-site-theme="retro"] .section-title-h2, html[data-site-theme="retro"] .logo-name { font-family:'Space Mono',ui-monospace,Menlo,monospace !important; font-weight:700 !important; letter-spacing:-1px !important; }
html[data-site-theme="retro"] .project-card, html[data-site-theme="retro"] .cert-card, html[data-site-theme="retro"] .blog-card,
html[data-site-theme="retro"] .contact-form-wrap, html[data-site-theme="retro"] .contact-link,
html[data-site-theme="retro"] .hero-stats, html[data-site-theme="retro"] .profile-photo-card, html[data-site-theme="retro"] .tool-card, html[data-site-theme="retro"] .speed-card {
  background:var(--surface) !important; border:2px solid var(--border) !important; border-radius:6px !important; box-shadow:var(--shadow) !important;
}
html[data-site-theme="retro"] .project-card:hover, html[data-site-theme="retro"] .cert-card:hover,
html[data-site-theme="retro"] .blog-card:hover { box-shadow:var(--shadow-lg) !important; }
html[data-site-theme="retro"] .btn-primary, html[data-site-theme="retro"] .nav-cta, html[data-site-theme="retro"] .btn-send { border:2px solid var(--border) !important; border-radius:6px !important; box-shadow:3px 3px 0 var(--border) !important; text- letter-spacing:.8px; }
html[data-site-theme="retro"] .btn-outline { border:2px solid var(--border) !important; border-radius:6px !important; box-shadow:3px 3px 0 var(--border) !important; background:transparent !important; }
html[data-site-theme="retro"] .tag, html[data-site-theme="retro"] .blog-cat { border:1.5px solid var(--border) !important; border-radius:4px !important; }
html[data-site-theme="retro"] footer { background:var(--bg2) !important; border-top:2px dashed var(--border) !important; }

