/* =============================
   Eric Zeigenbein – Resume Styles
   Light, pastel palette + print-ready
   ============================= */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --card: #ffffff;
  --text: #000000;
  --muted: #333333;
  --line: #e6e6e6;
  --brand: #000000;        /* Black for links */
  --brand-strong: #000000; /* Black for hover */
  --accent: #666666;       /* Neutral */
  --shadow: rgba(0,0,0,0.08);
}

/* Base */
html, body { height: 100%; }
* { box-sizing: border-box; }
body {
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  background: #ffffff;
  color: var(--text);
  padding: 26px 0 22px;
  text-align: center;
  box-shadow: 0 2px 10px var(--shadow);
  position: relative;
  border-bottom: 1px solid var(--line);
}
header h1 { margin: 0 0 6px; font-weight: 700; letter-spacing: 0.2px; }
header p { margin: 4px 0; color: var(--muted); }
header a { color: var(--brand-strong); text-decoration: none; }
header a:hover { text-decoration: underline; }

/* Print button (screen only) */
.print-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--brand-strong);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
}
.print-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover:hover) {
  .print-btn:hover { filter: brightness(0.95); }
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* Headings */
h1, h2, h3 { color: var(--text); }
h2 {
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  font-weight: 700;
}
h3 { color: var(--brand-strong); font-weight: 700; margin: 0; }

p { line-height: 1.7; margin: 8px 0 0; }

/* Lists */
ul { list-style: none; padding: 0; margin: 0; }
li { line-height: 1.6; margin: 6px 0; }

/* Links */
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Summary */
.summary { margin-bottom: 28px; }
.summary p { color: var(--text); }

/* Two column capability */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px 22px;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Pills / Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  background: #ffffff;
  margin: 6px 8px 0 0;
  white-space: nowrap;
}

/* Meta text */
.meta { color: var(--muted); }

/* Card-like skill items */
.top-skills ul, .competencies ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.top-skills li, .competencies li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  box-shadow: 0 3px 10px var(--shadow);
  min-width: min(100%, 280px);
}

/* Experience */
.experience .job {
  margin-bottom: 24px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.experience .job p { margin-top: 6px; color: var(--muted); }
.experience ul { margin-top: 8px; }
.experience li { position: relative; padding-left: 18px; }
.experience li::before {
  content: '';
  position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text);
}

/* Snapshot Section */
.network-snapshot ul { margin-top: 10px; }
.network-snapshot li { margin: 8px 0; }

/* Education */
.education { margin: 24px 0 8px; }

/* Footer */
footer { color: var(--muted); background: #ffffff; }

/* Accessibility: underline tuning */
p a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Screen-only helpers */
.screen-only { display: block; }
@media print {
  .screen-only { display: none !important; }
}

/* Print Tweaks */
@media print {
  @page {
    size: A4;
    margin: 14mm 14mm 16mm 14mm;
  }

  * { box-shadow: none !important; text-shadow: none !important; }
  html, body { background: #ffffff !important; color: #000 !important; }

  header {
    background: #ffffff !important;
    color: #000 !important;
    box-shadow: none !important;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .container { padding: 0; }

  h2 { border-color: var(--line) !important; }
  .badge {
    background: #fff !important;
    border-color: var(--line) !important;
    color: #000 !important;
  }

  h2, h3 { page-break-after: avoid; }
  .job { page-break-inside: avoid; }
  ul, p { orphans: 3; widows: 3; }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-weight: normal;
    font-size: 90%;
  }

  .print-btn { display: none !important; }
  footer { color: #000; border-top: 1px solid var(--line); padding-top: 8px; }
}

/* Removed dark-mode override completely */
