/* Video-led extensions to the existing type, paper, and vermilion system. */
.hero-service-line {
  margin-top: 25px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.work-toolbar { gap: 30px; }
.work-preview-guide { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 600; }
.work-preview-guide span + span::before { content: '/'; padding-right: 18px; color: var(--muted); font-weight: 400; }
.preview-toggle { background: none; border: 1px solid var(--ink); border-radius: 24px; padding: 12px 17px; font-size: 12px; min-height: 44px; }
.preview-toggle:hover { background: var(--ink); color: var(--paper); }
.work-content { padding-bottom: 140px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
.project-card { min-width: 0; }
.project-card:nth-child(even) { transform: translateY(64px); }
.project-button { display: block; width: 100%; border: 0; padding: 0; text-align: left; background: none; }
.project-image { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 10; background: #d8d5cb; }
.project-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-image::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .72)); pointer-events: none; }
.project-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.project-preview.is-playing { opacity: 1; }
.image-label { position: absolute; top: 18px; left: 18px; padding: 7px 10px; font-size: 12px; line-height: 1.2; background: var(--paper); color: var(--ink); z-index: 1; }
.project-image-bottom { position: absolute; bottom: 23px; left: 23px; right: 23px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; }
.project-explore { font-size: 15px; font-weight: 600; line-height: 1.4; }
.project-open { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background .3s, color .3s, transform .5s var(--ease); }
.project-open .icon { width: 22px; height: 22px; }
.project-open .play-icon { fill: currentColor; stroke: none; }
.project-button:hover .project-image > img { transform: scale(1.035); }
.project-button:hover .project-open { background: var(--red); color: var(--paper); transform: rotate(45deg); }
.project-button:hover .project-open:has(.play-icon) { transform: scale(1.06); }
.project-caption { padding: 20px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.project-caption h3 { font-size: clamp(23px, 2.45vw, 39px); line-height: 1.1; font-weight: 800; letter-spacing: -.04em; }
.project-more { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; min-height: 44px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 26px; font-size: 12px; font-weight: 600; transition: background .2s, color .2s; }
.project-more .icon { width: 18px; height: 18px; }
.project-button:hover .project-more, .project-button:focus-visible .project-more { background: var(--ink); color: var(--paper); }
.project-deliverables { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; font-size: 12px; font-weight: 600; }
.project-deliverables span + span::before { content: '+'; padding-right: 18px; color: var(--red-ink); }
.custom-price { font-size: clamp(43px, 5vw, 76px); line-height: 1.14; letter-spacing: -.05em; }
.custom-package .package-description { font-size: 14px; max-width: 270px; }
.custom-package .package-features { margin-top: 26px; }
.package-features li { align-items: flex-start; line-height: 1.6; }
.feature-check { flex-shrink: 0; margin-top: 4px; }
.price-card .package-cta { font-weight: 800; }

@media (max-width: 1000px) {
  .work-preview-guide { gap: 12px; font-size: 12px; }
  .work-preview-guide span + span::before { padding-right: 12px; }
  .work-toolbar:has(.preview-toggle:not([hidden])) { flex-wrap: wrap; }
  .project-grid { gap: 38px 24px; }
  .project-image-bottom { left: 18px; right: 18px; bottom: 18px; }
  .project-explore { font-size: 13px; }
  .project-deliverables { gap: 9px 10px; }
  .project-deliverables span + span::before { padding-right: 10px; }
}

@media (max-width: 700px) {
  .hero-service-line { font-size: 14px; max-width: 330px; margin-top: 24px; }
  .work-toolbar { padding: 25px 0; }
  .work-preview-guide { margin-top: 19px; font-size: 12px; gap: 14px; }
  .work-preview-guide span + span::before { padding-right: 14px; }
  .preview-toggle { margin-top: 18px; }
  .work-content { padding-bottom: 48px; }
  .project-grid { grid-template-columns: 1fr; gap: 33px; }
  .project-card:nth-child(even) { transform: none; }
  .project-image { aspect-ratio: 4 / 3; }
  .image-label { top: 14px; left: 14px; }
  .project-image-bottom { bottom: 16px; left: 16px; right: 16px; gap: 12px; }
  .project-open { width: 44px; height: 44px; }
  .project-caption { padding: 17px 0 14px; gap: 12px; }
  .project-caption h3 { font-size: 25px; max-width: 220px; }
  .project-more { gap: 10px; padding: 10px 12px; }
  .project-deliverables { font-size: 12px; padding-top: 12px; }
  .custom-price { font-size: 64px; line-height: 1; }
  .custom-package .package-description { max-width: 350px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-preview, .project-open, .project-more, .project-image > img { transition: none; }
  .project-button:hover .project-image > img, .project-button:hover .project-open { transform: none; }
}

.hero-referral {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.hero-referral p { font-size: 16px; line-height: 1.6; }
.referral-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.referral-link:hover { color: var(--red-ink); }
.about-signature { align-items: flex-end; gap: 24px; }
.about-signature > span { padding-bottom: 8px; font-weight: 800; }
.about-headshot { display: block; width: 160px; max-width: 45%; height: auto; flex-shrink: 0; }
@media (max-width: 700px) {
  .hero-referral { margin-top: 24px; padding-top: 10px; }
  .hero-referral p { font-size: 15px; }
  .about-signature { gap: 20px; }
  .about-headshot { width: 144px; }
}

.contact-referral { max-width: 48ch; margin-top: 16px; text-wrap: pretty; }

.form-footer { align-items: flex-start; }
.form-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.form-alternative { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--paper); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.form-alternative:hover { text-decoration-thickness: 2px; }
.form-alternative:disabled { cursor: wait; opacity: .65; }
@media (max-width: 700px) {
  .form-actions { align-items: flex-start; }
}
