
/* =========================================
   CV PAGE
========================================= */

:root {
  --cv-navy: #172a42;
  --cv-ink: #29394c;
  --cv-muted: #718092;
  --cv-gold: #b99a70;
  --cv-paper: #f8f7f3;
  --cv-line: #e8e5dd;
}

/* HERO */

.cv-hero {
  padding: 100px 0;
  background: var(--cv-paper);
  overflow: hidden;
}

.cv-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 75px;
}

.eyebrow {
  display: inline-block;
  color: var(--cv-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.3px;
  margin-bottom: 22px;
}

.cv-hero h1,
.section-heading h2,
.cv-cta-inner h2 {
  color: var(--cv-navy);
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -1.5px;
}

.cv-hero h1 {
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1.08;
  margin: 0 0 25px;
}

.cv-hero h1 em,
.section-heading h2 em {
  color: var(--cv-gold);
  font-weight: 500;
}

.cv-hero-copy > p {
  max-width: 540px;
  color: var(--cv-muted);
  font-size: 13px;
  line-height: 1.95;
}

.cv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.cv-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 15px 23px;
  background: var(--cv-navy);
  color: white;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  transition: background .3s ease, transform .3s ease;
}

.cv-primary-button:hover {
  background: #294361;
  transform: translateY(-3px);
}

.cv-primary-button span {
  color: var(--cv-gold);
  font-size: 17px;
}

.cv-secondary-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid var(--cv-line);
  color: var(--cv-navy);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  transition: border-color .3s ease;
}

.cv-secondary-button:hover {
  border-color: var(--cv-gold);
}

.cv-updated-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  color: var(--cv-muted);
  font-size: 10px;
}

.cv-status-dot {
  width: 7px;
  height: 7px;
  background: var(--cv-gold);
  border-radius: 50%;
}

/* DOCUMENT ILLUSTRATION */

.cv-hero-art {
  position: relative;
  min-height: 430px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cv-document {
  position: relative;
  z-index: 2;
  width: 265px;
  min-height: 350px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 25px 65px rgba(23,42,66,.13);
  transform: rotate(-4deg);
  animation: document-float 6s ease-in-out infinite;
}

.cv-document-back {
  position: absolute;
  width: 265px;
  height: 350px;
  background: #eae5db;
  transform: rotate(5deg) translate(12px, 5px);
}

.cv-document-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 2px solid var(--cv-navy);
}

.cv-document-header span:first-child {
  color: var(--cv-navy);
  font-family: "Playfair Display", serif;
  font-size: 23px;
  font-weight: 700;
}

.cv-document-header span:last-child {
  color: var(--cv-gold);
  font-size: 6px;
  letter-spacing: 1px;
  font-weight: 700;
}

.cv-document-line {
  height: 4px;
  margin-top: 10px;
  background: #e9e8e3;
}

.line-long { width: 100%; }
.line-medium { width: 72%; }
.line-short { width: 45%; }

.cv-document-section {
  color: var(--cv-gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 22px;
}

.cv-document-footer {
  margin-top: 25px;
  padding-top: 12px;
  border-top: 1px solid var(--cv-line);
  color: var(--cv-muted);
  font-size: 6px;
  letter-spacing: 1.3px;
}

.cv-art-label {
  position: absolute;
  bottom: 10px;
  color: var(--cv-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes document-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-9px); }
}

/* PROFILE STRIP */

.cv-profile-strip {
  background: white;
  border-bottom: 1px solid var(--cv-line);
}

.cv-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cv-profile-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 28px 22px;
  border-right: 1px solid var(--cv-line);
}

.cv-profile-item:first-child { padding-left: 0; }
.cv-profile-item:last-child {
  border: 0;
  padding-right: 0;
}

.cv-profile-item > span {
  color: var(--cv-gold);
  font-family: "Playfair Display", serif;
  font-size: 25px;
}

.cv-profile-item strong {
  display: block;
  color: var(--cv-navy);
  font-size: 12px;
  margin-bottom: 5px;
}

.cv-profile-item small {
  color: var(--cv-muted);
  font-size: 10px;
}

/* SECTION HEADINGS */

.cv-preview-section,
.cv-profiles-section,
.cv-summary-section {
  padding: 100px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: clamp(35px, 4vw, 49px);
  line-height: 1.2;
  margin: 0 0 18px;
}

