:root{
  --text:#e9eef6;
  --muted:#94a3b8;
  --accentA:#22d3ee;
  --accentB:#8b5cf6;
  --line:rgba(255,255,255,0.07);
  --shadow:0 16px 46px rgba(0,0,0,0.6);
  --radius:16px;
}

/* ===== BACKGROUND ===== */
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background-color: #0a0a0a;
  background-image: repeating-linear-gradient(45deg,#0f0f0f 0px,#0f0f0f 2px,#1a1a1a 2px,#1a1a1a 4px);
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}

/* Soft lighting overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none; z-index: 0;
}

.toolbar, .main, .footer, .card, .page { position: relative; z-index: 1; background: transparent; }

/* ===== Toolbar ===== */
.toolbar{ position:sticky; top:0; z-index:99; background:rgba(0,0,0,0.85); border-bottom:1px solid var(--line); backdrop-filter:blur(10px);}
.container{max-width:1100px;margin:0 auto;padding:0 20px;}
.bar{display:flex;align-items:center;gap:14px;padding:10px 0;}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);}
.wordmark{font-weight:800;font-size:1.8rem;color:var(--text);}
.nav{display:flex;gap:14px;margin-left:auto;}
.nav-link{color:var(--muted);text-decoration:none;padding:8px 12px;border-radius:10px;}
.nav-link:hover,.nav-link.active{background:rgba(255,255,255,0.08);color:#fff;}
.actions{display:flex;gap:8px;}
.chip{border:1px solid var(--line);border-radius:999px;padding:6px 12px;text-decoration:none;color:#dbeafe;}
.chip:hover{border-color:#7fbaff;}
/* Triple-size logo */
.logo{width:126px;height:auto;display:block;filter:drop-shadow(0 0 6px rgba(255,255,255,0.15));transition:transform .2s ease;}
.logo:hover{transform:scale(1.05);}

/* ===== Main ===== */
.main{padding:26px 0 34px;}
.page{animation:fade .25s ease both;}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ===== Hero ===== */
.hero-split{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:stretch;margin-top:50px;}
@media(max-width:960px){.hero-split{grid-template-columns:1fr}}
.hero-left{display:flex;flex-direction:column;justify-content:center;}
.hero-name{font-size:3rem;font-weight:800;margin:.25rem 0 .5rem;background:linear-gradient(90deg,var(--accentA),var(--accentB));-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.iam-prefix{font-size:1.55rem;margin:0;}
.typewriter{font-family:ui-monospace,Menlo,Consolas,monospace;}
.caret{display:inline-block;width:9px;height:1.2em;margin-left:3px;border-right:2px solid #cfe1ff;animation:blink .8s steps(1,end) infinite;}
@keyframes blink{50%{border-color:transparent;}}
.hero-right{display:flex;align-items:center;justify-content:center;}
.headshot{width:100%;max-width:420px;border-radius:18px;border:1px solid var(--line);object-fit:cover;box-shadow:0 30px 50px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.03);}

/* ===== Card (Glassy) ===== */
.card{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);backdrop-filter:blur(6px);}

/* ===== WordPress Feed (only) ===== */
.subtitle{margin:6px 0 0; color:var(--muted)}
.wp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:12px;}
@media (max-width:1000px){.wp-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:650px){.wp-grid{grid-template-columns:1fr;}}
.wp-card{background:#0f0f10;border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px;}
.wp-card h4{margin:0;font-size:1.05rem;}
.wp-meta{color:var(--muted);font-size:.9rem;}
.wp-card a{color:#cfe1ff;text-decoration:none;}
.wp-card a:hover{text-decoration:underline;}
.wp-error{margin-top:10px;color:#ffb4b4}

/* ===== Kanban (Centered Columns & Notes) ===== */
.kanban .k-head{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:16px;text-align:center;}
.k-board{display:flex;justify-content:center;align-items:flex-start;gap:24px;flex-wrap:wrap;text-align:center;}
.k-col{border:1px dashed rgba(255,255,255,.08);border-radius:12px;padding:12px;min-width:240px;text-align:center;}
.k-title{margin:0 0 10px;font-size:1.2rem;font-weight:600;color:#e6eef8;}
.k-notes{display:flex;flex-direction:column;align-items:center;gap:10px;}

/* ===== Sticky Notes (2×2in, centered) ===== */
.sticky{background:#fff7a8;color:#1f2937;width:2in;height:2in;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:10px;border-radius:8px;box-shadow:0 6px 14px rgba(0,0,0,.35);position:relative;overflow-wrap:break-word;}
.sticky:before{content:"";position:absolute;top:-5px;left:calc(50% - 14px);width:28px;height:10px;border-radius:3px;background:rgba(0,0,0,.2);filter:blur(1px);}
.sticky h4{margin:0 0 4px;font-size:1rem;font-weight:700;}
.sticky p{margin:0;font-size:.9rem;line-height:1.3;display:flex;align-items:center;justify-content:center;text-align:center;height:100%;}
.sticky.purple{background:#e9d5ff;}
.sticky.cyan{background:#cffafe;}
.sticky.green{background:#dcfce7;}
.sticky.orange{background:#ffedd5;}

/* ===== About readability & reveal ===== */
.about p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 14px; }
.reveal{opacity:0;transform: translateY(12px);transition: opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1;transform:none;}

/* ===== Hire Me page ===== */
.hire-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px;}
@media (max-width:900px){.hire-grid{grid-template-columns:1fr;}}
.hire-card{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow);}
.hire-card h3{margin:0 0 8px;}
.hire-card h4{margin:0 0 6px;}
.bullets{margin:0; padding-left:18px;}
.bullets li{margin:6px 0;}
.section-slim{margin-top:16px;}
.section-grid{display:grid; gap:14px; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:14px;}
@media (max-width:1000px){.section-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:700px){.section-grid{grid-template-columns:1fr;}}
.hire-card.small{padding:14px;}
.cta{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;}
.btn{display:inline-block; padding:10px 14px; border-radius:10px;background:linear-gradient(90deg,var(--accentA),var(--accentB));color:#071017; text-decoration:none; font-weight:700;border:1px solid transparent;}
.btn.ghost{background:transparent; color:#dbeafe;border:1px solid var(--line);}
.btn:hover{filter:brightness(1.05);}

/* ===== Footer (lighter links for visibility) ===== */
.footer{border-top:1px solid var(--line);margin-top:28px;}
.footer .container{padding:16px 20px;text-align:center;color:#94a3b8;}
.footer .container a{
  color:#e6f0ff;
  text-decoration:none;
  border-bottom:1px solid rgba(230,240,255,.25);
  padding-bottom:1px;
}
.footer .container a:hover{
  color:#ffffff;
  border-bottom-color:#ffffff;
}
