/* Beyer Automation — Solarized Dark
   Palette values are the canonical Solarized Dark set (Ethan Schoonover). */
:root {
  --base03: #002b36; /* page background */
  --base02: #073642; /* card / nav background */
  --base01: #586e75; /* muted text, borders */
  --base00: #657b83;
  --base0:  #839496; /* body text */
  --base1:  #93a1a1; /* headings, emphasized text */
  --base2:  #eee8d5;
  --base3:  #fdf6e3;
  --yellow: #b58900;
  --orange: #cb4b16;
  --red:    #dc322f;
  --magenta:#d33682;
  --violet: #6c71c4;
  --blue:   #268bd2;
  --cyan:   #2aa198;
  --green:  #859900;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--base03);
  color: var(--base0);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--blue);
  text-decoration: underline;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header.site-header {
  background: var(--base02);
  border-bottom: 1px solid var(--base01);
}
header.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand .mark {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--base1);
  letter-spacing: 0.02em;
}
.brand .mark span { color: var(--orange); }
.brand .subtitle {
  font-size: 0.8rem;
  color: var(--base00);
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
nav.site-nav a {
  color: var(--base1);
  font-size: 0.95rem;
}
nav.site-nav a:hover { color: var(--cyan); }
nav.site-nav a.current {
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}

.btn {
  display: inline-block;
  border: 1px solid var(--cyan);
  color: var(--cyan) !important;
  border-radius: 4px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover {
  background: var(--cyan);
  color: var(--base03) !important;
}

main { padding: 2.5rem 0 3rem; }

.hero h1 {
  color: var(--base1);
  font-size: 2.1rem;
  margin: 0 0 0.25rem;
}
.hero .tagline {
  color: var(--base1);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}
.hero .tagline .accent { color: var(--orange); }
.hero p.intro {
  max-width: 62ch;
  font-size: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.stat {
  background: var(--base02);
  border: 1px solid var(--base01);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}
.stat .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.stat .label {
  display: block;
  font-size: 0.82rem;
  color: var(--base00);
  margin-top: 0.25rem;
}

h2.section-title {
  color: var(--base1);
  font-size: 1.3rem;
  border-bottom: 1px solid var(--base01);
  padding-bottom: 0.4rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.job {
  margin-bottom: 1.75rem;
}
.job-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
}
.job-head .company {
  color: var(--base1);
  font-weight: 700;
  font-size: 1.05rem;
}
.job-head .location {
  color: var(--base00);
  font-size: 0.88rem;
}
.job-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.5rem;
}
.job-sub .role {
  color: var(--cyan);
  font-style: italic;
}
.job-sub .dates {
  color: var(--base00);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.85rem;
}
.job ul {
  margin: 0;
  padding-left: 1.25rem;
}
.job li { margin-bottom: 0.4rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.skill-card {
  background: var(--base02);
  border: 1px solid var(--base01);
  border-radius: 6px;
  padding: 0.85rem 1rem;
}
.skill-card .cat {
  display: block;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.education .job-head .company { color: var(--base1); }

.contact-block {
  background: var(--base02);
  border: 1px solid var(--base01);
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 46ch;
}
.contact-block dt {
  color: var(--base00);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 1rem;
}
.contact-block dt:first-child { margin-top: 0; }
.contact-block dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 2rem;
}

footer.site-footer {
  border-top: 1px solid var(--base01);
  color: var(--base00);
  font-size: 0.85rem;
}
footer.site-footer .wrap {
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
footer.site-footer a { color: var(--base00); }
footer.site-footer a:hover { color: var(--cyan); }

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .job-head, .job-sub { flex-direction: column; }
}
