.resume-page {
  padding-bottom: 2rem;
}

.resume-intro {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}

.resume-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.resume-intro-copy h1 {
  max-width: 920px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.resume-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.resume-contact-line {
  color: var(--muted);
  font-size: 1rem;
}

.resume-contact-line a {
  color: inherit;
}

.resume-snapshot,
.resume-stage,
.resume-skill-card,
.resume-callout {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 29, 31, .94), rgba(18, 22, 23, .94));
  box-shadow: 0 24px 60px var(--shadow);
}

.resume-snapshot {
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.resume-snapshot-kicker,
.resume-job-time,
.resume-job-type {
  color: var(--amber);
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.resume-snapshot h2 {
  margin: .8rem 0 1.2rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.resume-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
}

.resume-stats div {
  min-width: 0;
  padding: .9rem;
  border: 1px solid rgba(103, 183, 176, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.resume-stats dt {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.resume-stats dd {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}

.resume-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(42, 50, 52, .7);
}

.resume-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.resume-section-heading h2 {
  max-width: 760px;
}

.resume-section-note {
  margin: 0;
  color: var(--muted);
}

.resume-stage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resume-stage {
  min-width: 0;
  padding: 1.1rem;
  box-shadow: none;
}

.resume-stage span {
  display: block;
  margin-bottom: .85rem;
  color: var(--amber);
  font-family: var(--mono);
  font-size: .75rem;
}

.resume-stage strong {
  display: block;
  margin-bottom: .55rem;
  color: var(--text);
}

.resume-stage p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

.resume-history {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
}

.resume-history::before {
  content: "";
  position: absolute;
  left: 176px;
  top: .5rem;
  bottom: .5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(214, 168, 79, .55), rgba(103, 183, 176, .32), rgba(42, 50, 52, 0));
}

.resume-job {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 3.25rem;
  padding: 1.45rem 0;
  border-top: 1px solid rgba(42, 50, 52, .65);
}

.resume-job:first-child {
  border-top: 0;
}

.resume-job::before {
  content: "";
  position: absolute;
  left: 170px;
  top: 2rem;
  width: 13px;
  height: 13px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 6px rgba(11, 13, 14, .92);
}

.resume-job.current::before,
.resume-job.owner::before {
  border-color: var(--cyan);
  box-shadow: 0 0 0 6px rgba(11, 13, 14, .92), 0 0 18px rgba(103, 183, 176, .32);
}

.resume-job-meta {
  padding-top: .08rem;
  text-align: right;
}

.resume-job-type {
  display: block;
  margin-top: .35rem;
  color: var(--cyan);
}

.resume-job h3 {
  margin-bottom: .25rem;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.resume-job-title {
  margin-bottom: .85rem;
  color: var(--cyan);
  font-weight: 700;
}

.resume-job ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.resume-job li + li {
  margin-top: .3rem;
}

.resume-job li::marker {
  color: var(--amber);
}

.resume-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.resume-skill-card {
  min-width: 0;
  padding: 1.2rem;
  box-shadow: none;
}

.resume-skill-card h3 {
  color: var(--amber);
}

.resume-skill-card ul {
  margin: .9rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

.resume-skill-card li::marker {
  color: var(--cyan);
}

.resume-skill-card a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.resume-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.3rem, 4vw, 2rem);
}

.resume-callout h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.resume-callout p {
  max-width: 760px;
  color: var(--muted);
}

.resume-callout .hero-actions {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 1020px) {
  .resume-intro-grid,
  .resume-section-heading,
  .resume-callout {
    grid-template-columns: 1fr;
  }

  .resume-stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resume-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resume-callout .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .resume-intro {
    padding: 3.25rem 0;
  }

  .resume-intro-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .resume-stage-grid,
  .resume-skill-grid {
    grid-template-columns: 1fr;
  }

  .resume-history::before {
    left: 8px;
  }

  .resume-job {
    grid-template-columns: 1fr;
    gap: .65rem;
    padding: 1.35rem 0 1.35rem 1.65rem;
  }

  .resume-job::before {
    left: 2px;
    top: 1.75rem;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 4px rgba(11, 13, 14, .92);
  }

  .resume-job.current::before,
  .resume-job.owner::before {
    box-shadow: 0 0 0 4px rgba(11, 13, 14, .92), 0 0 14px rgba(103, 183, 176, .28);
  }

  .resume-job-meta {
    text-align: left;
  }

  .resume-job-type {
    display: inline;
    margin: 0 0 0 .45rem;
  }

  .resume-snapshot,
  .resume-stage,
  .resume-skill-card,
  .resume-callout {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  }
}

@media (max-width: 460px) {
  .resume-stats {
    grid-template-columns: 1fr;
  }
}


.resume-headshot-card {
  width: min(100%, 420px);
  justify-self: end;
  padding: .75rem;
  border: 1px solid rgba(103, 183, 176, .28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 29, 31, .94), rgba(18, 22, 23, .94));
  box-shadow: 0 24px 60px var(--shadow);
}

.resume-headshot {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
}

.resume-headshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 1020px) {
  .resume-headshot-card {
    width: min(100%, 360px);
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .resume-headshot-card {
    justify-self: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body,
  .resume-page {
    background: #fff !important;
    color: #111 !important;
  }

  body::before,
  .site-noise,
  .site-header,
  .site-footer,
  .hero-actions,
  .resume-headshot-card,
  .resume-history::before,
  .resume-job::before {
    display: none !important;
  }

  .resume-intro,
  .resume-section {
    padding: 1.2rem 0;
    border-color: #bbb;
  }

  .resume-intro-grid,
  .resume-section-heading,
  .resume-callout {
    grid-template-columns: 1fr;
  }

  .resume-snapshot,
  .resume-stage,
  .resume-skill-card,
  .resume-callout {
    break-inside: avoid;
    border-color: #bbb;
    background: #fff !important;
    box-shadow: none;
  }

  .resume-history::before {
    background: #999;
  }

  .resume-job {
    display: block;
    break-inside: avoid;
    border-color: #ccc;
  }

  .resume-job-meta {
    text-align: left;
    padding-top: 0;
    margin-bottom: .35rem;
  }

  .resume-job::before {
    border-color: #555;
    background: #fff;
    box-shadow: 0 0 0 4px #fff;
  }

  h1,
  h2,
  h3,
  p,
  li,
  dd,
  .resume-job-title,
  .resume-job-type,
  .resume-snapshot-kicker,
  .resume-job-time {
    color: #111 !important;
  }

  a {
    color: #111 !important;
    text-decoration: none;
  }
}
