/* Yas case study: the portfolio frame around the current interactive design. */
.yas-case { --project-accent: #367a80; }
.yas-preview { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
.yas-preview-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px; }
.yas-preview-top .eyebrow { color: #367a80; }
.yas-preview-top a { font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; }
.yas-preview-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 16px; }
.yas-preview-nav a { font-size: .8125rem; border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; transition: background .2s; }
.yas-preview-nav a:hover, .yas-preview-nav a[aria-current] { background: #e1ece9; border-color: #a8c3bc; color: #205a5e; }
.yas-preview-screen { position: relative; background: #080b0c; border-top: 1px solid var(--border); }
.yas-preview-poster { display: block; width: 100%; padding: 0; border: 0; background: #080b0c; cursor: pointer; }
.yas-preview-poster > img { width: 100%; height: auto; aspect-ratio: 1440 / 870; }
.yas-preview-prompt { display: flex; justify-content: center; align-items: center; gap: 13px; padding: 15px 20px; border-top: 1px solid #ffffff24; color: #ded4c0; font-size: .875rem; }
.yas-preview-prompt > span:first-child { color: #00d6e9; font-size: 1rem; }
.yas-preview-poster:hover .yas-preview-prompt { background: #162022; }
.yas-preview-screen iframe { display: block; width: 100%; height: clamp(560px, 76vh, 820px); border: 0; background: #080b0c; }
.yas-preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; font-size: .8125rem; color: var(--muted); }
.yas-preview-footer p { margin: 0; }
.yas-preview-footer button { border: 0; color: var(--text); background: transparent; padding: 5px 0; text-decoration: underline; text-underline-offset: 4px; flex-shrink: 0; }
.yas-preview [hidden] { display: none; }
.yas-case .yas-project-note { font-size: .8125rem; color: var(--muted); margin: 13px 0 0; }
.yas-case .yas-journey-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.yas-journey { display: grid; grid-template-columns: 55px 1fr auto; gap: 22px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--border); }
.yas-journey > .eyebrow { padding-top: 5px; color: #367a80; }
.yas-journey h3 { font-size: 1.15rem; margin: 0 0 8px; letter-spacing: -.025em; }
.yas-journey p { color: var(--muted); max-width: 660px; margin: 0; font-size: .9375rem; }
.yas-journey > a { font-size: .8125rem; padding-top: 5px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 620px) {
  .yas-preview-top, .yas-preview-footer { padding: 14px 16px; }
  .yas-preview-nav { padding: 0 16px 14px; }
  .yas-preview-footer { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .yas-preview-screen iframe { height: 680px; max-height: 80svh; min-height: 480px; }
  .yas-journey { grid-template-columns: 30px 1fr; gap: 14px; }
  .yas-journey > a { grid-column: 2; padding-top: 0; }
}
