.cv-case {
  display: grid;
  grid-template-columns: minmax(210px, .65fr) minmax(0, 1.55fr);
  align-items: start;
  gap: clamp(24px, 5vw, 96px);
  border-top: 1px solid var(--line);
  margin: clamp(28px, 4vw, 70px) 0;
  padding-top: clamp(20px, 2.4vw, 44px);
}
.cv-meta h2, .cv-dialog-head h2 { font-size: clamp(1.65rem, 3vw, 3.3rem); line-height: 1.1 }
.cv-options { list-style: none; margin: 21px 0 0; padding: 0 }
.cv-options li { border-top: 1px solid var(--line) }
.cv-option {
  display: flex; align-items: center; gap: .65em; min-height: 44px; padding: 9px 0;
  font-size: 1rem; line-height: 1.35; text-decoration: none; color: var(--muted);
}
.cv-option[aria-current="true"] { color: var(--ink); font-weight: 550 }
.cv-option:before { content: ""; flex: 0 0 3px; height: 1.1em; background: transparent }
.cv-option[aria-current="true"]:before { background: var(--accent) }
.cv-box { position: relative; isolation: isolate; overflow: hidden; background: #0b0c0d; aspect-ratio: 16/9; width: 100% }
.cv-cover, .cv-mount:not(.cv-box), .cv-player { position: absolute; inset: 0; width: 100%; height: 100% }
.cv-cover { display: grid; align-items: end; color: white; text-decoration: none; isolation: isolate }
.cv-cover img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; inset: 0 }
.cv-cover:after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#050608da,transparent 76%) }
.cv-cover-copy { display: grid; gap: .35em; padding: clamp(14px, 2.1vw, 38px) }
.cv-call { display: inline-flex; align-items: center; gap: 10px; font-size: .91rem }
.cv-call:before {
  content: ""; width: 13px; height: 13px; background: #e4eb88;
  clip-path: polygon(10% 0%,100% 50%,10% 100%); flex: 0 0 auto;
}
.cv-name { font-size: clamp(1.2rem, 2vw, 2.35rem); font-weight: 530; letter-spacing: -.045em; line-height: 1.12 }
.cv-case [hidden] { display: none !important }
.cv-player { border: 0; display: block; background: #101012 }
.cv-tools, .cv-dialog-head { display: flex; justify-content: space-between; gap: 12px; align-items: center }
.cv-tools { padding: 7px 0; flex-wrap: wrap }
.cv-stop, .cv-external { min-height: 44px; display: inline-flex; align-items: center; font: inherit; font-size: .92rem }
.cv-stop {
  background: transparent; color: inherit; border: 1px solid #868685; border-radius: 30px;
  padding: 6px 16px; cursor: pointer; white-space: nowrap;
}
.cv-external { color: inherit; text-decoration: underline; text-underline-offset: 4px }
.cv-dialog {
  position: fixed; margin: auto; padding: clamp(12px, 1.45vw, 24px);
  width: min(1120px, calc(100vw - 32px), calc((100dvh - 148px) * 16/9 + 32px));
  max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overflow: auto;
  color: #fff; background: #17181a; border: 1px solid #49494b;
}
.cv-dialog::backdrop { background: #07070bd6 }
.cv-dialog-head { padding-bottom: 12px }
.cv-dialog-head h2 { font-size: clamp(1.2rem, 2vw, 2.1rem) }
.cv-dialog .cv-tools { justify-content: end; padding-bottom: 0 }
body:has(.cv-dialog[open]) { overflow: hidden }
.cv-cover:focus-visible { outline-offset: -4px }
@media (max-width: 700px) {
  .cv-case { grid-template-columns: 1fr; gap: 15px }
  .cv-options { margin-top: 12px }
  .cv-dialog { width: calc(100vw - 18px) }
}
@media (prefers-reduced-motion: no-preference) {
  .cv-dialog[open] { animation: cv-appear .22s ease-out }
  .cv-dialog[open]::backdrop, .cv-case .cv-mount:not([hidden]), .cv-case .cv-cover:not([hidden]) { animation: cv-appear .18s ease-out }
  .cv-dialog[data-closing]::backdrop { animation: cv-appear .14s ease-out reverse both }
  @keyframes cv-appear { from { opacity:0 } to { opacity:1 } }
}
