/* ========================================
   CV PAGE — Extended styles
   ======================================== */

/* CV Header adjustments */
.cv-header .page-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pro-text);
}

.contact-info span {
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

.contact-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pro-accent);
  padding: 0.5rem 1rem;
  border: 1px solid var(--pro-accent);
  transition: all 0.2s;
}

.contact-link:hover {
  background: var(--pro-accent);
  color: var(--pro-bg);
}

/* CV Timeline */
.cv-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cv-entry {
  padding-left: 1.5rem;
  border-left: 2px solid var(--pro-line);
  position: relative;
}

.cv-entry::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 10px;
  height: 10px;
  background: var(--pro-accent);
  border-radius: 50%;
}

.cv-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.cv-role {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--pro-text-bright);
}

.cv-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--pro-accent);
  letter-spacing: 0.1em;
}

.cv-company {
  font-size: 1rem;
  color: var(--pro-text-dim);
  margin-bottom: 0.75rem;
}

.cv-summary {
  font-size: 0.95rem;
  color: var(--pro-text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Sub-roles within an entry */
.cv-sub-role {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 1px dashed var(--pro-line);
}

.cv-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cv-sub-title {
  font-weight: 700;
  color: var(--pro-accent);
  font-size: 0.95rem;
}

.cv-sub-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--pro-text-dim);
  letter-spacing: 0.05em;
}

.cv-description {
  font-size: 0.85rem;
  color: var(--pro-text);
  margin-bottom: 0.75rem;
  font-style: italic;
}

/* CV Lists */
.cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cv-list li {
  font-size: 0.85rem;
  color: var(--pro-text);
  padding-left: 1.25rem;
  position: relative;
}

.cv-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--pro-accent-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.cv-list li strong {
  color: var(--pro-text-bright);
}

/* Accomplishments */
.cv-accomplishments {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(93, 171, 255, 0.12);
  border: 1px dashed var(--pro-line);
}

.cv-accomplishments-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pro-accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

/* Skills sections */
.cv-skills-section {
  margin-bottom: 1.5rem;
}

.cv-skills-section:last-child {
  margin-bottom: 0;
}

.cv-skills-section h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pro-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--pro-line);
  text-transform: uppercase;
}

.cv-skill-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cv-skill-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  font-size: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dotted var(--pro-line);
}

.cv-skill-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cv-skill-name {
  font-weight: 600;
  color: var(--pro-text-bright);
}

.cv-skill-value {
  color: var(--pro-text);
}

/* Education */
.cv-education {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cv-edu-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-accent-dim);
}

.cv-edu-degree {
  font-weight: 700;
  color: var(--pro-text-bright);
  font-size: 1.1rem;
}

.cv-edu-school {
  color: var(--pro-text);
  font-size: 0.95rem;
}

.cv-edu-details {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pro-text-dim);
  margin-top: 0.25rem;
}

/* Additional Experience */
.cv-additional {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cv-additional-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-line);
}

.cv-additional-role {
  font-weight: 700;
  color: var(--pro-text-bright);
}

.cv-additional-org {
  font-size: 0.85rem;
  color: var(--pro-text-dim);
  margin-bottom: 0.5rem;
}

.cv-additional-item p {
  font-size: 0.85rem;
  color: var(--pro-text);
  margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .cv-entry-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .cv-sub-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .cv-skill-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact-info span:nth-child(2),
  .contact-info span:nth-child(4) {
    display: none;
  }
}

@media print {
  .blueprint-bg {
    display: none;
  }

  body {
    background: white;
    color: #333;
  }

  .page-container {
    max-width: none;
    padding: 0;
  }

  .top-nav {
    display: none;
  }

  .spec-block {
    background: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  .cv-entry {
    break-inside: avoid;
  }

  .page-footer {
    display: none;
  }
}
