/* =========================================================================
   Savanna Booth Enoch — personal site
   Clean, minimal, typography-first. Single accent color set below.
   ========================================================================= */

:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --accent: #2c5f4f;     /* change this one value to re-theme the site */
  --bg: #ffffff;
  --max-width: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 1rem;
}

/* --- Header --------------------------------------------------------------- */
.resume-header { margin-bottom: 2.5rem; }

.name {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 .25rem;
  letter-spacing: -0.02em;
}

.label {
  font-size: 1.15rem;
  color: var(--accent);
  margin: 0 0 .75rem;
  font-weight: 500;
}

.meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.summary {
  margin: 0 0 1.25rem;
  max-width: 60ch;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}
.links a {
  font-size: .95rem;
  padding: .2rem 0;
}
.links .btn {
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: .35rem .85rem;
  font-weight: 500;
}
.links .btn:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* --- Sections ------------------------------------------------------------- */
.resume-section { margin: 2.5rem 0; }

.resume-section > h2 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: .4rem;
  margin: 0 0 1.75rem;
}

.resume-list {
  display: grid;
  gap: 2rem;
}

.entry {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--line);
}
.entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.entry-date {
  font-size: .87rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.5;
}

.entry-head h3 {
  font-size: 1.1rem;
  margin: 0 0 .25rem;
  font-weight: 600;
}

.entry-company {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.entry-sub {
  color: var(--muted);
  margin: .4rem 0 0;
  font-size: .95rem;
}

.highlights {
  margin: .9rem 0 0;
  padding-left: 1.1rem;
}
.highlights li {
  margin-bottom: .55rem;
}

.skills {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.skill-group {
  display: block;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}
.skill-group:last-child { border-bottom: none; }
.skill-group dt {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .35rem;
}
.skill-group dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Responsive resume layout ------------------------------------------- */
@media (max-width: 680px) {
  .page { padding-top: 2.5rem; }
  .entry { grid-template-columns: 1fr; }
  .entry-date { margin-bottom: .65rem; }
}

@media (max-width: 480px) {
  .name { font-size: 2rem; }
  .skill-group { padding: .35rem 0; }
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}
.site-footer p { margin: 0; }

/* --- Small screens -------------------------------------------------------- */
@media (max-width: 480px) {
  .page { padding-top: 2.5rem; }
  .name { font-size: 2rem; }
  .skill-group { flex-direction: column; gap: .1rem; }
  .skill-group dt { flex-basis: auto; }
}

/* --- Print (so the live page itself prints as a tidy resume) -------------- */
@media print {
  body { font-size: 12px; }
  .page { padding: 0; max-width: none; }
  .links .btn, .site-footer { display: none; }
  a { color: var(--ink); }
}
