@media (max-width: 920px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  :where(
    .hub-page,
    .blogger-page,
    .page-shell,
    .podcast-page,
    .motion-page,
    .shorts-page,
    .examples-stack,
    .animation-showcase,
    .phone-showcase,
    .video-slider,
    .video-slider__viewport,
    .video-example-grid,
    .service-grid,
    .format-grid,
    .brief-form,
    .site-footer,
    .notfound-page
  ) {
    min-width: 0;
    max-width: 100%;
  }

  :where(h1, h2, h3, p, a, button, li, span, strong, em, input, textarea) {
    overflow-wrap: break-word;
  }

  :is(.blogger-hero, .district-hero, .podcast-hero, .motion-hero, .shorts-hero) {
    min-height: auto;
    padding: 92px 16px 34px;
  }

  :is(.blogger-hero, .district-hero, .podcast-hero, .motion-hero, .shorts-hero)::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(7, 11, 34, 0.42), rgba(7, 11, 34, 0.62) 48%, rgba(7, 11, 34, 0.42)),
      linear-gradient(90deg, rgba(7, 11, 34, 0.72), rgba(7, 11, 34, 0.2));
    content: "";
    pointer-events: none;
  }

  :is(.blogger-hero, .district-hero, .podcast-hero, .motion-hero, .shorts-hero) > :not(.hero-media) {
    position: relative;
    z-index: 2;
  }

  :is(.blogger-hero--bg, .district-hero--bg, .podcast-hero--bg, .motion-hero--bg, .shorts-hero--bg) {
    background-position: 70% bottom;
    background-size: auto 136%;
  }

  .hero-copy {
    max-width: min(100%, 640px);
  }

  .hero-copy h1 {
    max-width: min(100%, 13ch);
    font-size: clamp(2.3rem, 10.6vw, 3.35rem);
    line-height: 0.98;
    text-wrap: balance;
  }

  .headline-rotator {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }

  .lead,
  .section-heading p,
  .final-cta > div > p,
  .phone-showcase .lead,
  .widget-copy .lead {
    font-size: 0.98rem;
    line-height: 1.54;
  }

  .final-cta p.lead-policy-note,
  .hub-cta__inner p.lead-policy-note,
  .brief-form .lead-policy-note,
  .lead-popup .lead-policy-note,
  .lead-policy-note a,
  .lead-policy-note__link {
    font-size: 9px;
    line-height: 1.35;
  }

  .format-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    overflow: visible;
  }

  .format-tags li {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.16;
    letter-spacing: 0.04em;
  }

  .content-section,
  .content-section.ads-phone-showcase {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .section-heading,
  .section-heading--split {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .final-cta h2,
  .phone-showcase .widget-copy h2,
  .widget-copy h1,
  .widget-copy h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta {
    gap: 26px;
    padding-bottom: 78px;
  }

  .brief-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    min-height: 46px;
    text-align: center;
  }

  .phone-showcase {
    gap: 18px;
  }

  .phone-scene-shell {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: max(8px, env(safe-area-inset-top));
    padding: 0 10px;
  }

  .site-nav {
    display: grid;
    width: calc(100vw - 20px);
    width: calc(100dvw - 20px);
    max-width: calc(100dvw - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: stretch;
    gap: 6px 10px;
    min-height: 0;
    padding: 7px 10px;
    overflow: hidden;
    transition:
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease;
  }

  .site-nav__brand {
    width: auto;
    min-width: 0;
  }

  .site-nav__brand :where(img, .framecut-logo) {
    width: auto;
    max-width: none;
    height: 36px;
  }

  .site-nav__toggle {
    display: grid;
    justify-self: end;
    margin-left: auto;
  }

  .site-header--chrome-hidden .site-nav {
    transform: translateY(calc(-100% - 24px));
    opacity: 0;
    pointer-events: none;
  }

  .site-header--chrome-hidden .site-nav--open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__links {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: 0;
    min-width: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 180ms ease, opacity 160ms ease, visibility 160ms step-end;
  }

  .site-nav--open .site-nav__links {
    max-height: 230px;
    padding-top: 4px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 220ms ease, opacity 160ms ease, visibility 0ms;
  }

  .site-nav__links > a {
    justify-content: center;
    min-height: 34px;
    min-width: 0;
    padding: 0 8px;
    font-size: 0.7rem;
    line-height: 1.08;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: normal;
  }

  .site-nav__socials {
    grid-column: 1 / -1;
    justify-content: center;
    margin-left: 0;
    padding: 2px 0 0;
    border-left: 0;
  }

  .site-nav__social-link {
    width: 38px;
    height: 34px;
  }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .site-nav {
    transition: none;
  }
}

@media (max-width: 620px) {
  .video-slider__viewport {
    margin: 0;
  }

  .video-example-grid {
    gap: 10px;
  }

  .video-slider__button {
    top: clamp(84px, 27vw, 122px);
    width: 38px;
    height: 38px;
  }

  .video-slider__button--prev {
    left: 6px;
  }

  .video-slider__button--next {
    right: 6px;
  }

  .video-example-card h3 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .video-example-card__body {
    padding: 14px;
  }

  .video-example-card__meta span {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 700px) {
  .hub-hero {
    min-height: clamp(360px, 46svh, 420px);
    padding: 78px 18px 18px;
  }

  .hub-hero__copy {
    width: 100%;
    max-width: 100%;
  }

  .hub-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.12rem, 9.8vw, 2.75rem);
    line-height: 1;
    text-wrap: balance;
  }

  .hub-lead {
    max-width: 34ch;
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.46;
  }

  .hub-services {
    width: calc(100% - 28px);
    padding-bottom: 14px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    padding: 16px;
  }

  .service-card__body h3 {
    font-size: 1.05rem;
  }

  .service-card__tags li {
    letter-spacing: 0.03em;
  }

  .hub-cta {
    padding: 14px 18px 52px;
  }

  .hub-cta__button {
    width: 100%;
    border-radius: 8px;
  }
}

@media (max-width: 560px) {
  :is(.blogger-hero, .district-hero, .podcast-hero, .motion-hero, .shorts-hero) {
    padding: 82px 12px 30px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10.2vw, 2.75rem);
    line-height: 1;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .format-tags li {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .content-section,
  .content-section.ads-phone-showcase {
    width: calc(100% - 28px);
    padding: 54px 0;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .format-card {
    min-height: 0;
    padding: 18px;
  }

  .brief-form,
  .lead-popup__surface {
    padding: 18px !important;
  }

  .lead-popup h2 {
    padding-right: 44px;
    font-size: clamp(1.8rem, 8vw, 2rem);
  }

  .lead-popup__close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .brief-form input,
  .brief-form textarea {
    font-size: 16px;
  }

  .lead-popup__actions {
    display: grid;
  }

  .lead-popup__actions button,
  .lead-popup__actions a {
    width: 100%;
  }

  .youtube-cta-page {
    padding: 86px 14px 42px;
  }

  .examples-stack {
    gap: 54px;
  }

  .animation-showcase {
    gap: 18px;
  }

  .scene-shell,
  .podcast-scene {
    aspect-ratio: 16 / 10;
  }

  .phone-scene-shell {
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .phone-replay-button {
    inset: auto auto 10px 10px;
    transform: none;
  }

  .phone-replay-button:hover,
  .phone-replay-button:focus-visible {
    transform: translateY(-1px);
  }

  .recording-strip {
    right: 10px;
    left: 10px;
    justify-content: space-between;
  }
}
