/* A wide, quiet canvas for seeing a plan become a place to live. */
.home-film { padding: clamp(48px, 6vw, 88px) 0 clamp(44px, 5vw, 72px); color: var(--ink); background: #fff; scroll-margin-top: 100px; }
.home-film__intro { padding-inline: 24px; text-align: center; }
.home-film__eyebrow { margin: 0 0 20px; color: #586157; font-size: .875rem; letter-spacing: .18em; line-height: 1.5; }
.home-film__intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 400; line-height: 1.7; letter-spacing: .035em; }
.home-film__mobile-break { display: none; }
.home-film__description { margin: 20px 0 32px; color: #596158; font-size: 1rem; line-height: 1.9; }
.home-film__figure { width: min(1440px, calc(100% - 80px)); margin: 0 auto; }
.home-film__screen { aspect-ratio: 16 / 9; background: #f1f0ec; overflow: hidden; }
.home-film__video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.home-film__caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; min-height: 52px; padding-block: 4px; color: #596158; font-size: .875rem; line-height: 1.6; }
.home-film__toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 4px 8px 12px; border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.home-film__toggle[hidden] { display: none; }
.home-film__toggle-icon { display: block; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.home-film__toggle.is-playing .home-film__toggle-icon { width: 8px; height: 11px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.home-film__actions { padding: 24px 24px 0; text-align: center; }
.home-film__cta { display: inline-flex; min-width: 280px; max-width: 100%; min-height: 60px; align-items: center; justify-content: center; padding: 16px 36px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 1rem; line-height: 1.6; letter-spacing: .05em; transition: background .2s; }
.home-film__cta:hover { background: #394137; }
.home-film a:focus-visible, .home-film button:focus-visible { outline: 2px solid #416355; outline-offset: 5px; }
@media (max-width: 767px) {
  .home-film { padding-block: 42px; }
  .home-film__intro { padding-inline: 20px; }
  .home-film__eyebrow { margin-bottom: 14px; }
  .home-film__intro h2 { font-size: clamp(1.5rem, 5.8vw, 2rem); line-height: 1.75; letter-spacing: .015em; }
  .home-film__mobile-break { display: initial; }
  .home-film__description { margin: 18px 0 26px; text-wrap: pretty; }
  .home-film__description br { display: none; }
  .home-film__figure { width: calc(100% - 32px); }
  /* The source keeps the whole plan, house and speech bubbles within x168–1248. */
  .home-film__screen { aspect-ratio: 1 / 1; }
  .home-film__video { aspect-ratio: auto; object-fit: cover; object-position: 20% 50%; }
  .home-film__caption { align-items: center; font-size: .875rem; }
  .home-film__actions { padding-top: 18px; }
  .home-film__cta { min-width: 0; width: min(100%, 340px); padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { .home-film__cta { transition: none; } }
