/* Mobile composition refinements; keep the established wide layout. */
.headline-break-mobile { display: none; }
.services-heading-ending { white-space: nowrap; }

.nightfall-footer .nightfall-footer__top {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .38);
  border-radius: 50%;
}
body.page-home .nightfall-footer .nightfall-footer__top:focus-visible {
  border-radius: 50%;
  outline: 2px solid #bed7ff !important;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .headline-break-mobile { display: initial; }
  .page-home[data-mobile-layout="2026"] .home-hero h1.mod--size-72 {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
    font-size: clamp(28px, 7.6vw, 34px);
    line-height: 1.08;
    letter-spacing: -.03em;
  }

  .page-home #selected-projects .project-logo {
    width: 160px !important;
    flex-basis: 160px;
    padding-inline: 6px;
  }
  .page-home #selected-projects .splide__list { animation-duration: 20s; }

  .page-home .values-content__wrap { gap: 28px; }
  .page-home .values-ico__wrap.craft-signature {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .page-home .craft-signature__copy { text-align: center; }
  .page-home[data-mobile-layout="2026"] .values-text {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 22px;
    line-height: 1.38;
    font-weight: 450;
    letter-spacing: -.02em;
    text-align: left;
    text-wrap: pretty;
  }
  .page-home .values-text .studio-prose-keep { white-space: nowrap; }

  .page-home[data-mobile-layout="2026"] .services-section #services-title {
    width: 100%;
    max-width: none;
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.12;
    letter-spacing: -.03em;
    text-wrap: balance;
  }
}

@media (max-width: 640px) {
  .nightfall-footer {
    padding-top: 40px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .nightfall-footer__inner { width: calc(100% - 2 * clamp(20px, 5.6vw, 24px)); }
  .nightfall-footer__main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .nightfall-footer__wordmark { font-size: 36px; }
  .nightfall-footer__identity { padding-bottom: 0; border-bottom: 0; }
  .nightfall-footer__identity p { max-width: 26ch; font-size: 14px; line-height: 1.5; }
  .nightfall-footer__label { margin-bottom: 8px; }
  .nightfall-footer__services ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nightfall-footer .nightfall-footer__link { font-size: 15px; line-height: 1.4; }
  .nightfall-footer__aside {
    grid-template-columns: minmax(0, 1fr);
    justify-self: stretch;
    gap: 24px;
    padding-top: 0;
    border-top: 0;
  }
  .nightfall-footer__quick { gap: 0 24px; }
  .nightfall-footer__quick .nightfall-footer__label { margin-bottom: 0; }
  .nightfall-footer__contact address { max-width: 29ch; }
  .nightfall-footer__contact address a { padding-block: 8px; }
  .nightfall-footer__base {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    column-gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
  }
  .nightfall-footer__base nav { gap: 0 16px; }
  .nightfall-footer__base .nightfall-footer__link { font-size: 12px; }
  .nightfall-footer .nightfall-footer__top { justify-self: end; }
}
