@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #eef0ea;
  --text-color: #0b0b0b;
  --accent-color: #f7a501;
  --accent-hover: #d97706;
  --accent-muted: #b45309;
  --border-color: #0b0b0b;
  --card-bg: #ffffff;
  --badge-bg: #e2f9ec;
  --badge-text: #1b5e20;
  --muted-text: #5a646e;
  --secondary-muted: #3c444c;
  --shadow-color: #0b0b0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  background-color: var(--bg-color);
  background-image: radial-gradient(rgba(11, 11, 11, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(247, 165, 1, 0.27);
  color: var(--text-color);
}

a {
  color: var(--accent-hover);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--accent-muted);
}

h1, h2, h3, h4, h5 {
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-color);
  margin-top: 0;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--secondary-muted);
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  text-wrap: pretty;
}

code {
  font-family: 'IBM Plex Mono', monospace;
  background: #f4f4f0;
  border: 1px solid #d2d5c9;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-muted);
}

pre {
  background: #141414;
  border: 2px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 4px 4px 0px var(--border-color);
  margin-bottom: 1.5rem;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: #f4f4f0;
  font-size: 0.88rem;
}

blockquote {
  border-left: 4px solid var(--accent-color);
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  background: rgba(247, 165, 1, 0.05);
  font-style: italic;
  border-radius: 0 6px 6px 0;
}

blockquote p {
  margin: 0;
  color: var(--secondary-muted);
}

.practice {
  border-left: 4px solid var(--accent-color);
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: rgba(247, 165, 1, 0.05);
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  color: var(--secondary-muted);
}

.practice b {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.practice p {
  margin-bottom: 0;
}

ul, ol {
  color: var(--secondary-muted);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

/* Core Container */
.container {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  padding: 2.5rem 0 2rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2.5rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-color);
  letter-spacing: -0.03em;
}

.brand span.cursor {
  color: var(--accent-color);
  animation: blink 1.2s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text-color);
  text-decoration: underline;
}

section {
  scroll-margin-top: 2rem;
}

/* Hero Section */
.hero {
  margin-bottom: 3rem;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--secondary-muted);
  max-width: 38rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--badge-bg);
  border: 2px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--badge-text);
  margin-bottom: 1.25rem;
  box-shadow: 2px 2px 0px var(--border-color);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--badge-text);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 4px var(--badge-text);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Articles List (Blog Index) */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.article-item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 4px 4px 0px var(--border-color);
  transition: all 0.15s ease-out;
}

.article-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--border-color);
}

.article-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-bottom: 0.5rem;
}

.article-date {
  font-weight: 500;
}

.article-read-time::before {
  content: "•";
  margin-right: 0.75rem;
}

.article-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
}

.article-item h3 a {
  color: var(--text-color);
}

.article-item h3 a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.article-excerpt {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--secondary-muted);
}

.article-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.article-tags span, .tech-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted-text);
  background: #f4f4f0;
  border: 1px solid #d2d5c9;
  padding: 0.15em 0.5em;
  border-radius: 4px;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.capability-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 4px 4px 0px var(--border-color);
}

.capability-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: var(--text-color);
  border-bottom: 2px dashed #b2b6ab;
  padding-bottom: 0.5rem;
}

.capability-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.capability-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Timeline Career Styles */
.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px dashed #b2b6ab;
  margin: 2rem 0 3.5rem;
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -21px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border: 2px solid var(--border-color);
  border-radius: 50%;
}

.timeline-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-muted);
  margin-bottom: 0.15rem;
}

.timeline-role {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

.timeline-company {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--secondary-muted);
  margin: 0;
}

/* Contact Box Form styles */
.contact-box {
  background: #141414;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 4px 4px 0px var(--border-color);
  color: #f4f4f0;
  margin-bottom: 3.5rem;
}

.contact-box h3 {
  color: var(--accent-color);
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-box label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: #a3a69d;
}

.contact-box input,
.contact-box textarea {
  background: #1e1e1e;
  border: 1.5px solid #3c3c3c;
  border-radius: 4px;
  color: #f4f4f0;
  padding: 0.5rem 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  outline: none;
  width: 100%;
}

.contact-box input:focus,
.contact-box textarea:focus {
  border-color: var(--accent-color);
}

.contact-box button {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-color);
  background: var(--accent-color);
  padding: 0.6rem;
  border-radius: 6px;
  border: 2px solid var(--border-color);
  box-shadow: 2px 2px 0px #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: 0.5rem;
}

.contact-box button:hover {
  background: #fbc02d;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000;
}

.contact-box button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000;
}

/* Deep-dive Article Template */
.article-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.article-back-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
  font-weight: 600;
}

.article-title {
  font-size: 2.2rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}

.article-meta-large {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--muted-text);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--secondary-muted);
}

.article-body h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px dashed #b2b6ab;
  padding-bottom: 0.35rem;
}

.article-body h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body code {
  font-size: 0.92em;
}

/* Footer style */
footer {
  padding: 2.5rem 0;
  border-top: 2px solid var(--border-color);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--muted-text);
}

.footer-links a:hover {
  color: var(--accent-hover);
}

@media (max-width: 640px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }

  .container {
    padding: 0 1rem;
  }

  header {
    padding: 1.5rem 0 1.25rem;
    margin-bottom: 1.5rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .article-title {
    font-size: 1.8rem;
  }
}

/* Big screens / monitors improvements */
@media (min-width: 1024px) {
  .container {
    max-width: 76rem;
    display: grid;
    grid-template-columns: 18rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  header {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 5rem;
    align-self: start;
    padding: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.25rem;
  }

  main {
    grid-column: 2;
    grid-row: 1;
  }

  footer {
    grid-column: 2;
    grid-row: 2;
    margin-top: 4rem;
    padding-top: 2.5rem;
  }

  .articles-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  article {
    max-width: 44rem;
  }

  .contact-box {
    max-width: 36rem;
  }

  section {
    scroll-margin-top: 5rem;
  }
}

