/* Copyright (c) 2026 Craig Reeder. SPDX-License-Identifier: ISC */

@page {
  size: letter;
  margin: 0.4in;
}

:root {
  --ink: #1a1a1a;
  --rule: #1a1a1a;
  --muted: #444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Calibri, Candara, "Segoe UI", Optima, Arial, sans-serif;
  color: var(--ink);
  font-size: 10pt;
  line-height: 1.2;
}

/* ---- header ---- */
.header {
  text-align: center;
  margin-bottom: 0.45em;
}

.header .name {
  font-size: 16pt;
  font-weight: 700;
  margin-bottom: 0.15em;
}

.header .line {
  font-size: 10pt;
}

a {
  color: var(--ink);
  text-decoration: none;
}

/* ---- section headings ---- */
h2 {
  text-align: center;
  font-size: 11pt;
  font-weight: 700;
  text-decoration: underline;
  margin: 0.4em 0 0.2em;
}

section:first-of-type h2 {
  margin-top: 0;
}

/* ---- certifications: 2-column row-major flow ---- */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15em 1em;
}

.cert-grid .cert {
  font-style: normal;
}

.cert-grid .status {
  font-style: italic;
}

/* ---- leadership & speaking: compact plain lines ---- */
.leadership-list p {
  margin: 0 0 0.15em;
}

/* ---- projects ---- */
.project {
  margin-bottom: 0.4em;
}

.project .row {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}

.project .proj-name {
  font-weight: 700;
}

.project .proj-stack {
  font-style: italic;
}

.project .proj-desc {
  margin-top: 0.1em;
}

/* ---- experience / education entries ---- */
.entry {
  margin-bottom: 0.25em;
  break-inside: avoid;
}

.project {
  break-inside: avoid;
}

.entry .row {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  font-weight: 700;
}

.entry .row .title {
  flex: 1;
}

.entry .row .org {
  flex: 1;
  text-align: center;
}

.entry .row .date {
  flex: 0 0 auto;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.entry ul {
  margin: 0.25em 0 0;
  padding-left: 1.3em;
}

.entry li {
  margin-bottom: 0.1em;
}

.entry .desc {
  margin-top: 0.1em;
  font-weight: 400;
}
