.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(14,17,23,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
}

.nav-inner a {
  color: var(--muted);
  text-decoration: none;
}

.nav-inner a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-inner a {
  position: relative;
  transition: color .15s ease, transform .15s ease;
}

.nav-inner a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity .15s ease, transform .15s ease;
}

.nav-inner a:hover::after {
  opacity: 0.6;
  transform: scaleX(1);
}

:root {
  --bg: #0e1117;
  --panel: #0b0e14;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --border: #21262d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

main {
  margin-top: 0;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 120px 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.terminal {
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
}

.terminal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.terminal-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terminal {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
}

.terminal .prompt { color: var(--accent); }
.terminal .muted { color: var(--muted); }

section {
	scroll-margin-top: 96px;
}

section h2 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--muted);
}

.notes-box {
  max-width: 560px;
  padding: 0;
  border: none;
  background: none;
  font-family: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.65;
}

.notes-box p {
  margin: 0;
}

section h2 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 18px;
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
}

.log {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entry {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s ease;
}

.entry p.muted {
  font-family: "IBM Plex Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.005em;
}

.entry:hover {
  transform: translateY(-2px);
  border-color: rgba(88,166,255,0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.entry-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-meta {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

.entry-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.entry-actions a {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}

.entry-actions a:hover {
  background: rgba(88,166,255,0.15);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(88,166,255,0.4);
  transform: translateY(-1px);
}

.entry-actions a {
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.entry strong {
  font-weight: 500;
  font-size: 0.9rem;
}

.status {
  position: relative;
  cursor: default;
  font-size: 0.7rem;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status:hover {
  box-shadow: 0 0 0 3px rgba(201, 201, 201, 0.2);
}

.status::after {
  content: attr(data-status);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;

  background: rgba(10, 15, 25, 0.95);
  color: #cbd5f5;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.status::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(10, 15, 25, 0.95);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.status:hover::after,
.status:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.status.active {
  color: #7ee787;
  background: rgba(46,160,67,0.15);
  border: 1px solid rgba(46,160,67,0.4);
}

.status.archived {
  color: #f2cc60;
  background: rgba(187,128,9,0.15);
  border: 1px solid rgba(187,128,9,0.4);
}

.status.maintenance {
  color: #79c0ff;
  background: rgba(56,139,253,0.15);
  border: 1px solid rgba(56,139,253,0.4);
}

/* TOOLING GRID */
.tooling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  max-width: 640px;
}

.tool {
  font-family: "JetBrains Mono", monospace;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  cursor: default;
  user-select: none;
  --tool-accent: var(--accent);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tool:hover {
  transform: translateY(-2px);
  border-color: var(--tool-accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tool-accent) 40%, transparent);
}

.tool:hover span {
  color: var(--text);
}

.tool img {
  width: 18px;
  height: 18px;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.9;
}

.tool:hover img {
  filter: none;
  opacity: 1;
}

.site-footer {
  width: 100%;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-socials {
  margin-bottom: 12px;
}

.footer-socials .icon {
  width: 18px;
  height: 18px;
  fill: var(--muted);
  transition: fill 0.15s ease, transform 0.15s ease;
}

.footer-socials a:hover .icon {
  fill: var(--accent);
  transform: translateY(-1px);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-meta a {
  color: var(--accent);
  text-decoration: none;
  opacity: 0.8;
}

.footer-meta a:hover {
  opacity: 1;
}


.site-footer {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-meta {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-meta a {
  font-weight: 500;
}

.footer-socials {
  margin-bottom: 12px;
}

.footer-icon {
  width: 18px;
  height: 18px;
  opacity: 0.55;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-socials a:hover .footer-icon {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.75; }
}

.footer-icon {
  animation: subtle-pulse 6s ease-in-out infinite;
}

.cookie-banner {
  position: fixed;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d1117;
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  z-index: 200;
  max-width: 520px;
  width: calc(100% - 32px);
}


.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text);
}


.cookie-actions button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: inherit;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.cookie-actions button:hover {
  background: rgba(88, 166, 255, 0.1); /* same blue feel */
  border-color: var(--accent);
  color: var(--accent);
}