/* Matches the existing white, two-column project case studies. */
@font-face {
  font-family: "Inter";
  src: url("https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("https://framerusercontent.com/assets/qITWJ2WdG0wrgQPDb8lvnYnTXDg.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html { background: #fff; color: #666; }
body { margin: 0; font: 400 16px/1.6 "Inter", "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: #34383d; }
a:focus-visible { outline: 2px solid #2764b7; outline-offset: 5px; border-radius: 3px; }

.project-page { max-width: 1080px; margin: 0 auto; padding: 24px 40px 40px; }
.project-nav a, .project-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.project-nav { font-size: 14px; color: #757a80; }
.project-nav a { text-decoration: none; }
.project-header { text-align: center; margin: 36px 0 64px; }
h1, h2 { font-family: "Inter Display", "Inter", "Helvetica Neue", Arial, sans-serif; font-weight: 700; }
h1 { margin: 0; font-size: clamp(48px, 6vw, 72px); line-height: 1.1; letter-spacing: -.045em; color: #92979c; }
.project-header p { margin: 16px 0 0; color: #757a80; }
.project-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; max-width: 900px; margin: 0 auto; }
h2 { margin: 0 0 20px; font-size: 24px; line-height: 1.3; letter-spacing: -.035em; color: #757a80; }
.project-overview p { margin: 0; }
.project-overview p + p { margin-top: 16px; }
.project-walkthrough { margin: 64px 0 0; }
.project-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #f1f2f0 var(--project-poster, none) center / cover no-repeat; }
.project-video iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; font-size: 13px; color: #757a80; }
figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.project-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 20px; border-top: 1px solid #e5e5e5; font-size: 13px; color: #757a80; }

.project-section { margin-top: 64px; }
.project-section > p, .project-outcome p { max-width: 65ch; }
.project-motion-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.project-motion-controls h2 { margin-bottom: 0; }
.project-motion-toggle { min-height: 44px; padding: 10px 18px; border: 1px solid #d5d7d8; border-radius: 24px; background: #f5f6f6; color: #53585e; font: inherit; font-size: 14px; cursor: pointer; }
.project-motion-toggle:hover { background: #eaecee; }
.project-motion-toggle:focus-visible { outline: 2px solid #2764b7; outline-offset: 4px; }
.project-motion-note { margin: 14px 0 24px; color: #757a80; font-size: 14px; }
.animation-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 20px; }
.animation-gallery figure, .campaign-proof { margin: 0; min-width: 0; }
.animation-frame { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 20px; background: #f1f2f0; }
.animation-frame video { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.animation-gallery figcaption { display: block; padding-top: 18px; }
.animation-gallery h3, .project-process h3 { margin: 0 0 8px; font: 700 20px/1.3 "Inter Display", "Inter", sans-serif; color: #757a80; letter-spacing: -.025em; }
.animation-gallery figcaption p { margin: 0; font-size: 15px; line-height: 1.6; color: #666; }
.project-process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 60px; padding: 0; margin: 24px 0 0; list-style: none; }
.project-process p { margin: 0; }
.project-outcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.campaign-proof a { display: block; overflow: hidden; border-radius: 10px; }
.campaign-proof img { display: block; width: 100%; height: auto; }
.campaign-proof figcaption { display: block; line-height: 1.5; }

@media (max-width: 700px) {
  .project-page { padding: 16px 20px 32px; }
  .project-header { margin: 32px 0 44px; }
  .project-overview { grid-template-columns: 1fr; gap: 32px; }
  h2 { margin-bottom: 14px; }
  .project-walkthrough { margin-top: 40px; }
  .project-video { border-radius: 10px; }
  .project-footer { margin-top: 40px; }
  .project-section { margin-top: 44px; }
  .animation-gallery, .project-process, .project-outcome { grid-template-columns: 1fr; gap: 32px; }
  .animation-frame { border-radius: 10px; }
}