.section-heading > p {
  color: var(--cv-muted);
  font-size: 12px;
  line-height: 1.9;
}

/* PDF PREVIEW */

.cv-preview-section {
  background: var(--cv-paper);
}

.cv-preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 22px;
  background: white;
  border: 1px solid var(--cv-line);
  border-bottom: 0;
}

.cv-file-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cv-file-icon {
  width: 39px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1ebe1;
  color: #92744f;
  font-size: 9px;
  font-weight: 700;
}

.cv-file-info strong {
  display: block;
  color: var(--cv-navy);
  font-size: 11px;
}

.cv-file-info small {
  display: block;
  color: var(--cv-muted);
  font-size: 9px;
  margin-top: 5px;
}

.cv-open-link {
  color: var(--cv-gold);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.cv-open-link:hover {
  text-decoration: underline;
}

.cv-pdf-frame {
  position: relative;
  height: 780px;
  background: #e9e8e3;
  border: 1px solid var(--cv-line);
}

.cv-pdf-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
}

.cv-pdf-fallback {
  display: none;
}

/* PROFILE LINKS */

.cv-profiles-section {
  background: white;
}

.cv-profile-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.cv-profile-card {
  display: grid;
  grid-template-columns: 35px 1fr 20px;
  align-items: center;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--cv-line);
  text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.cv-profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--cv-gold);
  box-shadow: 0 15px 35px rgba(23,42,66,.06);
}

.profile-card-number {
  color: var(--cv-gold);
  font-family: "Playfair Display", serif;
  font-size: 23px;
}

.profile-card-label {
  color: var(--cv-gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.cv-profile-card h3 {
  color: var(--cv-navy);
  font-family: "Playfair Display", serif;
  font-size: 21px;
  font-weight: 500;
  margin: 7px 0;
}

.cv-profile-card p {
  color: var(--cv-muted);
  font-size: 10px;
  margin: 0;
}

.profile-card-arrow {
  color: var(--cv-gold);
  font-size: 18px;
}

/* SUMMARY */

.cv-summary-section {
  background: var(--cv-paper);
}

.cv-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.cv-summary-card {
  padding: 27px 22px;
  background: white;
  border: 1px solid var(--cv-line);
  transition: transform .3s ease;
}

.cv-summary-card:hover {
  transform: translateY(-5px);
}

.cv-summary-card > span {
  color: var(--cv-gold);
  font-family: "Playfair Display", serif;
  font-size: 24px;
}

.cv-summary-card h3 {
  color: var(--cv-navy);
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 500;
  margin: 19px 0 12px;
}

.cv-summary-card p {
  color: var(--cv-muted);
  font-size: 10px;
  line-height: 1.9;
}

/* CTA */

.cv-cta-section {
  padding: 100px 0;
  text-align: center;
  background: white;
}

.cv-cta-inner {
  max-width: 760px;
  margin: auto;
}

.cv-cta-inner h2 {
  font-size: clamp(34px, 4.5vw, 51px);
  line-height: 1.25;
  margin: 0 0 20px;
}

.cv-cta-inner > p {
  color: var(--cv-muted);
  font-size: 12px;
  line-height: 1.9;
  max-width: 550px;
  margin: 0 auto;
}

.cv-cta-inner .cv-primary-button {
  margin-top: 28px;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .cv-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cv-hero-art {
    min-height: 390px;
  }

  .cv-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .cv-hero {
    padding: 75px 0 55px;
  }

  .cv-hero-art {
    min-height: 350px;
  }

  .cv-profile-grid {
    grid-template-columns: 1fr;
  }

  .cv-profile-item,
  .cv-profile-item:first-child,
  .cv-profile-item:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--cv-line);
  }

  .cv-profile-item:last-child {
    border-bottom: 0;
  }

  .cv-preview-section,
  .cv-profiles-section,
  .cv-summary-section {
    padding: 75px 0;
  }

  .cv-pdf-frame {
    height: 570px;
  }

  .cv-preview-toolbar {
    padding: 14px;
  }

  .cv-file-info strong {
    font-size: 9px;
  }

  .cv-profile-links {
    grid-template-columns: 1fr;
  }

  .cv-summary-grid {
    grid-template-columns: 1fr;
  }

  .cv-cta-section {
    padding: 75px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-document,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
