.cv-hero {
  position: relative;
  height: min(42vh, 420px);
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px 0;
  background: #0b2a4a;
}
.cv-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cv-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 42, 74, 0.15), rgba(11, 42, 74, 0.55));
}
.cv-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cv-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.cv-crumb { background: var(--bg-soft); }
.cv-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  font-size: 14px;
  color: var(--soft);
}
.cv-crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line);
}
.cv-crumb a { color: var(--blue); }
.cv-crumb a:hover { text-decoration: underline; }
.cv-crumb [aria-current="page"] { color: var(--muted); }

.cv-lead {
  padding: 56px 0 0;
  text-align: center;
}
.cv-lead p {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.cv-row {padding: 80px 0;}
.cv-row-soft { background: var(--bg-soft); }
.cv-row .feature-copy h2 { color: var(--ink); }
.cv-row button.pill {
  appearance: none;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}
.cv-row button.pill:hover { background: var(--blue-hover); }

.cv-modal[hidden] { display: none; }
.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 72%);
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.cv-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}
.cv-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
.cv-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}
.cv-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
html.cv-open,
html.cv-open body { overflow: hidden; }

@media (max-width: 960px) {
  .cv-row { padding: 48px 0; }
  .cv-lead { padding: 36px 0 0; }
  .cv-row .feature-visual { order: -1; }
  .cv-row .feature-copy { order: 1; }
}

@media (max-width: 479px) {
  .cv-hero h1 {
    font-size: 36px;
  }
}
