/* ldlas.net — Joel Chenette career page
 * Design: dark, technical, no-nonsense.
 */

:root {
  --bg:        #0f1115;
  --bg-elev:   #161a20;
  --border:    #2a2f38;
  --text:      #d4d4d8;
  --text-dim:  #9ca3af;
  --heading:   #ffffff;
  --accent:    #c8a45c;
  --accent-dim:#8a6f3a;
  --link:      #c8a45c;
  --link-hover:#e6c178;
  --mono-bg:   #1a1f27;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Header bar at top of page */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 1.5rem;
}
.site-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--heading);
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem 0;
}
.site-tagline {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
}
.site-contact {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}
.site-contact a {
  color: var(--text-dim);
  text-decoration: none;
}
.site-contact a:hover {
  color: var(--link-hover);
}
.site-contact .sep {
  color: var(--accent-dim);
  margin: 0 0.5rem;
}

/* Personalized greeting strip */
.greeting {
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 0 0 2.5rem 0;
  font-size: 0.95rem;
  color: var(--text);
}
.greeting-name {
  color: var(--accent);
  font-weight: 600;
}

/* Headings */
h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
h1 {
  font-size: 1.9rem;
  margin: 0 0 1.5rem 0;
}
h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
h3 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.75rem 0;
  color: var(--accent);
}
h4 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem 0;
}

/* Body text */
p {
  margin: 0 0 1rem 0;
}
strong {
  color: var(--heading);
  font-weight: 600;
}
em {
  color: var(--text-dim);
  font-style: italic;
}
a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  transition: color 0.15s, border-color 0.15s;
}
a:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
}

/* Lists */
ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}
ul li::marker {
  color: var(--accent-dim);
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Inline code and tech specs */
code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9em;
  background: var(--mono-bg);
  color: var(--accent);
  padding: 0.1em 0.4em;
  border-radius: 2px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding-top: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* Print: clean it up for PDF export */
@media print {
  body { background: white; color: black; }
  h1, h2, h3, h4 { color: black; }
  h2 { border-bottom-color: #ccc; }
  h3 { color: #555; }
  a { color: black; border-bottom: none; }
  .site-header { background: white; border-bottom-color: #ccc; }
  .site-name, code { color: black; }
  code { background: #f0f0f0; }
  .greeting { background: #f9f9f9; border-left-color: #888; }
  .site-footer { color: #888; }
}

/* Mobile */
@media (max-width: 600px) {
  main { padding: 2rem 1.25rem 4rem; }
  .site-header-inner { padding: 1.5rem 1.25rem 1.25rem; }
  .site-name { font-size: 1.5rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .site-contact { font-size: 0.7rem; }
}
