@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/LibreBaskerville-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/LibreBaskerville-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #1f3b2c;
  --pine: #2f5b3f;
  --turf: #3f7b4b;
  --sage: #8aa68a;
  --sand: #f5f1e8;
  --clay: #d8c9b3;
  --ink: #1b1b1b;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(18, 33, 24, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(145deg, #f7f5ef 0%, #eef3ea 52%, #f5efe3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/images/grass.svg");
  background-repeat: repeat;
  background-size: 420px auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.resume-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.75rem 1.5rem;
  background: rgba(245, 241, 232, 0.92);
  border-bottom: 1px solid rgba(31, 59, 44, 0.18);
  backdrop-filter: blur(6px);
}

.resume-nav a {
  text-decoration: none;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.resume-nav a:hover {
  color: var(--turf);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--forest), #254b37 60%, #325b42 100%);
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: rise 0.8s ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 65%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin: 0 0 12px;
}

.title {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
}

.contact {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__badge {
  display: flex;
  justify-content: center;
}

.badge {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  text-align: center;
}

.badge__label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.badge__value {
  margin: 12px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.card {
  background: var(--white);
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow: 0 12px 30px rgba(20, 40, 28, 0.12);
  animation: rise 0.7s ease-out both;
}

.summary {
  margin: 28px 0 22px;
}

h2 {
  margin-top: 0;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: 1.4rem;
  color: var(--forest);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.pill-list,
.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.pill-list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ea;
  border: 1px solid #d7e5d3;
  font-weight: 600;
  color: #2c4b35;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--turf);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline__item {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e1e6dd;
  background: linear-gradient(145deg, #fbfcf9 0%, #f2f6f0 100%);
}

.timeline__meta {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.timeline__role {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: #1f3b2c;
}

.timeline__org {
  margin: 0;
  color: #375544;
}

.timeline__dates {
  margin: 0;
  color: #6f7f73;
  font-size: 0.9rem;
}

.timeline__item ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.edu {
  margin-bottom: 16px;
}

.edu__school {
  font-weight: 700;
  margin: 0;
}

.edu__details {
  margin: 4px 0 0;
  color: #5a6c5f;
}

.footer {
  text-align: center;
  margin-top: 32px;
  color: #5c6f63;
  font-size: 0.95rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .page {
    padding: 24px 18px 40px;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  body {
    background: white;
  }

  body::before {
    display: none;
  }

  .page {
    margin: 0;
    padding: 0;
  }

  .hero,
  .card {
    box-shadow: none;
  }
}
