/* IBM Plex Mono — self-hosted */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2') format('woff2');
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  background-color: #2d2d2d;
  color: #e0e0e0;
  line-height: 1.7;
}

/* Layout */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #e0e0e0;
  color: #2d2d2d;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 16px;
}

/* Typography */
h1, h2, h3 {
  font-weight: normal;
  text-transform: uppercase;
  color: #ffffff;
}

h1 {
  font-size: 1.875rem;
  line-height: 1.3;
  letter-spacing: 3px;
  margin-bottom: 0;
}

h2 {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

h3 {
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* Header */
header {
  text-align: center;
}

/* Dividers */
hr {
  border: none;
  border-top: 1px solid #4d4d4d;
  margin: 40px 0;
}

/* Links */
a {
  color: #8ab4f8;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #aecbfa;
  text-decoration: underline;
}

/* Tagline */
.tagline {
  font-size: 0.9375rem;
  color: #b0b0b0;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* Bio */
.bio {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Experience entries */
.experience-entry {
  margin-bottom: 24px;
}

.experience-entry:last-child {
  margin-bottom: 0;
}

.experience-header {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.experience-header .company {
  color: #ffffff;
}

.experience-header .dates {
  color: #b0b0b0;
}

.experience-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 4px;
}

/* Skills list */
.skills-list {
  font-size: 0.875rem;
  line-height: 1.8;
  list-style: none;
}

/* Links section */
.links-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.875rem;
}

/* Inline icons */
.icon {
  vertical-align: -0.125em;
  margin-right: 0.3em;
}

/* Bullet lists (for CV page) */
.duties {
  list-style: none;
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.duties li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.duties li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: #4d4d4d;
}

/* Education */
.education {
  font-size: 0.9375rem;
}

/* PDF download */
.pdf-link {
  font-size: 0.875rem;
  display: inline-block;
  margin-bottom: 0;
}

/* Header home link */
h1 a {
  text-decoration: none;
  color: inherit;
}

h1 a:hover {
  color: #8ab4f8;
  text-decoration: none;
}

/* Footer */
footer {
  font-size: 0.8125rem;
  color: #b0b0b0;
}

footer a {
  color: #b0b0b0;
}

footer a:hover {
  color: #8ab4f8;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 40px 20px;
  }

  h1 {
    font-size: 1.5rem;
  }

  hr {
    margin: 32px 0;
  }

  .links-list {
    flex-direction: column;
    gap: 8px;
  }
}

/* Print */
@media print {
  body {
    background-color: #ffffff;
    color: #000000;
    font-size: 11px;
    line-height: 1.5;
  }

  h1, h2, h3 {
    color: #000000;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .skip-link,
  .no-print,
  .icon {
    display: none;
  }

  a {
    color: #000000;
    text-decoration: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10px;
    color: #666666;
  }

  hr {
    border-top-color: #cccccc;
    margin: 24px 0;
  }

  h2 {
    margin-bottom: 12px;
  }

  .experience-entry {
    margin-bottom: 16px;
  }

  .duties li {
    margin-bottom: 2px;
  }

  .duties li::before {
    color: #000000;
  }

  .experience-header .company {
    color: #000000;
  }

  .experience-header .dates,
  .tagline,
  .note {
    color: #666666;
  }

  footer {
    color: #666666;
  }
}
