.cv-page {
  margin: 0 auto;
  max-width: 1500px;
  padding: 0 4vw 7rem;
}

.cv-hero {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
}

.cv-kicker,
.cv-section-label,
.cv-role-meta,
.cv-fact-card dt {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cv-kicker {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.cv-kicker::before {
  background: var(--signal);
  border: 3px solid var(--ink);
  border-radius: 50%;
  content: "";
  height: 11px;
  width: 11px;
}

.cv-hero h1 {
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.82;
  margin-bottom: 1.6rem;
}

.cv-headline {
  color: var(--blue);
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin-bottom: 2rem;
  max-width: 780px;
}

.cv-intro {
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  line-height: 1.7;
  max-width: 760px;
}

.cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.cv-facts {
  align-self: end;
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--signal);
  color: var(--white);
  margin: 0;
  padding: 1.5rem;
}

.cv-fact-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.15rem 0;
}

.cv-fact-card:last-child {
  border-bottom: 0;
}

.cv-fact-card dt {
  color: #a8aaa6;
  margin-bottom: 0.5rem;
}

.cv-fact-card dd {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.cv-section {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1.65fr);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.cv-section-label {
  color: var(--blue);
}

.cv-section-content > h2 {
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin-bottom: 2.5rem;
}

.cv-profile-copy {
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  line-height: 1.7;
  max-width: 900px;
}

.cv-role {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.62fr);
  padding: 2rem 0;
}

.cv-role:first-of-type {
  border-top-color: var(--ink);
}

.cv-role-meta {
  line-height: 1.6;
}

.cv-role-meta strong {
  color: var(--blue);
  display: block;
  margin-bottom: 0.4rem;
}

.cv-role h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 0.75rem;
}

.cv-company {
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.cv-role ul,
.cv-skill-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.cv-role li,
.cv-skill-card li {
  line-height: 1.65;
  margin-bottom: 0.55rem;
}

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

.cv-skill-card,
.cv-evidence-card {
  border: 1px solid var(--ink);
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.cv-skill-card:nth-child(2),
.cv-evidence-card:nth-child(2) {
  background: var(--signal);
}

.cv-skill-card:nth-child(3) {
  background: var(--ink);
  color: var(--white);
}

.cv-skill-card h3,
.cv-evidence-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 1.35rem;
}

.cv-evidence-card p {
  line-height: 1.65;
}

.cv-evidence-card a {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.8rem;
  padding-bottom: 0.2rem;
}

.cv-education {
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

.cv-education h3 {
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.cv-education strong {
  color: var(--blue);
  display: block;
  margin-bottom: 1rem;
}

.cv-education p {
  line-height: 1.7;
  max-width: 800px;
}

.cv-contact {
  background: var(--blue);
  border: 1px solid var(--ink);
  color: var(--white);
  padding: clamp(2rem, 5vw, 5rem);
}

.cv-contact h2 {
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.92;
  margin-bottom: 1.4rem;
}

.cv-contact p {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 720px;
}

.cv-contact .button {
  background: var(--signal);
  color: var(--ink);
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .cv-hero,
  .cv-section {
    grid-template-columns: 1fr;
  }

  .cv-facts {
    align-self: auto;
  }
}

@media (max-width: 640px) {
  .cv-page {
    padding-bottom: 4rem;
  }

  .cv-hero {
    padding-top: 4rem;
  }

  .cv-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  .cv-section {
    padding: 4rem 0;
  }

  .cv-role,
  .cv-skill-grid,
  .cv-evidence-grid {
    grid-template-columns: 1fr;
  }

  .cv-actions,
  .cv-actions .button {
    width: 100%;
  }

  #profile,
  #cv-experience,
  #skills,
  #education,
  #cv-contact {
    scroll-margin-top: 132px;
  }
}
