/* Real project previews share one frame; only opacity and transform move. */
.pro-hero .pro-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pro-visual-column { min-width: 0; }
.pro-preview { margin: 0; }
.pro-preview-frame { border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: var(--surface); }
.pro-preview-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.pro-preview-topline svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pro-preview-topline > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pro-preview-topline [data-preview-domain] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-preview-kind { font-size: .6875rem; white-space: nowrap; }
.pro-preview-viewport { display: grid; overflow: hidden; }
.pro-preview-slide { grid-area: 1 / 1; margin: 0; min-width: 0; opacity: 0; transform: translateY(8px) scale(1.01); pointer-events: none; transition: opacity 600ms cubic-bezier(.16, 1, .3, 1), transform 600ms cubic-bezier(.16, 1, .3, 1); }
.pro-preview-slide.is-current { opacity: 1; transform: none; pointer-events: auto; }
.pro-preview-image { aspect-ratio: 1000 / 563; overflow: hidden; background: var(--surface-soft); }
.pro-preview-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pro-preview-slide figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; padding: 18px 20px; background: var(--surface); }
.pro-preview-slide figcaption strong { display: block; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.02em; }
.pro-preview-slide figcaption p { margin: 4px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.pro-preview-link { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--violet-text); }
.pro-preview-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pro-preview-link:hover { background: var(--surface-accent); border-color: var(--violet-text); }
.pro-preview-controls { display: flex; align-items: stretch; gap: 10px; margin-top: 12px; }
.pro-preview-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 1; min-width: 0; }
.pro-preview-choice { min-width: 0; min-height: 48px; padding: 9px 5px; border: 0; border-bottom: 2px solid var(--line); background: transparent; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.pro-preview-choice[aria-pressed="true"] { border-bottom-color: var(--violet-text); color: var(--violet-text); font-weight: 600; }
.pro-preview-choice:hover { background: var(--surface-soft); color: var(--ink); }
.pro-preview-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 48px; min-height: 48px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: .75rem; }
.pro-preview-toggle:hover { background: var(--surface-soft); }
.pro-preview-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.pro-preview-toggle .pro-preview-play { display: none; }
.pro-preview-toggle[aria-pressed="true"] .pro-preview-play { display: block; }
.pro-preview-toggle[aria-pressed="true"] .pro-preview-pause { display: none; }
.pro-preview-note { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-accent); }
.pro-preview-note .pro-hero-note { font-size: clamp(27px, 2.5vw, 36px); margin-bottom: 16px; }
.pro-preview-note > p:not(.pro-hero-note) { color: var(--muted); font-size: .9375rem; line-height: 1.7; margin-bottom: 16px; }
.pro-preview-note .text-link { font-size: .8125rem; color: var(--violet-text); }
.pro-preview[data-frozen="true"] .pro-preview-slide { transition: none; }

/* The descriptions are editorial copy, not the short home-page captions. */
.pro-project-carousel .project-caption { padding: 24px 36px 24px 0; }
.pro-project-carousel .project-caption h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; margin-bottom: 12px; }
.pro-project-carousel .project-caption p { font-size: .9375rem; line-height: 1.7; max-width: 55ch; }
.pro-project-carousel .project-caption > span { top: 28px; font-variant-numeric: tabular-nums; }
.pro-project-visit { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 48px; padding-block: 10px; margin-top: 8px; font-size: .8125rem; font-weight: 500; color: var(--violet-text); }
.pro-project-visit > span { font-size: 18px; }
.pro-project-carousel .project-card:hover .pro-project-visit { text-decoration: underline; text-underline-offset: 4px; }

/* The movie is decorative; the opaque form and tinted veil carry contrast. */
.professional-page .pro-contact { background: transparent; padding-block: 100px 90px; --contact-veil: linear-gradient(180deg, #f7f7f2 0%, #f7f7f230 25%, #f7f7f230 75%, #f7f7f2 100%), linear-gradient(90deg, #f7f7f2f2 0%, #f7f7f2e0 42%, #f7f7f26b 100%); }
html[data-theme="dark"] .professional-page .pro-contact { --contact-veil: linear-gradient(180deg, #000 0%, #0002 25%, #0002 75%, #000 100%), linear-gradient(90deg, #000000ed 0%, #000000db 42%, #0006 100%); }

@media (prefers-reduced-motion: no-preference) {
  .pro-service.reveal.is-observed { opacity: .8; transform: translateY(10px); transition: opacity 440ms cubic-bezier(.16, 1, .3, 1), transform 440ms cubic-bezier(.16, 1, .3, 1); }
  .pro-service.reveal.is-observed.is-visible { opacity: 1; transform: none; }
  .pro-service.reveal:nth-child(even) { transition-delay: 60ms; }
  .pro-steps li.reveal.is-observed { opacity: .74; transform: none; transition: opacity 350ms ease; }
  .pro-steps li.reveal.is-observed.is-visible { opacity: 1; }
}
@media (max-width: 800px) {
  .pro-hero .pro-layout { grid-template-columns: 1fr; gap: 32px; }
  .pro-visual-column { max-width: 620px; width: 100%; }
  .pro-preview-note { margin-top: 24px; padding-top: 24px; }
  .professional-page .pro-contact { padding-block: 105px 70px; }
}
@media (max-width: 600px) {
  .pro-preview-topline { padding: 11px 12px; gap: 8px; }
  .pro-preview-kind { display: none; }
  .pro-preview-slide figcaption { padding: 16px; min-height: 100px; gap: 10px; }
  .pro-preview-slide figcaption strong { font-size: 1rem; }
  .pro-preview-slide figcaption p { font-size: .75rem; }
  .pro-preview-controls { flex-wrap: wrap; }
  .pro-preview-picks { flex-basis: 100%; }
  .pro-preview-toggle { margin-left: auto; }
  .pro-project-carousel .project-caption { padding-top: 20px; padding-bottom: 20px; }
  .pro-project-carousel .project-caption p { font-size: .875rem; }
  .pro-project-carousel .project-caption > span { top: 24px; }
  .professional-page .pro-contact { padding-block: 105px 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .pro-preview-slide { transform: none; transition: opacity 150ms ease; }
  .pro-service.reveal.is-observed, .pro-steps li.reveal.is-observed { opacity: 1; transform: none; transition: opacity 150ms ease; transition-delay: 0ms; }
}
.reduce-motion .pro-preview-slide { transform: none; transition: opacity 150ms ease; }
.reduce-motion .pro-service.reveal.is-observed, .reduce-motion .pro-steps li.reveal.is-observed { opacity: 1; transform: none; transition: opacity 150ms ease; transition-delay: 0ms; }
